[bf1942] Log parsing..

Johan Stålnacke johan.sp at home.se
Fri Feb 13 05:18:26 EST 2004


If you use BFRM you will get a easy to read log file,
but it's only show the chat text and no kicking/banning and so on.

It will look like this:
---------------------------------------------------------------------------
2004-02-08 20:12:05 : # [Allies] [simp]Lisa: they r stealing our base
2004-02-08 20:12:05 : # [Allies] [simp]Lisa: this ain't good...
2004-02-08 20:12:05 : # [Axis] [simp]FatTony: their base is captured
2004-02-08 20:12:05 : # [Axis] [simp]FatTony: by me :D
2004-02-08 20:12:05 : # [Allies] [simp]Lisa: now they'll get a lot of
tanks...
2004-02-08 20:12:43 : # [Allies] [simp]Lisa: take our base back!
2004-02-08 20:13:15 : # [Allies] [simp]Lisa: we're losing
2004-02-08 20:13:17 : # [Allies] [simp]Lisa: really
2004-02-08 20:13:35 : # [Global] [simp]Ralph: haha
2004-02-08 20:13:35 : # [Allies] [simp]Lisa: they got 100more tanks
2004-02-08 20:14:05 : # [Global] [simp]Lisa: we're doomed
2004-02-08 20:14:05 : # [Global] [simp]FatTony: yep
---------------------------------------------------------------------------

----- Original Message ----- 
From: "James Gurney" <james at globalmegacorp.org>
To: <bf1942 at icculus.org>
Sent: Friday, February 13, 2004 7:34 AM
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
> format:
>
> <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?
>
> James
>





More information about the Bf1942 mailing list