Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bots

Development::Bots Forum for bots.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 03-20-2012, 08:53 AM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

The command should be a little more robust. It shouldn't crash when just typing #bot stance.

As an aside. This led me to an interesting discovery that I will have to test. I was going with the assumption that the other bot commands would work as advertised, so I copied parts of the code from other commands. Unfortunately it doesn't appear that how they check for invalid data is incorrect. It was passing through my check for a bot name and then tried to match a bot with no name. Instead of returning null for the bot, it was returning a blank bot which is what was causing the crash. Looks like some more error checking within the bot code is in order.

Anyway, please leave feedback on the bot stances here so I can continue to improve the system.
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 12:23 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