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-nmm7 (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-nmm7 (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-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SectorSleep + NPC AI
Author Message
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #1
SectorSleep + NPC AI
Two days ago I activated flags 01 and 08 from .ini to check and see the new npc pathfinding, it does it work so nice, the problems came next day when I opened sphere and everything was SOOOOOOOOOOO laggy, took me time to notice that was the NPC AI, deactivated it and everything cames to normal, smoth perfect movement, but I wanted this flags, they are really necesary to npc movement... so today I started some debug:

First I tryed with a fresh sphere copy and worked like a charm.
So I tried with the worldsave that comes in add-on folder (and wich I am currently using for testing and everything) and still worked nice.
Next step I installed SCP and worked fine also... so I was scary thinking it was one of my scripts...
I starting placing my custom folders one by one and trying and finished with same effect... everything worked fine!!!
But not so nice to know, where was the problem? i opened sphere.ini and started trying every options one by one, even if they had nothing to do, and figured out after an hour that the problem was SectorSleep=3, leaving it at default '10' works fine.

Isn't it supposed to be a resources saver and stop 'everything' on that sectors while inactive? You don't have to wait upon activate it to have this lags, they come instantly and they doesn't dissapear even waiting more than 30mins.

So here's my question: is this some kind of bug or did I missunderstood SectorSleep functionality?
09-07-2013 07:30 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
SectorSleep + NPC AI - XuN - 09-07-2013 07:30 PM
RE: SectorSleep + NPC AI - babazar - 09-08-2013, 12:46 AM
RE: SectorSleep + NPC AI - Khaos - 09-08-2013, 01:10 AM
RE: SectorSleep + NPC AI - XuN - 09-08-2013, 06:30 AM

Forum Jump:


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