Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-11-2011, 04:09 PM
deaddraqear
Sarnak
 
Join Date: May 2008
Location: california
Posts: 45
Default item counts?

For the life of me, (been sick and almost no sleep isn't helping), i cant figure out how to get npc to give task credit for items, unless 1 at a time.. And npc eats any item handed in (i am probably using the plugin wrong?)

1 at a time works fine, but who really wants to do that? I have tried => and different variations.. Do i need to set it itemcount{66181} == 2 to update 2 on updatetaskactivity, 3 to 3 and 4 for 4? =\ Seems like it would work, but I'm sure theres an easier way?

Quote:
sub EVENT_ITEM
{
if ($itemcount{66181} == 1)
{
quest::updatetaskactivity(1, 1)
}
else
{
plugin::return_items(\%itemcount);
}
}
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:21 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3