
02-19-2007, 10:52 AM
|
|
Graal Administration
|
Join Date: Jan 2000
Location: Admins
Posts: 11,693
|
|
|
Ok so its about local level npcs ? Levels are not loaded when there is no player, so if you want to have npcs always awake it is best to use putnpc2s.
Another way is to let some dbnpc/putnpc2 do findareanpcs() on the area that you want to have alive, but that would be more a hack than a solution.
You can also use special gmap options in your case:
LOADFULLMAP
will load the full gmap and not deactive map parts, although it will slow down the start of the server.
LOADATSTART
levelnames,...
LOADATSTARTEND
will load the specified levels at the npcserver start, then you just need to use some timeout (and eventually findareanpcs() from time to time) to prevent the level from unloading. |
|
|
|