Thanks for your answers, they are all quite clarifying especially Justin's remark on stopping/starting which seems an easy and practical workaround. (I'm also impressed by the fact that many of you did answer so rapidly, this means that opensim scripting community is NOT small, should be some way to exchange tricks and tips somewhere).<div>
<br></div><div>My original question however is NOT how to force the restart of the script after a restart (actually I checked my script and it used 256, so probably I have to change it to 1024, and that probably would solve the problem).</div>
<div><br></div><div>The core of the question IS:<span style="background-color:rgb(255,255,51)"> Why should some script to be manually reset to retain their original behaviour? </span>Is this to be considered a bug and so I should file a Mantis, or your experience is different? (Maybe I have to set up some particular things in opensim.ini or I erroneously set a different setup. For instance I set up to NOT delete scripts at startup in my sims, and this might be interacting with other behaviour?).</div>
<div><br></div><div>Maybe when region restarts some events are forgotten to be reinstalled from the simulator script engine? I'm very curious to understand how the XEngine is working so to have a look and figure out myself what's happening. Is there any documentation on this piece of code?</div>
<div><br></div><div>Thanks for your feedbacks and helps,</div><div>salahzar<br><br><div class="gmail_quote">On Fri, Mar 30, 2012 at 4:22 AM, Justin Clark-Casey <span dir="ltr"><<a href="mailto:jjustincc@googlemail.com">jjustincc@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 29/03/12 20:34, Salahzar Stenvaag wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, I programmed a teleport which uses osTeleportAgent when touched or collistion start (volumedetect), and it works<br>
correctly, but whenever region restarts it MUST be reset manually to work correctly.<br>
I also added change() event checking for 255 changed value to resetscript when region restart is detected but it seems<br>
not working.<br>
Version used is 0.7.3-post fixes.<br>
<br>
Do you observe in your sims the same behaviour? I noticed that many scripts need to be reset after a while otherwise<br>
they are not working :(<br>
Since I'm seeing that recently scripting had a real improvement in OpenSim it is a pity that we don't have a way to be<br>
sure they are correctly working . I keep telling people that they need to restart scripts in opensim whenever they<br>
notice strange behaviours, and this appeared true for many cases...<br>
<br>
<br>
I'm now seeing that starting from 0.7.3 version is possible to stop / show / start all scripts maybe it is possible to<br>
reset all scripts?<br>
</blockquote>
<br></div></div>
stop/start is equivalent to a reset I think, whilst suspend/resume preserve state.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Justin Clark-Casey (justincc)<br>
<a href="http://justincc.org/blog" target="_blank">http://justincc.org/blog</a><br>
<a href="http://twitter.com/justincc" target="_blank">http://twitter.com/justincc</a></font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de" target="_blank">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/<u></u>mailman/listinfo/opensim-dev</a><br>
</div></div></blockquote></div><br></div>