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 01-29-2010, 04:45 AM
Lillu
Hill Giant
 
Join Date: Sep 2008
Posts: 204
Default

Try to do the item check last: Qglobal check -> class check -> item check

For some reason if you do an item + qglobal check (in this order), if you don't have the proper qglobal but you turn in the proper item, the npc will still eat it. Changing the check order should solve this issue.
__________________
Reply With Quote
  #2  
Old 01-29-2010, 04:55 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Quote:
Originally Posted by Lillu View Post
Try to do the item check last: Qglobal check -> class check -> item check

For some reason if you do an item + qglobal check (in this order), if you don't have the proper qglobal but you turn in the proper item, the npc will still eat it. Changing the check order should solve this issue.
That happens because the IF is checked from left to right. If it finds any of them to be false, it stops before checking any of the others to the right of the false one. So, if you do the item check anywhere before last spot, and one of the checks to the right of the item check fails, you don't get the reward, and you don't get your items returned, because it already confirmed you turned in the correct item.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 01-29-2010, 04:57 AM
Lillu
Hill Giant
 
Join Date: Sep 2008
Posts: 204
Default

yep, to save some headache for serverops, always do the itemcheck last
__________________
Reply With Quote
Reply

Thread Tools
Display Modes

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 12:56 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