-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Arena match not logged if a player never enters / disconnects (Alt+F4) #24797
Description
Current Behaviour
Description
When entering an arena, if one player never fully joins the map (e.g., disconnects, Alt+F4, loading failure, etc.), the match is not properly logged.
In these cases, no records are saved in log_arena_memberstats at all — neither for the disconnected player nor for the other participants.
If all players enter normally → match is logged correctly.
If one player does not enter / disconnects early →
No rows are inserted in log_arena_memberstats.
Teammates’ stats are also missing.
Expected Behaviour
All participants should be logged regardless of connection state.
Players who never enter the map should still be saved with:
damage = 0
heal = 0
kblows = 0
Other players' stats must still be persisted.
Source
No response
Steps to reproduce the problem
Queue for an arena match (any type).
Accept the invitation with all players.
Before fully entering the arena map, make one player:
Close the client (Alt+F4), or
Disconnect during loading, or
Fail to load into the map for any reason.
Let the arena finish normally with the remaining players.
Check the log_arena_memberstats table.
Extra Notes
No response
AC rev. hash/commit
Operating system
Linux
Custom changes or Modules
No response