llAttachToAvatarTemp or equivalent?

Creating scripts
Post Reply
User avatar
Jack Spade
Posts: 20
Joined: Thu Sep 26, 2013 9:57 pm
Has thanked: 8 times
Been thanked: 8 times

llAttachToAvatarTemp or equivalent?

Post by Jack Spade »

I'm looking for a way to attach a rezzed object to an avatar (who in this case will always be its owner), and when they're done with it clean it up without leaving junk in their inventory. In SL, we can use llAttachToAvatarTemp(), but it appears this hasn't been implemented in OpenSim. osDropAttachment() gives me a security-related error. Is there any way to do this in Kitely?
User avatar
Dundridge Dreadlow
Posts: 616
Joined: Mon May 06, 2013 2:23 pm
Location: England
Has thanked: 590 times
Been thanked: 337 times

Re: llAttachToAvatarTemp or equivalent?

Post by Dundridge Dreadlow »

not today.
Maybe if you poke one of the opensim devs hard enough..
ImageImageImageImageImageImage
PS. Kitely is awesome.
User avatar
Jack Spade
Posts: 20
Joined: Thu Sep 26, 2013 9:57 pm
Has thanked: 8 times
Been thanked: 8 times

Re: llAttachToAvatarTemp or equivalent?

Post by Jack Spade »

It looks like a patch exists for this. Anybody know what the process is for getting it available in Kitely? Do we have to wait for the next OpenSim release?
User avatar
Ilan Tochner
Posts: 5261
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 3034 times
Been thanked: 3065 times
Contact:

Re: llAttachToAvatarTemp or equivalent?

Post by Ilan Tochner »

Hi Jack,

If you look at the related patches (bottom of the page you linked to) you'll see that there are some unresolved security issues with the available patches which is why they haven't been included in OpenSim core yet and, as a result, why they are not currently included in Kitely.
User avatar
Jack Spade
Posts: 20
Joined: Thu Sep 26, 2013 9:57 pm
Has thanked: 8 times
Been thanked: 8 times

Re: llAttachToAvatarTemp or equivalent?

Post by Jack Spade »

Ilan, it appears the security consideration applies to osForceAttachToOtherAvatarFromInventoryTemp, not llAttachToAvatarTemp, unless I'm misreading the ticket (and I may well be; this is my first exposure to Mantis). Regardless, it seems that your saying we have to wait until it's part of OpenSim core before we'll see it in Kitely, correct?
User avatar
Ilan Tochner
Posts: 5261
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 3034 times
Been thanked: 3065 times
Contact:

Re: llAttachToAvatarTemp or equivalent?

Post by Ilan Tochner »

Not necessarily but we aren't going to divert resources to implement that functionality at this time.
User avatar
Jack Spade
Posts: 20
Joined: Thu Sep 26, 2013 9:57 pm
Has thanked: 8 times
Been thanked: 8 times

Re: llAttachToAvatarTemp or equivalent?

Post by Jack Spade »

Cool. Just trying to set my expectations appropriately.
Post Reply