open.mp
open.mp copied to clipboard
More validity checks for vehicles (mainly trailers)
trafficstars
- Fix #984 by adding a check
isStreamedInForPlayerwhen player reported a new trailer in driver sync. - 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
IsVehicleStreamedInat false value. - Check turn (angular) velocity for validity in trailer sync just like with unoccupied sync.