SA-MP Forums Archive
Why Can Everyone Use Rcon Without A Password (Solved) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Why Can Everyone Use Rcon Without A Password (Solved) (/showthread.php?tid=81554)



Why Can Everyone Use Rcon Without A Password (Solved) - BP13 - 11.06.2009

Hello. In my server I told someone to do /gmx and it worked. everyone can use rcon commands! and I have no Idea why. In the server.cfg it has a rcon password. I aslo tested this myself I installed SA:MP on a computer went into my server and could use all rcon commands without being logged in to the rcon! Please Help.


Re: Why Can Everyone Use Rcon Without A Password - HuRRiCaNe - 11.06.2009

are u using any admin script?


Re: Why Can Everyone Use Rcon Without A Password - RoBo - 12.06.2009

/gmx != /rcon gmx


Re: Why Can Everyone Use Rcon Without A Password - BP13 - 12.06.2009

Quote:
Originally Posted by BiG_Sm0k3
are u using any admin script?
yes

Quote:
Originally Posted by RoBo
/gmx != /rcon gmx
well that dont make any sense so anyone can restart the server by doing /gmx? I don't think so if you go into a official server you type /gmx and it does nothing cause your not logged into the rcon


Re: Why Can Everyone Use Rcon Without A Password - Correlli - 12.06.2009

Quote:
Originally Posted by [SU
BP13 ]
well that dont make any sense so anyone can restart the server by doing /gmx? I don't think so if you go into a official server you type /gmx and it does nothing cause your not logged into the rcon
/gmx doesn't exist unless you create it, but /rcon gmx is there for every server. Do you maybe have /gmx command in your script which doesn't have IsPlayerAdmin or any other check?


Re: Why Can Everyone Use Rcon Without A Password - propilot - 12.06.2009

Quote:
Originally Posted by [SU
BP13 ]
Quote:
Originally Posted by BiG_Sm0k3
are u using any admin script?
yes

Quote:
Originally Posted by RoBo
/gmx != /rcon gmx
well that dont make any sense so anyone can restart the server by doing /gmx? I don't think so if you go into a official server you type /gmx and it does nothing cause your not logged into the rcon
wtf are you talkig about rcom gmx and gmx are differet no one is logged to rcon


Re: Why Can Everyone Use Rcon Without A Password - BP13 - 12.06.2009

There is no /gm in my scripts. whoever comes can do /gmx without loggining into rcon

EDIT: its in ladmin looks like this

Код:
	if(strcmp(cmd, "/gmx", true) == 0)	 {
		if(PlayerInfo[playerid][Level] >= 5) {
			OnFilterScriptExit(); SetTimer("RestartGM",5000,0);
			return SendClientMessage(playerid,COLOR_WHITE,"RCON Command Sent");
		} else return SendClientMessage(playerid,red,"ERROR: You are not a high enough level to use this command");
	}
I don't see anything wrong in it


EDIT: How could I b so stupid when I tested it on other computers I was a level 5 admin! SOLVED