View Full Version : SD regarding log files for the server
As I start processing log files for my own stat program its becomes clearer and clearer that they have less information in them than W:ET did. I do not know who won or lost a match? I can't tell if its was a teamkill cause the logs just report as a normal kill and with the color codes being stripped out I can't even look for a "red" color code on the weapon name. Though I did find that I can tell if someone did a backstab or just a normal knife kill and this was cool but hardly makes up for lack of who won.
I know you are all busy getting this game out the door but if you can please have someone add more details to the log files for us stat freaks.
Yes I know I could make my own server only mod and get what I want but I feel this stuff should be in by default.
Generalissimo
08-29-2007, 09:50 PM
It would be nice to have the winning team be logged, if there isn't currently a way to do it. As for teamkills, if the logs keep track of team joins and team changes, your stat program could monitor them and determine when a teamkill has occurred.
Since this is a log thread, I think it would be fun to have an option for the server logs to report the player's position at each action. Along with timestamps, you could probably mine some neat information out of it.
nazarine
08-30-2007, 12:08 AM
I am also updating my stats program (www.statsgen.co.uk) - it is pretty much finished
the logfiles are appalling in their details
some things that may help you
there are 2 logfiles
objective.log (generated automatically and no choice in name)
and the kills log (generated when you have logfilename and logfile set
you can also set timestamps to be present in the kills file with logtimestamps 1
as for team wins
you can track this i think in the objective.log file
it lists the details of the map start and finish - the map finish logs the winning team and you can imply the people who win based upon who is in the team at the same time
things that are not logged that should be logged really
player colour codes (if you are called ^1Nazarine - it just logs you as Nazarine
who made an objective and what the objective is (it just logs Objective 0, 1, 2 and all the players experience points at that time)
it does not log a players team at the point of kill - you have to infer it from your currently known info
it does not log a players class at the point of kill - you have to infer it from your currently known info
if a player changes class - it does not log this :-(
it does not log the hit location at for a paticular kill
i am really disappointed with the logfile contents.
Yes thanks forgot about the objective log file I will check it again and see if its something I might be able to use. I guess I can have my program open that file at the end of a match and read that information in. Thanks for the heads up.
You are correct I could track teams (and I currently do) and compare at a kill line I was trying to avoid this as I rather not keep track of a lot of stuff in memory, but I guess I will just have to do this.
Yeah I dislike the lack of details in the log file as well. I know W:ET had a lot more information that made things really easy. Color codes don't bother me that much really. Lack of class does bother me.
BTW their is also a XP log file but its no different than objective.log its just total for the map.
Guess I will just wait for the SDK to get the information I need with a server only mod. :(
Babylon
08-30-2007, 01:08 PM
nice work.
YEs I am sure that there will prob be more stuff added later, but it depends how much they want to allow support for local stats rather than the global w...err..rankings. :p
I dont rate the colour codes on names as that important..a lot of the time i find it a mess to look at ..both in game and on stats pages.
nazarine
08-30-2007, 05:42 PM
the player class is in the objective file as well (Also the gametype and mapname are in here). If you have timestamps set you can also infer the real round time as the warmup kills are outside the Map Start and Map Finish dates.
colour codes - i prefer these to be in (my stats program just produces coloured text it doesn't draw the ^1Nazarine - it draws Nazarine in red - see http://www.stats.nango.co.uk/statsgen.php?page=player&playerindex=15 for an example of it doing it with COD2).
it can be a pain in some cases but it certainly livens up web pages when you see all your clan in your clan tag colours etc.
well - hopefully more stuff will be added when the full program comes out but i am not too optimistic
oh - and remember - the objective.log file is not deleted when the server restarts - but the kill logfile is !!!
if anybody wants any info / help or has any wisdom to give me regarding objectives then please give me a PM
No need to check anything to tell if warmup is finished as the log files state "All Stats Cleared" or something similar, in my test this is when the map actually starts. I actually completed my parsing of the objectives log today. Which was so much easier than the kills log file, why can't they make that one look like and structured. All thats left for me is to start writing to a database and create the web front end and I will be done.
Also I do plan on creating a server only mod to help output nice log files when the SDK comes out.
Babylon
09-03-2007, 03:31 PM
Not sure if this helps you but i noticed something a little off.
The objective files and some other stuff are logged under the "Default User" account, under "Local Settings\Application Settings" and/or "Applications Settings".
Might be worth you checking if ahy files you need are hiding under "random" profiles!
It also has settings under the administrator account, which is what I would have expected it to log under, .......but thinking about it, its running as a service as no particular NT account, so I guess that makes sense.
But it also does this under my playing PC..(i think..unless im getting confused.)