RCON Login error?
#10

Looking from your OnRconLoginAttempt code,
pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
    if(success)
    {
        new pip[16];
        ////foreach(Player,i)
        for(new i; i<MAX_PLAYERS; i++)
        {
            GetPlayerIp(i, pip, sizeof(pip));
            if(!strcmp(ip, pip, true))
            if(PlayerInfo[i][pAdmin] < 3) Ban(i);
        }
    }
You have to be an Admin Level 3 or Higher first to login as RCON admin, otherwise you will be banned from the server.

So make yourself as level 3 or higher admin first by modifying your User Database level


Or just remove the code from line (But it's not suggested as some player who is not Admin (in the gamemode admin system) will be able to login with rcon password if get hacked):
pawn Код:
if(PlayerInfo[i][pAdmin] < 3) Ban(i);
I couldn't find your gamemode so i don't know how its admin structure, so sorry if it there will be a problem because of the code change (above) Also this is not scripting discussion or request section.
Reply


Messages In This Thread
RCON Login error? - by NoobPlayer - 07.04.2014, 07:42
Re: RCON Login error? - by ChuckyBabe - 07.04.2014, 08:20
Re: RCON Login error? - by Affan - 07.04.2014, 09:08
Re: RCON Login error? - by NoobPlayer - 07.04.2014, 09:43
Re: RCON Login error? - by Micheal123 - 07.04.2014, 11:24
Re: RCON Login error? - by Parallex - 07.04.2014, 11:36
Re: RCON Login error? - by NoobPlayer - 07.04.2014, 12:06
Re: RCON Login error? - by Bashur - 07.04.2014, 14:49
Re: RCON Login error? - by NoobPlayer - 09.04.2014, 04:07
Re: RCON Login error? - by RoboN1X - 09.04.2014, 04:13

Forum Jump:


Users browsing this thread: 2 Guest(s)