MantisBT - opensim
View Issue Details
0006300opensim[REGION] Specific OpenSim Modulepublic2012-09-17 05:072014-07-29 13:41
SignpostMarv 
melanie 
normalmajoralways
closedfixed 
master (dev code) 
 
Standalone (1 Region) , Standalone (Multiple Regions) , Grid (1 Region per Sim)
BasicPhysics
.NET / Windows32, .NET / Windows64
None
0006300: llAttachToAvatarTemp will not work
llAttachToAvatarTemp is currently implemented in a region module via script invocations.

script invocations cannot currently have a void return type, thus llAttachToAvatarTemp will not be "found" despite being registered.
default
{
    touch_start(integer t)
    {
        llRequestPermissions(llDetectedKey(0), PERMISSION_ATTACH);
    }

    run_time_permissions(integer p)
    {
        if(p & PERMISSION_ATTACH)
        {
            llAttachToAvatarTemp((integer)ATTACH_RHAND);
        }
    }
}
Due to being a script invocation, one currently needs to cast script constants to integer.

Patch also fixes a bug with a null reference exception being thrown.
No tags attached.
related to 0006366patch included  osForceAttachToOtherAvatarTemp & osForceAttachToOtherAvatarFromInventoryTemp 
patch llAttachToAvatarTemp-tweaks.patch (3,856) 2012-09-17 05:07
http://opensimulator.org/mantis/file_download.php?file_id=3315&type=bug
Issue History
2012-09-17 05:07SignpostMarvNew Issue
2012-09-17 05:07SignpostMarvFile Added: llAttachToAvatarTemp-tweaks.patch
2012-09-17 05:07SignpostMarvStatusnew => patch included
2012-09-17 05:33melanieStatuspatch included => resolved
2012-09-17 05:33melanieResolutionopen => fixed
2012-09-17 05:33melanieAssigned To => melanie
2012-10-18 08:52SignpostMarvRelationship addedrelated to 0006366
2014-07-29 13:41chi11kenStatusresolved => closed

There are no notes attached to this issue.