Could just make a plugin which kick players with quotes in there name

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Kirby
Sent: Thursday, May 08, 2008 6:00 PM
To: Half-Life dedicated Linux server mailing list
Subject: Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008/4/28 Jon Swope <[EMAIL PROTECTED]>:
> While Psychostats halting completely is indeed an error with Psychostats,
>  allowing unescaped double quotes in usernames breaks Valve's own logging
>  format.  While minor (it only hurts log parsing programs) it still should
>  qualify as a bug.
>
>  While through some crazy regexing the logs can still be parsed, it
shouldn't
>  be necessary to have to handle both of these cases:
>
>  "Cow<1><STEAM_0:1:1><Red>"
>  "Cow "of the night"<2><STEAM_0:1:2><Blue>"

A year or two ago I wrote a process that handles the log output of
multiple servers and performs actions based on those log messages
(server fleet wide bans, admin calls, warnings for language etc etc
all kinds of things). At that time I considered quotes and decided the
best way to solve the problem was to work BACKWARDS on each log line.
Once slot number is processed the rest of the line is player name,
regardless of what flashy characters you find.

Any other way and you can get problems with various characters in the name.

_______________________________________________
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