OnRconLoginAttempt is a spam?
#1

I got this code:

pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
    if(!success)
    {
        for(new i=0; i<MAX_PLAYERS; i++)
        {
            new pIp[30];
            GetPlayerIp(i, pIp, sizeof(pIp));
            if(strcmp(ip, pIp, true)==0)
            {
                new name[24];
                GetPlayerName(i, name, 24);
                printf("Rcon Login Attempt by %s(%d) using password: %s", name, ip, password);
            }
        }
    }
    return 1;
}
As you see in the picture below it doesnt return my name, and the ip returns as 49 when its 127.0.0.1, but the password is right tough.
Here is a screenie of the console after a failed in-game login with the password "Lol":

---------------------------------------
Reply


Messages In This Thread
OnRconLoginAttempt is a spam? - by [NWA]Hannes - 22.08.2010, 19:55
Re: OnRconLoginAttempt is a spam? - by Scenario - 22.08.2010, 20:00
Re: OnRconLoginAttempt is a spam? - by CJ101 - 22.08.2010, 20:00
Re: OnRconLoginAttempt is a spam? - by Mikkel_Pedersen - 22.08.2010, 20:25

Forum Jump:


Users browsing this thread: 3 Guest(s)