NS2+ Stats Export
Mendasp
I touch maps in inappropriate placesValencia, Spain Join Date: 2002-07-05 Member: 884Members, NS1 Playtester, Contributor, Constellation, NS2 Playtester, Squad Five Gold, NS2 Map Tester, Reinforced - Shadow, WC 2013 - Shadow, Retired Community Developer
Because I don't want to hijack the other thread about Wonitor, I'm making a separate thread for this.
You can check the current format of the exported NS2+ stats here.
Since I started exporting the stats I gather I've been making adjustments and additions, so I will be using this thread to communicate any changes done.
As you may know, the stats that I'm exporting are the same the clients get with some extra data. But this can get messy very fast because everything was meant for display to clients, so there's duplicate data and formats that may not suit proper analysis afterwards.
Right now my intention is to stop exporting the following tables:
I will also rename some fields which may be confusing.
That means, any work with the following tables will be still useful:
If you need anything else or have any doubts, let me know.
Edit: The changes are live, you can check the format in the Readme at Github (linked above).
You can check the current format of the exported NS2+ stats here.
Since I started exporting the stats I gather I've been making adjustments and additions, so I will be using this thread to communicate any changes done.
As you may know, the stats that I'm exporting are the same the clients get with some extra data. But this can get messy very fast because everything was meant for display to clients, so there's duplicate data and formats that may not suit proper analysis afterwards.
Right now my intention is to stop exporting the following tables:
- RTGraph - Will be able to infer this through a new table that contains finished buildings and another one with buildings destroyed, or perhaps a table that contains both.
- TeamStats - Unnecessary, as this is just a summary of the ClientStats.
- ResearchTree - This table right now contains a mix of buildings and research, instead I will be doing this separately, with a table with all researches (right now it's filtered) and another one with buildings.
- BuildingSummary - Won't be necessary when the new table with buildings is available.
I will also rename some fields which may be confusing.
That means, any work with the following tables will be still useful:
- Locations
- ServerInfo
- RoundInfo
- ClientStats
- CommStats: I will change this table name to MarineCommStats and I will change the picks/hits fields as the terminology is confusing, no changes otherwise.
- KillGraph
If you need anything else or have any doubts, let me know.
Edit: The changes are live, you can check the format in the Readme at Github (linked above).
Comments
Edit: Some more changes
Renamed and removed some fields for consistency:
- Renamed pdmg and sdmg fields to playerDamage and structureDamage.
- Removed "last" table from player stats which was only meant for internal use.
- Renamed KillGraph to KillFeed.
- Renamed ClientStats to PlayerStats.
- Renamed "weapon" field to "killerWeapon" and "teamNumber" to "killerTeamNumber" in the KillFeed table.
- Changed "gameMinute" field in KillFeed table to "gameTime", which now returns the time in seconds.
- Renamed "roundTime" field in RoundInfo table to "roundLength".
- Fixed kills not showing the killer weapon in the KillFeed table if the player had left the server.
- Changed rookieFriendly to rookieOnly for the exported stats as the rookieFriendly tag is now deprecated in Build 282.