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
  #1  
Old 01-13-2008, 05:27 PM
Windcatcher
Demi-God
 
Join Date: Jan 2002
Posts: 1,175
Default Stopping mob movement

I realize mine is an old server, but I don't know how far up the chain this goes, and it affects SimpleClient. In EQEmu 0.5.5 mob.cpp, Mob::SendPosition() should set delta_x, delta_y, and delta_z to zero. The problem is that, after a mob that is attacking you stops, if you move just a little bit to make it call FaceTarget(), an update gets sent out with the new heading, but this update also sends velocity information. If they were never zeroed out from the last stop, then the velocity data from the last time the mob moved (presumably at the player) will make it move again, even though it should not. So adding this to SendPosition() (which stops the mob) will fix the problem:
Code:
delta_x = 0;
delta_y = 0;
delta_z = 0;
I don't know how many servers it affects, but I recommend checking it out.
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:28 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