Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Mark Chandler
Linux or windows? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bento de Gier Sent: Friday, May 09, 2008 2:34 AM To: 'Half-Life dedicated Linux server mailing list' Subject: Re: [hlds_linux] Cant Kick Players with Quotes in their names Can

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Ryan
If you made a log parser that counted backwards on the line the number of < or >, then you could make it work even if people's names had < in them. On Thu, May 8, 2008 at 2:36 PM, Peter Kirby <[EMAIL PROTECTED]> wrote: > 2008/5/8 Guy Watkins <[EMAIL PROTECTED]>: >> Can someone make a plug-in that

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Peter Kirby
2008/5/8 Guy Watkins <[EMAIL PROTECTED]>: > Can someone make a plug-in that "corrects" bad usernames? I don't have a plugin as such. But the perl script that monitors the multiple servers also issues admin/amx commands to force a name change..So I have an event that is called on Namechange with ol

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Nephyrin Zey
> > Sure it was always part of the rules, because you were not able to use > certain characters in the name in the past. > In the context of a TF2 parser, they were, to my knowledge - though you're right that general 'source' stats parsers didn't have o deal with this before. This is stupid though

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Bento de Gier
Can u lot stop spamming my inbox? -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Guy Watkins Verzonden: donderdag 8 mei 2008 20:20 Aan: 'Half-Life dedicated Linux server mailing list' Onderwerp: Re: [hlds_linux] Cant Kick Players with Quote

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Guy Watkins
I think since the game supports multi-byte characters or Unicode, you can't disallow any 1 byte character, unless you know it is never used in any multi-byte character. Personally, since I can't read some screen output, I wish only clear text ASCII characters were allowed. And any of these ", < a

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Peter Kirby
2008/5/8 Ronny Schedel <[EMAIL PROTECTED]>: > No, I don't want to ignore the line and I don't want to kick players. I want > it fixed by Valve :-) Well personally to get to the point where you cannot salvage the line (using my parse method) the player must have deliberately tried to circumvent the

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Ronny Schedel
Sure it was always part of the rules, because you were not able to use certain characters in the name in the past. > That's very zen of you, but 'no quotes in the username' was never part > of the rules. It simply should have been. If you wrote a parser to the > current rules, broken as they ar

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Peter Kirby
Oh, and don't get me wrong. The logging system could be made much better. Making a character that surrounds data fields and CANNOT be placed into any field supplied by a user (name mainly). It would make the whole process a lot less painful (believe me I spent a lot of time trying to break my own p

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Ronny Schedel
No, I don't want to ignore the line and I don't want to kick players. I want it fixed by Valve :-) > I could at this point just issue a kick on the player (by steam ID or > slot ID which we reliably have already remember). Or I can ignore the > line. Provided I can ascertain the reason safely (an

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Nephyrin Zey
That's very zen of you, but 'no quotes in the username' was never part of the rules. It simply should have been. If you wrote a parser to the current rules, broken as they are, it wouldn't choke on quotes in usernames unless the user had a deliberately disruptive name that was impossible to parse u

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Peter Kirby
2008/5/8 Ronny Schedel <[EMAIL PROTECTED]>: > You can fuck up every game. The name can be in the first place, at the > second (killed event, attacked event) and in the last place (flag capture, > point capture). The example is from TF2, but you also have a similar log > line in DODS when you captur

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Patrick O
AFAIK, maximum player name is limited at 32 characters."player2<2>") (position1 "2 2 2") (player2 "player1" is way over 32 characters. A while back, I made a HLSW style match reporting bot in Java for my server so I could monitor the server even when I wasn't playing on it. To solve this parsing pr

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Ronny Schedel
If you want to interpret something, you need rules, in the real life and also in the computer world. If you cannot count on rules, you cannot interpret it with a program. The rule of a player information was: "name" If Valve breaks this rule, you have to adjust, but there are possibilties were

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Ronny Schedel
There is no regex to handle this, because the format of the logline itself is valid, it will be treated like a good one. Only the logic part is wrong, but this cannot be handled by a regex. > The matter is that with proper regex and such, one can make a log > parsing program that will not run

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Ryan
The matter is that with proper regex and such, one can make a log parsing program that will not run into this issue. Now, I do not know of the exact ways to go about this, but many other programs parse similar logs with complete success. On Thu, May 8, 2008 at 11:58 AM, Ronny Schedel <[EMAIL PROTE

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Ronny Schedel
You can fuck up every game. The name can be in the first place, at the second (killed event, attacked event) and in the last place (flag capture, point capture). The example is from TF2, but you also have a similar log line in DODS when you capture a flag. It is not possible to catch this abuse

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Nephyrin Zey
I disagree. Log parsers, like all programs, that take input which we already know the limits of, are responsible for parsing it to the best of their ability. Just because quotes 'should' be escaped somehow or blocked in this log format, doesn't mean that they are, or ever have been. Nobody is havin

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Peter Kirby
2008/5/8 Ronny Schedel <[EMAIL PROTECTED]>: > No, the quotes allow an user to break out the quotes, like with SQL > injection. You can produce valid loglines, but wrong one. An example: > > A valid logline, without date and stuff: > > Team "Blue" triggered "pointcaptured" (cp "2") (cpname "a") (num

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Tom Leighton
It's not badly coded parsing, its a failure on valves part to limit specific characters in player names. First it started off about not being able to kick players with quotes -- that is the problem this thread was started with and afaik it still occurs. It's possibly unexpected behaviour. Pete

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Ronny Schedel
Little mistake, you have to rename to: player2<2>") (position1 "2 2 2") (player2 "player1 > No, the quotes allow an user to break out the quotes, like with SQL > injection. You can produce valid loglines, but wrong one. An example: > > A valid logline, without date and stuff: > > Team "Blue" trig

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Peter Kirby
2008/5/8 Mark Chandler <[EMAIL PROTECTED]>: > What processing engine? All they do to print a log is this: > > Log("%s<%d><%s>\n", name, id, steamId); > > So if there is a quote in the name it gets printed out. You misunderstood. I am referring to the engine processing the log lines and parsing the

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Peter Kirby
2008/5/8 Ronny Schedel <[EMAIL PROTECTED]>: > The problem is not the stats program. Valve must fix the log entries and > does not allow any character. You have also problems if Valve would allow < > and > in the names. Wrong. If you read HOW I process the logs you'd see they can put ANY characters

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Ronny Schedel
No, the quotes allow an user to break out the quotes, like with SQL injection. You can produce valid loglines, but wrong one. An example: A valid logline, without date and stuff: Team "Blue" triggered "pointcaptured" (cp "2") (cpname "a") (numcappers "1") (player1 "player1<1>") (position1 "1 1

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Nephyrin Zey
A proper log parses will parse these log messages regardless of what characters are in the name, with the possible exception of linefeeds. Not that valve shouldn't consider putting in restrictions, but log parsers also bear a responsibility to consider all possibilities. - Neph On Thu, May 8, 20

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Ronny Schedel
The problem is not the stats program. Valve must fix the log entries and does not allow any character. You have also problems if Valve would allow < and > in the names. > Or the stats program could parse the logs properly taking into account all > possible characters (as Peter Kirby did). > > On

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread LDuke
Or the stats program could parse the logs properly taking into account all possible characters (as Peter Kirby did). On Thu, May 8, 2008 at 7:49 AM, Peter Kirby <[EMAIL PROTECTED]> wrote: > 2008/5/8 Mark Chandler <[EMAIL PROTECTED]>: > > Could just make a plugin which kick players with quotes in

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Mark Chandler
, May 08, 2008 9:49 PM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] Cant Kick Players with Quotes in their names 2008/5/8 Mark Chandler <[EMAIL PROTECTED]>: > Could just make a plugin which kick players with quotes in there name Or the processing engine cou

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Peter Kirby
2008/5/8 Mark Chandler <[EMAIL PROTECTED]>: > Could just make a plugin which kick players with quotes in there name Or the processing engine could just parse the logs properly in the first place. ___ To unsubscribe, edit your list preferences, or view t

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Mark Chandler
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 parsin

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-05-08 Thread Peter Kirby
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. > > Whi

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-04-29 Thread Mark Chandler
Just make a plugin to kick them from the server all ready -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cc2iscooL Sent: Wednesday, April 30, 2008 5:07 AM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] Cant Kick Players with

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-04-29 Thread Cc2iscooL
http://www.psychostats.com/forums/index.php?s=&showtopic=17460&view=findpost&p=95462 Vince wrote: > The psychostats developer said he was not going to try to address this > problem because the server engine isn't supposed to be allowing that > character to be used in the first place. > _

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-04-29 Thread Vince
Best way to handle problems like these is "checking ID at the door", not waiting until they tear up the place. In other words, do some string checking against known bad characters in the places users can set/change their names. The psychostats developer said he was not going to try to address

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-04-28 Thread Jon Swope
t" Sent: Monday, April 28, 2008 10:36 AM Subject: Re: [hlds_linux] Cant Kick Players with Quotes in their names > Sounds like Psychostats needs to be fixed. > > On Mon, Apr 28, 2008 at 5:39 AM, Vince <[EMAIL PROTECTED]> wrote: > >> Saint K. wrote: >> > " sh

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-04-28 Thread LDuke
Sounds like Psychostats needs to be fixed. On Mon, Apr 28, 2008 at 5:39 AM, Vince <[EMAIL PROTECTED]> wrote: > Saint K. wrote: > > " shouldn't be allowed in player names tbh. Same go's for ' btw. > > > > > Which has been brought up here before. It also screws up Psychostats > for TF2. As in, ps

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-04-28 Thread ics
Sort of useless thing to change it from console as it reverts back to Steam friends name after every map change. -ics Don Redhorse kirjoitti: > Don't forget that you can change the nick in console when you are > running tf2... you don't need to use your community name. > > On Mon, 2008-04-28 at

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-04-28 Thread Don Redhorse
Don't forget that you can change the nick in console when you are running tf2... you don't need to use your community name. On Mon, 2008-04-28 at 07:39 -0400, Vince wrote: > Prevent ", ', and other illegal characters from being used in player > names. Seems like a simple enough request. Althou

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-04-28 Thread Vince
his character and try again". > Cheers, > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Dave Reid > Sent: Wednesday, April 23, 2008 7:48 PM > To: Half-Life dedicated Linux server mailing list > Subject: Re: [hlds_linux] Cant

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-04-23 Thread Saint K.
e: [hlds_linux] Cant Kick Players with Quotes in their names Last I checked, this applied to names with "" and () We noticed it on a TF2 server in early February when people were showing no steamid for "status". Dave -Original message- > > I use HLSW and RCON but

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-04-23 Thread Dave Reid
Last I checked, this applied to names with "" and () We noticed it on a TF2 server in early February when people were showing no steamid for "status". Dave -Original message- > > I use HLSW and RCON but i am unable to kick any player with quotes in > > their > > names. > > > > Also if

Re: [hlds_linux] Cant Kick Players with Quotes in their names

2008-04-23 Thread Steve
I have heard about this before.. I think it's a bug So if the player has a quote in their name and you throw a status at your server using the console tab of HLSW, it doesn't return a steamid? > Hi Lists (Linux and Win) > > I use HLSW and RCON but i am unable to kick any player with quotes in

[hlds_linux] Cant Kick Players with Quotes in their names

2008-04-23 Thread Patrick Shelley
Hi Lists (Linux and Win) I use HLSW and RCON but i am unable to kick any player with quotes in their names. Also if they have quotes in their names i am unable to see thier global ID (Steam ID) Example: "4c3" w45 74k3n - is a players name in my server - i cant see any other info for him - ID, C