Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llTargetOmega stopped working

Billy Islander
Registered User
Join date: 3 Nov 2006
Posts: 35
02-04-2008 18:29
From: Prospero Linden
Is the llTargetOmega problem *just* on the Havok4 beta regions? If so, this is a known isuse that is being worked on.

Or, is the issue also on the regions running Second Life Server 1.19.0? (Look at Help:About Second Life to find out the version your current region is running.) If so, has anybody submitted a JIRA about this issue since the 1.19.0 deploy?


my train set is suffering the problem at Accapulco (Second Life Server 1.19.0.79136) , when i click it the smoke starts but i then have to right click it and select touch for the rotation to start.
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
02-04-2008 20:01
From: Meade Paravane
I'm not sure why this is 'certainly a server problem' but do agree that it's an annoying bug.


It is because the sim fails to send a correct prim/object update when the omega is changed, so the client just keeps spinning the object. As Andrew Linden said in the SVC-54 JIRA:

"This looks like a simulator "interest list" bug and I suspect I've already fixed it in one of our internal code branches."

He did fix it, but apparently someone came in behind him this last update, and "unfixed" it.

Yay SCM!
Prospero Linden
Linden Lab Employee
Join date: 6 Aug 2007
Posts: 315
02-04-2008 20:09
From: Meade Paravane
Got a JIRA so we can all head over and harass you with votes, Prospero?? :)


Naah, I used our internal job tracking stuff.

Anyway, see the blog :)
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
02-04-2008 20:48
all lsl functions are processed by the server, so by default any lsl function failure is server related... even for client side effects (like no physics target omega) they are first handled by the server and the information is passed to the client. if it passes bad information the client side effect never starts.
_____________________
|
| . "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...
| -
IBME Swindlehurst
Registered User
Join date: 5 Mar 2007
Posts: 139
02-07-2008 06:04
The Rolling Restart yesterday helped, but DID NOT entirely fix the problems with llTargetOmega. for an example see the swing on my land at:

Qinglong 168, 73, 48
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
02-07-2008 07:57
From: Void Singer
all lsl functions are processed by the server, so by default any lsl function failure is server related... even for client side effects (like no physics target omega) they are first handled by the server and the information is passed to the client. if it passes bad information the client side effect never starts.

The version of this bug that I saw was with a rotating dance pole. It'd be going fine for a bit then stall. I'd give it a right click and it'd start spinning again for a minute then stall again. Not sure how that relates to the interest list. Maybe a change to the dance animation does a partial update and forgets some of the target omega stuff.

Anything that's viisble on a residents screen, IMO, could be a bug on either side - could be that the server-side is sending the wrong (or incomplete) info or it could be that the client-side isn't doing the right thing with it..

Either way, I don't see it any more and am happy. :)
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
IBME Swindlehurst
Registered User
Join date: 5 Mar 2007
Posts: 139
02-07-2008 08:58
Submitted JIRA
SVC-1461
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
02-07-2008 09:05
From: IBME Swindlehurst in JIRA
default
{
state_entry()
{
llTargetOmega(<0.0,1.0,0.0>,0.5,1.0);
llSleep(2);
llTargetOmega(<0.0,1.0,0.0>,-0.5,1.0);
llSleep(2);
llResetScript();
}
}

Just out of curiousity, if you change the script to do something like this, does it still have problems?
CODE

float gDirection = 0.5;
default
{
state_entry()
{
llTargetOmega (<0.0,1.0,0.0>, gDirection, 1.0);
llSetTimerEvent (2.0);
}

timer()
{
gDirection *= -1.0;
llTargetOmega (<0.0,1.0,0.0>, gDirection, 1.0);
}
}
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
IBME Swindlehurst
Registered User
Join date: 5 Mar 2007
Posts: 139
02-07-2008 09:42
Meade - The changes you suggest make it FAIL even worse. It tends to keep rotating in the same direction with only momentary periodic swings the other direction. Thank you for the suggestion though.
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
02-07-2008 10:03
Really? Hm.. How about this?

CODE

float gDirection = 0.5;
default
{
state_entry()
{
llTargetOmega (<0.0,1.0,0.0>, gDirection, 1.0);
llSetTimerEvent (2.0);
}

timer()
{
llSetTimerEvent (0.0);
gDirection *= -1.0;
llTargetOmega (<0.0,1.0,0.0>, gDirection, 1.0);
llSetTimerEvent (2.0);
}
}
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
IBME Swindlehurst
Registered User
Join date: 5 Mar 2007
Posts: 139
02-07-2008 10:25
Meade - The last one fails in a similar manner to the first one. I'm going to let the Lindens sort this out. It may take them a while, but it was working before last weeks server upgrades.

THANKS
Billy Islander
Registered User
Join date: 3 Nov 2006
Posts: 35
02-07-2008 16:36
From: Billy Islander
my train set is suffering the problem at Accapulco (Second Life Server 1.19.0.79136) , when i click it the smoke starts but i then have to right click it and select touch for the rotation to start.


I found a fix for my train by simply adding a zero seconds sleep , now works fine
CODE

llTargetOmega(<0,0,-0.1>,PI,1.0);
llSleep(0);
CODE
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
02-07-2008 17:14
From: IBME Swindlehurst
Submitted JIRA
SVC-1461


It's just another dupe of this same problem set, as described in SVC-54.
Cherry Hotaling
Registered User
Join date: 25 Feb 2007
Posts: 86
02-08-2008 13:36
One fix I have used it to call llTargetOmega 2 times with different small values.

For example to stop a target omega do:
llTargetOmega(<0,0,0.1>,1,1);
llTargetOmega(<0,0,0.0>,1,1);
or call on: llTargetOmega(<0,0,0.0>,1,1); 2 times

But to start it again do something like:
llTargetOmega(<0,0,1.8>,1,1);
llTargetOmega(<0,0,2.0>,1,1);

You must incriment the starting again in steps or the viewer will not notice it and it will remain stopped unless you right click edit it. The right click edit is not practical by any means.

This will work as it still works in my products.

Its a little bit of a mickey mouse type of fix but it does work.
If you put a timer or a llSleep between the events it will also help fix this for you.

-Cherry Hotaling
Boris Oconner
Registered User
Join date: 21 Jul 2006
Posts: 16
04-14-2008 01:40
This seems to be broken for me at the moment - in the same way people are describing. Did this issue ever get fixed?
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
04-14-2008 02:03
From: Boris Oconner
This seems to be broken for me at the moment - in the same way people are describing. Did this issue ever get fixed?

Yes, but the fixes had another bug that broke it again.
_____________________
Ravanne Sullivan
Pole Dancer Extraordinair
Join date: 10 Dec 2005
Posts: 674
04-14-2008 10:31
This is known to LL and they are "working" on it. That probably just means that someone will stamp [RESOLVED](tm) on it and go for a latte.
_____________________
Ravanne's Dance Poles and Animations

Available at my Superstore and Showroom on Insula de Somni
http://slurl.com/secondlife/Insula de Somni/94/194/27/
Morris Mertel
Registered User
Join date: 2 Mar 2007
Posts: 32
04-14-2008 10:57
HURRY LINDENS! I got tired of replacing the tons of rotation scripts on my land every day!


Second Life 1.19.1 (4) Apr 2 2008 11:59:37 (Second Life Release)

You are at 282022.7, 258275.1, 50.6 in Koko located at sim2703.agni.lindenlab.com (216.82.18.200:12035)
Second Life Server 1.20.0.83892
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
04-14-2008 17:51
The latest from Kelly Linden in the latest blog entry is that she thinks they've found the new problem. It's not that llTargetOmega is really broken, it's the other bug that things are sticking in that selected/sat upon state (and selected objects don't move). So at least now they know what to fix =)
_____________________
Max Pitre
Registered User
Join date: 19 Jul 2006
Posts: 370
04-14-2008 19:21
Good, I thought it was me going crazy...
I've had to duplicate most things with rotating scripts but it's odd that not everything stopped working as some of the rotating scripts still worked. Yes, it's the exact same script in the same sim about 5 meters apart...odd.
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
04-14-2008 20:05
From: Viktoria Dovgal
The latest from Kelly Linden in the latest blog entry is that she thinks they've found the new problem. It's not that llTargetOmega is really broken, it's the other bug that things are sticking in that selected/sat upon state (and selected objects don't move). So at least now they know what to fix =)

Which blog entry did he say this in? So many lately.. :(
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
04-15-2008 00:19
From: Sindy Tsure
Which blog entry did he say this in? So many lately.. :(

It's in the comments for the rolling restart entry,

http://blog.secondlife.com/2008/04/14/rolling-restart-wedthu-april-1516-for-121-server-deploy/#comment-597249
_____________________
Synthia Gynoid
PRIMAL DREAMS
Join date: 10 Jul 2007
Posts: 52
04-23-2008 07:42
I've tried adding a llSleep(0); line to my rotation scripts, but it doesn't work. Nor does resetting the scripts. I have to go in and click-drag copy every prim or prim linkset that contains a llTargetOmega function, then delete the copy, to get the rotation to restart.

This is very frustrating... :(
Ravanne Sullivan
Pole Dancer Extraordinair
Join date: 10 Dec 2005
Posts: 674
04-23-2008 09:41
While llTargetOmega is rendered client side it actually is a prim setting much like the title. You can add a script that sets the roataion and then remove it and the prim will continue to rotate. When an object that is rotaing with llTargetOmega is slected it stops rotating while selected, I guess this is to make it easier to edit it, right now that selection does not go away once you no longer have it targeted so it does not restart the rotation. Also for some reason object seem to be being selected even if they are not selected at any time. I hope this helps explain a little about why even resetting the script does not help, the object remains selected so the script can not start the rotation.
_____________________
Ravanne's Dance Poles and Animations

Available at my Superstore and Showroom on Insula de Somni
http://slurl.com/secondlife/Insula de Somni/94/194/27/
Max Pitre
Registered User
Join date: 19 Jul 2006
Posts: 370
04-23-2008 10:43
Read the JIRA SVC-1910 , it explains this somewhat and the Lindens are very aware of the issue. They hope to have it fixed this week with an update.

http://jira.secondlife.com/browse/SVC-1910
1 2