Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Script interruptions on teleport?

Virrginia Tombola
Equestrienne
Join date: 10 Nov 2006
Posts: 938
10-17-2008 15:02
Has anyone else had reports of scripts ceasing to run after teleporting? I'm not speaking about the animation issue, in both cases I had a customer report that a script in an attachment had stopped working after teleporting (two different scripts, btw). Is this a new SL bug, or could it be due to an issu.e with my scripts?
_____________________


Horses, Carriages, Modern and Historical Riding apparel. Ride a demo horse, play whist, or just loiter. I'm fair used to loiterers.

http://slurl.com/secondlife/Caledon%20Eyre/48%20/183/23/
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
10-17-2008 23:43
could be an issue with your customers not realizing they teleported to no-script land?
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Day Oh
Registered User
Join date: 3 Feb 2007
Posts: 1,257
10-18-2008 02:14
Well... incidentally, I have had that exact thing happen, it happens if you use complete global coordinates without zeroing the low bytes of X and Y when you teleport... Umm... Maybe there's a new viewer bug somewhere!

Or maybe I love bugs too much

Was it indeed no script land? Did only one person report the problem? Did it happen more than once? What viewer were they using?
_____________________
Virrginia Tombola
Equestrienne
Join date: 10 Nov 2006
Posts: 938
10-18-2008 23:32
Thanks all! I haven't been able to replicate the problem. I sent both customers a new item after I checked the script, and they didn't complain/write back. It certainly could have been tp-ing to a no script area, if it happens again, I'll ask.
_____________________


Horses, Carriages, Modern and Historical Riding apparel. Ride a demo horse, play whist, or just loiter. I'm fair used to loiterers.

http://slurl.com/secondlife/Caledon%20Eyre/48%20/183/23/
Anya Ristow
Vengeance Studio
Join date: 21 Sep 2006
Posts: 1,243
10-19-2008 01:03
I recently had a script stop working after teleport but it started up again a few minutes later. I only saw it once. Lag wasn't so bad that I couldn't move and another script in the same object continued to function, so I have no clue what happened, but I haven't seen it since.
_____________________
The Vengeance Studio Gadget Store is closed!

Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
10-19-2008 01:31
I believe it is now a SL "feature" that all ANIMATIONS are stopped when you teleport. Note that a script may not know when it needs to restart animations, so it may well APPEAR that the script "stops working" when in fact it is happily running, waiting for something new to do (like it does usually).

That's my suspicion anyway; user misunderstanding coupled with bunches of old scripts and scripters out there that don't do re-animation on teleport. I could be wrong though.
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
10-19-2008 06:48
From: Hewee Zetkin
I believe it is now a SL "feature" that all ANIMATIONS are stopped when you teleport.
Well, this particular thing is kind of a mess at the moment, but a fix is in the works, as described in http://jira.secondlife.com/browse/VWR-6744. Animations permitted by sitting on a prim are stopped by teleport, but animations permitted due to attachment persisted. Then a bug arose that stopped the attachment-based animations *only* on the viewer of the animated agent. And apparently re-triggering the animation on CHANGED_TELEPORT doesn't reliably work.
Anya Ristow
Vengeance Studio
Join date: 21 Sep 2006
Posts: 1,243
10-19-2008 12:17
From: Hewee Zetkin
I believe it is now a SL "feature" that all ANIMATIONS are stopped when you teleport. Note that a script may not know when it needs to restart animations, so it may well APPEAR that the script "stops working" when in fact it is happily running, waiting for something new to do (like it does usually).


The script that stopped for me re-animates after teleport, and in fact that part worked. I hadn't thought about that. Other things the script does stopped, though. Now that I think about it, if timers stopped those other functions would stop working, so maybe that's what happened. Only the timers stopped. For a few minutes.
_____________________
The Vengeance Studio Gadget Store is closed!

Virrginia Tombola
Equestrienne
Join date: 10 Nov 2006
Posts: 938
10-20-2008 20:15
Thanks all. It sounds as if it's an uncommon glitch, but not unknown. I have only had two reports.

This is separate from the animation issue that Qie referenced, but that JIRA deserves a vote if you haven't already. For my items that use avatar animations (mostly horses), I restart the animation on CHANGED_TELEPORT, but that intermittently doesn't work for some reason (and judging by the JIRA comments, others have seen this as well).

Ah well. Just another day in the life, I suppose.
_____________________


Horses, Carriages, Modern and Historical Riding apparel. Ride a demo horse, play whist, or just loiter. I'm fair used to loiterers.

http://slurl.com/secondlife/Caledon%20Eyre/48%20/183/23/