Open ArranTuna opened 6 years ago
Remp said:
This happens with all vehicles. If you try to enter a vehicle as passenger then fall into water you will be unable to jump, when you reach land you will get the network trouble message, be warped back and everything will work normally again
This is especially prevalent with helicopters in the heligrab resource and is a real pain, often requiring
/kill
or reconnect (or admin intervention) if no land is nearbySee http://remp.sparksptpm.co.uk/mta/vehicle_enter_jump.mp4 for a video of it happening with a car, reproducable every time (notice in the chat i try to enter the vehicle as i fall past it ("vehicle start enter"))
In the game code, in CPlayerInfo::Process
, there is an inlined call to CTaskSimpleSwim::SetPlayerSwimToTarget
before the primary task, to enter a car, is created. Removing the warp-in from server in CGame::Packet_Vehicle_InOut
and then setting the swim target position to the vehicle door position didn't work for me (didn't investigate the reasons for this).
Describe the bug @Cazomino05 reported:
To Reproduce Steps to reproduce the behavior: STEPS NEEDED
Expected behavior It should not bug out
Additional context
@Cazomino05 said:
From https://bugs.mtasa.com/view.php?id=4246