[bf1942] Log parsing..

Andrew vonNiederhausern avonnied at genetics.utah.edu
Fri Feb 13 12:10:02 EST 2004


I've been working on one at


what exactly are you looking for?

What I have are some Modules that take the XML log and parse it into easier
to manage objects..

One that I have is what I think you are looking for, I take the Player_id's
and catalogue them to Player_Names at any given even in the log file.

I'd be more than willing to share the modules and whatnot (in Perl) although
they are no where near finalized..

Just so you know I really haven't look much as to what, if any Chat that is
logged into the files but if you can a sample XML file I could easily

Let me know what you need,

-----Original Message-----
From: James Gurney [mailto:james at globalmegacorp.org] 
Sent: Thursday, February 12, 2004 11:35 PM
To: bf1942 at icculus.org
Subject: [bf1942] Log parsing..

I know at least on person on this list was working on a log parser.. 
anyone got anything they'd be willing to share? Right now I'd like a way 
to view the chat log, but there's no simple way to do it since the text 
is linked by player ID, so it's more complex than the level of grepping 
and awking I'm up for. Ideally, it would be nice to have a perl script 
which, when passed a logfile, just outputs the chat log in a sort of IRC 

<luser1> tihs m4p is t3h suck!
<luser2> i r 0wnz0r j00 biznatch3z!
<luser3> OMG BS!
<admin> You're all fucking banned.

etc.. maybe including some events like kicking, banning etc.

Anyone have anything like that they'd be willing to share?


More information about the Bf1942 mailing list