[bf1942] Log parsing..

InCisT InCisT at Popsikle.net
Tue Feb 17 16:05:27 EST 2004


James Gurney wrote:

> 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

I can give you a php script if you want. It reads the log file, and 
dumps a chatlog.txt

InCisT



More information about the Bf1942 mailing list