PDA

View Full Version : plugin::check_handin


Mariomario
09-13-2013, 11:39 PM
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


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!