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--5039)



SECTORSLEEP - amonvangrell - 12-30-2016 04:03 PM

Hello to all!

Before sphere.ini used to have:
Code:
// SECTORSLEEP=x
// Value from 1 to 32 (sleep longer)
SECTORSLEEP=7

In the new sphere, despite this option being turned on, this function seems not to be working:
Code:
// Value from 1 to 32, set sectors inactive when unused to conserve resources, 0 disables Sleep (NOT recommended).
SectorSleep=0//10
Which I think is the same thing.... However my sphere seems to stay "sleeping" until I am inside that sector... No spawns started, no NPC movement, nothing...

Is there any way to leave all sectors running? (Spawning purpose)


RE: SECTORSLEEP - Coruja - 12-31-2016 11:39 AM

I don't know who coded this feature and what its purposes, but on some quick testing here SectorSleep=0 seems to make the sector always sleep instead disable sleep
https://github.com/Sphereserver/Source/blob/master/src/graysvr/CSector.cpp#L993

so try using SectorSleep=1 to check if you get better results


RE: SECTORSLEEP - amonvangrell - 01-07-2017 02:49 PM

It did the trick! Thanks!