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

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-30-2012, 09:45 PM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default erronious bot logic

i've come across a few places in the bot code where the decision making process is checking IsEngaged() on clients. IsEngaged() will ALWAYS return false on a client (unless that client is AI controlled), as it only checks for a populated hate list. as a result, GetFirstIncomingMobToMez() and other methods/functions like it are probably using more cycles than necessary due to checks failing where they should not. all instances where the mob in question is a client (and not AI controlled) should be checking the value of AggroCount. if the group member is a bot, IsEngaged() is correct.
Reply With Quote
Reply


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 05:45 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3