22.01.2014, 16:14
Quote:
verifica el call OnRconLoginAttempt puede que tengas alguna restricciуn, o algun otro script que lo tenga.
saludos. |
public OnRconLoginAttempt( ip[], password[], success)
{
if(!success)
{
new attempts=dini_Int(BAD_RCON_LOGIN_FILE,ip);
attempts++;
if(attempts>=MAX_CHECKS)
{
new cmd[32];
format(cmd,sizeof(cmd),"banip %s",ip);
SendRconCommand(cmd);
JB_LogEx("Banning IP %s for too many failed RCON-logins.",ip);
}
JB_LogEx("IP %s tried to log in as RCON-admin with password '%s'.",ip,password);
dini_IntSet(BAD_RCON_LOGIN_FILE,ip,attempts);
}
else
JB_LogEx("IP %s has logged in as RCON-admin",ip);
return CallLocalFunction("JB_OnRconLoginAttempt","ssi",ip ,password,success);
}