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 12-24-2015, 06:59 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Yeah, this is not the source of the issue...

It can probably happen with any mob at any time when it's using the Mob::AI_Process()..but, you found a way to reliably trigger it.


Basically, any time a mob is removed from another mob's hate_list, we really need to test that mob's current target against what was removed.

Most reasons wouldn't crash a server..but, would cause erratic behavior between affected mobs.


Gimme a few and I'll see what I can do to fix it more permanently..
__________________
Uleat of Bertoxxulous

Compilin' Dirty

Last edited by Uleat; 12-24-2015 at 07:00 PM.. Reason: erotic != erratic...
Reply With Quote
  #2  
Old 12-24-2015, 07:12 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

I looked it over again and finally figured out what you were saying.

Quote:
It's possible for the ai target timer to not be ready in the 'else' clause from above and the code will flow through with the last target..
You are saying the timer on this line...

if(AItarget_check_timer->Check())

May would fail and fall through that if statement. Just curious, what about making that if statement into an if/else and making the target null in that else statement?
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 09:39 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