Page 1 of 1

KAC: Command changelevel violation

Posted: Mon Sep 20, 2010 3:51 pm
by nad
not sure exactly if this is a bug or not, but lately my admins have been getting banned for this,

"KAC: Command changelevel violation"

One time one admin tried changing the map with admin, and the second time it happened he claimed he didnt try to change the map at all it just banned him out of no where.

Re: KAC: Command changelevel violation

Posted: Mon Sep 20, 2010 9:41 pm
by Kigen
What kind of admin mod is your admins using to change the level?

Re: KAC: Command changelevel violation

Posted: Tue Sep 21, 2010 12:32 pm
by nad
I am using sourcemod, and it is the default: Map management > changemap > choose a map

as soon as you choose a map you instantly get banned.

Re: KAC: Command changelevel violation

Posted: Tue Sep 21, 2010 1:13 pm
by Kigen
That isn't default. SourceMod lists the "Choose map" option under "Server Commands".

Can you tell use what "rcon sm plugins list" says?

Re: KAC: Command changelevel violation

Posted: Wed Sep 22, 2010 8:17 am
by nad
O sorry, its been so long since I messed with my admin menu that I didnt remember.

It is being added to the menu with adminmenu_custom.txt and I am using this

Code: Select all

                "Change Map"
		{
                        "admin"		"sm_ban"
			"cmd"		"changelevel #1"
			"1"
			{
				"type"		"mapcycle"
				"path"		"mapcycle.txt"
				"title"		"Choose Map:"
			}
		}

Re: KAC: Command changelevel violation

Posted: Wed Sep 22, 2010 8:19 am
by nad
actually from looking in old configs it used to be set to this

Code: Select all

                "Change Map"
		{
                        "admin"		"sm_ban"
			"cmd"		"sm_map #1"
			"1"
			{
				"type"		"mapcycle"
				"path"		"mapcycle.txt"
				"title"		"Choose Map:"
			}
		}
this must be the problem, I will change it back. But what is the difference between sm_map and changelevel?

Re: KAC: Command changelevel violation

Posted: Wed Sep 22, 2010 8:43 am
by Kigen
changelevel is a command designed to only be used through RCON or the server's console. Not by an admin. The problem is that with some addons they open a exploitable hole with changelevel that allows someone to take over your server.

Re: KAC: Command changelevel violation

Posted: Wed Sep 22, 2010 9:32 am
by nad
ahhh good to know, so now I have unbanned myself after testing this and it still says I am ipbanned, yet it doesnt show in the banned ip file. I am using sourcebans, any idea on how I can get myself un banned?

Thanks

update, it removed it self after about half an hour.