Some names immune to admin

Post here if you need help setting up your server, etc.
Post Reply
User avatar
dukevin
Round Winner
Posts: 219
Joined: Mon Aug 30, 2010 8:25 am
Location: Southern California
Contact:

Some names immune to admin

Post by dukevin »

Players named as just " or « or » are immune to all admin commands

/admin kick " or /admin rename " somename
yields "No players found containing , be more specific"
Image
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Re: Some names immune to admin

Post by dlh »

A quotation mark has special meaning when parsing command arguments—a quoted term is expected (like "foo bar"). You have to escape it to get the literal quotation mark, or use single quotes around the argument:

Code: Select all

KICK \"
KICK '"'
I didn't have any issues kicking a player named », either through remote admin or directly in a terminal program. Maybe there's an encoding problem on your end?
User avatar
kyle
Reverse Outside Corner Grinder
Posts: 1876
Joined: Thu Jun 08, 2006 3:33 pm
Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
Contact:

Re: Some names immune to admin

Post by kyle »

« and » get changed to " in ladderlog. I was messing around with this because i thought escaping with \" would work, but it did not.

I think it is only a problem if it is in the start of the name of your full name
so "kyleit will not find nor will it find \"kyle
I'm not sure if it does not work OK with kicking, but PLAYER_MESAGE it does mess up
Image
User avatar
Jip
Round Winner
Posts: 397
Joined: Sat Sep 26, 2009 5:32 pm

Re: Some names immune to admin

Post by Jip »

You can get the player ID with /players and use this for admin commands.
User avatar
kyle
Reverse Outside Corner Grinder
Posts: 1876
Joined: Thu Jun 08, 2006 3:33 pm
Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
Contact:

Re: Some names immune to admin

Post by kyle »

Jip wrote:You can get the player ID with /players and use this for admin commands.
not with scripting nor with sty+ct
Image
User avatar
Z-Man
God & Project Admin
Posts: 11587
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Some names immune to admin

Post by Z-Man »

kyle wrote:« and » get changed to " in ladderlog. I was messing around with this because i thought escaping with \" would work, but it did not.
\" worked for me just fine on plain 0.2.8 to kick a player named just «. Plain « itself worked, too, but of course for that you need to set the input mode to latin1, not utf8.
User avatar
kyle
Reverse Outside Corner Grinder
Posts: 1876
Joined: Thu Jun 08, 2006 3:33 pm
Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
Contact:

Re: Some names immune to admin

Post by kyle »

Z-Man wrote: but of course for that you need to set the input mode to latin1, not utf8.
That is probbaoly why it did not work for me
Image
Post Reply