• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-54
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Andrew Linden
Reporter: Heather Goodliffe
Votes: 49
Watchers: 12
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

llTargetOmega doesn't update unless object is interacted with by an AV

Created: 17/Mar/07 07:32 PM   Updated: 10/Apr/08 03:35 PM
Return to search
Component/s: Scripts
Affects Version/s: 1.19.0 Server, 1.20.0 Server
Fix Version/s: 1.20.0 Server

Environment: SL Sim
Issue Links:
Duplicate
 
Relates
 

Linden Lab Issue ID: DEV-3895
Linden Lab Internal Branch: havok4-3


 Description  « Hide
Attempting to trigger llTargetOmega from a link message, I found that the object will not start moving until I edit and let go of the object, or I force an update by sending an llSetPos with a slight offset to it's current position.

root object script:

integer MSG_GO_NUM = 1810;
string MSG_GO = "GO";
string MSG_STOP = "STOP";

string msg = MSG_GO;

default
{
touch_start(integer total_number)
{
llMessageLinked(LINK_SET, MSG_GO_NUM, msg, NULL_KEY);

if (msg == MSG_GO)

{ msg = MSG_STOP; }

else

{ msg = MSG_GO; }

}
}

script in child prim to apply llTargetOmega to:
// STATIC
integer MSG_GO_NUM = 1810;
string MSG_GO = "GO";
string MSG_STOP = "STOP";

// GLOBAL
integer go = FALSE;
string msg = MSG_GO;

default
{
link_message(integer sender_num, integer num, string msg, key id)
// touch_start(integer num)
{
// if (sender_num == 1 && MSG_GO_NUM == num)
// {
if (msg == MSG_GO)

{ llOwnerSay("Starting"); llTargetOmega(<-1, 0, 0>, 2, 2); // add this line to make it work // llSetPos(llGetLocalPos() + <0.001, 0.0, 0.0>); msg = MSG_STOP; }

else if (msg == MSG_STOP)

{ llOwnerSay("Stoping"); llTargetOmega(<0, 0, 0>, 1, 1); // add this line to make it work // llSetPos(llGetLocalPos() - <0.001, 0.0, 0.0>); // adding this line does not help // llSetPos(llGetLocalPos()); msg = MSG_GO; }

// }
}
}

Note that the work around is to force an update by slightly adjusting the local prim position.
Without the update to the position, the target omega will not show on the client until an AV interacts with it by "editing" it and then letting it go.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Second Life Admin made changes - 23/Mar/07 07:10 PM
Field Original Value New Value
Linden Lab Issue ID SL-38342
bushing Spatula made changes - 23/Apr/07 03:10 AM
Component/s Scripts [ 10043 ]
Priority Major [ 3 ] Normal [ 4 ]
Beezle Warburton made changes - 01/Jul/07 01:06 AM
Link This issue is related to by MISC-199 [ MISC-199 ]
Soft Linden made changes - 23/Jul/07 03:27 PM
Assignee Soft Linden [ Soft Linden ]
Andrew Linden made changes - 30/Jul/07 11:45 AM
Assignee Soft Linden [ Soft Linden ] Andrew Linden [ Andrew Linden ]
Andrew Linden made changes - 15/Oct/07 01:27 PM
Status Open [ 1 ] In Progress [ 3 ]
Andrew Linden made changes - 22/Oct/07 11:42 AM
Status In Progress [ 3 ] Resolved [ 5 ]
Fix Version/s Havok4 Beta [ 10171 ]
Resolution Fixed Internally [ 7 ]
Joshua Linden made changes - 22/Oct/07 11:44 AM
Linden Lab Issue ID SL-38342 DEV-3895
Ilana Debevec made changes - 11/Dec/07 08:58 PM
Resolution Fixed Internally [ 7 ]
Status Resolved [ 5 ] Reopened [ 4 ]
Coyote Pace made changes - 19/Dec/07 12:49 PM
Link This issue is related to by MISC-684 [ MISC-684 ]
Coyote Pace made changes - 19/Dec/07 12:56 PM
Link This issue is related to by VWR-3377 [ VWR-3377 ]
Torley Linden made changes - 21/Dec/07 12:17 PM
Status Reopened [ 4 ] Closed [ 6 ]
Resolution Fixed [ 1 ]
Rob Linden made changes - 22/Dec/07 01:44 AM
Workflow jira [ 10565 ] jira-2007-12-21 [ 23057 ]
Rob Linden made changes - 23/Dec/07 12:32 AM
Workflow jira-2007-12-21 [ 23057 ] jira-2007-12-22a [ 49229 ]
Ilana Debevec made changes - 29/Dec/07 09:33 PM
Resolution Fixed [ 1 ]
Status Closed [ 6 ] Reopened [ 4 ]
Harleen Gretzky made changes - 06/Feb/08 02:20 PM
Link This issue is duplicated by VWR-4630 [ VWR-4630 ]
Harleen Gretzky made changes - 06/Feb/08 07:32 PM
Affects Version/s 1.19.0 Server [ 10250 ]
Harleen Gretzky made changes - 06/Feb/08 07:32 PM
Fix Version/s Havok4 Beta [ 10171 ]
Andrew Linden made changes - 07/Feb/08 09:21 AM
Status Reopened [ 4 ] Fix Pending [ 10001 ]
Linden Lab Internal Branch havok4-3
Harleen Gretzky made changes - 07/Feb/08 12:27 PM
Link This issue is duplicated by SVC-1461 [ SVC-1461 ]
Harleen Gretzky made changes - 04/Mar/08 08:22 PM
Link This issue is related to by VWR-5303 [ VWR-5303 ]
Bryndyn Burton made changes - 03/Apr/08 06:05 AM
Affects Version/s 1.20.0 Server [ 10280 ]
Azadine Umarov made changes - 08/Apr/08 09:42 PM
Link This issue is related to by SVC-1910 [ SVC-1910 ]
tx Oh made changes - 08/Apr/08 10:59 PM
Priority Normal [ 4 ] Major [ 3 ]
Andrew Linden made changes - 10/Apr/08 03:35 PM
Status Fix Pending [ 10001 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Fix Version/s 1.20.0 Server [ 10280 ]
Sue Linden made changes - 13/Nov/08 12:07 PM
Workflow jira-2007-12-22a [ 49229 ] jira-2008-11-14 [ 81732 ]
Sue Linden made changes - 13/Nov/08 04:36 PM
Workflow jira-2008-11-14 [ 81732 ] jira-2008-11-14a [ 88854 ]