Opened 10 years ago
Last modified 20 months ago
#2448 new enhancement
Display gameplay statistics from the lobby on a website — at Version 12
Reported by: | Josh | Owned by: | |
---|---|---|---|
Priority: | If Time Permits | Milestone: | Backlog |
Component: | Multiplayer lobby | Keywords: | beta |
Cc: | scythetwirler, Andy Alt | Patch: |
Description (last modified by )
Currently at the end of rated games started through the lobby, a bunch of game statistics are sent back to XpartaMuPP and stored in an sqlite3 database (setup by this script).
It would be nice to make this data public in some infographics on a webpage (lobby.wildfiregames.com port 80 should work nicely).
As for the technical side, we could use Google Charts and some basic HTML/JS/CSS to display the data. To access the data we should either parse the database server-side to an intermediate format (like JSON) or just access it directly client-side.
Change History (12)
comment:1 by , 10 years ago
follow-up: 5 comment:3 by , 10 years ago
Replying to scythetwirler:
In 15751:
Why do we want this? Anyone who needs to see a game already can now. I didn't think we wanted observers joining and leaving mid-game without invitation.
You also didn't update the comment in lobby.js.
comment:4 by , 10 years ago
Cc: | added |
---|
comment:5 by , 10 years ago
Replying to Josh:
Replying to scythetwirler:
In 15751:
Why do we want this? Anyone who needs to see a game already can now. I didn't think we wanted observers joining and leaving mid-game without invitation.
You also didn't update the comment in lobby.js.
Oops, forgot about the comment.
Users still can't join a game that has already started (spectator or otherwise) unless they were there during the gamesetup phase.
I've seen a lot of players come into the lobby and leave because they think there are no servers available. Also, it's nice to be able to see who is in what game and who's playing who instead of a seemingly empty "all servers down-for-maintenance" look. :P
comment:7 by , 10 years ago
The games in progress should at least be sorted to the bottom, but I guess showing them is fine until we have a more active community.
comment:11 by , 8 years ago
Keywords: | beta added |
---|
comment:12 by , 20 months ago
Cc: | added |
---|---|
Description: | modified (diff) |
Owner: | removed |
#2463 mentioned it might be nice to show currently running games as well (should not be too hard as XpartaMuPP keeps a running list).