SA-MP Forums Archive
Blocking <ip> due to a 'server full' attack - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Blocking <ip> due to a 'server full' attack (/showthread.php?tid=279406)



Blocking <ip> due to a 'server full' attack - Blacklite - 27.08.2011

pawn Код:
stock ConnectNPCs() {
    #if ENABLE_NPCS == 1
    ConnectNPC("Anna", "anna");
    ConnectNPC("[NPC]BusDriverLV", "lvbus");
    ConnectNPC("[NPC]BusDriverSF", "sfbus");
    ConnectNPC("[NPC]BusDriverLS", "lsbus");
    SetTimer("ConnectNPCs2", 4000, 0);
    #endif
}

forward ConnectNPCs2();
public ConnectNPCs2() {
    ConnectNPC("[NPC]TrainDriverLV", "train_lv");
    ConnectNPC("[NPC]TrainDriverLS", "train_ls");
    ConnectNPC("[NPC]TrainDriverSF", "train_sf");
    SetTimer("ConnectNPCs3", 4000, 0);
}

forward ConnectNPCs3();
public ConnectNPCs3() {
    ConnectNPC("[NPC]PilotLV", "at400_lv");
    ConnectNPC("[NPC]PilotSF", "at400_sf");
    ConnectNPC("[NPC]PilotLS", "at400_ls");
    SetTimer("ConnectNPCs4", 4000, 0);
}

forward ConnectNPCs4();
public ConnectNPCs4() {
    ConnectNPC("[NPC]DrugLV", "genbot");
    ConnectNPC("[NPC]DrugSF", "genbot");
    ConnectNPC("[NPC]DrugLS", "genbot");
    SetTimer("ConnectNPCs5", 4000, 0);
}

forward ConnectNPCs5();
public ConnectNPCs5() {
    ConnectNPC("[NPC]PoliceLV", "genbot");
    ConnectNPC("[NPC]PoliceSF", "genbot");
    ConnectNPC("[NPC]PoliceLS", "genbot");
}
Код:
[22:12:01] Incoming connection: 76.10.223.137:47259
[22:12:01] Incoming connection: 76.10.223.137:41001
[22:12:01] Incoming connection: 76.10.223.137:49673
[22:12:01] Incoming connection: 76.10.223.137:34802
[22:12:01] [npc:join] Anna has joined the server (0:76.10.223.137)
[22:12:01] [npc:join] [NPC]BusDriverLV has joined the server (1:76.10.223.137)
[22:12:01] [npc:join] [NPC]BusDriverSF has joined the server (2:76.10.223.137)
[22:12:01] [npc:join] [NPC]BusDriverLS has joined the server (3:76.10.223.137)
[22:12:02] Incoming connection: 76.10.223.137:41834
[22:12:02] Incoming connection: 76.10.223.137:51845
[22:12:02] Incoming connection: 76.10.223.137:58993
[22:12:02] Incoming connection: 76.10.223.137:41344
[22:12:02] Incoming connection: 76.10.223.137:55067
[22:12:02] Incoming connection: 76.10.223.137:32954
[22:12:02] Incoming connection: 76.10.223.137:38823
[22:12:02] Incoming connection: 76.10.223.137:54786
[22:12:02] Incoming connection: 76.10.223.137:54831
[22:12:02] Incoming connection: 76.10.223.137:41655
[22:12:02] Incoming connection: 76.10.223.137:44548
[22:12:02] Incoming connection: 76.10.223.137:38567
[22:12:02] Incoming connection: 76.10.223.137:34603
[22:12:02] Incoming connection: 76.10.223.137:36307
[22:12:02] Incoming connection: 76.10.223.137:57068
[22:12:02] Incoming connection: 76.10.223.137:50916
[22:12:02] Incoming connection: 76.10.223.137:33309
[22:12:02] Incoming connection: 76.10.223.137:42933
[22:12:02] Incoming connection: 76.10.223.137:52732
[22:12:02] Incoming connection: 76.10.223.137:41303
[22:12:02] Incoming connection: 76.10.223.137:50676
[22:12:02] Incoming connection: 76.10.223.137:36858
[22:12:02] Incoming connection: 76.10.223.137:36796
[22:12:02] Incoming connection: 76.10.223.137:59183
[22:12:02] [npc:join] [NPC]DrugLV has joined the server (4:76.10.223.137)
[22:12:02] [npc:join] [NPC]DrugSF has joined the server (5:76.10.223.137)
[22:12:02] [npc:join] [NPC]DrugLS has joined the server (6:76.10.223.137)
[22:12:02] [npc:join] [NPC]PoliceLS has joined the server (9:76.10.223.137)
[22:12:02] [npc:join] [NPC]PoliceLV has joined the server (7:76.10.223.137)
[22:12:02] [npc:join] [NPC]PoliceSF has joined the server (8:76.10.223.137)
[22:12:02] Incoming connection: 76.10.223.137:40525
[22:12:02] Incoming connection: 76.10.223.137:33431
[22:12:02] Incoming connection: 76.10.223.137:59159
[22:12:02] Incoming connection: 76.10.223.137:53602
[22:12:02] Incoming connection: 76.10.223.137:58949
[22:12:02] Incoming connection: 76.10.223.137:60093
[22:12:02] Incoming connection: 76.10.223.137:42164
[22:12:02] Incoming connection: 76.10.223.137:56017
[22:12:02] Incoming connection: 76.10.223.137:46543
[22:12:02] Incoming connection: 76.10.223.137:57029
[22:12:02] Incoming connection: 76.10.223.137:43963
[22:12:02] Incoming connection: 76.10.223.137:44688
[22:12:02] Incoming connection: 76.10.223.137:39874
[22:12:02] Incoming connection: 76.10.223.137:34330
[22:12:02] Incoming connection: 76.10.223.137:44413
[22:12:02] Incoming connection: 76.10.223.137:43124
[22:12:02] Incoming connection: 76.10.223.137:43124
[22:12:02] Incoming connection: 76.10.223.137:38318
[22:12:02] Incoming connection: 76.10.223.137:41732
[22:12:02] Incoming connection: 76.10.223.137:55107
[22:12:02] Incoming connection: 76.10.223.137:58278
[22:12:02] Incoming connection: 76.10.223.137:49108
[22:12:02] Incoming connection: 76.10.223.137:54726
[22:12:02] Incoming connection: 76.10.223.137:58547
[22:12:02] Incoming connection: 76.10.223.137:38740
[22:12:02] Incoming connection: 76.10.223.137:50687
[22:12:02] Incoming connection: 76.10.223.137:49625
[22:12:02] Incoming connection: 76.10.223.137:39408
[22:12:02] Incoming connection: 76.10.223.137:53001
[22:12:02] Incoming connection: 76.10.223.137:57234
[22:12:02] Incoming connection: 76.10.223.137:45102
[22:12:02] Incoming connection: 76.10.223.137:60850
[22:12:02] Blocking 76.10.223.137 due to a 'server full' attack (1)
Doesn't make any sense to me... Can anyone help?


Re: Blocking <ip> due to a 'server full' attack - =WoR=G4M3Ov3r - 27.08.2011

After this happens, no one else can join, right ?


Re: Blocking <ip> due to a 'server full' attack - Emmet_ - 27.08.2011

Happened on my home-host server after a restart. This pisses me off.


Re: Blocking <ip> due to a 'server full' attack - Blacklite - 27.08.2011

Quote:
Originally Posted by G4M3Ov3r
Посмотреть сообщение
After this happens, no one else can join, right ?
No, all the players can still play - it just refuses the NPC connections. I believe this must be a bug, but I want to make sure before I post it in the bug reports section.


Re: Blocking <ip> due to a 'server full' attack - FireCat - 27.08.2011

Anyways why are you using timers to connect more npc's, and not all in 1?


Re: Blocking <ip> due to a 'server full' attack - [MG]Dimi - 27.08.2011

Are you sure you set max number of NPCs in Server.cfg to 5?


Re: Blocking <ip> due to a 'server full' attack - Gagi_Corleone - 27.08.2011

Opet server.cfg then put maxnpc [number of npc bots] just number.


Re: Blocking <ip> due to a 'server full' attack - Kar - 27.08.2011

Quote:
Originally Posted by FireCat
Посмотреть сообщение
Anyways why are you using timers to connect more npc's, and not all in 1?
he has done that before, he put it in a timer to attempt to fix it

Quote:
Originally Posted by [MG]Dimi
Посмотреть сообщение
Are you sure you set max number of NPCs in Server.cfg to 5?
those are more than 5 npc's, and he said it started happening after he changed hosts or something

Quote:
Originally Posted by Gagi_Corleone
Посмотреть сообщение
Opet server.cfg then put maxnpc [number of npc bots] just number.
read my last comment ^


Re: Blocking <ip> due to a 'server full' attack - Bakr - 27.08.2011

What I find weird is that it connects the first two groups of NPCs (the first four, then second four) within a second of each other even though you have a timer of 4 seconds separating the functions.


Re: Blocking <ip> due to a 'server full' attack - DANGER1979 - 06.02.2013

Has solved a problem?
beside me such problem on 0.3х