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 12-04-2012, 06:57 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

When Sorvani says that it is incorrect usage - he means it is now incorrect. The plugin was changed recently, but all the quests that operated with this method have not yet been changed.
Reply With Quote
  #2  
Old 12-04-2012, 10:50 AM
sorvani
Dragon
 
Join Date: May 2010
Posts: 965
Default

Quote:
Originally Posted by joligario View Post
When Sorvani says that it is incorrect usage - he means it is now incorrect. The plugin was changed recently, but all the quests that operated with this method have not yet been changed.
Actually, the return items check was always supposed to be outside of any if block by design. The items in the hash are removed by the check_handin if the logic passed to it is true.
So regardless of whether or not there is anything left in the hash, you call the return_items at the end of the EVENT_ITEM and it will appropriately return anything not used up.
The recent changes to this plugin do not affect this basic design. The recent changes were to let the plugin support the new multi-quest functionality built into the NPC's..

Edit: Post from 2009 on the subject: http://www.eqemulator.org/forums/sho...54&postcount=3

Basically all the vanilla quests are wrong. Granted for almost all basic quest logic there con ONLY be an if and else. But a lot of the quests will eat extra items because of this.
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 07:48 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