Author Topic: Tremstats Too (for Tremulous 1.2)  (Read 14460 times)

Rezyn

  • Posts: 25
  • Turrets: +6/-0
Tremstats Too (for Tremulous 1.2)
« on: January 24, 2010, 05:17:52 pm »
Tremstats Too is a continuation of the original Tremstats*, updated for Tremulous 1.2. Tremstats Too provides statistics and logging for a tremulous server, making them accessible through a web interface.

Homepage:
http://rezyn.mercenariesguild.net/tremstatstoo.php

Bug Tracker:
http://projects.mercenariesguild.net/projects/tremstats/issues

Current release is 1.9.3 - April 13, 2010

Requires:
  • MySQL >= 4.1
  • Python >= 2.4 with python-mysqldb and python-imaging
  • PHP >= 5.1 with GD support
  • a 1.2 compatible games.log file

Features:
  • Player rankings for various stats
  • Stats breakdown by player
  • Stats breakdown by map
  • List and details of every game
  • Game logs
  • Map balance charts

Tremstats logs everything that can be seen or read by a spectator or player (including chat). By default all this information is available through the web interface. To those concerned about privacy, there are PRIVACY options to disable display of in-game chat, player name aliases, and/or game logs.

There are some features that have been removed since the 1.1 incarnation of tremstats. There is no longer an option to split the games.log into smaller per-time-period pieces. The Tremstats parser now remembers the position it stopped within the games.log;  clearing the games.log is no longer necessary after each parser run. Support for windows is surely broken at this time.

Installation and setup instructions are in the Readme. A setup.sh script is provided for unix installs.

When upgrading from a previous release please be sure to read the ReleaseNotes, as it will contain instructions when the database format changes.


The Official Tremulous Servers use tremstats:
http://stats.tremulous.net/


* Many thanks to DASPRiD for creating Tremstats, Tremstats Too is originally based on the Tremstats 0.6.0 release.

« Last Edit: April 13, 2010, 07:12:19 pm by Rezyn »

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Tremstats Too (for Tremulous 1.2)
« Reply #1 on: January 24, 2010, 05:34:34 pm »
have a sticky  ;D
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: Tremstats Too (for Tremulous 1.2)
« Reply #2 on: January 24, 2010, 06:32:55 pm »
Nice job, thanks very much!

Silver

  • Posts: 376
  • Turrets: +307/-62
Tremstats.
« Reply #3 on: February 01, 2010, 12:42:57 am »
First off, I'd just like to point out the glitch of players not showing up on the top player list that got mentioned in the "1.1 1.2 20+/-h" poll thread.

Take a look at this player - k-otic  http://stats.tremulous.net/tremstats/us1/player_details.php?player_id=207

He has 5.6 effeciencies and over 5 hours of game play in over 100 games.

Then we have Ryanw - http://stats.tremulous.net/tremstats/us1/player_details.php?player_id=373

6.8 effeciencies in over 6 hours of game play in 68 games.

Yet neither of them show up here - http://stats.tremulous.net/tremstats/us1/top_players.php

At first I thought it might be a glitch with first seen/last seen, if you look at Ryan they're both the same time exactly.  K-otic, however, appears to not have this issue.

So I thought maybe it was amount of time spectating verse amount of time playing, but on my own client - http://stats.tremulous.net/tremstats/us1/player_details.php?player_id=1251

I didn't show up on top player list until I had spectated several games.  Notice that I spent almost 3 times as much spectating as I did playing.  I also have the first seen last seen glitch and show up on the list.

I am clueless as to what could be causing this.


Now, for the actual feedback.

I would like to see a little bit of break down in the "top" lists.  Really, all the lists.  It'd be great if all the lists broke down into, Day, Week, Month, All Time.

So we have top player of the Day, top player of the Week, etc etc.

Top player of the day could have no requirement.

Top player of the week would require someone to have played 5 hours that week?

Top player of the month would require someone to have played 20 hours that month?

Top player of all time would require someone to have played 30+ hours and have over 25,000 score.

This way it would prune out people who play only one game and get 20+ effeciencies and people would have a little more respect for the list.

It would also leave the option open for someone to shoot for top player of the day or week, if they top player of all time is unreachable for them atm.

I think as the stats are more accurate over time, so in turn the top player of all time list would be more accurate than the current list(which in all reality runs under the same basis with the top player of the day with only having 5 game requirement.)
I SUKC AT TRMELUS

IABZ IS JESUS

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Tremstats Too (for Tremulous 1.2)
« Reply #4 on: February 01, 2010, 12:50:24 am »
the bugs should probably go on the tracker mentioned in rezyn's post, but since you have other feedback as well i'm merging this into the tremstats topic.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Rezyn

  • Posts: 25
  • Turrets: +6/-0
Re: Tremstats.
« Reply #5 on: February 01, 2010, 04:43:31 am »
First off, I'd just like to point out the glitch of players not showing up on the top player list that got mentioned in the "1.1 1.2 20+/-h" poll thread.

The list excludes players that have not played in X amount of games, this number can be configured so I don't know what value is used in this case. The last seen time is used to determine when the player was last on the server and how many games they have been absent. The bug where it is not updating the player's last seen time causes active players to still fall off the list, since it is not updated. There is a fix for this attached here: http://projects.mercenariesguild.net/issues/116.

Once the bug is patched, players will need to have played X number of games and been active within the past Y games to be visible in the top player lists.

I would like to see a little bit of break down in the "top" lists.  Really, all the lists.  It'd be great if all the lists broke down into, Day, Week, Month, All Time.

This is possible for most stats by simply adding to the existing pages. However for speed with database queries some things are  pre-calculated when the server log is parsed. This includes efficiencies and some map totals. Additions to the database structure will be needed.

I do agree, at least a top players of the week would be nice.


Silver

  • Posts: 376
  • Turrets: +307/-62
Re: Tremstats Too (for Tremulous 1.2)
« Reply #6 on: February 01, 2010, 09:31:28 pm »
Can I also ask. 

Does "Too" stand for something or does it actually mean "Tremstats Also(for Tremulous 1.2)?" 

At first when Volt said Tremstats too over a Skype Call I thought he said two, so I assumed it was Tremstats Two as in version Two.  Idk though, just curious to the title as Tremulous Also sounds kind of.. weird.
I SUKC AT TRMELUS

IABZ IS JESUS

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: Tremstats Too (for Tremulous 1.2)
« Reply #7 on: February 02, 2010, 09:42:47 pm »
Can I also ask. 

Does "Too" stand for something or does it actually mean "Tremstats Also(for Tremulous 1.2)?" 

At first when Volt said Tremstats too over a Skype Call I thought he said two, so I assumed it was Tremstats Two as in version Two.  Idk though, just curious to the title as Tremulous Also sounds kind of.. weird.

I think it is Rezyn's (funny) way to play with words. Now Trem 1.2 has Tremstats too, version 2.

Rezyn

  • Posts: 25
  • Turrets: +6/-0
Re: Tremstats Too (for Tremulous 1.2)
« Reply #8 on: April 13, 2010, 07:10:57 pm »
Tremstats Too 1.9.3 has been released.

The only real visible change is the introduction of a vote summary page.

Additional changes:
  • Order players by score instead of kills in game summary
  • Log parser can preserve player ids when reparsing or clearing stats
  • Fix last seen time for players (#116)
  • Add favorite victim and nemesis to player details (#117)
  • Fix kills by <world> due to log format change (#133)
  • Kill and destruction counts now ignore teamkills and 'no power' (#135)

The latest release and recent changes are always located here: http://rezyn.mercenariesguild.net/tremstatstoo.php

jm82792

  • Posts: 630
  • Turrets: +9/-34
Re: Tremstats Too (for Tremulous 1.2)
« Reply #9 on: May 12, 2010, 10:45:16 pm »
For the life of me I can't install trem stats 2 :(

Rezyn

  • Posts: 25
  • Turrets: +6/-0
Re: Tremstats Too (for Tremulous 1.2)
« Reply #10 on: May 13, 2010, 07:30:24 pm »
For the life of me I can't install trem stats 2 :(

I can help if you post what you are trying to do and what the error messages are.

GeneralScott

  • Posts: 291
  • Turrets: +3/-8
Re: Tremstats Too (for Tremulous 1.2)
« Reply #11 on: March 29, 2011, 05:44:09 pm »
Is it me or has the top players section been removed, and everything but the search, overview, most active players, balance, maps, etc... but the real useful, good part is gone...
The k/d ratio is too...

Meisseli

  • Spam Killer
  • *
  • Posts: 765
  • Turrets: +83/-25
Re: Tremstats Too (for Tremulous 1.2)
« Reply #12 on: March 29, 2011, 05:51:48 pm »
Is it me or has the top players section been removed, and everything but the search, overview, most active players, balance, maps, etc... but the real useful, good part is gone...
The k/d ratio is too...
http://tremulous.net/forum/index.php?topic=15183

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: Tremstats Too (for Tremulous 1.2)
« Reply #13 on: March 29, 2011, 06:40:41 pm »
Please note that that is a change we made to the local installation of tremstats too that runs on stats.tremulous.net. All of these features are still in the overall tremstats too project that you download/install from the source.