txAdmin icon indicating copy to clipboard operation
txAdmin copied to clipboard

[BUG] Players are dispatched to all clients, even during loading phase

Open TasoOneAsia opened this issue 2 years ago • 0 comments

txAdmin/FXServer versions: v4.13.0-dev

Describe the bug Loading players are dispatched to all clients. This can cause undefined behavior as we are dependent on players being fully loaded for many of our actions and interactions.

To Reproduce Steps to reproduce the behavior:

  1. Player 2 starts the loading process with Player 1 already being on the server
  2. Player 1 attempts to interact & dispatch actions relating to Player 2 using menu functionality.
  3. Encounter undefined behavior

Expected behavior Loading players are held during the sync process, after loading has been complete, we then dispatch data to players preventing UB

TasoOneAsia avatar Feb 28 '22 20:02 TasoOneAsia