Skip to content

More validity checks for vehicles (mainly trailers) - #985

Merged
AmyrAhmady merged 7 commits into
openmultiplayer:masterfrom
NexiusTailer:master
Oct 8, 2024
Merged

AmyrAhmady merged 7 commits into
openmultiplayer:masterfrom
NexiusTailer:master

Conversation

@NexiusTailer

@NexiusTailer NexiusTailer commented Sep 20, 2024 •

Copy link
Copy Markdown
Contributor
  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
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