[Opensim-dev] Script engine base functional merge - Dot Net Engine

Melanie melanie at t-data.com
Sat Sep 6 04:21:32 UTC 2008


Currently, there is a configurable interval for state saves. State 
is saved in xml to local files in subdirectories of ScriptEngines.
There is no initial state save, and there is no state save on 
shutdown. Both could be implemented, and probably should be.

In Lindenland, the crash handler will save script state. If that 
fails to run, script state can be up to 10 minutes old. So I made 
the save default 10 minutes. It can be set in OpenSim.ini.

Currently, no script state movement between regions is implemented. 
However, that is one of the goals I have, to enable scripted 
attachments to work. State saving is necessary for that, so that the 
state of all attached scripts can be sent to the receiving sim.

Because there is no forced state save on shutdown, shutdown/quit and 
killall are functionally equivalent. They will cause the script to 
restart at the last saved state, which can be up to 10 minutes old.

Melanie


Charles Krinke wrote:
> Dear Melanie:
> 
> I am interested in how xengine saves state in a scenario where the sim might be stopped with "shutdown" or might be stopped with "killall", both of which are valid and both of which are used.
> 
> Is the state you reference saved periodically? When the state changes? Are there differences between shutdown and killall that are important to consider in one or both script engines.
> 
> Charles
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev



More information about the Opensim-dev mailing list