Attack -Help
#1

hello friends,
What's the solution ?

[01:42:33] [join] [BoT]s0nicTz_46274 has joined the server (5:177.159.236.42)
[01:42:33] [join] [BoT]s0nicTz_85050 has joined the server (21:177.159.236.42)
[01:42:33] [join] [BoT]s0nicTz_54106 has joined the server (23:177.159.236.42)
[01:42:33] [join] [BoT]s0nicTz has joined the server (16:177.159.236.42)
[01:42:33] [join] [BoT]s0nicTz_5352 has joined the server (22:177.159.236.42)
[01:42:33] [join] [BoT]s0nicTz_744 has joined the server (24:177.159.236.42)
[01:42:33] Invalid client connecting from 177.159.236.42
[01:42:33] [join] [BoT]s0nicTz_63349 has joined the server (20:177.159.236.42)
[01:42:34] [join] [BoT]s0nicTz_3291 has joined the server (17:177.159.236.42)
[01:42:36] [join] [BoT]s0nicTz_570 has joined the server (18:177.159.236.42)
[01:42:42] [kill] [BoT]s0nicTz_46274 killed Juan Combat Shotgun
[01:42:45] [kill] [BoT]s0nicTz_54106 killed nick Combat Shotgun
[01:42:51] [kill] [BoT]s0nicTz_3291 killed MARVEY Sawn-off Shotgun
[01:42:54] [kill] [BoT]s0nicTz_54106 killed nick Sawn-off Shotgun
[01:42:55] [kill] [BoT]s0nicTz_46274 killed Banderas Combat Shotgun

Thanks.
Reply
#2

max_ips!, check in Filterscripts folder of the server download.
Reply
#3

thanks,
I can not find,did not work..
Reply
#4

http://forum.sa-mp.com/showpost.php?...44&postcount=3

You need is to limit connections of one same IP
Reply
#5

Quote:
Originally Posted by _Zume
Посмотреть сообщение
http://forum.sa-mp.com/showpost.php?...44&postcount=3

You need is to limit connections of one same IP
beats all players.. all kicks
Reply
#6

Prevent all remote NPCs with this:
PHP код:
public OnPlayerConnect(playerid)
{
    if(
IsPlayerNPC(playerid)) {
        new 
ip_addr_npc[64+1];
        new 
ip_addr_server[64+1];
        
GetServerVarAsString("bind",ip_addr_server,64);
        
GetPlayerIp(playerid,ip_addr_npc,64);
        if(!
strlen(ip_addr_server)) {
            
ip_addr_server "127.0.0.1";
        }
        if(
strcmp(ip_addr_npc,ip_addr_server,true) != 0) {
            
// this bot is remote connecting
            
printf("NPC: Got a remote NPC connecting from %s and I'm kicking it.",ip_addr_npc);
            
Kick(playerid);
            return 
0;
        }
        
printf("NPC: Connection from %s is allowed.",ip_addr_npc);
    }
    return 
1;

Reply
#7

Quote:
Originally Posted by ATGOggy
Посмотреть сообщение
Prevent all remote NPCs with this:
PHP код:
public OnPlayerConnect(playerid)
{
    if(
IsPlayerNPC(playerid)) {
        new 
ip_addr_npc[64+1];
        new 
ip_addr_server[64+1];
        
GetServerVarAsString("bind",ip_addr_server,64);
        
GetPlayerIp(playerid,ip_addr_npc,64);
        if(!
strlen(ip_addr_server)) {
            
ip_addr_server "127.0.0.1";
        }
        if(
strcmp(ip_addr_npc,ip_addr_server,true) != 0) {
            
// this bot is remote connecting
            
printf("NPC: Got a remote NPC connecting from %s and I'm kicking it.",ip_addr_npc);
            
Kick(playerid);
            return 
0;
        }
        
printf("NPC: Connection from %s is allowed.",ip_addr_npc);
    }
    return 
1;

did not work..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)