DarkflameServer
DarkflameServer copied to clipboard
BUG: PlayerContainer does not update activity log on server shutdown
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
- start a server
- join a world
- shutdown master
- observe that the activity log does not log the player going offline.
Expected Behavior
the player is logged as going offline
Environment
all