Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008341opensim[REGION] Script Functionspublic2018-07-18 13:432018-07-18 16:08
Reportercugarajal 
Assigned ToUbitUmarov 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0008341: llAttachToAvatarTemp(n) not working
DescriptionProper invocation of llAttachToAvatarTemp() throws errors.

Similar to issue 7883, but the solution from that is now throwing errors. Was working earlier this year.

I should also note that the contents of osslEnable.ini include:
  AllowMODFunctions = true
Steps To Reproducedefault {
    state_entry() { }
    
    touch_start(integer t) {
        llRequestPermissions(llDetectedKey(0), PERMISSION_ATTACH);
    }
    
    run_time_permissions( integer perms ) {
        if (!llGetAttached() && (perms & PERMISSION_ATTACH)) {
            llAttachToAvatarTemp(6); // ATTACH_RHAND
        }
    }

    attach(key id) {
        if (id!=NULL_KEY) {
            llRequestPermissions( id, PERMISSION_ATTACH);
        }
    }

}

TagsNo tags attached.
Git Revision or version number9278a9a
Run ModeStandalone (1 Region)
Physics EngineBulletSim
EnvironmentMono / OSX
Mono Version5.x
ViewerFirestorm
Attached Filestxt file icon viewer_error.txt [^] (1,067 bytes) 2018-07-18 13:43 [Show Content]
txt file icon console_error.txt [^] (2,272 bytes) 2018-07-18 13:44 [Show Content]

- Relationships

-  Notes
(0032805)
UbitUmarov (administrator)
2018-07-18 14:21

should work now on master
Thanks
(0032806)
cugarajal (reporter)
2018-07-18 16:06

I confirmed it works again. Thank you!
(0032807)
cugarajal (reporter)
2018-07-18 16:08

There's a related issue but not sure if it's worth opening a ticket. The temp attachment doesn't show up in the Appearance window, Wearing tab, Temporary Attachments section. Not a big issue since I can right-click ->Detach if needed.

- Issue History
Date Modified Username Field Change
2018-07-18 13:43 cugarajal New Issue
2018-07-18 13:43 cugarajal File Added: viewer_error.txt
2018-07-18 13:44 cugarajal File Added: console_error.txt
2018-07-18 14:21 UbitUmarov Note Added: 0032805
2018-07-18 16:06 cugarajal Note Added: 0032806
2018-07-18 16:08 cugarajal Note Added: 0032807
2018-07-18 16:08 UbitUmarov Status new => resolved
2018-07-18 16:08 UbitUmarov Resolution open => fixed
2018-07-18 16:08 UbitUmarov Assigned To => UbitUmarov


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker