XuN
Sphere Developer
Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30
|
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 |
|
|