Page MenuHomeFeedback Tracker

"DemoCharge_Remote_Ammo" position is not synced between server and client
Assigned, WishlistPublic

Description

First of all "DemoCharge_Remote_Ammo" is not PhysX enabled unlike some other types of ammo, which actually sync ok. There could be other classes behaving similar to "DemoCharge_Remote_Ammo"

The problem with position synchronisation arise when you use setPos on already created object. While the object and net id of it are the same on the client and server the position is not!

Details

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

start dedicated server

point at your feet and execute on the client:

a = "DemoCharge_Remote_Ammo" createVehicle [0,0,0];
a setPos screenToWorld [0.5,0.5];
diag_log position a; // result is something like [2345.23,2423.32,0.34434]
publicVariableServer "a";

on the server run

diag_log position a; //result is something like [0,0,-0.43287]

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 4144862781.May 7 2016, 5:59 PM