rt-2 / SA-ARP

San Andreas Advanced Role-Play
2 stars 1 forks source link

Position 'unsync' when moving vehicle with broken engine #438

Open rt-2 opened 3 years ago

rt-2 commented 3 years ago

Happened on some motorcycles with no health

image

rt-2 commented 3 years ago

This motorcycle was fine,, the problem is probably about the health? image

rt-2 commented 3 years ago

Yeah the problem is definetly related to health, as this vehicle also gives me the same error image

rt-2 commented 3 years ago

Most likely a new anticheat I remember introducing where dead vehicles couldnt be moved (or maybe just vehicles with no engine on). Should be attached to the already created variable of the last 10 sec of engine

rt-2 commented 3 years ago

it is that anticheat

rt-2 commented 3 years ago

Fixed and tested

rt-2 commented 2 years ago

There is still a bug when someone opens the engine when already broken down and go forward it does it.

Should be easy to fix IF we just have to copy the fix we already did elsewhere.

rt-2 commented 2 years ago

Everything is done inside 'saarp_ac_vars/fsveh_SetVehicleParamsEx'.

Added some printf in 'saarp_ac_vars/fsveh_SetVehicleParamsEx' and 'saarp_ac_vars/OnPlayerUpdate'.

Needs to be Tested

rt-2 commented 2 years ago

Happened with Yanick, when vehicle got under 40(speed), it got into unsync mode while moving image

rt-2 commented 2 years ago

&& !isPlayerInTimeTampon was commented, uncommented, must be tested.