Pages: [1]
  Print  
Author Topic: More game statistics?  (Read 31761 times)
Czestmyr
Half-Nub


Cakes 0
Posts: 87


Member, Player, Mapper


« on: July 10, 2007, 06:51:40 AM »

Hi,

I wanted some neat statistics for the European 24/7 Server, but I found out, that no statistics actually support CTF. When I looked at my games.log file, it really didn't show any CTF-related stuff. Just collecting flags, but that is not very helpful. I was thinking about creating some nice OA statistics system, but it would be nice if the game provided more info about the game events, like the weapon that the player dies with, dropping the flags, killing the flag-carrier, getting awards like "impressive", "excellent", "defend", etc... etc...

Is this doable? Or, better said, wouldn't it require too much work? Because better statistics program would be nice and I would be more than happy to start working on it.

Edit: Of course, such program would be open-source. Sadly enough, AEstats isn't open-source and in the closest future it probably won't be.
« Last Edit: July 10, 2007, 07:01:24 AM by Czestmyr » Logged

Jabber ID: Czestmyr (rolled-herring-sign) jabber.cz
w1zrd
Member


Cakes 2
Posts: 582


Give to life what you expect back


WWW
« Reply #1 on: July 10, 2007, 09:20:43 AM »

You could always take a look at qscore, a nifty little program that Jack Thompson wrote. He is running it to control the stats on his * * T E S T * * servers and they work well. Not for CTF yet, but he might have it planned for future releases. An upcoming feature will be weapon most used as I know of... check with him, might be useful?
Logged

'Toto, I've a feeling we're not in Kansas anymore.'


Czestmyr
Half-Nub


Cakes 0
Posts: 87


Member, Player, Mapper


« Reply #2 on: July 10, 2007, 09:24:18 AM »

Oh, thanks for the tip.

CTF cannot be supported yet, because the game doesn't log that.
Logged

Jabber ID: Czestmyr (rolled-herring-sign) jabber.cz
w1zrd
Member


Cakes 2
Posts: 582


Give to life what you expect back


WWW
« Reply #3 on: July 10, 2007, 09:27:02 AM »

Oh, thanks for the tip.

CTF cannot be supported yet, because the game doesn't log that.
Yeah, I checked some logs and as you already said, not very useful CTF stats coming from server side atm..
Logged

'Toto, I've a feeling we're not in Kansas anymore.'


dmn_clown
Posts a lot
*

Cakes 1
Posts: 1324


« Reply #4 on: July 10, 2007, 04:43:01 PM »

You could always take a look at qscore, a nifty little program that Jack Thompson wrote. He is running it to control the stats on his * * T E S T * * servers and they work well. Not for CTF yet, but he might have it planned for future releases. An upcoming feature will be weapon most used as I know of... check with him, might be useful?

You might want to let him know that his servers aren't showing up in game, but are showing up in quake 3's multiplayer list.
Logged

Czestmyr
Half-Nub


Cakes 0
Posts: 87


Member, Player, Mapper


« Reply #5 on: July 11, 2007, 03:07:13 AM »

I started working on my statistics processor. I decided to generate a XML file from the statistics that could be later used for whatever purpose needed. For example, it could be then formatted by XSLT to XHTML.
Logged

Jabber ID: Czestmyr (rolled-herring-sign) jabber.cz
Czestmyr
Half-Nub


Cakes 0
Posts: 87


Member, Player, Mapper


« Reply #6 on: July 12, 2007, 02:38:21 PM »

First version is done. It generates XML output, which can be processed later.
I tried it on the European 24/7 server. I process it with saxon there. You can look at the outcome here: http://84.16.251.15/openarena/oa/index.html
Logged

Jabber ID: Czestmyr (rolled-herring-sign) jabber.cz
Fitacus
Lesser Nub


Cakes -3
Posts: 142



« Reply #7 on: July 14, 2007, 08:39:56 AM »

Could u use your own statistic game programm for any other game servers in OA?
Logged

"The things you own, they end up owning you."
Linux
Nub


Cakes 0
Posts: 11


Head Admin On European OA 0.7.0 (24/7) Server


WWW
« Reply #8 on: July 14, 2007, 08:44:33 AM »

Hi, yes is possible. You will only need some libraries to make it working properly.

Is tested only on linux and 0.7.0 OpenArena Version.
« Last Edit: July 14, 2007, 08:47:21 AM by Linux » Logged

If you have problem with our server - fell free to mail me (sa-mp@szybki-serwer.pl)
ALucas
Nub


Cakes 0
Posts: 41


« Reply #9 on: July 14, 2007, 12:11:25 PM »

I'll add some advanced logging in my serverside mod (which I can send you to test and I'll release after it's found stable). What exactly were you thinking about except for flag captures? And how should it be logged? (any preferred syntax?)
Logged
Czestmyr
Half-Nub


Cakes 0
Posts: 87


Member, Player, Mapper


« Reply #10 on: July 15, 2007, 03:54:39 AM »

I'll add some advanced logging in my serverside mod (which I can send you to test and I'll release after it's found stable). What exactly were you thinking about except for flag captures? And how should it be logged? (any preferred syntax?)

The most important stuff would be:
Awards
Excellent, impressive, defence, assist
CTF-related stuff
Scoring a flag, returning own flag, (maybe killing the flag carrier?), picking up the flag is already done.

About the syntax - I think it would be best to create new event names for this to keep default event names, such as "Item" or "Kill" unchanged. For Awards, it could look like this:
  0:16 Award: 2 0: Gargoyle was awarded with the Excellent award
  2:31 Award: 4 1: Kyonshi was awarded with the Impressive award
etc...
And CTF stuff could have events named "Ctf" or whatever Wink
Logged

Jabber ID: Czestmyr (rolled-herring-sign) jabber.cz
CorteX
Nub


Cakes 3
Posts: 35



« Reply #11 on: July 15, 2007, 06:39:58 AM »

You might want to let him know that his servers aren't showing up in game, but are showing up in quake 3's multiplayer list.

hmm strange, here I see his server in OA and not in Q3.. Well anyway.. Czest it would be nice to have a more detailed logging system, but I havent got a clue about the work intensity on that one, sorry Smiley
Logged
ALucas
Nub


Cakes 0
Posts: 41


« Reply #12 on: July 15, 2007, 07:56:10 AM »

the award logging is done (for humiliation, excellent, impressive, defense, capture and assist)

examples:
Quote
Award: 2: Mikolaj gained the Capture award
Award: 0: Immortal gained the Assist award
Award: 2: Mikolaj gained the Defense award
Award: 0: Immortal gained the Capture award
Award: 2: Mikolaj gained the Defense award
Award: 2: Mikolaj gained the Defense award
Logged
Czestmyr
Half-Nub


Cakes 0
Posts: 87


Member, Player, Mapper


« Reply #13 on: July 15, 2007, 08:00:32 AM »

Wow, marvellous Cheesy

Edit: But shouldn't you include the time and player number as with all statistics? This would be hard to parse Sad
Logged

Jabber ID: Czestmyr (rolled-herring-sign) jabber.cz
ALucas
Nub


Cakes 0
Posts: 41


« Reply #14 on: July 15, 2007, 08:39:29 AM »

time is automatically added for the log, these were actually c/p'd from the console output as I don't have logging enabled

the player number is the 0 and 2, or do you mean something else?
Logged
Czestmyr
Half-Nub


Cakes 0
Posts: 87


Member, Player, Mapper


« Reply #15 on: July 15, 2007, 09:04:17 AM »

Oh, fine. So then some award ID is missing. Because my OAstats is parsing the log events by numbers and IDs, it is not parsing the texts (A killed B by W, etc...)
Logged

Jabber ID: Czestmyr (rolled-herring-sign) jabber.cz
ALucas
Nub


Cakes 0
Posts: 41


« Reply #16 on: July 15, 2007, 09:22:13 AM »

Ah, I got what you mean now. I'll just give each award a number and add it to the log string.

I've also done the CTF log messages now:
Quote
CTF: 0: Immortal got the RED flag!
CTF: 0: Immortal captured the RED flag!
CTF: 0: Immortal got the RED flag!
CTF: -1: The RED flag has returned!
(again no timestamps because it's from the console)
The numbers are again client numbers, the -1 is because the flag wasn't returned by a player but by the game.
What do you suggest for these? Number each event? (i.e. 0=flag taken, 1=flag captured, 2=flag returned, 3=carrier fragged)
I'll also add the team number.
Logged
Czestmyr
Half-Nub


Cakes 0
Posts: 87


Member, Player, Mapper


« Reply #17 on: July 15, 2007, 09:44:09 AM »

Perfect, that's exactly what I had in mind. And yes, number each event by a unique number. The concrete numbers don't matter, in fact. Could you also write some reference for the numbers? (eg. say, which number means what)
Logged

Jabber ID: Czestmyr (rolled-herring-sign) jabber.cz
ALucas
Nub


Cakes 0
Posts: 41


« Reply #18 on: July 15, 2007, 09:55:54 AM »

It's finished, I'll let it run on my server for a while and send you the file if everything seems to work fine.

award syntax: Award: #1 #2: S1 gained the S2 award
#1 and S1 are the client number and nick
#2 and S2 are the award types, corresponding to the following table:
Code:
#2 | S2
----------------
 0 | Humiliation
 1 | Excellent
 2 | Impressive
 3 | Defense
 4 | Capture
 5 | Assist

CTF syntax: CTF: #1 #2 #3: S1 got the S2 flag! / S1 captured the S2 flag! / The S2 flag has returned! / S1 returned the S2 flag / S1 fragged S2's flag carrier
#1 and S1 are the client number and nick, when there is no client involved #1 = -1
#2 and S2 are the team number and name
#3 is the event number, corresponding to the following table:
Code:
#3 | Event description
----------------------
 0 | Flag is taken
 1 | Flag is captured
 2 | Flag is returned
 3 | Flagcarrier got killed
Logged
tommy
Ok i've posted twice!


Cakes 0
Posts: 2


« Reply #19 on: September 05, 2007, 04:07:05 AM »

Good morning,

i am also interested in those CTF statistics.  Testing qscore at the moment: http://URL TRUNCATION IS BANNED HERE, THIS IS NOT TWITTER!.com/2rmhse
Logged
Gabuche
Nub


Cakes 0
Posts: 5


« Reply #20 on: September 06, 2007, 01:50:59 PM »

I need more number................

Yes I am a addict of stats !

A central website for stats will be a great idea, and maybe a way to link it to a clan webpage...

=-P

Gabuche
Logged
vindimy
Bigger member


Cakes 15
Posts: 161


lolwut?


WWW
« Reply #21 on: November 30, 2008, 03:41:25 PM »

crazy stuff!! i enjoyed this one, gives me ideas on improving my railing and rockets, lol...
good job, gerb.
Logged

Pages: [1]
  Print  
 
Jump to: