Re: [TOOL] stats for teewars
Yes, the stats still works for me and for now i have no suggestions... :-D
You are not logged in. Please login or register.
Teeworlds Forum → Fan Art and Other → [TOOL] stats for teewars
Yes, the stats still works for me and for now i have no suggestions... :-D
I have one. Keep the rounds won stat permanent; I went from over 25 to 6 in the past two days on Rancor's server, heh.
hmm the rounds won should be permanent on Rancor's server with the way he has it setup. It could be a bug in the stats.
The rounds not being permenent has been fixed. Link has been updated: http://wmdb.org/teewars/logger.zip
Ok, thanks again for this update!!! :-)
Excellent. Nice going!
just for fun I changed the stats on -DM World- to be culmative. I have almost 5k kills!
server log is at 120mb as well ,takes 12 seconds to parse and generate pages
ok another update
Added to game page kill milestones of 25k*x for all x less than server kill amount
I've also slightly changed ranking method, to make it slightly harder for newcomer with high kill/death to get good rank vs people who have a lot of kills, but decent kill/death.
Added to front page alt text for each player row showing when that person was last seen on server in hours(aka Player x Last Seen: 4 Hours Ago.)
Oh, also got rid of all stats of nameless tee in map rotation/normal stats. In the rotation stats all your kills will be shown even if you killed a nameless tee, but nameless tee will not show any of its kills. As always in normal player stats any of your kills that were to nameless tee will not count and the same goes if nameless tee killed you it will nto count against you.
I think thats all.
Wow, greate work!!! I've updated the stats on my server again...
ShootMe, great work.
I have a question about game monitoring. Simple game monitoring like here http://www.teewars.com/?page=stats&stats=current + some adds(servername mod map online/maxonline version + list of online players, mb kills/dies if it`s possible).
Have any one something like this?)
I havent done any work with that, however Jeppo has, and if you ask him nicely he should be able to modify his php script to print out all of those for you. This is his simple monitor for a single server, http://www.teewars.com/forum/viewtopic.php?id=607
hello
@shootme
that is a really nice java program, thanks.
But on my server the program doesn't construct playerstats. do you know where the problem is?
it could be an error. check the stdout. if not then it could be because you don't have many players yet and or kills.
This is the output at the moment:
java -jar logger.jar
4
47db7ca3
Players found: 164, Kills: 1751 Maps:6
And here is the stats site:
http://scosu.selfip.org/teewars/
i thought there are enough kills and players because there were often over 4 people on the server at the same time.
very weird indeed. could you zip your log and upload it to some hosting site like mediafire.com ? I am not quite sure why its not working for you.
EDIT: It may also be because you don't have JRE 6 installed, but still upload the log if you could please.
its my server... perhaps a little slow http://scosu.selfip.org/teewars/log.zip
EDIT: i installed the debian-package sun-java6-jdk.
Found the issue. Was because I never had a TDM server and the entering server messages differ so just download the updated logger.zip file and you should be good. http://wmdb.org/teewars/logger.zip
thank you... now there are playerstats too . but it needs on my 300mhz server over 15 seconds for calculation. Perhaps the program could use a database or plain text-files to store the results of the last calculation, so not the whole logfile has to be parsed and calculated again?
yea thought about doing that but never got around to it. I might look into doing that sometime soon.
are you going to open the source of the program?
if you don't want to, is it possible that you tell me the lines which your program searches for? Then i could write a program which reduces the lines of log and so the parsetime.
I don't mind releasing the source, the main reason why I didn't make a database or such is that the order of kills matters in the stats and if I changed how the stats were calculated I would have to restart all the stats.
http://wmdb.org/teewars/Main.zip is the source files.
How to do stats like a http://wmdb.org/teewars?
Got a little more completed in the program. The game stats page is now working as well. http://wmdb.org/teewars
And if you want to try it yourself you can download the program here http://wmdb.org/teewars/logger.zip
Just put the stats folder and the logger.jar file in the teewars directory or where ever the log file is.
For it to work the log file needs to be named teewars.log and you'll need Java JRE 6 to run it http://java.sun.com/javase/downloads/index.jsp
If you have that then you can run the jar file which will create the pages in the stats folder.
The main page only lists the top 500 and only people with 20 kills or more. The personal pages only list the 100 most people killed by that person.
@Disabled: thats how to get the logger and install it.
i wrote a new program based on your pointsystem, shootMe, you describes on your ranking site. it connects to a mysql database and inserts the whole logging in some tables. the program writes, while reading the teewars.log, the content to another log, so that other programs could use it. on exit it deletes the teewars.log and creates a new one with entries at the beginning so that the players and map can reloaded on next start. that should happen too, when database connection brokes or something like that. so even the entries in the database won't become wrong values and the program can continue reading the log. the program reads the log to the end and pauses then for some milliseconds (you can specify). then it reads the last insert lines and pauses again. so you can use here the "java -server" option which should make the program faster and needs a longer starting of the java virtual machine. So you have nearly realtime stats available. for users who changes their name while playing, a new user is created. is the chat message about this rename invalid, the program tries to fix that over next kills and the names there or has to wait for the next maprotation.
now i am testing the program and writing a php-script to read the stats from the database.
i don't know really what the modifier of laser should be. whats about 1.3?
sorry for english...
scosu thanks, all work, but player statisic is blank (
perhaps there weren't 4 players at the same time on your server so playerstatistics were not constructed. else talk to shootme.
Teeworlds Forum → Fan Art and Other → [TOOL] stats for teewars
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.