I want to store all statistics of all players and show it on my web page.
How can i do it?
Exists some scripts or howtos?
Thanx
I m interested by this kind of script, my .tremulous/base/games.log is getting big :)
My server is not creating a log. whats wrong?
My server starting command is ./tremded.x86 >./serverlog.log +set vm_game 0 +set net_ip 88.100.219.133 +com_hunkmegs 96 +set dedicated 2 +exec server.cfg +map atcs
but serverlog.log is empty :-(
Take a look at sourceforge and search for Quake & stat there are a few.
So, how enable server loging on debian?
I tried this, but log soubor is still empty :-(
screen -dmS tremulous ./tremded.x86 +set vm_game 0 +set net_ip 88.100.219.133 +com_hunkmegs 96 +set dedicated 2 +exec server.cfg +map atcs 2>&1 > ./serverlog.log
I'm sure that redirects the output of screen to the file, not the output of tremded.
hrhr, to get the logging you need to change the order...
screen -dmS tremulous "./tremded.x86 +set vm_game 0 +set net_ip 88.100.219.133 +com_hunkmegs 96 +set dedicated 2 +exec server.cfg +map atcs >> LOG_FILE 2>&1"
ee,
this line not working, server doesn't start
i tried without quotation mark:
screen -dmS tremulous ./tremded.x86 +set vm_game 0 +set net_ip 88.100.219.133 +com_hunkmegs 96 +set dedicated 2 +exec server.cfg +map atcs >> LOG_FILE 2>&1
server starts, logfile created, but still empty...
then try creating the screen.session by hand and see if the log is created :)
if i execute server without screen, logging is OK
so, problem is only with screen.
Then you have the solution .)
Edit the screen.conf to autostart a batch that starts your server with logging and you're set.
I am curently making a thing for the }MG{ server that will take to log files and draw graphs of how people are inproving etc. When its done i'll GPL it and stick it on the fourm.
Yes, logging is OK now :)
Thanx
David: ok, i wait for your script
nice David.
Will it be sql aware?
Quote from: Cavemannice David.
Will it be sql aware?
no, it uses text files to store data. 1 global one, and 1 for each player.
its not designed for loads of people, mainly for }MG{
also it ignores anyone not using TJW's build. it needs the unique IDs that adds.