Page MenuHomeFeedback Tracker

Players/Items have different weight between client and server ( desync ? )
New, NormalPublic


Under certain circumstances, the weight of an entity (EntityAI.m_Weight) on client diverges from the server, causing a desync in other potential features that rely on the weight.
I've been able to reproduce the problem particularly with Entities with Attachments and/or a Cargo container.

Some examples of when it happens:

  • When taking items into hands, the Player weight (PlayerBase::GetWeight) updates only on server
  • When attaching/detaching items to another item attachment slot or player clothing slot, Player weight doesn't update on client
  • When logging into a server, player weight remains 0 on client; the server correctly computes the weight in PlayerBase::AfterStoreLoad
  • more ?


Operating System
Windows 10 x64
Steps To Reproduce
  1. Equip some clothing with attachment slots and/or cargo (e.g. Press vest)
  2. Drag and drop an item from the Vicinity to the attachment slot and/or cargo in player inventory
  3. Check the PlayerBase::GetWeight on client and server
Additional Information

Video of the issue

Event Timeline

simonvic created this task.Apr 5 2022, 5:50 PM
simonvic updated the task description. (Show Details)
simonvic added a comment.EditedJul 28 2022, 3:55 PM

Any news on the issue? Has it been acknowledged or reproduced?
I've noticed that the StaminaHandler also relies on the PlayerBase::GetPlayerLoad, which also appears to desync in multiple occasions and lead to possibly wrong stamina cap (StaminaHandler.m_StaminaCap)

I "think" thats fixed since 1.18

I'm still able to reproduce the issue in 1.18155069 :(

Beavis added a subscriber: Beavis.Aug 19 2022, 8:01 AM

This still happens way too frequently, nearly every time I play for a prolonged time. A relog usually but not always resets it.

lava76 added a subscriber: lava76.Sep 5 2022, 10:03 PM