SA-MP Forums Archive
The maxplayers limit is less than maxnpc - 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: The maxplayers limit is less than maxnpc (/showthread.php?tid=615345)



The maxplayers limit is less than maxnpc - Josh_Main - 21.08.2016

I'm using a DayZ script using NPC's. My server.cfg file shows maxnpc limit as 100, which means to get rid of the warning (The maxplayers limit is less than maxnpc) I'd have to change my maxplayers limit to 100. The problem is, my host is setup as 30 player slots. When I upload my server.cfg file, I'm afraid I won't be able to start my server because my maxplayer limit will have to be set to 30. What should I do?

Thanks in advanced


Re: The maxplayers limit is less than maxnpc - SickAttack - 21.08.2016

Set maxnpc in server.cfg to 30 (or 15 since NPCs also take slots)? lol


Re: The maxplayers limit is less than maxnpc - Josh_Main - 21.08.2016

Would that mean there would only be 30 zombies in the whole map? or?

EDIT: Wait, so NPCs take up player slots?


Re: The maxplayers limit is less than maxnpc - Mencent - 21.08.2016

Yes, one NPC take one slot. So when you have 15 NPCs on the server and a player connect then the player get the ID 15.
(ID 0-14: NPCs; ID 15: the player)


Re: The maxplayers limit is less than maxnpc - PrO.GameR - 21.08.2016

NPCs take one slot each, which means you won't have a good looking zombie server in a free server.