Page MenuHomeFeedback Tracker

Vehicle side desyncs between client and server!
New, WishlistPublic

Description

While on the server the side of a vehicle would change correctly depending whether or not it is occupied, on client it would change from CIV to driver side and will not change back to CIV when get out.

Details

Legacy ID
3021533385
Severity
None
Resolution
Open
Reproducibility
Always
Category
Multiplayer
Steps To Reproduce

spawn vehicle on client

client
aa = "B_APC_Tracked_01_AA_F" createVehicle position player;
publicVariable "aa";
hint str side aa;
CIV
server
diag_log side aa;
CIV

get in driver

client
hint str side aa;
WEST
server
diag_log side aa;
WEST

get out

client
hint str side aa;
WEST
server
diag_log side aa;
CIV

Event Timeline

Killzone_Kid edited Additional Information. (Show Details)
Killzone_Kid set Category to Multiplayer.
Killzone_Kid set Reproducibility to Always.
Killzone_Kid set Severity to None.
Killzone_Kid set Resolution to Open.
Killzone_Kid set Legacy ID to 3021533385.May 7 2016, 7:34 PM
PiepMGI added a subscriber: PiepMGI.May 7 2016, 7:34 PM

This happens even on a SP mission in a local machine. Easy to test via editor. This "campaigns" for a better setSide function, enabling to change side of an empty vehicle (car, tank, air...).

Problem is wider than it appears. For instance, rating is impacted and becomes weird. As an emptied vehicle remains on last disembarked unit's side:

  • player could shift quickly on enemyside while killing this emptied vehicle,
  • enemy AI units continues to fire at emptied vehicle, merely than firing at disembarked units!