EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   plugin::check_handin (https://www.eqemulator.org/forums/showthread.php?t=37287)

Mariomario 09-13-2013 11:39 PM

plugin::check_handin
 
Code:

sub EVENT_ITEM
{
        if(plugin::check_handin(\%itemcount, 32010 => 1))
        {
                plugin::ClientSay("A report for me? Ah! So Commander Vlasc is alive! His report contains a great
                                  deal of information regarding the location to the entrance of Envy's underground caverns.");
                quest::assigntask(103);
        }
}

Everything was working completely fine, I updated some stuff with the server and now all of a sudden I cant get plugin::check_handin to work. The mob just continues to eat the item. I thought maybe it was broken code as this turn in is far longer, but I dumbed it down to just this portion to test and as far as I can tell everything is written correctly. I may just be extremely over tired and over looking something stupid. Any help would be appreciated.

NatedogEZ 09-13-2013 11:40 PM

Did you update the plugins? If you didn't just remove this line from the old one... or better yet update the plugin as it removes a few lines :p

Code:

quest::clearhandin();

Mariomario 09-13-2013 11:46 PM

Nope, I have not updated my quests folder in a long long while since everything is custom I never saw a need to update that repo haha thanks for the swift answer Nate. Everything is back to working as it should!


All times are GMT -4. The time now is 02:16 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.