SA-MP Forums Archive
Bots connecten not - 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: Bots connecten not (/showthread.php?tid=418822)



Bots connecten not - GTA:SA - 26.02.2013

Good afternoon,
I have a small problem with NPC-Bots.
I have 35 Bots recorded and 16 Bots without functions placed on the server.
But there is a problem, from 51 Bots connecten only 10 Bots and the server log announce this mistake
Код:
Blocking 127.0.0.1 due to a 'server full' attack (1)
I have already put, which a number of Bots after a certain period connecten,
so that SA:MP does not block the Bots again.
I had to pull it with the Bots, really, very closely, it connecten every 60 seconds 3 Bots.
However, there is not still a problem, the Bots connecten still completely.

Код:
[17:29:28] [npc:join] Carl has joined the server (13:127.0.0.1)
[17:29:28] [npc:join] Magritt has joined the server (14:127.0.0.1)
[17:29:28] [npc:join] Marco has joined the server (15:127.0.0.1)
[17:30:28] Incoming connection: 127.0.0.1:37846
[17:30:28] Incoming connection: 127.0.0.1:42421
[17:30:28] Incoming connection: 127.0.0.1:47307
[17:30:28] [npc:join] Helmut has joined the server (16:127.0.0.1)
[17:30:28] [npc:join] Ralf has joined the server (18:127.0.0.1)
[17:30:28] [npc:join] Lea has joined the server (17:127.0.0.1)
[17:30:57] Incoming connection: 46.5.143.6:3430
[17:31:30] Incoming connection: 127.0.0.1:53671
[17:31:30] Incoming connection: 127.0.0.1:33932
[17:31:30] Incoming connection: 127.0.0.1:44589
[17:32:31] Incoming connection: 127.0.0.1:40189
[17:32:31] Incoming connection: 127.0.0.1:34505
[17:32:31] Incoming connection: 127.0.0.1:34718
[17:33:33] Incoming connection: 127.0.0.1:57159
[17:33:33] Incoming connection: 127.0.0.1:52730
[17:33:33] Incoming connection: 127.0.0.1:55251
[17:34:34] Incoming connection: 127.0.0.1:60276
Information:
- It is a 0.3x server
- All Offered admissions and data are correct
- Slots number is 201


Re: Bots connecten not - kalanerik99 - 26.02.2013

go to your server text file and change maxnpc 0 to maxnpc 1


Re: Bots connecten not - CreativityLacker - 26.02.2013

Make sure MAXNPC's in server.cfg is 51
Also, post if you're using any filterscripts/system to block attacks.


AW: Bots connecten not - GTA:SA - 26.02.2013

I have put down all data on the servers.cfg, it brings nothing.


AW: Bots connecten not - GTA:SA - 26.02.2013

Please help!


Re: Bots connecten not - Jstylezzz - 26.02.2013

Make sure you have more than 51 slots, make it 60 or something..
Everytime a bot connects, the slots drop by 1, so you will run out of slots if you don't got enough of them.


AW: Bots connecten not - GTA:SA - 26.02.2013

I have tried it.
These are only 6 Bots connectet.
This message stands in the server log

Код:
[20:36:34] Incoming connection: 127.0.0.1:43721
[20:36:34] Incoming connection: 127.0.0.1:51263
[20:36:34] Incoming connection: 127.0.0.1:41485
Код:
[20:38:39] Incoming connection: 127.0.0.1:38437
[20:38:39] Incoming connection: 127.0.0.1:59229
[20:38:39] Incoming connection: 127.0.0.1:38760



Re: Bots connecten not - kaisersouse - 26.02.2013

1) make sure 127.0.0.1 is not added to samp.ban
2) make sure you are using a timer to connect your bots. I generally connect 3 or 4 at a time, every 3 - 4 seconds in ongamemodeinit


AW: Re: Bots connecten not - GTA:SA - 26.02.2013

Quote:
Originally Posted by kaisersouse
Посмотреть сообщение
1) make sure 127.0.0.1 is not added to samp.ban
2) make sure you are using a timer to connect your bots. I generally connect 3 or 4 at a time, every 3 - 4 seconds in ongamemodeinit
The timer stands far under it..
Every 60 seconds connect 3 Bots.


AW: Bots connecten not - GTA:SA - 27.02.2013

/Push