SphereCommunity
SECTORSLEEP - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: SECTORSLEEP (/Thread-SECTORSLEEP)



SECTORSLEEP - Handred - 07-23-2012 06:01 AM

Okay.

I spawned my world everywhere, im putting bunch of monsters and animals with a maxdistance of 0 so they can go anywhere in the world.

But since the sectorsleep changed from the last versions, my npcs just wont spread anymore. They stay there like retards.

It is also causing me troubles with memory timers, that I have to rescript using TIMERF.

Im using Sphere Version 0.56b [WIN32] by http://www.sphereserver.com, compiled at Sep 20 2009 (20:00:04).

What sphere version should I go with, for the sectorsleep to be like before? I've always spawned that way and it always worked well... or is there any workaround? Sad

Tried setting sectorsleep to 0, did not work.


RE: SECTORSLEEP - Soulless - 07-23-2012 04:36 PM

I have this same problem also, carnivorous animals that are supposed to attack pray just let themselve starve on my server, then when you walk by an area they go nuts and every carnivore attacks you, or the closest animal. sectorsleep o did no work for me either Sad


RE: SECTORSLEEP - darksun84 - 07-23-2012 05:47 PM

(07-23-2012 06:01 AM)Handred Wrote:  Okay.

I spawned my world everywhere, im putting bunch of monsters and animals with a maxdistance of 0 so they can go anywhere in the world.

But since the sectorsleep changed from the last versions, my npcs just wont spread anymore. They stay there like retards.

It is also causing me troubles with memory timers, that I have to rescript using TIMERF.

Im using Sphere Version 0.56b [WIN32] by http://www.sphereserver.com, compiled at Sep 20 2009 (20:00:04).

What sphere version should I go with, for the sectorsleep to be like before? I've always spawned that way and it always worked well... or is there any workaround? Sad

Tried setting sectorsleep to 0, did not work.

You should use the sphere's version from the nightly builds Big Grin


RE: SECTORSLEEP - Gil Amarth - 07-23-2012 09:38 PM

I didn´t have any problems with the mobs spreading everywhere, they only need some player to activate the sector and go there. Which happens almost always.

Sectorsleep 0 doesn´t work, but try to distrubute your spawn points along the whole map, with range 0, and eventually you will see them in the rarest locations.


RE: SECTORSLEEP - Handred - 07-23-2012 10:30 PM

Seems like I found somekind of solution.

Do a nukechar of your world
In my case, all my monsters are having e_monster as a common event.
Make them RUN N only once. (Move wont work and you might stuck them anyway)

It seems like it wakes up the sectors and they are spawning and moving right now.

Code:
[FUNCTION fix_hanging]
local.p=<p>
p=1,1
nukechar f_fix_hanging
self
p=6143,4095
self
p=<local.p>

[function f_fix_hanging]
if (<isevent.e_monster>)
    run n
endif