Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-25-2014, 08:05 PM
Nightrider84's Avatar
Nightrider84
Discordant
 
Join Date: Aug 2010
Location: Colorado
Posts: 410
Default Bot spell issue

I know this is suppose to go on the bot forums but I couldn't find it heh. basically my problem is with the druid bots. I added the skin like wood spell line in and the bots cast it like they are suppose to. but i tried adding the strength of earth spell line and he they wont cast it. any thoughts?
Reply With Quote
  #2  
Old 06-25-2014, 10:06 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Do any of the spells that you are trying to add not stack/overwrite other spells?
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #3  
Old 06-25-2014, 11:10 PM
Nightrider84's Avatar
Nightrider84
Discordant
 
Join Date: Aug 2010
Location: Colorado
Posts: 410
Default

no the str line the thistle line and the skin line all stack, Its just 1 bot im using that I pair with my mage. So there aren't any other buffs in play that would cause problems
Reply With Quote
  #4  
Old 06-26-2014, 06:37 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

If there's not a conflict issue..I'd have to look into the bot spell code...

Have you looked at the bot's active spells to see if they're applying as self-only for some reason?
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #5  
Old 06-26-2014, 07:03 PM
Nightrider84's Avatar
Nightrider84
Discordant
 
Join Date: Aug 2010
Location: Colorado
Posts: 410
Default

How do I see what active spells there are? And from what I can physically see I don't see him casting the spell at all.
Reply With Quote
  #6  
Old 06-26-2014, 08:38 PM
Nightrider84's Avatar
Nightrider84
Discordant
 
Join Date: Aug 2010
Location: Colorado
Posts: 410
Default

Ok so i couldnt figure out what spells he had on him but I did make some progress. He wont cast his str of earth spell line UNLESS there is a tank type warrior sk paladin ect in the group that would benefit from the spell. which is kinda annoying since my mage could use the extra str to carry stuff. Anyway I could fix that?
Reply With Quote
  #7  
Old 06-26-2014, 09:13 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

This section is probably what you will want to look at: https://github.com/EQEmu/Server/blob...llsai.cpp#L300

..in particular - https://github.com/EQEmu/Server/blob...llsai.cpp#L345


Changing this:
Code:
IsEffectInSpell(selectedBotSpell.SpellId, SE_STR) ||
to:
Code:
/*IsEffectInSpell(selectedBotSpell.SpellId, SE_STR) ||*/
and recompiling should disregard the anti-str behavior for caster archetypes.


EDIT: Just remember that if you get 'too crazy' with overriding casting behavior, you may run out of spell slots
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #8  
Old 06-27-2014, 05:22 AM
Nightrider84's Avatar
Nightrider84
Discordant
 
Join Date: Aug 2010
Location: Colorado
Posts: 410
Default

You sir are a scholar and a gentlemen
Reply With Quote
  #9  
Old 06-27-2014, 05:32 AM
Nightrider84's Avatar
Nightrider84
Discordant
 
Join Date: Aug 2010
Location: Colorado
Posts: 410
Default

One last question for you If you don't mind. Anyway to get cleric shaman and druid bots to reserve like 20% of their mana for heals? Kinda annoying if they blow all their mana shooting stuff.
Reply With Quote
  #10  
Old 06-27-2014, 08:06 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Quote:
Originally Posted by Nightrider84 View Post
One last question for you If you don't mind. Anyway to get cleric shaman and druid bots to reserve like 20% of their mana for heals? Kinda annoying if they blow all their mana shooting stuff.
Look into stances.

http://www.eqemulator.org/forums/sho...ghlight=stance
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 10:17 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