DarkflameServer icon indicating copy to clipboard operation
DarkflameServer copied to clipboard

BUG: PlayerContainer does not update activity log on server shutdown

Open EmosewaMC opened this issue 3 years ago • 0 comments

Make sure you've done the following:

  • [X] I have checked that this issue has not already been reported.

  • [X] I have validated that this issue is not a syntax error of either MySQL or SQLite.

  • [X] I have pulled the latest version of the main branch of DarkflameServer and have confirmed that the issue exists there.

DarkflameServer Version

all

Issue Description

When MasterServer is killed, it sends a message to WorldServers to shutdown. This discons all clients but does not process the client disconnect messages to take them out of the PlayerContainer. This causes the PlayerContainer to not log the players going off line since the object never receives the message to remove them.

Reproduction Steps

  1. start a server
  2. join a world
  3. shutdown master
  4. observe that the activity log does not log the player going offline.

Expected Behavior

the player is logged as going offline

Environment

all

EmosewaMC avatar Jul 21 '22 23:07 EmosewaMC