Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Deleting an attachment from inventory

Daedalus Price
Registered User
Join date: 19 Sep 2007
Posts: 5
09-04-2009 12:48
Ok, so after reading as many posts as i can find, I now know that you cannot use llDie on an attached item. I have however used a script set I purchased in world that I use in my own builds that attaches an item on sit, then removes it when you stand up. Here is what i see it do. When you sit down, it asks the av to attach the item. When yes, an item is placed in the seated av's inventory in the objects folder. Typical so far.... Now the interesting thing is, that when you stand up, the attached object is moved to the library folder, then detached. It sits in the library folder untill the av logs off, then upon the av reloging the item is no longer in their inventory.

Does anyone have an idea how this might be acomplished? It is an interesting work around for a way to remove objects from an av's inv, since llDie doesn't work on attached objects.

Any thoughts on this would be great
Cypher Ragu
[Mad Scientist]
Join date: 6 Jul 2008
Posts: 174
09-04-2009 16:45
If I recall correctly, freshly rezzed-and-attached objects will always show up in the Objects folder of the user's inventory.

I'm not sure if you're using a non-Linden viewer or not, but that is very odd behavior.

The script is probably detaching the object, and then using llDie.

Maybe it has to do with the permissions of the attachment...
_____________________
Life is a highway... And I just missed my exit.
Daedalus Price
Registered User
Join date: 19 Sep 2007
Posts: 5
09-07-2009 00:40
Nope, this is all happening in the standard LL viewer. I sit on the object, in this case a vehicle, it attaches an object to my av, and that object shows up in my inv under the objects folder (typical). Upon standing, or unseating the av from the vehicle, the object in the inv detaches, and is removed from the objects folder, and instead becomes located at the very bottom of the inv, in the library folder. It stays there untill i log off, and upon relog is compleatly cleared from the inv. If i sit on the vehicle multiple times, multiple coppies of the object can be found in the library folder of my inv, all of which dissapear on log out. This has been tested on multiple machines, as well as both the LL viewer, and green emerald viewer.
Daedalus Price
Registered User
Join date: 19 Sep 2007
Posts: 5
09-07-2009 00:42
Oh, and llDie, cannot be used on attached objects, so this is not the case. I think it is detaching using llDetachFromAv or whatever it is.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
09-07-2009 04:28
this sonds very similar to a bug that was occuring where detached objects would end up below normal inventory, but above the library inventory... (with a side effect that clicking the out of place inventory item would crash the viewer)....

perhaps someone figured out a way to force this behavior to occur?

the only sequence I can imagine working for something like this though is vehicle (owned by av) rezzes the attachment (which is set to temp on rez) attachment requests permision to attach, then when the ave gets up, the attacment detaches... but I'd expect that to reseult in normal inventory clutter...

anyone figures this out I'd love to know about it.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
09-07-2009 04:49
Is the object rezzed in world and then attached to your avatar? It is probably VWR-6110 (wasn't entirely a viewer problem but whatever). The dead attachments are probably in your inventory but inaccessible, and will likely turn up some time in a few months when LL's inventory cleanup gets through its next cycle (that process is known to be extremely slow so it could be months unless you ask support to do it manually).

The 1.30 server is supposed to include a fix for at least part of this bug (in its VWR-12525 guise), you might try it out on the preview grid to see if it still behaves the same way, or just wait until the rolling restart happens on the main grid and check then.
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
09-07-2009 09:15
From: Viktoria Dovgal
Is the object rezzed in world and then attached to your avatar? It is probably VWR-6110


I can confirm it is. This is the bug that played a major role in my decision to close my store. Constant complaints from customers about lost attachements, and after over a year, LL still hasn't fixed it.
_____________________
Daedalus Price
Registered User
Join date: 19 Sep 2007
Posts: 5
09-07-2009 22:02
From: Viktoria Dovgal
Is the object rezzed in world and then attached to your avatar? It is probably VWR-6110 (wasn't entirely a viewer problem but whatever)


As stated earlier, this happens on multiple viewer versions, as well as non LL viewers. If it is a Server side issue, then i guess the viewer wouldn't matter. The product that is procucing this effect is the HPVS produced by Kahiro Watanabe. I have been talking to him, and according to him, nothing special is happening in the script. I hope to comb through it just a bit to see what exactly is going on. I guess it could be a bug, but I am hopping it is something that can be recreated in another script.....