Re: [Opensim-dev] MoveToTarget broken ?

2012-03-29 Thread Justin Clark-Casey
I'm surprised to hear that this stopped working after 0.7.3.RC2 since very little has changed in terms of physics or 
target code between then and now.


The most helpful thing would be to know when it stopped working, or at least if 
the full 0.7.3 release also had the issue.

On 29/03/12 20:32, R.Gunther wrote:

No its something different. i think complete something different.
rezzed the cube just for a test again. it did not got phyics.
when am changing something in script and then save it started to work.
Sounds like scripts dont get executed at rezz automatic. (run where enabled in 
lsl editor)

On 2012-03-29 18:38, Garmin Kawaguichi wrote:

Look at http://opensimulator.org/mantis/view.php?id=5947
May be it is on the same idea ; if so, add comment to the Mantis
GCI

- Original Message -
*From:* R.Gunther 
*Sent:* Thursday, March 29, 2012 1:40 PM
*Subject:* [Opensim-dev] MoveToTarget broken ?

I start to work again with phyical objects. But many things that worked 
before,
Dont work pretty good anymore. or seems to stop working at all.
In this case, the following script seems to fail in some way with the march 
version of
osgrid opensim version. I have tried the same script in 0.7.3RC2 local 
stanbdalone and there it still works.
Also my own verhicle works not good anymore , for some reason the event 
"at_target(" dont get triggered anymore.

this script i tried in my sandbox. sandbox palza 1 & 2 and OKC sandbox. it 
dont work.

default  
{
 state_entry  ()
 {
 vector    pos=  
llGetPos  ();
 llSetStatus  (STATUS_PHYSICS  
,TRUE  
);
 // Little pause to allow server to make potentially large linked 
object physical.
 llSleep  (0.1);
 llMoveToTarget  
(pos,0.4);
 // Look for owner within 20 meters in 360 degree arc every 1 
seconds.
 llSensorRepeat  ("",llGetOwner  
(),AGENT  
,20.0,PI  
,1.0);
 }
 sensor  (integer  
  total_number)
 {
 // Get position of detected owner
 vector    pos=  
llDetectedPos  (0);
 // Offset back one metre in X and up one metre in Z based on world 
coordinates.
 vector    
offset=<-1,0,1>;
//offset = offset*llDetectedRot(0);  //Adding this line will orient 
the follower relative to the owner's position.
 pos+=offset;
 llMoveToTarget  
(pos,0.4);
 }
}




___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev



___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev




___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev



--
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc
___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev


Re: [Opensim-dev] teleport scripts with osteleportagent need to be manually reset to work when region restarts

2012-03-29 Thread Justin Clark-Casey

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@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev


Re: [Opensim-dev] teleport scripts with osteleportagent need to bemanually reset to work when region restarts

2012-03-29 Thread Gudule Lapointe
Oh yes, 0x400 is 1024 and not 256. 

256 (CHANGED_REGION) is triggered when the object changes region 
(attached or moving objects)

I suspect it could also be triggered when the region restarts, but 1024 
is the correct value to use

What is sure is that 255 is never triggered when region restarts, and probably 
never triggered at all, as it would need 8 conditions to be met at the same 
time.



Le 29 mars 2012 à 22:45,  a écrit :

> i had this issue a long time ago ; Here is a link to the osgrid forum
> http://forums.osgrid.org/viewtopic.php?f=5&t=2861&hilit=region+start
> and the corresponding Opensim Mantis (closed) about this ..
> http://opensimulator.org/mantis/view.php?id=5146
>  
> for e.g. Region started / Region Restarted / Canged Shape / Changed Color  
> and more events
>  
> but since 0-7.* up to 0.7.4 i can not confirm this behaviour and have working 
> TP Scripts and collistion start
> (volumedetect) etc scripts on my regions.
>  
> best regards
> Wordfromthe Wise
> 
> Von: opensim-dev-boun...@lists.berlios.de 
> [mailto:opensim-dev-boun...@lists.berlios.de] Im Auftrag von Gudule Lapointe
> Gesendet: Donnerstag, 29. März 2012 22:05
> An: opensim-dev@lists.berlios.de
> Betreff: Re: [Opensim-dev] teleport scripts with osteleportagent need to 
> bemanually reset to work when region restarts
> 
> I use plenty of teleports, and hopefully I never had to restart them manually.
> 
> The change number I check is 256 and not 255
> But it's probably better to use the constant name instead, to avoid 
> confusion...
> 
> http://wiki.secondlife.com/wiki/CHANGED_REGION_START
> 
> 
> 
> 
> 
> --
> http://www.speculoos.net/
> secondlife://speculoos.net:8002/
> Speculoos, the belgian cookie-flavored metaverse
> 
> Le 29 mars 2012 à 21:34, Salahzar Stenvaag a écrit :
> 
>> 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?
>> 
>> Thanks for feedback,
>> salahzar
>> ___
>> Opensim-dev mailing list
>> Opensim-dev@lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-dev
> 
> ___
> Opensim-dev mailing list
> Opensim-dev@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev





--
http://www.speculoos.net/
secondlife://speculoos.net:8002/
Speculoos, the belgian cookie-flavored metaverse

___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev


Re: [Opensim-dev] teleport scripts with osteleportagent need to bemanually reset to work when region restarts

2012-03-29 Thread drwhiet
i had this issue a long time ago ; Here is a link to the osgrid forum 
http://forums.osgrid.org/viewtopic.php?f=5

&t=2861&hilit=region+start
and the corresponding Opensim Mantis (closed) about this .. 
http://opensimulator.org/mantis/view.php?id=5146
 
for e.g. Region started / Region Restarted / Canged Shape / Changed Color
and more events
 
but since 0-7.* up to 0.7.4 i can not confirm this behaviour and have
working TP Scripts and collistion start 
(volumedetect) etc scripts on my regions.
 
best regards
Wordfromthe Wise

  _  

Von: opensim-dev-boun...@lists.berlios.de
[mailto:opensim-dev-boun...@lists.berlios.de] Im Auftrag von Gudule Lapointe
Gesendet: Donnerstag, 29. März 2012 22:05
An: opensim-dev@lists.berlios.de
Betreff: Re: [Opensim-dev] teleport scripts with osteleportagent need to
bemanually reset to work when region restarts


I use plenty of teleports, and hopefully I never had to restart them
manually.

The change number I check is 256 and not 255
But it's probably better to use the constant name instead, to avoid
confusion...

http://wiki.secondlife.com/wiki/CHANGED_REGION_START





--
http://www.speculoos.net/
secondlife://speculoos.net:8002/
Speculoos, the belgian cookie-flavored metaverse

Le 29 mars 2012 à 21:34, Salahzar Stenvaag a écrit :


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?

Thanks for feedback,
salahzar
___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev


___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev

Re: [Opensim-dev] teleport scripts with osteleportagent need to be manually reset to work when region restarts

2012-03-29 Thread Gudule Lapointe
I use plenty of teleports, and hopefully I never had to restart them manually.

The change number I check is 256 and not 255
But it's probably better to use the constant name instead, to avoid confusion...

http://wiki.secondlife.com/wiki/CHANGED_REGION_START





--
http://www.speculoos.net/
secondlife://speculoos.net:8002/
Speculoos, the belgian cookie-flavored metaverse

Le 29 mars 2012 à 21:34, Salahzar Stenvaag a écrit :

> 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?
> 
> Thanks for feedback,
> salahzar
> ___
> Opensim-dev mailing list
> Opensim-dev@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev

___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev

[Opensim-dev] teleport scripts with osteleportagent need to be manually reset to work when region restarts

2012-03-29 Thread Salahzar Stenvaag
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?

Thanks for feedback,
salahzar
___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev

Re: [Opensim-dev] MoveToTarget broken ?

2012-03-29 Thread R.Gunther

No its something different. i think complete something different.
rezzed the cube just for a test again. it did not got phyics.
when am changing something in script and then save it started to work.
Sounds like scripts dont get executed at rezz automatic. (run where 
enabled in lsl editor)


On 2012-03-29 18:38, Garmin Kawaguichi wrote:

Look at http://opensimulator.org/mantis/view.php?id=5947
May be it is on the same idea ; if so, add comment to the Mantis
GCI

- Original Message -
*From:* R.Gunther 
*Sent:* Thursday, March 29, 2012 1:40 PM
*Subject:* [Opensim-dev] MoveToTarget broken ?

I start to work again with phyical objects. But many things that
worked before,
Dont work pretty good anymore. or seems to stop working at all.
In this case, the following script seems to fail in some way with
the march version of
osgrid opensim version. I have tried the same script in 0.7.3RC2
local stanbdalone and there it still works.
Also my own verhicle works not good anymore , for some reason the
event "at_target(" dont get triggered anymore.

this script i tried in my sandbox. sandbox palza 1 & 2 and OKC
sandbox. it dont work.

default  
{
 state_entry  ()
 {
 vector    pos=  
llGetPos  ();
 llSetStatus  (STATUS_PHYSICS  
,TRUE  
);
 // Little pause to allow server to make potentially large linked 
object physical.
 llSleep  (0.1);
 llMoveToTarget  
(pos,0.4);
 // Look for owner within 20 meters in 360 degree arc every 1 
seconds.
 llSensorRepeat  ("",llGetOwner  
(),AGENT  
,20.0,PI  
,1.0);
 }
 sensor  (integer  
  total_number)
 {
 // Get position of detected owner
 vector    pos=  
llDetectedPos  (0);
 // Offset back one metre in X and up one metre in Z based on world 
coordinates.
 vector    
offset=<-1,0,1>;
//offset = offset*llDetectedRot(0);  //Adding this line will orient 
the follower relative to the owner's position.
 pos+=offset;
 llMoveToTarget  
(pos,0.4);
 }
}



___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev



___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev


___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev

Re: [Opensim-dev] MoveToTarget broken ?

2012-03-29 Thread Garmin Kawaguichi
Look at http://opensimulator.org/mantis/view.php?id=5947

May be it is on the same idea ; if so, add comment to the Mantis

GCI
  - Original Message - 
  From: R.Gunther 
  Sent: Thursday, March 29, 2012 1:40 PM
  Subject: [Opensim-dev] MoveToTarget broken ?


  I start to work again with phyical objects. But many things that worked 
before,
  Dont work pretty good anymore. or seems to stop working at all.
  In this case, the following script seems to fail in some way with the march 
version of 
  osgrid opensim version. I have tried the same script in 0.7.3RC2 local 
stanbdalone and there it still works.
  Also my own verhicle works not good anymore , for some reason the event 
"at_target(" dont get triggered anymore.

  this script i tried in my sandbox. sandbox palza 1 & 2 and OKC sandbox. it 
dont work. 


default
{
state_entry()
{
vector pos = llGetPos();
llSetStatus(STATUS_PHYSICS, TRUE);
// Little pause to allow server to make potentially large linked object 
physical.
llSleep(0.1);
llMoveToTarget(pos,0.4);
// Look for owner within 20 meters in 360 degree arc every 1 seconds.
llSensorRepeat("", llGetOwner(), AGENT, 20.0, PI,1.0);
}
sensor(integer total_number)
{
// Get position of detected owner
vector pos = llDetectedPos(0);
// Offset back one metre in X and up one metre in Z based on world 
coordinates.
vector offset =<-1,0,1>;
//offset = offset*llDetectedRot(0);  //Adding this line will orient the 
follower relative to the owner's position.
pos+=offset;
llMoveToTarget(pos,0.4); 
}
}



--


  ___
  Opensim-dev mailing list
  Opensim-dev@lists.berlios.de
  https://lists.berlios.de/mailman/listinfo/opensim-dev___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev

[Opensim-dev] MoveToTarget broken ?

2012-03-29 Thread R.Gunther
I start to work again with phyical objects. But many things that worked 
before,

Dont work pretty good anymore. or seems to stop working at all.
In this case, the following script seems to fail in some way with the 
march version of
osgrid opensim version. I have tried the same script in 0.7.3RC2 local 
stanbdalone and there it still works.
Also my own verhicle works not good anymore , for some reason the event 
"at_target(" dont get triggered anymore.


this script i tried in my sandbox. sandbox palza 1 & 2 and OKC sandbox. 
it dont work.


default  
{
state_entry  ()
{
vector    pos=  llGetPos  
();
llSetStatus  (STATUS_PHYSICS  
,TRUE  
);
// Little pause to allow server to make potentially large linked object 
physical.
llSleep  (0.1);
llMoveToTarget  
(pos,0.4);
// Look for owner within 20 meters in 360 degree arc every 1 seconds.
llSensorRepeat  ("",llGetOwner  
(),AGENT  
,20.0,PI  
,1.0);
}
sensor  (integer  
  total_number)
{
// Get position of detected owner
vector    pos=  
llDetectedPos  (0);
// Offset back one metre in X and up one metre in Z based on world 
coordinates.
vector    
offset=<-1,0,1>;
//offset = offset*llDetectedRot(0);  //Adding this line will orient the 
follower relative to the owner's position.
pos+=offset;
llMoveToTarget  
(pos,0.4);
}
}


___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev