TrinityCore / TrinityCore

TrinityCore Open Source MMO Framework (master = 11.0.5.57388, 3.3.5 = 3.3.5a.12340, cata classic = 4.4.0.57244)
http://www.trinitycore.org
GNU General Public License v2.0
9.61k stars 6.06k forks source link

[3.3.5] Core/Client: Client desync on spline movement with MoveSplineFlag::Flying #16702

Closed Trisjdc closed 6 years ago

Trisjdc commented 8 years ago

https://github.com/TrinityCore/TrinityCore/commit/f9eff81388b12f6f8275f892c67bf197188c3450

Client does spline movement differently from the server for movement with MoveSplineFlag::Flying. Client has a 'slow start' with acceleration towards the end, while the server seems the opposite. I'm guessing client doesn't really use catmull-rom or at least it uses different parameters (I don't know enough on the matter).

You can replicate the problem by stunning a flying creature that is moving on a relatively long path to you (single point! no pathfinding). Stun it halfway through and sometimes you'll see quite large 'blinks' forward.

Killyana commented 6 years ago

Is this the issue with the val'kyr on Lich King encounter?

Keader commented 6 years ago

i think so Killyana. @treeston @ccrs

ccrs commented 6 years ago

nope

Killyana commented 6 years ago

In an older core when a player is doing this quest: https://woehead.way-of-elendil.fr/?quest=12856 when the drake starts the waypoint you will see it teleporting and freezing (from the point of view of a second character) but I'm not able to reproduce it in the current revision.

DanVS commented 6 years ago

Should be resolved (#22582).