"The server is full" but is not !
#2

Resolved, was a hack, attaching to all the script, which I wrote and protects the server

pawn Code:
#include <a_samp>

new LastConnect[256][256];

public OnIncomingConnection(playerid,ip_address[],port)
{
    new first = strval(ip_address);
    new pos = chrfind('.',ip_address)+1;
    new second = strval(ip_address[pos]);
    if(GetTickCount() - LastConnect[first][second] < 5000)
    {
        new string[32];
        format(string,sizeof(string),"%d.%d.*.*",first,second);
        BlockIpAddress(string,24*60*60*1000);
    }
    LastConnect[first][second] = GetTickCount();
    return 1;
}

stock chrfind(n,h[],s=0)
{
    /*//TestPrint("chrfind");*/
    new l = strlen(h);
    while(s < l)
    {
        if(h[s] == n) return s;
        s++;
    }
    return -1;
}
Reply


Messages In This Thread
"The server is full" but is not ! - by ATomas - 24.06.2014, 13:00
Re: "The server is full" but is not ! - by ATomas - 24.06.2014, 14:10
Re: "The server is full" but is not ! - by ombre - 25.06.2014, 12:49
Re: "The server is full" but is not ! - by ATomas - 25.06.2014, 12:54
Re: "The server is full" but is not ! - by ombre - 25.06.2014, 13:26
Re: "The server is full" but is not ! - by ATomas - 25.06.2014, 13:49
Re: "The server is full" but is not ! - by ATomas - 25.06.2014, 17:15
Re: "The server is full" but is not ! - by player94 - 25.06.2014, 19:00
Re: "The server is full" but is not ! - by Barnwell - 25.06.2014, 21:50
Re: "The server is full" but is not ! - by ATomas - 26.06.2014, 07:56
Re: "The server is full" but is not ! - by MrWupiazZzLT - 05.07.2014, 13:36

Forum Jump:


Users browsing this thread: 1 Guest(s)