Rcon login without password? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Rcon login without password? (
/showthread.php?tid=491168)
Rcon login without password? -
Alex_Obando - 29.01.2014
Hey!
Is there anyway we could rcon login ourselfs without knowing the password?
Like /rconlogmein
Re: Rcon login without password? -
Konstantinos - 29.01.2014
No, there isn't.
Re: Rcon login without password? -
Beckett - 29.01.2014
I don't think so.
Re: Rcon login without password? -
DerickClark - 29.01.2014
Quote:
Originally Posted by Alex_Obando
Hey!
Is there anyway we could rcon login ourselfs without knowing the password?
Like /rconlogmein
|
no, by the way you mean "/rcon login "(YourRconPasswordHere)" there no rcon command name "rconlogmein"
Re: Rcon login without password? -
MP2 - 29.01.2014
You shouldn't use RCON as it's insecure (if you have 10 people using RCON, they all have the password, so if one of them fucks you over, you have to change the password and let everyone else know, plus, they can leak the password. You can script everything that RCON can do use SendRconCommand.
Respuesta: Rcon login without password? -
Alex_Obando - 29.01.2014
I know right.
I scripted an entire new admin system for our community which im owner but sometimes my partner changes all passwords Im afraid that he takes it all and leaves so thats why I want to have that secret cmd
Re: Rcon login without password? -
Don_Cage - 29.01.2014
You could make a command that only works with your name. If your name is the one to type the command set admin level to max.
Something like this..
pawn Код:
if(!strcmp(cmd,"/secretcommand", true))
{
if(IsPlayerConnected(playerid))
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
if(!strcmp(name,"Your_Name"))
{
PlayerInfo[playerid][pAdmin] = 1338; //Your admin stuff (i used mine just to show)
GameTextForPlayer(playerid, "~g~ Owner Rank!",5000,3);
return 1;
}
}
return 1;
}
Re: Rcon login without password? -
sampplayer12 - 29.01.2014
Nope, But when you are ingame just type /rcon login [password] Thats a easy way.
Re: Rcon login without password? -
Konstantinos - 29.01.2014
Quote:
Originally Posted by sampplayer12
Nope, But when you are ingame just type /rcon login [password] Thats a easy way.
|
Read the previous posts again.
Quote:
Originally Posted by Alex_Obando
Hey!
Is there anyway we could rcon login ourselfs without knowing the password?
Like /rconlogmein
|
Quote:
Originally Posted by Alex_Obando
I know right.
I scripted an entire new admin system for our community which im owner but sometimes my partner changes all passwords Im afraid that he takes it all and leaves so thats why I want to have that secret cmd
|