Stats program for ET??


(SyRinX) #61

Thanks… I have to admit that I took a little inspiration over your look-n-feel experience.


(Awol) #62

Regarding things I track. Dynamite planted only happens when its planted on something you can destroy but it doesn’t say what it was planted on. IE for fueldump it could be the bridge or the dump or MG42 tower/nests I can track it just not what it was placed on.

Ammo and health I track how many you picked up cause that is know always. I just can’t track who gave it well. Stolen uniform I can track but a bug in my code gives you to many steals.

The one thing I did discover last night while going through log files is I can track level progression. I will need to do some testing but its there.

SyRinx looks good! What language are you using to parse logfiles?


(SyRinX) #63

Agreed on that. I think dynamites still have points value even though you don’t know where it’s planted.

Why can’t you track who gave the pack? The Ammo_Pack and Health_Pack lines specify the client ID of the player who gave the pack and the ID of the player who received the pack (in this order).

I haven’t got into uniform stealing yet… it’s with the \dn parameter of the ClientUserinfoChanged line, right?

Thanks, well, I’ve been working on it a lot this morning, so I dunno what version you saw, cuz I’m doing lots of tests, so chances are that you might end up looking at some pretty empty database. I’m using a C++ parser. However, it does not directly import into MySQL right now. It outputs SQL statements that needs to be latter imported. I’ll check for the MySQL++ API after I’m satisfied with all the parsing stuff. I still need to check for the accurate color codes, uniform stealing. I still don’t know if I’ll integrate the XP stuff.


(Awol) #64

Agreed on that. I think dynamites still have points value even though you don’t know where it’s planted.

Yes I track it wish it report where it was planted but I don’t think that will happen.

Why can’t you track who gave the pack? The Ammo_Pack and Health_Pack lines specify the client ID of the player who gave the pack and the ID of the player who received the pack (in this order).

Well what I found it unless they gave you the ammo it doesn’t track who gave it. If a field op drops the ammo on the ground and someone picks it up it doesn’t say who dropped it but its reported to be picked up. (weapon_magicammo2) is the FOs upgraded ammo packs. Yes Ammo_Pack and Health_Pack report the giver and taker but that not a true stat as many people including me drop ammo packs at spawn for other people rather than walking up to them and give ammo to them.

haven’t got into uniform stealing yet… it’s with the \dn parameter of the ClientUserinfoChanged line, right?

Yes \dn is Display Name (I’m guessing) which would be the person’s name of the uniform you took. BTW s\0100000\ is skill level from what I have seen. I don’t know the order yet but after running my server with a fresh log and playing on it I will know.

Good luck on the damn color codes it seems every character on the keyboard is a color. And yes people out there will use some weird color just for fun. This is why I keep the “^?” as part of the name in my database to let the server admin do with them as they want.

I still need to do weaponstat and XP (again if I do XP probably will as it part of something I can track)

My purpose for my program is to try to track everything that I can and let the server admin use the data from the database to make there own stat screens. I still have alot to add to the program but I feel I have enough to let server admins have something to play with now.


(Spookstah) #65

@ Awol: like i said i didnt check the logs good enough to see what happens all the time ( i count on ur great work :clap: )

But in my opinion you shouldnt calculate or track anything that cant be “bind” to a person/player, or only track it for “fun” just to know how often this event did happen.
And when you track it in the logs make an option in your program that you can disable this so you dont have to display these kind of info on your server.


(SyRinX) #66

Thanks for the info.

I went into ET and played around with the color codes. They’re pretty easy after all. There’s a list of 32 colors that are used and these colors are cycled through the ASCII codes. For example, [^ ] (ASCII 32) will give the same color as [^@] (ASCII 64). I took a screenshot and I’m extracting the HTML color codesright now. I’ll post them when I’m finished.


(Awol) #67

And when you track it in the logs make an option in your program that you can disable this so you dont have to display these kind of info on your server.

Simple you don’t want something shown delete it out of the PHP file that displays it.

I do agree I’m not going to track anything that doesn’t have it bound to a player. Thats why I gave up on tracking who gave ammo or health and just did who took it.


(SyRinX) #68

I agree with Spookstah that if you can enable/disable some log tracking options (like dynamites, revives or whatever the admin feels like not tracking), you remove lots’ of database queries (may they be INSERTs or UPDATEs, I dunno how your program works as I haven’t checked the code) on the parsing side and you remove lots’ of useless PHP code.

So, basically, if you want to allow the admin to filter out some stuff, give the filter options in both the parser and the web code.


(Awol) #69

Maybe the next version, but seeing how I really created this for my server and decided to release it I’m not going to worry about it now.

I know this isn’t good with everyone especially the non programming ones. But the next version will be a clean up of the code and and adding a few things.

BTW not parsing something wouldn’t affect the number of SQL queries in the program and I do the queries after I parsed the whole log. It would just have 0 for things not tracked. But if I get time I will clean up the php files to allow for an admin to turn things on and off.

Also just to let you know its take ~45 sec to pasre a 10MB logfile and add everything to my SQL server.

P4 2.0
512 Ram
Window 2000


(shrub) #70

http://www.xfire.be/content/show/index.php?show=12

AFAIK, they are the same in ET.


(SyRinX) #71

Hey there

I just released SyStats 0.9 which is a player ratings and statistics generator for Wolfenstein-like games (ie. current support for RTCW, RTCW w/ shrub, RTCW w/ osp and Enemy Territory).

Check it out at http://systats.sourceforge.net

Demo at : http://systats.sourceforge.net/sample/index.html


(Vaticool) #72

Good :clap:

I am sad to not have a server to make it run on :bored:

Does it run on an euro server ? I want a ping lover that 250 :smiley:

Akimbo silenced Luger :???: does that really exist :smiley:


(Awol) #73

First off nice job :slight_smile:

Secondly yes Akimbo Silent Lugers do exist get a covert ops up to light weapons 4 as an Axis and you will have them :slight_smile:


(Patient Zero) #74

i certainly lack when it comes to programming, and i’m near clueless as far as SQL is concerned. I’m looking to use one fo the stat trackers, but have it filter out and track only members of my clan, we all use (HAM in our names…i know its possible, but does anyone mind helping me out?