Not On My Screen Analytics—Stats Web-App

Something else for Armagetron? Goody!
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Not On My Screen Analytics—Stats Web-App

Post by dlh »

I've released the code behind http://noms.generalconsumption.org. Here are some previous threads about it 1, 2.

Everything can be found at the Launchpad project site.

If you plan on using it, be sure to read the license and documentation.
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6711
Joined: Thu Dec 18, 2003 7:03 pm

Re: Not On My Screen Analytics—Stats Web-App

Post by Tank Program »

Cool.
Image
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: Not On My Screen Analytics—Stats Web-App

Post by AI-team »

Tank Program wrote:Cool...
...is definitely understated ;)
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Re: Not On My Screen Analytics—Stats Web-App

Post by dlh »

noms-1.1 has been released.
  • Added Stat Signature feature.
  • Stats page is paginated.
  • Reduced file size of stats page by approximately 1/2.
  • Better general server stats.
newbie
Core Dumper
Posts: 138
Joined: Wed Jun 01, 2005 5:04 pm

Re: Not On My Screen Analytics—Stats Web-App

Post by newbie »

hey, it seems that "matches played" takes into account single player matches too. I think showing only the sum of won+lost against real players would be more convenient, because at this point the %Won doesn't reflect actual players.vs.players stats.
1, 4, 6, 9, 11, 21, 24, 33, 34, 35

Image
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Re: Not On My Screen Analytics—Stats Web-App

Post by dlh »

Actually, Matches Played attempts to only be updated for multiplayer games. There are a few bugs, and some singleplayer games get recorded. This is a problem for other stats, too. It's on my todo list.
newbie
Core Dumper
Posts: 138
Joined: Wed Jun 01, 2005 5:04 pm

Re: Not On My Screen Analytics—Stats Web-App

Post by newbie »

dlh wrote:Actually, Matches Played attempts to only be updated for multiplayer games. There are a few bugs, and some singleplayer games get recorded. This is a problem for other stats, too. It's on my todo list.
I've seen 'in limbo' stats and Matches Played seems to catch a lot of them, because I didn't lose more than 3 games.
1, 4, 6, 9, 11, 21, 24, 33, 34, 35

Image
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Re: Not On My Screen Analytics—Stats Web-App

Post by dlh »

noms-1.2 has been released.
  • More accurate stats. Only stats from multiplayer games are recorded.
  • A player's displayed name is now their most used in-game screen name, instead of their log-file name.
  • Added expanded core dump stats.
  • Added more Stat Signature configuration options.
  • Small web UI improvments.
User avatar
compguygene
Adjust Outside Corner Grinder
Posts: 2342
Joined: Thu Aug 21, 2008 12:09 pm
Location: Cleveland, Ohio
Contact:

Re: Not On My Screen Analytics—Stats Web-App

Post by compguygene »

Very nice code dlh. When i get the rest of my stuff setup, I am definitely going to implement this for servers that it makes sense too. That and ladders. For me the first step is a new website for TheServerPharm, which is in the works.
Armagetron: It's a video game that people should just play and enjoy :)
https://bit.ly/2KBGYjvCheck out the simple site about TheServerPharm
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Re: Not On My Screen Analytics—Stats Web-App

Post by dlh »

noms-1.3.1 has been released. The code is once again synced with what gridstats.com is running.

Code: Select all

## 1.3.1 (2010-06-15)

* Fixed stats.rb runtime error.

## 1.3 (2010-06-15)

* Fast stat updates with the --partial-update option.
* Country of origin is shown for each player.
* Interactive world choropleth map to view the total number of players from a
  country.
* Merge stats from seperate servers. Useful for tournament stats.
* Stats can be generated from only a ladderlog.txt, no won_matches.txt or
  won_rounds.txt required.
* New UI layout for stats on the player page.
* Search for players by screen name.
* Achievement tracking is now more accurate.
* Added Zones Lost stat, and renamed the old Zones Lost to Zones Lost Team.
* Added Team Points Diff stat, and removed Team Points Efficiency.
* Fixed Zones Won stat to not include players of the conquered zone's team.
* Fixed Kills per Death stat.
* Fixed bugs for when ArmaSkill is disabled.
* Fixed duplicate ROUND_SCORE events from being processed.
* Configuration file inheritance to reduce redundancy for similar servers and
  tournament results.
Concord
Reverse Outside Corner Grinder
Posts: 1661
Joined: Sun Oct 21, 2007 5:24 pm

Re: Not On My Screen Analytics—Stats Web-App

Post by Concord »

Suggest more achievements…
Perhaps high scorer? Could also be kept as a percentage. The percent that each player has the highest score for a round or match. Sort of like zero-point % (a great metric, I think).

Also, it would be fascinating to see kills & deaths broken down even further. Hunter avg in rounds w/ death, hunter avg in rounds w/o death, death in rounds w/ kill, death in rounds w/o kill.
I don't know if either is feasible.
LucK
Shutout Match Winner
Posts: 861
Joined: Tue Nov 17, 2009 8:04 pm

Re: Not On My Screen Analytics—Stats Web-App

Post by LucK »

Concord wrote:
Suggest more achievements…
Perhaps high scorer? Could also be kept as a percentage. The percent that each player has the highest score for a round or match. Sort of like zero-point % (a great metric, I think).

Also, it would be fascinating to see kills & deaths broken down even further. Hunter avg in rounds w/ death, hunter avg in rounds w/o death, death in rounds w/ kill, death in rounds w/o kill.
I don't know if either is feasible.
Doesn't have to do with achievements but maybe who you killed most and who killed you most?
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Re: Not On My Screen Analytics—Stats Web-App

Post by dlh »

Thanks for the suggestion Concord. I added the % Round High Score and % Match High Score stats.

I've also been working on more situational stats. First up:

Imbalance stats, such as 1 vs. 1, 1 vs. 2, … It's available for the fortress (including Ladle) servers on gridstats.com, and also the Illegal Exit servers.
LucK wrote:Doesn't have to do with achievements but maybe who you killed most and who killed you most?
For this to happen I'd need to work on the database back-end, because right now it's just too slow to support the large amount of data that stats such as this need. Perhaps I'll get to this in the future, but there's higher priority TODO items.

Edit: There's also a new Core Dumps stat: % Enemies Hunted
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Re: Not On My Screen Analytics—Stats Web-App

Post by dlh »

noms-1.4 has been released.

Code: Select all

## 1.4 (2010-07-15)

* Added Imbalance stats.
* Added Zones Team Won stat.
* Added Detailed Points % Round High Score and % Match High Score stats.
* Added Core Dumps % Enemies Hunted stat.
* More accurate multiplayer match determination.
* Better player search results.
* Only players with some rounds played or simple stats are updated in the
  database.
* Added Hong Kong to the world map.
syllabear
Shutout Match Winner
Posts: 1030
Joined: Fri Oct 13, 2006 1:37 pm
Location: UK/HK

Re: Not On My Screen Analytics—Stats Web-App

Post by syllabear »

dlh wrote:

Code: Select all

* Added Hong Kong to the world map.
Like :D
The Halley's comet of Armagetron.
ps I'm not tokoyami
Post Reply