The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SECTORSLEEP
Author Message
Handred
Apprentice
*

Posts: 28
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jul 2012
Reputation: 0



Post: #1
SECTORSLEEP
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.
07-23-2012 06:01 AM
Find all posts by this user Like Post Quote this message in a reply
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #2
RE: SECTORSLEEP
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
07-23-2012 04:36 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #3
RE: SECTORSLEEP
(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
07-23-2012 05:47 PM
Find all posts by this user Like Post Quote this message in a reply
Gil Amarth
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0



Post: #4
RE: SECTORSLEEP
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.
07-23-2012 09:38 PM
Find all posts by this user Like Post Quote this message in a reply
Handred
Apprentice
*

Posts: 28
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jul 2012
Reputation: 0



Post: #5
RE: SECTORSLEEP
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
07-23-2012 10:30 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)