Temp attaching above script danger height now causes scripts to not run.
tracked
Lucia Nightfire
This was brought to my attention from one of the users of my experience based adult application which uses temp attaching at high altitude over land that has public scripts off.
Log In
Lucia Nightfire
Strange stuff. This probably explains the increase in comments in the script/build groups over the last week over stuff not working when temp attaching, touch not working, stuff not detaching, etc.
Maestro Linden
updated the status to
tracked
Maestro Linden
I can reproduce differences in behavior between the "Kumquat" 2026-05-07.25510542992 release and the "Mango" 2026-08-03.30838755483 release that's live now. I focused on scripts which do not use the llTakeControls() loophole, using either Lucia's llAttachToAvatarTemp test script or the default LSL script.
The behavior I see on 'only owner scripts run' parcels for a non-owner's scripts are:
- On bothserver versions, objects rezzed on the parcel can have their scripts run >50m above the ground but not <50m from the ground
- I'm seeing different results between the two with Lucia's llAttachToAvatarTemp script
- On Kumquat, the script runs when first rezzed at 100m elevation, and continues to run after it attaches to an avatar. When the avatar changes elevation, the script runs when the avatar >50m above the ground level, but pauses when <50m above ground level. This is consistent with the unattached script logic in (1)
- On Mango, the script runs when first rezzed at 100m elevation, but immediately stops executing after it attaches to an avatar. The script fails to run when the agent moves to any elevation. This is
more
restrictive than the same scenario on Kumquat, and is also more
restrictive than the unattached script behavior observed in (1)- I'm seeing different results when attaching a script from agent inventory
- On Kumquat, scripts rezzed as attachments from agent inventory are able to run at high elevation but not at low elevation. This behavior updates as the agent crosses the 50m AGL threshold.
- On Mango, scripts rezzed as attachments from agent inventory at 100m can run at any elevation. This is
less
restrictive than the same scenario on Kumquat, and is also less restrictive than the unattached script behavior observed in (1)- On Mango, scripts rezzed as attachments from agent inventory at ground level cannot run at any elevation. This is
more
restrictive than the same scenario on Kumquat, and is also more restrictive than the unattached script behavior observed in (1)I agree that the changes observed in points (2) and (3) are bugs. I don't think it should matter whether an attachment was attached via llAttachToAvatarTemp vs attached from inventory - behavior _should_ be the same in cases (2) and (3). Likewise, 'run scripts' behavior for inventory-attached scripts should only depend on the agent's current elevation - not the elevation that the agent was at at the time of attachment.
Lucia Nightfire
I had to rewrite this here because canny is a joke.
When you are doing this test, use an alt that is NOT a member of the land group.
I will do further testing when I have time in RL.
Lucia Nightfire
integer count;
default
{
state_entry()
{
llSetTimerEvent(1.0);
}
run_time_permissions(integer permissions)
{
if (permissions)
{
llAttachToAvatarTemp(ATTACH_RHAND);
}
}
touch_start(integer total_number)
{
if (!llGetAttached() && (llDetectedKey(0) == llGetOwner()))
{
llRequestPermissions(llGetOwner(),PERMISSION_ATTACH);
}
}
timer()
{
llSetText((string)(++count),<1.0,1.0,1.0>,1.0);
}
}