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

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-26-2011, 01:33 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Just an FYI I found a strange bug. It is so strange I have no idea what would even cause this.

Create a Necromancer toon. Level him via command to around Level 20, 40 whatever...just not close to 65 as this does not work at level 65.

Now create an enchanter bot and spawn him, invite him and let him start buffing.

He will cast rune and you will never get it, he will cast until he is out of mana. I tried this on other characters like a warrior with an enchanter, or a ranger with an enchanter and it does not reproduce.

I have MGB turned on my server, not sure if that makes a difference but I really want that left on. I tried other clients just for good measure and they all do it. No idea what is different about a necromancer, so I have no clue where to even look to fix it.
Reply With Quote
  #2  
Old 04-26-2011, 02:07 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Looking through the code I think I may have found the offending section of code and it does kind of explain it. There is a check to see if the target character is a Necromancer and if they have Lich on, it is supposed to skip them. I have no buffs on this level 20 guy, and it keeps casting repeatedly. I am going to work with this later on today and see if I can figure it out.
Reply With Quote
  #3  
Old 04-26-2011, 05:45 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Okay I finally got time to look at it again. I found how to fix it, at least for myself.

Code:
                  {
                                // don't cast this on necro's, their health to mana
                                // spell eats up the rune spell and it just keeps
                                // getting recast over and over
                            }
                            else
                            {
                                SpellOnTarget(thespell, g->members[i]);
                            }
Basically just removing the first section and letting it cast. At least on my server this is working, otherwise it is getting caught in a loop. I am sure there is a more elegant solution but this will work for me, for now.
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 03:08 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