StaTee (teeworlds stats) version 0.2.0
This is now the total new program for the teeworlds statistics. It is optimal for linux servers. More features and a very fast main program. Please follow the steps at "Short Installation Guide" to install the program.Download
PHP-script for the websitex86_64 binary
x86 binary
Source
Requirements:
- Teeworlds-server version 0.4.X
- Apache
- PHP (with enabled magic-quotes)
- MySQL-Server
- Linux x86/x86_64
Short Installation Guide
- Create a new Database on your MySQL-Server.
- Download the binary for your architecture and store it in the folder of the teeworlds server.
- Extract the downloaded archive by typing "tar -xzf StaTee-bin-0.2.0.tar.gz".
- Take all options from the statee_sample.cfg into your custom teeworlds-config and modify the options to your needs. All of the options are needed to let the program run. Take care that you does not change the sv_max_clients while the server runs. That could cause a segmentation fault. On every server statee_sv_id has to be another number between 1 and 65000 or so.
- If you want to load old log-files (from teeworlds servers higher than 0.4.2) please rename the log to "statee_server<statee_sv_id>.log". <statee_sv_id> has to be the value you defined in the config. WARNING: sv_max_clients has to be greater than the value defined in the config from the old server, that produced the log. The file is deleated after the program read it. The reading can take some minutes. DON'T START STATEE AT THIS POINT!!!
- Switch to your web folder (for example /var/www/).
- Store the PHP-script to this point.
- Extract it here: "tar -xzf StaTee-website-0.2.0.tar.gz".
- Edit the file setup.php and replace all by your data.
- Edit the file config.php.
- Run your browser and browse to the location of the script setup.php (for example http://localhost/setup.php). If it shows you "It works" all is fine.
- Delete the file setup.php.
- Now you can switch to your teeworlds folder again.
- NOW you can run your servers with "./statee <CONFIG_FILE>". Please wait for one or two seconds if you run your servers the first time with that configs to avoid problems at the inserting of a new server in the database. The next time you can start all servers without a pause between. If you use more than one new server id you have to pause between again.
- Now have fun using the statistics