SphereCommunity
Sector Sleep - Printable Version

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

Pages: 1 2


Sector Sleep - Avatar - 04-07-2012 03:44 AM

Hi folks,

In my scripts in sphere, there are some auto scripted events and they work on some stone with timer. But Sphere server makes those timer confused when there are no one in that sector.It happens all time because of sector sleep option. I arranged sector sleep 0 between 0 to 32 but I did not work.

Anyway, the thing that I just want is how to close sector sleep ?

Please help me.

Thanks.


RE: Sector Sleep - Shaklaban - 04-07-2012 04:59 AM

you can use timerf or f_onserver_timer triggers, they are not affected by sector sleep.


RE: Sector Sleep - Avatar - 04-07-2012 05:25 AM

I know it is not , But, I have arranged some events at specific times and I check hours , for example, in 2 minues. Like the time is 6 o'clock then I declare local.hour <serv.rtime %H>. Afterthat with timer, I check that time in 2 minutes and I have many events. Therefore, it is not possible to check all of them in different time with f_onserver_timer.


RE: Sector Sleep - Avatar - 04-08-2012 09:05 AM

Is there anyone who can say anthing about this issue. Please Look at just a second Sad


RE: Sector Sleep - jeem - 04-08-2012 09:12 AM

I don't think you can disable sector sleep, nor should you. Move your timer items to a more active area.


RE: Sector Sleep - Avatar - 04-08-2012 09:33 PM

I have also spawns like animals which is for player to tame them. Those spawns also are affected by sector sleep. How can I do that Sad. There should be a way to do so. Damm it !


RE: Sector Sleep - darksun84 - 04-09-2012 01:30 AM

i don't know if the timerf function it's influenced by sector sleep , you should try it Big Grin


RE: Sector Sleep - Avatar - 04-09-2012 02:09 AM

My friend, I use @timer trigger and also timerf in many ways on items, that's why I'm telling how to disable that. For god sake, look at this issue and please add setting to disable sector sleep in sphere.ini. Sad


RE: Sector Sleep - Vendetta - 04-09-2012 06:09 AM

i think you got some problems on you sphere.
maybe a bugged version.
i use #1506 and all works well

ex.
Code:
// Value from 1 to 32, set sectors inactive when unused to conserve resources
SectorSleep=1

Code:
[ITEMDEF i_test_ss]
ID=i_gold

ON=@TIMER
SERV.LOG @<SERV.RTIME>
TIMER=60
RETURN 1

add item in center of minoc (empty local shard)
set timer=1

after more than an hour:
Code:
20:56:2012/04/08 20:56:06
20:57:2012/04/08 20:57:11
20:58:2012/04/08 20:58:13
20:59:2012/04/08 20:59:18
21:00:2012/04/08 21:00:24
21:01:2012/04/08 21:01:27
21:02:2012/04/08 21:02:32
21:03:2012/04/08 21:03:34
21:04:2012/04/08 21:04:37
21:05:2012/04/08 21:05:40
21:06:2012/04/08 21:06:42
21:07:2012/04/08 21:07:47
21:08:2012/04/08 21:08:49
21:09:2012/04/08 21:09:50
21:10:2012/04/08 21:10:53
21:11:2012/04/08 21:11:57
21:13:2012/04/08 21:13:01
21:14:2012/04/08 21:14:05
21:15:2012/04/08 21:15:07
21:16:2012/04/08 21:16:09
21:17:2012/04/08 21:17:13
21:18:2012/04/08 21:18:16
21:19:2012/04/08 21:19:20
21:20:2012/04/08 21:20:23
21:21:2012/04/08 21:21:26
21:22:2012/04/08 21:22:29
21:23:2012/04/08 21:23:32
21:24:2012/04/08 21:24:35
21:25:2012/04/08 21:25:40
21:26:2012/04/08 21:26:43
21:27:2012/04/08 21:27:47
21:28:2012/04/08 21:28:50
21:29:2012/04/08 21:29:54
21:30:2012/04/08 21:30:57
21:32:2012/04/08 21:32:00
21:33:2012/04/08 21:33:02
21:34:2012/04/08 21:34:04
21:35:2012/04/08 21:35:08
21:36:2012/04/08 21:36:12
21:37:2012/04/08 21:37:16
21:38:2012/04/08 21:38:20
21:39:2012/04/08 21:39:24
21:40:2012/04/08 21:40:26
21:41:2012/04/08 21:41:30
21:42:2012/04/08 21:42:34
21:43:2012/04/08 21:43:36
21:44:2012/04/08 21:44:39
21:45:2012/04/08 21:45:41
21:46:2012/04/08 21:46:46
21:47:2012/04/08 21:47:50
21:48:2012/04/08 21:48:55
21:49:2012/04/08 21:49:59
21:51:2012/04/08 21:51:03
21:52:2012/04/08 21:52:06
21:53:2012/04/08 21:53:10
21:54:2012/04/08 21:54:14
21:55:2012/04/08 21:55:18
21:56:2012/04/08 21:56:22
21:57:2012/04/08 21:57:25
21:58:2012/04/08 21:58:28
21:59:2012/04/08 21:59:32
22:00:2012/04/08 22:00:35
22:01:2012/04/08 22:01:40
22:02:2012/04/08 22:02:44



RE: Sector Sleep - Avatar - 04-09-2012 06:50 AM

I use R1516 as well, But it does not work like you showed me. Anyway, I'll try again and report it.

Thank you.
But , Now, I recognized that The thing is that When timer value is much more bigger like timer = 946665 ,1 day or something. It goes sleeping. Sure about that. But For your scripts, it returns timer througth 1 minute, therefore, there wont be any problem.