• Tracker

    Spaces
    Statistics
  • Experimental Feedback
  • `PlayerBase::GetOnPlayerLoadChanged` is only invoked server side
Back

1

`PlayerBase::GetOnPlayerLoadChanged` is only invoked server side

Character

Inventory

Modded

Feedback

Issue Key

DZEXP-7

State

Assigned

Access

Public

Group

DayZ

Project

Experimental Feedback

Creator

simonvic

Created

Jul 1, 2026

Views

60

Attachments

No attachments

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
isModded = "Yes"

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

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

Issue Key

DZEXP-7

State

Assigned

Access

Public

Group

DayZ

Project

Experimental Feedback

Creator

simonvic

Created

Jul 1, 2026

Views

60

Attachments

No attachments