Skip to content

[ALL] Implement prediction for forced and disabled player input masks - #2031

Open
speedvoltage wants to merge 1 commit into
ValveSoftware:masterfrom
speedvoltage:fix/effective-button-mask-prediction
Open

[ALL] Implement prediction for forced and disabled player input masks#2031
speedvoltage wants to merge 1 commit into
ValveSoftware:masterfrom
speedvoltage:fix/effective-button-mask-prediction

Conversation

@speedvoltage

Copy link
Copy Markdown
Contributor

Issue:

The server can force or disable player buttons without telling the owning client. The client then predicts movement using inputs that the server changes.

Fix:

Send the button masks to the owning client and apply them to a copy of the command without modifying the original command or its checksum.

Network forced and disabled input masks to the owning client. Apply them to a stack copy during prediction so the command ring and verified checksum remain untouched.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant