Admin

News

The last commits for conyar added support for internal versi (...)
New C++ framework for distributed systems (...)

GPL v3
Valid XHTML 1.1
Valid CSS!

StaTee (teeworlds stats) version 0.2.0

Author: Markus Pargmann   Created: 19 November 2008   Last update: 1 November 2009   Revision: 1
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 website
x86_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

  1. Create a new Database on your MySQL-Server.
  2. Download the binary for your architecture and store it in the folder of the teeworlds server.
  3. Extract the downloaded archive by typing "tar -xzf StaTee-bin-0.2.0.tar.gz".
  4. 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.
  5. 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!!!
  6. Switch to your web folder (for example /var/www/).
  7. Store the PHP-script to this point.
  8. Extract it here: "tar -xzf StaTee-website-0.2.0.tar.gz".
  9. Edit the file setup.php and replace all by your data.
  10. Edit the file config.php.
  11. 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.
  12. Delete the file setup.php.
  13. Now you can switch to your teeworlds folder again.
  14. 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.
  15. Now have fun using the statistics

Bugs

Please report bugs on the Support/Feedback site, thank you.
Statistics
Current visitors: 2
Visitors: 9794
Site views: 104
Website views: 14584