The code available from hlstats seems pretty decent at handling most  
usernames.  We've used it for our TF2 tourney scoreboard 
(http://www.nomoose.org/?p=122 
) without much hassle.  It's all perl regex's that grab pretty much  
everything you'd need.  Worth a look and pretty easy to strip out what  
you need.

bruce

On Jun 30, 2009, at 2:40 PM, David A. Parker wrote:

> Hello,
>
> Does anyone know of a good log parser for L4D?  I'm mainly  
> interested in
>  parsing the chat lines and stripping out everything except the date,
> time, player name, and chat text.  I started writing one in Perl,  
> but I
> soon realized that it's the player name can contain all kinds of
> characters, so there's no easy way to split the line into fields  
> reliably.
>
>     Thanks,
>     Dave
>
> -- 
>
> Dave Parker
> Utica College
> Integrated Information Technology Services
> (315) 792-3229
> Registered Linux User #408177
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list  
> archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to