• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /Experimental Feedback
  • /DZEXP-7
Back
1

`PlayerBase::GetOnPlayerLoadChanged` is only invoked server side

CharacterInventoryModdedFeedback
1

State

Assigned
Issue key
DZEXP-7
Access
Public
Space
DayZ
Project
Experimental Feedback
Creator
simonvic
Created
Jul 1, 2026
Views
94
Platform
PC Steam
What happened?

In PlayerBase::NotifyPlayerLoadChanged the IsAuthority seems to always return false on clients, hence the the onPlayerLoadChanged is not invoked.


May be this a source of possible desync? (e.g. in StaminaHandler)
Is IsAuthority meant to return false on clients?


P.S.

Sorry for the sloppy report, I was eager to try the new feedback tracker :)

Reproduction steps
  1. Register the callback

modded class PlayerBase {
  void PlayerBase() {
    GetOnPlayerLoadChanged().Insert(this.foo);
  }
  void foo() {
    Print("Hello world");
  }
}
  1. Drop/pickup an item

  2. this.foo only gets invoked on server

Exact build version (optional)
1.29.163401
Where did it happen?
Local / Offline
Is it modded?
Yes
Expected result

Expecting Hello world to be printed on clients

Section
Mod list

local developement mod

Load order / launch params
DayZDiag_x64.exe -doLogs -scriptDebug=true -noPause=2 -filePatching -connect=127.0.0.1:2302 -name=simonvic -mod=P:\MyMODS_PACKED\@zDebug
Reactions

Activity

    2 months ago
  • simonvic
    created issue2 months ago
  • simonvic
    changed2 months ago
  • simonvic
    changed2 months ago
  • l909
    changed state to
    ASSIGNED
    2 months ago

You are not signed in. Please sign in to see more details and to reply.

State

Assigned
Issue key
DZEXP-7
Access
Public
Space
DayZ
Project
Experimental Feedback
Creator
simonvic
Created
Jul 1, 2026
Views
94