PDA

View Full Version : Server crashing upon kills


Slaykler
13/06/2013, 12:27 PM
Okay so we have 250 NPC Zombies, we are planning to hit 400 NPC zombies.

What is the limit of NPcs can be done in a server?

Cause when we have 250 npcs, the server will crash after someone kills like 10 of them

Suggestions would be helpful

Sandiel
13/06/2013, 03:06 PM
Well the maximum number of NPCs you can have on your server is 500 as I believe it was (maybe changed in the last update) as NPCs work the same as players do, so if your server has just 50 slots, then it's 50 slots.
About the crashing, posting OnPlayerDisconnect, OnPlayerDeath callbacks would be helpfull I suppose.

ReVo_
13/06/2013, 05:15 PM
100 slots = 100 npc / 1000 slots = 1000 npc.

Post your OnPlayerdeath code, or what you use to detect NPC death.