-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Core/Transport: always update position of non-static passengers #17952
Conversation
… if the transport is not moving.
Interesting solution. Will it have any positive effect on the NPCs on the airships in Icecrown? :-) |
I don't think it will affect them, as the Icecrown ships are always moving. I'm going to check anyway :P |
OK, good point. I presume it won't be affecting that case, then. Thank you for checking it, though. |
Knight-Captain Drosche seems to get less stuck than before, but I'm not sure if it's due to this change or if it was already like that. I remember it being hard to talk with. I'm not familiar with any other ship bugs, seems fine to me though :P |
…tops moving Closes TrinityCore#17952 (cherry picked from commit b88cecb) Core/Transports: Fixed crash added in b88cecb (cherry picked from commit d68d99d)
…tops moving Closes TrinityCore#17952 (cherry picked from commit b88cecb) Core/Transports: Fixed crash added in b88cecb (cherry picked from commit d68d99d)
Changes proposed:
Currently, the position of players inside transports is updated quite accurately when the transport is moving. However, this is not the case when the transport is not moving. Somehow, when the transport's waypoint movement is stopped, the player's position desyncs from the client.
The best way to check this is the quest Mutiny on the Mercy. On the ship's lower levels, there are hostile mobs. When the player is standing still or the ship is moving, they can attack and be attacked by the player just fine. But if the ship is standing still and the player moves, the mobs will reset and evade, unable to reach the player.
This fix greatly improves the behavior in such cases. I'm not sure if it's the proper way™ to fix it, but it's a start if anyone knows enough about the transport system to look into it.
Target branch(es): 3.3.5
Tests performed: tested and working.