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
  #12  
Old 09-17-2011, 02:34 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Starting to look much better than it did at first.

One tip would be to reduce your script down to minimum if you are having issues like that and work up from there. So, in this case, you might start like this:

Code:
sub EVENT_ITEM {
  if (plugin::check_handin(\%itemcount, 1079 => 1, 12021 => 1)) {
    quest::say("The turn in worked!");
  }
}
Then try that turn in and see if it works. If so, add more:

Code:
sub EVENT_ITEM {
  if (plugin::check_handin(\%itemcount, 1079 => 1, 12021 => 1)) {
    plugin::Whisper("Thanks for these items, $name! Here's your reward.");
    plugin::vtell("thanks","iksar","male");
    quest::summonitem(1442);
  }
}
If that test is good, you can then add all of your varied copy/paste turn-ins to that list and it should work fine.

You should also add a return items plugin to the end of your items script. It will only return items that are not used up by the check_handin plugin, so you don't need to have it in an else statement or anything.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
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 01:40 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3