Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixed desync of position on server side when player is dead #964

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

Merged
qaisjp merged 2 commits into multitheftauto:master from Neproify:deadpositionsync
May 26, 2019

Conversation

@Neproify
Copy link
Contributor

@Neproify Neproify commented May 26, 2019

Does what it says. Not tested with more than local player, however it fixes #928 and probably(not tested) #908. Should fix most of desyncs when player is dead, because right now client doesn't send any sync when player died.

Copy link
Contributor

@qaisjp qaisjp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@qaisjp qaisjp merged commit 8475539 into multitheftauto:master May 26, 2019
Copy link
Contributor

qaisjp commented May 26, 2019

Btw, instead of making pull requests on your fork, you can follow the instructions here.

@qaisjp qaisjp added this to the 1.5.7 milestone May 26, 2019
Copy link
Member

Microoptimization: you could append the body of the if statement that starts on line 411 to the end of the if statement you changed, because they now check the same condition. That way you surely avoid checking the same condition twice, and reduce 2 lines of code.

Citizen01 reacted with thumbs up emoji

qaisjp pushed a commit that referenced this pull request May 28, 2019
@patrikjuvonen patrikjuvonen added the bug Something isn't working label May 28, 2019
qaisjp added a commit that referenced this pull request Jun 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@qaisjp qaisjp qaisjp approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

bug Something isn't working

Projects

None yet

Milestone

1.5.7

Development

Successfully merging this pull request may close these issues.

Position desync with dead players

AltStyle によって変換されたページ (->オリジナル) /