SA-MP Forums Archive
Cannot connect many NPCs - '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: Cannot connect many NPCs - 'server full attack' (/showthread.php?tid=571252)



Cannot connect many NPCs - 'server full attack' - MP2 - 17.04.2015

When trying to connect many NPCs at once, I get 'server full attack' messages in the console.

I've ******d it and people suggested not connecting them all at once, but even with a 5 second delay I can't connect more than 5 NPCs.

Any ideas?


Re: Cannot connect many NPCs - 'server full attack' - R0 - 17.04.2015

Did you try to connect one npc each 5 seconds or so?and also in your server.cfg what did you set the connection time?(minconnectiontime) and also whats your maxnpc?


Re: Cannot connect many NPCs - 'server full attack' - ev0lution - 17.04.2015

Are you filling up the server? You can't fill up every slot with an NPC for any amount of time, regardless of your delay - this will trigger the "server full" warning even though the connections are coming from your own server. Presumably this is because you can't have a slot count of 0.


Re: Cannot connect many NPCs - 'server full attack' - MP2 - 17.04.2015




Only using a 500 MS delay and it seems to be working.

Quote:
Originally Posted by ev0lution
Посмотреть сообщение
Are you filling up the server? You can't fill up every slot with an NPC for any amount of time, regardless of your delay - this will trigger the "server full" warning even though the connections are coming from your own server. Presumably this is because you can't have a slot count of 0.
Seems this was the problem. My max players was 8 and maxnpc was 10. Increasing them both seems to have fixed it (for now).