Server crashing upon kills
#1

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
Reply
#2

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.
Reply
#3

100 slots = 100 npc / 1000 slots = 1000 npc.

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


Forum Jump:


Users browsing this thread: 1 Guest(s)