/rcon login ****** bug, how to fix it?
#1

Alright as you can see I did /rcon login [password]
but I got banned everytime I do /rcon login[password] ((Correct password))





In Server.logs it says that I logged in..

[17:08:43] ______________
[17:08:43]
[17:08:43] Number of vehicle models: 86
[17:09:34] Incoming connection: 127.0.0.1:56709
[17:09:34] [join] Robert_Harrison has joined the server (0:127.0.0.1)
[17:10:19] [chat] [Robert_Harrison]: male
[17:10:25] [chat] [Robert_Harrison]: 7/12/1989
[17:13:10] [part] Robert_Harrison has left the server (0:2)
[17:13:10] RCON (In-Game): Player #0 (Robert_Harrison) has logged in.
Reply
#2

look in your script for OnRconLoginAttempt
Reply
#3

Your admin ban system could be interfering with it or something else in your script. Try undoing the latest changes if you can.
Reply
#4

Код:
public OnRconLoginAttempt(ip[], password[], success)
{
	return 1;
}
Lol there it is, now what do I have to do...
I'm new doing this and working with Script
Reply
#5

I thought there was something that was banning you but try this maybe.
Код:
public OnRconLoginAttempt(ip[], password[], success)
{
    if(!success)
    {
        printf("FAILED RCON LOGIN BY IP %s USING PASSWORD %s",ip, password);
        new pip[16];
        for(new i=0; i<MAX_PLAYERS; i++)
        {
            GetPlayerIp(i, pip, sizeof(pip));
            if(!strcmp(ip, pip, true))
            {
                SendClientMessage(i, 0xFFFFFFFF, "Wrong Password. Bye!");
                Kick(i);
            }
        }
    }
    return 1;
}
Reply
#6

Okay, I found it.. This is the real one.. I was checking in FilterScript -___-

Код:
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);
		}
	}
}
Reply
#7

either delete it or replace it with mine either way.
Reply
#8

It doesn't work...
Thanks anyway..
Reply
#9

remove that fully OnRconLoginAttempt
Reply
#10

It doesn't work, still banning me, when I do /rcon login *****
I changed the OnRconLoginAttemp like 5 or 6 times..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)