These forums are CLOSED. Please visit the new forums HERE
Simulator Status: "starting" |
|
|
Meatwad Extraordinaire
Nomnomnom
Join date: 6 Aug 2004
Posts: 545
|
07-21-2008 19:25
Does anybody know if scripts are running when a sim's status is "starting"? I want to make something that is aware of a sim crash or restart without relying on some external source. Thanks in advance.
_____________________
|
|
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
|
07-21-2008 19:34
Dunno for sure but sorta doubt it. Starting sounds like where it's loading the simstate into memory and getting everything ready to start..
If I was them, and I'm not, I'd wait until I had the whole sim loaded up before I let any scripts get cycles. Less chance of things stuff falling out of sync that way. Unless somebody has seen LL already answer somewhere else, you should probably ask a Linden what this state means. |
|
Meatwad Extraordinaire
Nomnomnom
Join date: 6 Aug 2004
Posts: 545
|
07-21-2008 22:51
Alright, so I did some testing after I realized I was able to restart a simulator. *doh >_<* When a sim's status is "starting", scripts are NOT running yet... Or at least if they are they can't modify an object's name or description or send IMs.
|
|
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
|
07-22-2008 20:45
There's no published info in this area, but I'm guessing (an educated guess though), that script startups are close to, if not the last thing to start up when a sim comes up. If SL is anything like OpenSim, which, it probably is, the sim comes up in the order of UserServer, GridServer, AssetServer, InventoryServer, and then the simulator itself. It's during the time that the simulator is coming up that the VM that runs scripts is installed, exactly when varies I'm sure, but the simulator software itself has to be coming up, (and probably finished, again, guessing), before scripts are began to be queued.
http://www.secondscripter.com _____________________
My tutes
http://www.youtube.com/johanlaurasia |