Bug #717

"joins" player event missing if player is dead upon endmatch

Added by antibody almost 3 years ago. Updated about 1 year ago.

Status:FeedbackStart date:10/03/2011
Priority:NormalDue date:
Assignee:Samual% Done:

0%

Category:Server Code
Target version:Xonotic - 0.8

Description

If a player is dead (i.e. not spectating, but not yet respawned)upon endmatch, the "joins" player event is missing from that player's stats output. Originally in xonstat both "joins" (meaning player has joined the game) and "matches" (meaning player has completed the game) were both required for stats to be recorded. This requirements was removed after this bug was found.

Steps to reproduce:

- Create local game, DM style
- Turn on stats (g_playerstats_uri and g_playerstats_debug)
- Join the match, frag a few times
- Suicide or get fragged by a bot. DO NOT HIT RESPAWN.
- In console, type "endmatch"
- Observe that the "joins" event is missing for your player record.

History

#1 Updated by Samual almost 3 years ago

  • Category set to Server Code

#2 Updated by Samual almost 2 years ago

  • Status changed from New to Feedback

Does this still happen? I don't think so...

#3 Updated by Samual almost 2 years ago

Wait, I don't see "joins" AT ALL anymore.... Can you confirm that it is no longer provided at all in the logs? I don't see it in any of my tests.

The code exists though, but it's weird-- perhaps it's just broken?

#4 Updated by Mirio about 1 year ago

  • Target version set to 0.8

Also available in: Atom PDF