#1

How To remove the rcon system completely from our server like Crazybob Cops and robbers did
and also help me here
https://sampforum.blast.hk/showthread.php?tid=511647
Reply
#2

Add 'rcon 0' to your server.cfg file to block remote rcon access.
Reply
#3

Quote:
Originally Posted by Roel
Посмотреть сообщение
Add 'rcon 0' to your server.cfg file to block remote rcon access.
tried won't work
Reply
#4

You can still use it inside the console, and inside the game itself.
It only blocks connections from remote IP addresses.
You can block in ingame by kicking the one that is trying to login at;
OnRconLoginAttempt
Reply
#5

yeah but the crazybobs server does not have an rcon system and no kicking too
Reply
#6

Well, im cant test anything, but you can try returning 0 on OnRconLoginAttempt.
Otherwise you may can try adding a custom command thats called rcon, and return 0 on that, but I don't think that will work.
Reply
#7

edit both ways didn't work
Reply
#8

ok +rep
Reply
#9

Quote:
Originally Posted by Ralfie
Посмотреть сообщение
Its impossible to remove the remote console.

Maybe what they are doing is setting it to rcon 0 to avoid other apps.
And using this:

pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
    if(!success)
    {
        new playersIP[17], Message[128+MAX_PLAYER_NAME];
        foreach (new playerid : Player)
        {
            GetPlayerIp(playerid, playersIP, 17);
            if(!strcmp(ip, playersIP))
            {
                break;
            }

            return 0;
        }
    }
    return 1;
}
This is what I said, returning 0 on OnRconLoginAttempt.
But it seems you better explained it ;P
Reply
#10

thanks u too
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)