Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bug Reports

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

Reply
 
Thread Tools Display Modes
  #16  
Old 10-03-2008, 06:39 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Quote:
Originally Posted by So_1337 View Post
Another thought -- The example I've used from the start of this overflow debacle is, let's pretend you have four attacks per round. The third kills the mob, so the fourth goes to the next thing on your hate list. However, how is it that a mob so far away can be hit with a melee attack? I'm guessing that distance is only checked at the beginning of an attack round, not for each individual attack.

This is more for my own understanding than anything, but I was wanting to confirm my understanding.
I instrumented the code with loads of printfs to confirm the overflow to the next mob on the hate list and even saw it in the client chat window. Although I didn't specifically confirm it, I believe, like you, that the distance to the target is only checked at the beginning of the attack round, and not if the target is changed between attacks (in Mob::RemoveFromHateList ) during that round.

Last edited by Derision; 10-04-2008 at 02:45 AM..
Reply With Quote
  #17  
Old 10-03-2008, 07:33 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

I have some changes to both the auto attack and hate list code that I think will correct it. Tell me if it doesn't and I'll dig deeper.
Reply With Quote
  #18  
Old 10-03-2008, 08:08 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Quote:
Originally Posted by KLS View Post
I have some changes to both the auto attack and hate list code that I think will correct it. Tell me if it doesn't and I'll dig deeper.
Seems to work well on initial testing. (couldn't reproduce the overflow that was easy to do previously).
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 04:31 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