PDA

View Full Version : NPCs # limit


ateh
23.06.2006, 13:49
Dunno if you guys noticed that, seems like there is 50000 limit of NPCs possible to spawn ingame. While still having my problem (https://postpacific.loc-online.com/forum/viewtopic.php?t=5136) i tried various things, including increasing page file to 8GBs, but problem still occured. I tried deleting some npcmakers from npcpos and finally it worked!
Error in l2server was saying:
Shared Memory Free Index Invalid 0~[49999]~50000!
until there was lesser number of npcs in spawn list.
So i guess there is this limit.
I made new npcpos with only gremlins, 1000 npcmakers each 50 mobs spawned anywhere on 1 map, and it crashed again. It was crashing until i left only like 40k gremlins, so i guess something more uses some of those 50k indexes limit.

Did anyone find any medicine for that limit?...

archy
23.06.2006, 15:08
Increasing memory size of a struct is a biatch

kvoxi
23.06.2006, 18:15
Shared Memory Free Index Invalid 0~[49999]~50000!
until there was lesser number of npcs in spawn list.
So i guess there is this limit.
... so i guess something more uses some of those 50k indexes limit.
Did anyone find any medicine for that limit?...
Really:
- maximum number of npc`s, that`s simultaneously present in game = 50k;
- maximum number of items = 700k;
- maximum size of AI-handler code is 15k rows (15k commands);
- etc.

ateh
23.06.2006, 21:11
Hmm that sucks -.- Need to rewrite new npcpos then...

kvoxi, thanks for info about other limits :)