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

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

Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 04-11-2011, 04:35 PM
Caryatis
Dragon
 
Join Date: May 2009
Location: Milky Way
Posts: 541
Default

You are doing it wrong. You set up the task step with the NPC to hand to and the number of items required and thats it, no perl required.
Reply With Quote
  #3  
Old 04-11-2011, 04:50 PM
deaddraqear
Sarnak
 
Join Date: May 2008
Location: california
Posts: 45
Default

Have tried it that way, was that way to begin with first actually. NPC eats items there too, and I followed the wiki exactly, have done #task reloadall.. Even deleted the task, and recreated it using the taskmaster tool...

Found the issue with that hah.. typo on npcid.. /facepalm..

Although, new issue.. Probably not for this section tho.. Thx =)
Reply With Quote
Reply


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 06:52 PM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3