[Opensim-dev] teleport scripts with osteleportagent need to be manually reset to work when region restarts
Salahzar Stenvaag
salahzar at gmail.com
Fri Mar 30 08:29:37 UTC 2012
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).
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).
The core of the question IS: Why should some script to be manually reset to
retain their original behaviour? 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?).
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?
Thanks for your feedbacks and helps,
salahzar
On Fri, Mar 30, 2012 at 4:22 AM, Justin Clark-Casey <
jjustincc at googlemail.com> wrote:
> On 29/03/12 20:34, Salahzar Stenvaag wrote:
>
>> Hi, I programmed a teleport which uses osTeleportAgent when touched or
>> collistion start (volumedetect), and it works
>> correctly, but whenever region restarts it MUST be reset manually to work
>> correctly.
>> I also added change() event checking for 255 changed value to resetscript
>> when region restart is detected but it seems
>> not working.
>> Version used is 0.7.3-post fixes.
>>
>> Do you observe in your sims the same behaviour? I noticed that many
>> scripts need to be reset after a while otherwise
>> they are not working :(
>> 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
>> sure they are correctly working . I keep telling people that they need to
>> restart scripts in opensim whenever they
>> notice strange behaviours, and this appeared true for many cases...
>>
>>
>> I'm now seeing that starting from 0.7.3 version is possible to stop /
>> show / start all scripts maybe it is possible to
>> reset all scripts?
>>
>
> stop/start is equivalent to a reset I think, whilst suspend/resume
> preserve state.
>
> --
> Justin Clark-Casey (justincc)
> http://justincc.org/blog
> http://twitter.com/justincc
>
> ______________________________**_________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/**mailman/listinfo/opensim-dev<https://lists.berlios.de/mailman/listinfo/opensim-dev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20120330/5d309ac1/attachment-0001.html>
More information about the Opensim-dev
mailing list