open.mp icon indicating copy to clipboard operation
open.mp copied to clipboard

More validity checks for vehicles (mainly trailers)

Open NexiusTailer opened this issue 1 year ago • 0 comments

  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 avatar Sep 20 '24 21:09 NexiusTailer