<div dir="ltr">+1 on saving state at shutdown... we are voting on this aren't we? ;)<br><br><div class="gmail_quote">On Fri, Sep 5, 2008 at 9:21 PM, Melanie <span dir="ltr"><<a href="mailto:melanie@t-data.com">melanie@t-data.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Currently, there is a configurable interval for state saves. State<br>
is saved in xml to local files in subdirectories of ScriptEngines.<br>
There is no initial state save, and there is no state save on<br>
shutdown. Both could be implemented, and probably should be.<br>
<br>
In Lindenland, the crash handler will save script state. If that<br>
fails to run, script state can be up to 10 minutes old. So I made<br>
the save default 10 minutes. It can be set in OpenSim.ini.<br>
<br>
Currently, no script state movement between regions is implemented.<br>
However, that is one of the goals I have, to enable scripted<br>
attachments to work. State saving is necessary for that, so that the<br>
state of all attached scripts can be sent to the receiving sim.<br>
<br>
Because there is no forced state save on shutdown, shutdown/quit and<br>
killall are functionally equivalent. They will cause the script to<br>
restart at the last saved state, which can be up to 10 minutes old.<br>
<font color="#888888"><br>
Melanie<br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
Charles Krinke wrote:<br>
> Dear Melanie:<br>
><br>
> 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.<br>

><br>
> 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.<br>
><br>
> Charles<br>
><br>
><br>
</div></div>> ------------------------------------------------------------------------<br>
<div><div></div><div class="Wj3C7c">><br>
> _______________________________________________<br>
> Opensim-dev mailing list<br>
> <a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
> <a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
</div></div></blockquote></div><br></div>