altmp / altv-issues

Issues and roadmap for alt:V project
93 stars 16 forks source link

Vehicle deformation resets for old netowner when netowner changes #1470

Open TheGodlyLuzer opened 2 years ago

TheGodlyLuzer commented 2 years ago

Description of the problem

When Player A causes deformation damage to a vehicle, then exits the drivers seat and Player B enters, the deformation damage resets for Player A but not for Player B.

Missing doors and scratches are working fine. Only occurs with deformation.

Reproduction steps

Player A causes deformation damage to a vehicle. Player A then exits the Vehicle.

Now Player B enters the same vehicle.

The deformation Damage will reset for PlayerA, but not for PlayerB.

Expected behaviour

Deformation Damage should not dissappear for PlayerA.

Additional context

No response

Operating system

Windows 10

Version

10.0-rc1

TheGodlyLuzer commented 2 years ago

Somehow only occurs on the first netowner change.

FabianTerhorst commented 2 years ago

Deformation isn't synced thats why it resets when the other player didnt see the damage happening. Thats a engine limitation from gta.

TheGodlyLuzer commented 2 years ago

But PlayerB was in the vehicle when PlayerA caused the damage. Is that still part of the limitation? Not sure but i think this behaviour is new since 10.0-rc1

FabianTerhorst commented 2 years ago

QA can test.

deluvas1911 commented 2 years ago

Confirmed by @zziger and me on dev/10.0-21

1) Both get into vehicle 2) Driver crashes until vehicle is deformed 3) Passenger goes into driver set 4) Deformation is repaired for previous driver

FabianTerhorst commented 2 years ago

Test on release branch as well.