StatWhore - RTCW:ET Log File Analyser by bS|4.ni.k8.or
Description
A program designed to produce statistics for matches between teams playing stopwatch mode RTCW:Enemy Territory games. The program
reads in the console log file generated by ET client and creates an HTML file to be viewed by web browser. The program is free for anyone to use - if you feel like making a donation click the PayPal button :)
StatWhore aim
Show which teams played
The map that was played on
Which team won - statistics might tell you a team out-fragged another, but not who won the game
Overall statistics for each player, but also for a team
A breakdown of each round - overall statistics are nice but it can be good to see a round where a player was outstanding
Some awards for the award whores
StatWhore
Features of the StatWhore page
Mouse overs
hover the mouse over column titles (eg K, Kd) to see a description of the column
Collapse/Expand
The player and game statistics start off collapsed. Click the + and - icons to expand/collapse each section to reveal individual player statistics.
Column Sort
Most columns can be sorted. Click the column title to sort the column.
Events
mouse over the player events (K,D,T etc) to see person killed and weapon type
Examples
Here are a couple of examples of output from the program
A window will appear showing the log file it is processing, and the name of the file it generates
Double-click on the generated page in "\Program Files\Wolfenstein - Enemy Territory\etpro\html\"
enjoy!
If your log files don't generate lines starting with [skipnotify] try adding these cvars to your config
seta cg_textNotify "1" seta cg_drawNotifyText "1"
Slower Setup Notes and Command Line Options
StatWhore is distributed as a simple Java Archive (.jar), with a default installation of Java on Windows it can be run by double-clicking.
If you have trouble running the .jar file, try the command line options instead from a batch file
Place StatWhore.jar in your RTCW:ET directory "\Program Files\Wolfenstein - Enemy Territory\StatWhore.jar" or in the ET Pro directory "\Program Files\Wolfenstein - Enemy Territory\etpro\StatWhore.jar"
Double-click StatWhore.jar
A window will open which will display files it is reading and generating
StatWhore will look for etconsole.log in the current directory or for etpro/etconsole.log
StatWhore processes the log file
StatWhore creates a directory called html where it found the etconsole.log file, if the directory does not already exist
StatWhore does the same for html/css, html/images, html/js and for the files it saves into them
StatWhore generates the statistics page for the log file with the name html/yyyy-mm-dd-teamA_vs_teamB_map.html
You may close the window at any time. The window stays open so filenames can be checked by the user
StatWhore can also be run from the command line or batch file with parameters as follows
The generated file can be placed on a web site, but the stylesheet uses some common files located in the sub-directories which also need to be on the same website.
The easiest way is to create a stats directory and place the generated file into it as stats/yyyy-mm-dd-teamA_vs_teamB_map.html along with stats/css, stats/images, stats/js directories and their contents
Notes
StatWhore figures out which side won based on the round number, whether a clock was set, objective met/not met and timelimit hit. It assumes
that allies attack for round 1 and then the sides switch for round 2. However there are some maps that have axis on offence eg Railgun. StateWhore
will treat the following maps with having axis on offence
caen
mml_church_et_v1
omg_caen
railgun
The scoreboard may not provide reliable results for double-objective maps, where teams are swapped out of a normal ABBA stopwatch order, or where rounds have been reset etc.
Map name is found by looking for either the LOADING... maps/******.bsp or >>> Map: ******
If [skipnotify]Timelimit hit. is found in the first and second round then a draw is awarded.
The tag detection looks for a match at the start and a match at the end of the names in a team, and the highest number of matches wins. If there is not enough in common
to determine a tag the team will be called Team A or Team B
The output file name is built from the tags from each team. If the tags contains any of the special filesystem characters they are dropped. If no characters remain, then TeamA or TeamB is used
StatWhore attempts to calculate damage in each round by subtracting damage given/received in round 1 from round 2 stats provided by ET (as round 2 includes damage from round 1). Some people have experienced negative values in the second round due to this, but I am unsure why this would happen - possibly where a person has switched teams?.