Stat programs for self (not server)


(Maple) #1

Is there a program that can take the stats saved (or create itsown), and make it into a nice webpage (html, php, asp, etc. etc.)?


(kotkis) #2

http://frangen.sourceforge.net
Grab the Enemy Territory Teamstats, works great.


(weasel) #3

I’ve got a perl script that puts stats into a database, and I’m in the process of making a php script that reads from it. It’s for Linux, though, and uses DB2 for the database. You could use the same regexps in your own script, though.
Perl script
PHP script
My stats


(SyRinX) #4

I’ve created a new project on SourceForge : http://systats.sourceforge.net/. Check the SyClient section.

SyClient is a client stats generator which reads the .txt stats files within the Wolfenstein - Enemy Territory directory and generates an HTML page containing a summary of the stats found. Client stats can be enabled in ET and are generated at the end of each round. Every player of Enemy Territory can enable stats in the game’s menu.

Current release (0.9.1) has the following features :

  • Track the number of rounds played
  • Track the total amount of damage given and received (compute damage ratio)
  • Track the total amount of team damage inflicted by the player
  • Determine the highest XP gathered by the player at the end of a round
  • Determine the highest level/XP/medals acquired by the player for each skills (battle sense, light weapons, etc.)
  • Determine the number of times the player has reached ranks
  • Track weapon stats for each weapons : hits, shots, headshots, %accuracy, %headshots, kills, deaths

Here is a list of things on the ToDo list :

  • Compute stats about maps
  • Compute stats about the time of day when the player was playing
  • Compute stats about how the player ranks compared to other player
  • Group weapons by weapon class
  • Order ranks in the game’s order

(Maple) #5

Thanks guys, but I’m not running a server (or this isn’t for a server). I meant a program that turns all of those logs that I auto-save into a nice html/php/etc. file.


(SwineHund) #6

Hi Maple!
Personally this is my favourite for client side stats, check it out!
Really simple, no database creation requirements. U just specify the path of the logfile & it does all the rest:)

http://theburrow.rtcwfiles.com/forums/viewforum.php?f=13

SwineHund(+)


(Maple) #7

The guy in the forums says…

This is a server-side logfile, not a client-side logfile.
My program only works on client-side files currently.

Besides, it won’t work for me. =/


(SwineHund) #8

umm this is definitely for client side not server side logs.
You will also have to follow the help instructions and insert the “logfile”
commands into your etconfig file in the profiles folder before it will work.
SwineHund(+)


(Maple) #9

Oh… I’m still getting errors with the program. =/


(kotkis) #10

Teamstats (the one I posted earlier) is a client side stats generator. It should have a clear readme but if you’ve any problems using it I can help you.


(SwineHund) #11

Umm okay sorry this will only work on logfiles that u generate from the time u have made the change to your profile config,lol.

SwineHund(+)


(Maple) #12

a) Windows

Copy the distributed .exe-file to somewhere. Then just run it.

In dos box (start menu, run, cmd):
> cd c:\etstat
> c:\etstat eamstat.exe c:\wet\etmain\etconsole.log -d c:\stats

That would write file “<team1>vs<team2>_<date>.html” to stats-subdirectory.

Run etstat.exe --help for more info.

I know that c:\blah blah probably needs to be changed to reflect into my folder but I don’t have a etconsole.log

I need help. :moo:


(SyRinX) #13

Well, that’s actually what SyClient does.
It parses the .txt files created by Enemy Territory.

Or did you mean that you want to parse the etconsole.log log file?


(kotkis) #14

You need to have “logfile” console variable set to 1 (“seta logfile 1” to console without the quotes).


(Maple) #15

[quote=“kotkis”]

You need to have “logfile” console variable set to 1 (“seta logfile 1” to console without the quotes).[/quote]

Ahh… I got that to work…

Is there any way I can turn those log files (from the many other matches I’ve been in) into a nice html page? Sorry for the questions… I’m clueless about this. @_@


(SyRinX) #16

which log files are you refering to? are you talking about the .txt files created under the stats directory when enabling Stats dumping in ET’s Auto-Action option?


(kotkis) #17

You need to have “logfile” console variable set to 1 (“seta logfile 1” to console without the quotes).[/quote]

Ahh… I got that to work…

Is there any way I can turn those log files (from the many other matches I’ve been in) into a nice html page? Sorry for the questions… I’m clueless about this. @_@[/quote]
Ugh… Teamstats does that. Do like the readme says and if you encounter any problems I’ll help you.