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
  #2  
Old 07-21-2009, 04:56 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Normally when I debug a quest script to see what went wrong, I will just put a say message for each part of the script leading up to what I think is the problem area. Then, I just watch to see how far the say messages get and work on the part right after it stops sending the say messages. In the case of player.pl, you can't use the say messages, but you can use quest::ze() to do zone emotes for debugging your player.pl. I would recommend adding in zone emotes for each of your elsifs around your problem areas and see if it gets to that point. If it isn't making it that far even, maybe you need to try placing a few other zone emotes until you can find it. This technique actually works really well for script troubleshooting, since the script will run all of the way up to the breaking point.
__________________
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 02: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