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

More validity checks for vehicles (mainly trailers) #985

Merged
merged 7 commits into from
Oct 8, 2024

Conversation

NexiusTailer
Copy link
Contributor

@NexiusTailer NexiusTailer commented Sep 20, 2024

  1. Fix #984 by adding a check isStreamedInForPlayer when player reported a new trailer in driver sync.
  2. Add stream checks for the whole driver sync, since it also can be spoofed on non-streamed vehicles which is not possible to do for fair players. I tested it with different cases including moving a car out of a stream zone by teleporting it somewhere far and so on. Not a single packet of those driver sync was called with IsVehicleStreamedIn at false value.
  3. Check turn (angular) velocity for validity in trailer sync just like with unoccupied sync.

@NexiusTailer NexiusTailer changed the title Check for non-streamed trailer More validity checks for vehicles (mainly trailers) Oct 5, 2024
@AmyrAhmady AmyrAhmady merged commit 201ff28 into openmultiplayer:master Oct 8, 2024
14 checks passed
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.

Non-streamed trailer can be spoofed
3 participants