Issue report
(minor)
Example scenario:
- User disconnects abnormally
- Other people see an in-game message similar to "username was dropped from the server" (maybe not exact verbiage)
- Server console does not have a message "[LEAVE] username left the game" that AMP is looking for, therefore AMP still considers the player to be online, while they are not
Example logs from AMP instance console:
124798.521 Info AppManager.cpp:324: Saving to _autosave2 (blocking).
124798.821 Info AppManagerStates.cpp:2111: Saving finished
afk
i will go to sleep in 30 min anyway
125063.854 Info ServerMultiplayerManager.cpp:1086: Disconnect notification for peer (7)
125063.854 Info ServerSynchronizer.cpp:613: nextHeartbeatSequenceNumber(7503715) removing peer(7).
lul
125098.821 Info AppManager.cpp:324: Saving to _autosave3 (blocking).
125099.121 Info AppManagerStates.cpp:2111: Saving finished
125399.121 Info AppManager.cpp:324: Saving to _autosave4 (blocking).
125399.437 Info AppManagerStates.cpp:2111: Saving finished
125699.437 Info AppManager.cpp:324: Saving to _autosave5 (blocking).
125699.738 Info AppManagerStates.cpp:2111: Saving finished
125806.537 Info ServerMultiplayerManager.cpp:1086: Disconnect notification for peer (8)
125806.538 Info ServerMultiplayerManager.cpp:978: updateTick(14136409) received stateChanged peerID(8) oldState(InGame) newState(DisconnectScheduled)
2026-03-27 00:40:38 [LEAVE] Bill876 left the game
125806.538 Info ServerSynchronizer.cpp:613: nextHeartbeatSequenceNumber(7548276) removing peer(8).
125807.537 Info ServerMultiplayerManager.cpp:1231: Auto saving map as /home/amp/.ampdata/instances/Factorio01/factorio/server/saves/2026-1ds.zip
125807.554 Info AppManager.cpp:416: Saving game as /home/amp/.ampdata/instances/Factorio01/factorio/server/saves/2026-1ds.zip
125807.887 Info AppManagerStates.cpp:2111: Saving finished
(duplicating as image because some sections are not selectable to copy)
Notice how the abnormal exit has no "left the game" message, compare to the normal exit below.
AMP shows player name as online in the right pane, and the instance status shows 1 active user.
/players online in-game command shows "Online players (0):", as expected.
Issue report
(minor)
Example scenario:
Example logs from AMP instance console:
(duplicating as image because some sections are not selectable to copy)
Notice how the abnormal exit has no "left the game" message, compare to the normal exit below.
AMP shows player name as online in the right pane, and the instance status shows 1 active user.
/players onlinein-game command shows "Online players (0):", as expected.