PA Stats Online

Basic Information


Type: Client mod

Mod Name: PA Stats Online

Author(s): Cola_Colin, Gunshin

Categories: in-game, ui

Made for build: will_be_kept_up_to_date_v5

Last Updated: 2015/09/22

Latest version: Autoupdating_v5

Basic Description: Track your statistics

[What does the install button do?]

Additional Information

Video

Compatibility

Some mods conflict with each other, due to the nature of modding in Planetary Annihilation. Typically, mods conflict when they alter the same files of the game using a technique called shadowing. When this happens, only one of the mods changes are applied to that file; likely breaking the other mod entirely, or stopping it from working as intended. Server mods are the most likely to conflict with one another, as shadowing unit data files is the dominant method of creating server mods. This section outlines what mods probably conflict with this one, it's not exhaustive and may (rarely) contain false positives.

No conflicts on record, this mod probably doesn't conflict with any other mods currently on PAMM.

This section is updated manually, which I aim to do once a month. The last time it was updated is the last time modconflicts.json was updated in this github repository.

Description

At its core, PA Stats is a statistics tracking tool. It is a client-side mod which records various statistics about the games you play, and uploads them to a server. Each game has a page, with public data gathered from anyone with the mod enabled that game. The PA Stats server crunches these statistics in various ways, giving you multiple ways to analyse your performance, as well as the performance of anyone else who has the mod. Not only that, other mods can use these statistics in interesting ways.

The mod interface

In the game itself the mod is present in various locations.

Auto 1v1 button

The first thing you'll probably notice is a button in the main menu which says 'PA Stats Auto 1v1':

Clicking it lets everyone else with PA Stats know that you want to play a 1v1 game. You know when someone else is waiting to play a game because text pops ups on the button saying 'someone else is searching!'. Text is also displayed in the lobby when someone is waiting to play an auto-game:

When someone else clicks the button, PA Stats will automatically create and start a game for you, putting you directly in the game. PA Stats picks the system from a pool of systems at random. Note that you can;t disable PA Stats for an auto-1v1 match, but you can disable live updating (see below).

Enabling PA Stats in a match

If you wish to disable PA Stats for a match without disabling the mod entirely, you can. When you are in a game, before you've landed (before you hit 'start annihilate'), you can choose whether to allow PA Stats to gather statistics, and whether to show live statistics on the game page:

If live stats is enabled, the games page is updated in real time. Otherwise, the game page only updates with your statistics once the game has finished.

Post-game statistics

After a match, most of the match statistics will be filled for anyone who had PA Stats enabled (you can all see each others stats):

The 'show game graphs' button does just that, all of the graphs for the game are displayed (displaying data from all players with the mod enabled). Statistics are available for unit counts, build efficiency, various economy values, and APM (actions per minute). The graphs have a slider at the bottom which you can drag from either end, to focus on a particular time frame (zooming in to the area of interest). The graphs make it easy to compare one player to another, and help you to see how to improve your own game.

A games page on the PA Stats website

That's not all this mod allows you to see. As mentioned previously each game has a page. At the top you can see the games statistics, things like the type of planet, duration of match and who won. The players overall statistics follow, the same ones as shown at the end of a game:

The graphs come next, again they are the same ones available at the end of a game. After that is something really special. It's an interactive 3D globe which shows the position of structures on the main planet (multiple planets are not currently implemented, although they might be by the time you read this ;) ). You can zoom in with a right click or scroll wheel, and move about with a left click. Just like the graphs, there is a slider to go back and forwards in time at will. I regard this globe data so highly because it goes beyond statistics, you can actually analyse in detail the events that took place, instead of analysing numbers.

Last but not least is a list of what units and structures a player had and when. Again this is over time, so there's a slider you can use to go to any point in the match at will. You can use it to find weaknesses and strengths in your game and others, both valid ways to improve. You can use it to see who teched up when, the starting builds each players used, and anything else you can think of. Possibly used in conjunction with your memory of the game and the 3D globe above, you can discern big events, when they happened and who came out on top.

A players page on the PA Stats website

Every player has their own game page, which shows statistics aggregated over all of their games. There are also graphs showing games played and economy performance over time.

Related projects

Overall this mod is hands down awesome. There are maybe half a dozen mods which are arguably essential, this is definitely one of them.

Media

The auto-1v1 button on the main menu.

Options when starting a game.

Letting you know someone wants to play a auto-1v1 game from the lobby.

Post-game overview statistics.

Post-game detailed statistics.

General information on a games page.

Interactive 3D globe view of the game.

Unit counts over time.

Aggregate statistics for a player, from all games played. Some shocking statistics here, maybe I should disable the mod when messing about.

Changelog

PA Stats changelog on the PA stats website
PA Stats Server commit history on github
PA Stats UI commit history on github