( search forums )
Rank/Stats on server?
Soldat Forums - Server Talk - Server discussion
Therier
November 7, 2005, 11:03 am
So I need to know how I can get stats/rank on my server?

ramirez
November 7, 2005, 4:45 pm
Program, or install premade, stats software that parses the killlogs of your server and generates a corresponding database of players.

Stormx
November 9, 2005, 9:16 pm
Look in

/logs/gamestat.txt

for live stats. You can easily parse the file with PHP. I have the server running on a computer with a webserver on it, and I symlinked that file to /var/www/gamestat.txt - works a treat. Live stats.

As for ranks, you can parse the kill logs (a little more complicated because when you restart the server it generates a new one) but you need to include all the kill logs (in /logs/kills). Its straight forward enough if you can code!

mar77a
November 9, 2005, 11:20 pm
There are several scripts for this:

http://www.soldatforums.com/topic.asp?topic_id=21249
http://archive.forums.soldat.pl/topic.php?topic_id=18647
http://www.soldatforums.com/topic.asp?topic_id=22381

PureGrain
November 10, 2005, 2:15 pm
mar77a.. I have taken your script and added the automatic update script as a installation script. Let me know if I can release it with your full credits of coarse.

mar77a
November 11, 2005, 12:10 am
Pff, of course, but first send me a mail with deatailed info please.

PureGrain
November 11, 2005, 2:23 am
Yeah, I will. I am actually planning on using ioncube to encrypt with your permission. It speeds up the code drasticly. ;)