51

Re: [TOOL] stats for teewars

Yes, the stats still works for me and for now i have no suggestions... :-D

52

Re: [TOOL] stats for teewars

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.

53

Re: [TOOL] stats for teewars

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.

54

Re: [TOOL] stats for teewars

The rounds not being permenent has been fixed. Link has been updated: http://wmdb.org/teewars/logger.zip

55

Re: [TOOL] stats for teewars

Ok, thanks again for this update!!! :-)

56

Re: [TOOL] stats for teewars

Excellent. Nice going!

57 (edited by ShootMe 2008-02-13 06:50:12)

Re: [TOOL] stats for teewars

just for fun I changed the stats on -DM World- to be culmative. I have almost 5k kills! smile

server log is at 120mb as well yikes ,takes 12 seconds to parse and generate pages smile

58 (edited by ShootMe 2008-02-18 09:53:40)

Re: [TOOL] stats for teewars

ok another update smile

Added to game page kill milestones of 25k*x for all x less than server kill amount smile
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. smile

http://wmdb.org/teewars/logger.zip

59

Re: [TOOL] stats for teewars

Wow, greate work!!! I've updated the stats on my server again... big_smile

60

Re: [TOOL] stats for teewars

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?)

61 (edited by ShootMe 2008-02-20 07:24:56)

Re: [TOOL] stats for teewars

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

62

Re: [TOOL] stats for teewars

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?

63

Re: [TOOL] stats for teewars

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.

64

Re: [TOOL] stats for teewars

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.

65 (edited by ShootMe 2008-03-20 20:26:16)

Re: [TOOL] stats for teewars

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.

66 (edited by scosu 2008-03-20 22:12:35)

Re: [TOOL] stats for teewars

its my server... perhaps a little slow wink http://scosu.selfip.org/teewars/log.zip

EDIT: i installed the debian-package sun-java6-jdk.

67

Re: [TOOL] stats for teewars

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. smile http://wmdb.org/teewars/logger.zip

68

Re: [TOOL] stats for teewars

thank you... now there are playerstats too smile. 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?

69

Re: [TOOL] stats for teewars

yea thought about doing that but never got around to it. I might look into doing that sometime soon.

70

Re: [TOOL] stats for teewars

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.

71 (edited by ShootMe 2008-03-21 23:05:50)

Re: [TOOL] stats for teewars

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.

72

Re: [TOOL] stats for teewars

How to do stats like a http://wmdb.org/teewars?

Forgive me for my bad english sad

73

Re: [TOOL] stats for teewars

ShootMe wrote:

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...

74

Re: [TOOL] stats for teewars

scosu thanks, all work, but player statisic is blank (

Forgive me for my bad english sad

75

Re: [TOOL] stats for teewars

perhaps there weren't 4 players at the same time on your server so playerstatistics were not constructed. else talk to shootme.