Skip to content
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

Closed

Conversation

SnapperRy
Copy link
Contributor

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.

@ghost
Copy link

ghost commented Sep 15, 2016

Interesting solution. Will it have any positive effect on the NPCs on the airships in Icecrown? :-)

@SnapperRy
Copy link
Contributor Author

I don't think it will affect them, as the Icecrown ships are always moving. I'm going to check anyway :P

@ghost
Copy link

ghost commented Sep 15, 2016

OK, good point. I presume it won't be affecting that case, then. Thank you for checking it, though.

@SnapperRy
Copy link
Contributor Author

SnapperRy commented Sep 15, 2016

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

Shauren added a commit that referenced this pull request Oct 30, 2016
Aokromes pushed a commit to Aokromes/TrinityCore that referenced this pull request Nov 2, 2016
joschiwald pushed a commit that referenced this pull request Nov 11, 2017
…tops moving

Closes #17952
(cherry picked from commit b88cecb)

Core/Transports: Fixed crash added in b88cecb
(cherry picked from commit d68d99d)
Mihc3 pushed a commit to Mihc3/TrinityCore that referenced this pull request Nov 26, 2017
…tops moving

Closes TrinityCore#17952
(cherry picked from commit b88cecb)

Core/Transports: Fixed crash added in b88cecb
(cherry picked from commit d68d99d)
Mihc3 pushed a commit to Mihc3/TrinityCore that referenced this pull request Dec 16, 2017
…tops moving

Closes TrinityCore#17952
(cherry picked from commit b88cecb)

Core/Transports: Fixed crash added in b88cecb
(cherry picked from commit d68d99d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants