Servers
Renzo  /  14 Mar 2009, 18:26
Detailed KTX statistics
There have been a lot of requests regarding KTX and game statistics lately. Therefore MVDSV/KTX team has been working on something called KTX Stats during last few days and the initial work is now done.
Any server using the newest MVDSV and KTX from SVN can enable KTX Stats by using:
k_extralog 1

In the server configs. I have already committed the required change in example configs/ktx.cfg in our KTX SVN repositary and the upcoming MVDSV and KTX releases will have it enabled by default. The .XML files are stored in your server demos directory.

So how does this stuff work? It's easy and requires nothing more than just downloading the demo you want and your client will automatically get the stats file in .XML form when the variable mentioned above is enabled. This should make certain things a lot easier for people reporting their matches for QWDL for example, since you don't have to make the stats file by your own.

Currently there are no parsers that can actually parse the stats file, but anyone who is willing can write one for their league if needed. We will be providing our own parser but that's to be announced later.

The servers that support this feature are:

Quakeworld.fi:28001-8
Troopers.fi:28001-6
Flavium.mine.nu:28501-4
Qw.intarweb.dk:27501-3
Wargamez.dk:27501-3

But I have enabled it only on Wargamez.dk so if you want to see how the stats file looks like, download demos that are made from this point on.
Comments
2009-03-14, 19:58
Admins and users should be aware that the stats generated are quite big (about 450-550Kb for a 4on4 match). Why so? Because they are detailed and contain timeline information as well...
KTX Stats, the parser and stats analyzer, is yet to come indeed but work is in progress and you will probably have news about it soonish.
2009-03-15, 07:23
timeline info yey! Very nice work
2009-03-15, 08:28
finally! now a web 2.0 stats viewer plz
2009-03-15, 08:48
Actually what i was going to ask is how much effort it would be for http://stats.quakeworld.nu to parse these logs (assuming there is a parser) and add the generated report to the games.

Not sure how much CPU time there is usually available on the server, but might be worth using some compression on the xmls
2009-03-15, 12:55
Too much work and it would increase the bandwidth consumption of the stats system a by a couple of orders.

Edited by JohnNy_cz on 15 Mar 09 @ 13:55CET
2009-03-15, 20:05
Willgurht: Well, if the files are really as big as deurk said, gzipping them cannot harm
2009-03-16, 10:42
qw.thejews.se also supports this feature.
2009-03-16, 10:54
qw.thejews.se:28501-3
2009-04-01, 11:23
After cleaning up the xml file and making it well formed and valid... Logs have basically doubled. 1100kb for 4vs4.
You have to be logged in to be able to post a comment.
Username:
Password: