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

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-09-2010, 03:57 PM
Hargael
Fire Beetle
 
Join Date: Aug 2010
Location: France
Posts: 5
Default

Thanks ! I forgot the wiki, I will read it more deeply !

Btw, I changed SpellType for the runes, put 0, and now they are not automatically casted anymore. I ask for them with the "runeme" command. Thus my enchanter bot has more time (and mana) for mez and slow.
Reply With Quote
  #2  
Old 10-10-2010, 06:59 AM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

I ran across the same problem with heals from bots. I would suggest making changes just to the bot code to fix bot specific issues, however.

I use GetAggroCount() for clients to determine if they are engaged in combat as clients don't use a hate list unless they are AI controlled, and they'll still have an aggro count even if they are.

example:
Code:
// is target engaged?
bool tarIsEngaged = tar->IsClient() ? tar->CastToClient()->GetAggroCount() : tar->IsEngaged();
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:36 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