1 (edited by scosu 2009-04-24 20:15:27)

Topic: [TOOL] StaTee - live statistics for teeworlds

StaTee 0.2.0 are mysql-based live-stats for teeworlds. Please help to improve it by suggesting things you miss.

This tool should be especially good for clanwars because you can view the game-results, after playing, on the homepage in the special clan-view.

***Features***
* Support for more than one servers.
* Homepage with statistics that have no refreshtime.
* The homepage is also a Content Management System, so you can add your own content and make a clan-page or something else.
* You can change the complete style by changing the *.css files.
* You don't need any modification to run the program.
* The program only needs about 1,5mb memory.
* Very low cpu-usage.
* You can vote positive or negative for maps by typing /++ or /-- in the chat.

***Served statistics***
* Player ranking
* Clan ranking
* Player stats
* Clan stats
* Map stats
* Server stats
* Single game stats (clan view and player view)
* Current game monitor (clan view and player view)
* Chatlog
* Server load
* and more

***Live images for forum or homepage***
Yes, these images are not so nice, i am not good at making graphics. Perhaps someone wants to make new one smile.
Player stats:
http://teeworlds.scosu.org/include/stat … i/stat.jpg
http://teeworlds.scosu.org/include/statsgraph.php/player/-1/Maxi/stat.jpg

Clan stats:
http://teeworlds.scosu.org/include/stat … s/stat.jpg
http://teeworlds.scosu.org/include/statsgraph.php/clan/-1/Black%20Blades/stat.jpg

Server stats:
http://teeworlds.scosu.org/include/stat … 2/stat.jpg
http://teeworlds.scosu.org/include/statsgraph.php/player/5/102/stat.jpg

Server load
http://teeworlds.scosu.org/include/stat … r/stat.jpg
http://teeworlds.scosu.org/include/statsgraph.php/load/1/server/stat.jpg

***Points***
Every player has a modifier between 0.15 and 3.0. This modifier represents how good a player is.
On a kill the killer gets points:
points = victim_modifier / killer_modifier * weapon_modifier * (0.92 + 0.08 * (victim_team / killer_team))

Every weapon has a modifier, too:
                1.2,    hammer
                1.4,    pistol
                1.0,    shotgun
                1.0,    grenadelauncher
                1.2,    rifle
                0.7,    katana

victim_team means the sum of all player-modifiers of the victim-team
killer_team the same only for killer-team
If the gametype is DM:
points = victim_modifier / killer_modifier * weapon_modifier


The modifiers of both involved players are changing, too:

killer_modifier = killer_modifier + 0.05 * victim_modifier / killer_modifier * weapon_modifier * (0.92 + 0.08 * (victim_team / killer_team))
victim_modifier = victim_modifier - 0.05 * victim_modifier / killer_modifier * weapon_modifier * (0.92 + 0.08 * (victim_team / killer_team))



On player suicide the player looses points:
points = -0.1 * killer_modifier;

The modifier:
killer_modifier = 0.9 * killer_modifier;


***Requirements***
PHP
MYSQL
Linux


Now released:
StaTee 0.2.0
StaTee 0.3.0

2

Re: [TOOL] StaTee - live statistics for teeworlds

brilliant work indeed

Antoine de Saint Exupéry: It seems that perfection is reached not when there is nothing left to add, but when there is nothing left to take away.
Besides -  I am the gfx guy!

3

Re: [TOOL] StaTee - live statistics for teeworlds

this sounds very nice!

4

Re: [TOOL] StaTee - live statistics for teeworlds

Oh so sticky. @_,

Used to be very active waay back

5

Re: [TOOL] StaTee - live statistics for teeworlds

Wow, this is a great piece of work.

if($poster["intelligence"] == $intelligence["idiot"])
        deny_post($poster);

6

Re: [TOOL] StaTee - live statistics for teeworlds

Omg, that's a really extensive tool, and you seem to have thought thoroughly about the contents. smile Looks sweet. 8)

The proposition "I am the center" need never be uttered. It is the assumption upon which all certainty and all doubt turns.

7

Re: [TOOL] StaTee - live statistics for teeworlds

thank you all big_smile

the windows executables for all mods are online now. Thanks to Dani for compiling all of them smile.

btw: in football mod:
the goalkeeper bug is fixed
the goalkeeper exploit can be avoided by setting maximal allowed changes between player and goalkeeper for 10 points
the kill exploit: those people can be kicked automatically through the option sv_kick_teamkiller

8

Re: [TOOL] StaTee - live statistics for teeworlds

The StaTee version 0.2.0 is ready now. See the first post for the Download.

9

Re: [TOOL] StaTee - live statistics for teeworlds

Hi!

When i try to tun the setup.php in my browser i get an blank page and this error in my php_error.log:

[22-Sep-2008 14:48:30] PHP Parse error:  syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /path/to/setup.php on line 94

System is Debian Linux with apache 2.2.3 and php 5.2.0

What does this mean and how can i fix this? Thanks in advance for an reply.

10

Re: [TOOL] StaTee - live statistics for teeworlds

Sorry for that, i forgot to escape the quote-signs. It is fixed now.

11

Re: [TOOL] StaTee - live statistics for teeworlds

Its great, but do you can create version for the windows, too?

Goodbye all. Account inactive since March 2011.

12

Re: [TOOL] StaTee - live statistics for teeworlds

there will not be a windows version in the near future, sorry.

13

Re: [TOOL] StaTee - live statistics for teeworlds

Thank you for this nice tool!
Using it for my Blog.Jbbr.net servers. You can view the stats on http://statee.jbbr.net/

http://blog.jbbr.net/ - My (german) Blog

14

Re: [TOOL] StaTee - live statistics for teeworlds

Nice to here that it is running somewhere smile.

And very unexpected for me that it is still that fast with already 1953570 kills.

BTW: StaTee-0.2.0 won't work with teeworlds-0.5.0, but i hope 0.2.1 is ready soon wink.

15 (edited by foxx 2008-12-09 22:22:55)

Re: [TOOL] StaTee - live statistics for teeworlds

yes, it works very well. And it's a small vserver... But I think I have to reset it soon because its getting slower now. Especially when someone (or some bots) are using the filtering/search function of statee there are some lags. But anyway thank you for this nice piece of code wink

EDIT: For 0.5 it would be nice to have Statee bether integrated in your CMS. For example resetting stats, deleting tracked servers ... Currently it's only possible to do these things manually in the database. Any maybe you could use PDO for database connection. This would allow other databases like SQlite and would increase security if you use prepared statements. But I know that changing all querys is a lot of work...

http://blog.jbbr.net/ - My (german) Blog

16

Re: [TOOL] StaTee - live statistics for teeworlds

sad sad sad I need windows version sad sad sad

Goodbye all. Account inactive since March 2011.

17

Re: [TOOL] StaTee - live statistics for teeworlds

I need a windows-version for my 0.5.1-server on windows, too sad sad

please!

18

Re: [TOOL] StaTee - live statistics for teeworlds

well...i just started working on the next version... could take a week or so... im still very busy...
there will be some possibilities to clean up and delete servers from the statistics. Also the new version of conyar will be used, with some improvements like a guestbook.
To support all the gametypes, i can't keep the table structures, so you cannot use your old data.
At the moment i will stay at mysql. But if you want to, you can do it smile.

if i decide to make a windows version, i will post it here...

Here you can see the new trac of statee: http://statee.scosu.de

19

Re: [TOOL] StaTee - live statistics for teeworlds

And will you post a windows version ? (^^)

Goodbye all. Account inactive since March 2011.

20 (edited by FireArrow 2009-03-07 20:47:27)

Re: [TOOL] StaTee - live statistics for teeworlds

The only thing i want to see in new version is normal flag statistics. We play mostly iCTF and i think statee really lacks of this function!

and it will be really cool if the new statee will show the speed-records of flag-capture speed...
The fastest players should be known!

[Double-post merged] //FireArrow

~{MS}~ ksm ~{MonkeyStyle}~ - Instagib Teeworlds Clan
VISIT US: http://www.monkeystyle.tk
Check out our IRC channel: #monkeystyle on QuakeNet || Also check out the TeeWiki: http://teewiki.info

21

Re: [TOOL] StaTee - live statistics for teeworlds

no, sorry, still no windows version

i added some tickets here, so you can expect the ctf-features in 0.3.1. For 0.3.1 there are no table-structure changes so you can easily update to 0.3.1 and have those ctfstats. But first i want to finish the 0.3.0 without it.

22

Re: [TOOL] StaTee - live statistics for teeworlds

New background for your stats:
http://img111.imageshack.us/img111/9991/statee.png
i hope you like it!

23

Re: [TOOL] StaTee - live statistics for teeworlds

Here is the new version of statee now... 0.3.0
Some new features included, like support for the BALL gametype and support for saving capture-records.

Here you can see an example for capture records


Download


@fast-squirrel: sorry i just saw the picture. i will use it as background for the next version, thank you smile.

24

Re: [TOOL] StaTee - live statistics for teeworlds

scosu, you mean 0.5.x
not 0.3.x
tongue

Visit tee-league.de and tv.tee-league.de!

25

Re: [TOOL] StaTee - live statistics for teeworlds

Hi...

so were is the src ? I want to have this on my Servers big_smile

MertenNor

->My 24/7 servers: [NOR] Norwegian HUB <- Back Online !! big_smile
( My grammar is getting better ! smile I think.. )
-Norway