WolfStat Linux

Wolfstat is a player statistics generator for RTCW Servers. It's pretty similair to HalfStats for Half-Life. It parses the logfile o...

Download

Uploading...
Do not refresh or leave this page!

File Description

Wolfstat is a player statistics generator for RTCW Servers. It's pretty similair to HalfStats for Half-Life. It parses the logfile of a RTCW server and outputs those player statistics into a nice, clean HTML file. At the WolfStat's homepage you can download additional "themes" that make the stats' output look different (new css files) WolfStat should work for both the multiplayer test and the full game and is also available for Windows.

Read More

Download 'wolfstat_latest_linux.tar.gz' (309KB)

Readme
/----------------------------------------------------------------\
       
                           WolfStat 
                         v0.8.2 Linux
                  http://www.friendlyfire.net

                       Stats generator 
                             for
                "Return To Castle Wolfenstein"
          http://www.activision.com/games/wolfenstein/

\----------------------------------------------------------------/


Content
----------------------	
	1) About
	2) Notes
	3) Requirements
	4) Install
	5) Known issues
	6) Files
	7) Configuration file
	8) Feedback


1) About
----------------------
	Not much to say...
	
	The basic info:
	WolfStat reads game logfile to create a XML 
	stream, it then uses an XSL file to produce HTML 
	files.

2) Notes
----------------------
	If you use WolfStat for your server or link to 
	this site, please mail me. 

	I just want to add a link to it :)

	I know that the interface is a little gray :)
	If someone can come up with a better stylesheet 
	your welcome to send it and if it looks good I 
	will add it to the next release.

	I know that the interface is a little boring :)
	If someone can come up with better XSL files your 
	welcome to send them and if it looks good I will 
	add it to the next release.

	
3) Requirements
----------------------
	Linux
	
	WebServer
	
	"Return to castle wolfenstein" logfile


4) Install
----------------------
	1) Unrar the files to directory from which you 
	want to run WolfStat.

	2) Make WolfStat binary executable by runing the 
	command chmod 755 wolfstat on the binary.

	3) Make sure the user account which you wish to run 
	wolfstat under has write access to the output directory. 
	Also make sure that this account has read access to 
	wolfstat.cfg.

	4) Edit the configuration file (See chapter 6)

	4) Make sure expat is installed on machine before tring 
	to run the wolfstat binary. expat is a Linux XML parser 
	which is needed by WolfStat in order for it to work to work.

	5) If you recieve the error:

		./wolfstat: error while loading shared libraries: 
		libexpat.so.0: cannot load shared object file: No 
		such file or directory

		It is because expat is not installed.

	6) After this is done run the binary
	  ./wolstat


5) Known issues
----------------------
	Problem:
	Cant find the wolfstat.asp file.
	Solution:
	Theres an error in the wolfstat.txt file. The wolfstat.asp 
	file does not exist any more. Its been replaced with 
	wolfstat.html. 
	The PATH parameter in the wolfstat.cfg file should point to 
	the directory in which you put the wolfstat.css file.
	
	Problem:
	I want to store the binary in a different directory.
	Solution:
	Files in the binary directory: 	Wolfstat.exe
					Wolstat.cfg
	Files in the site directory:	Wolfstat.css
					wolfstat.xsl
					wolfstat_player.xsl
					wolfstat_front.xsl
		
	
6) Files and folders
----------------------
	WolfStat.txt
		This file
	
	WolfStat
		The executable
		
	WolfStat.tmp
		(Created by WolfStat)
		Temporary logfile
		
	WolfStat.dmp
		(Created by WolfStat)
		Temporary file
	
	WolfStat.cfg.sample
		A sample configuration file
	
	WolfStat.cfg.multi.sample
		A sample configuration file using MULTI
	
	wolfstat_front_style.jpg
		Pictures showing CSS classes for front HTML file.
		
	wolfstat_main_style.jpg
		Pictures showing CSS classes for main HTML files.
	
	wolfstat_player_style.jpg
		Pictures showing CSS classes for player HTML files.
		
	./wolfstat.html	
		(Created by WolfStat)
		Front HTML file
		All servers used are showed
		
	./<servername>/wolfstat.dat 
		(Created by WolfStat)
		Databasefile for the server
		
	./<servername>/wolfstat.html 
		(Created by WolfStat)
		Main HTML file
			
	./<servername>/wolfstat_deaths.html 
		(Created by WolfStat)
		Main HTML file
		Stats sorted by Deaths
		
	./<servername>/wolfstat_kills.html 
		(Created by WolfStat)
		Main HTML file
		Stats sorted by Kills
		
	./<servername>/wolfstat_ratio.html
		(Created by WolfStat)
		Main HTML file
		Stats sorted by Ratio
		
	./<servername>/wolfstat_score.html
		(Created by WolfStat)
		Main HTML file
		Stats sorted by Score
		
	./<servername>/wolfstat_suicides.html
		(Created by WolfStat)
		Main HTML file
		Stats sorted by Suicides
	
	./<servername>/wolfplayers/
		(Created by WolfStat)
		Directory for the player files
		
	./wolfstat.css
		Main CSS file
		
	./wolfstat_front.xsl
		XSL used to render the front UI
		
	./wolfstat.xsl
		Main XSL used to render the UI
		
	./wolfstat_player.xsl
		Per player XSL used to render the UI


7) Configuration file
----------------------
	The configuration file contain several fields which are 
	described below.
	The configuration file must be well formated with only one 
	whitespace between key and value
	
	LOGFILE (Use MULTI instead)
		Should point to the logfile for the wolfenstein 
		server.	
		e.g.
			LOGFILE /root/games.log

	PATH (Required)
		Should be the path to the directory containing 
		the wolfstat.css file
		e.g.
			PATH /root/wolfstats/

	MIN_SCORE (Required)
		Should contain the score a player must obtain to 
		get listed
		e.g.
			MIN_SCORE 1

	MIN_KILLS (Required)
		Should contain the kills a player must obtain to 
		get listed
		e.g.
			MIN_KILLS 10

	SERVER_NAME (Use MULTI instead)
		Should contain the name of the server
		e.g.
			SERVER_NAME FriendlyFire.net

	SERVER_ADDRESS (Use MULTI instead)
		Should contain the address of the server
		e.g.
			SERVER_ADDRESS 195.54.107.212:27960

	ADMIN_EMAIL (Optional)
		Should contain the mail of the admin
		e.g.
			ADMIN_EMAIL [email protected]

	ADMIN_NICK (Optional)
		Should contain the nick of the admin
		e.g.
			ADMIN_NICK [WATT]Ravenous
	
	ADMIN_ICQ (Optional)
		Should contain the ICQ# of the admin
		e.g.
			ADMIN_ICQ 123456789
			
	EXCLUDE_PLAYERS
		Comma separated list of player that should
		be excluded from the stats
		CASE SENSETIVE!
		e.g.
			EXCLUDE_PLAYERS Player,Pelle
	
	MULTI
		Contains four elements: [N], [A], [L], [G]
		[N] = The name of the server, should be unique
		      same as SERVER_NAME
		[A] = The address of the server,
		      same as SERVER_ADDRESS
		[L] = The logfile for the server
		      same as LOGFILE
		[G] = Gametype and can be: Q3 or RTCW
		      Q3 = Quake3
		      RTCW = "Return to Castle Wolfenstein"
		Usage of this tag will override:
		SERVER_NAME
		SERVER_ADDRESS
		LOGFILE
		This tag can be used multiple times.
		e.g.
		MULTI [N]FriendlyFire #1 [A]195.54.107.212:27960 [L]/root/games1.log [G]Q3
		MULTI [N]FriendlyFire #2 [A]195.54.107.212:27961 [L]/root/games2.log [G]RTCW
			


8) Feedback
----------------------
	Please send feedback/bugs/requests and so on to:
	[email protected]

Read More

Comments on this File

There are no comments yet. Be the first!

Ravenous


50 XP


Registered 29th November 2001

2 Files Uploaded

Share This File
Embed File