[Opensim-dev] Transfering inventory from Library folders

Neil Canham neil at knowsense.co.uk
Tue Dec 7 19:59:29 UTC 2010


Thanks Justin - that's pointed me in the right direction.  Struggling a bit
but I'll stick with it!

On Fri, Dec 3, 2010 at 3:13 AM, Justin Clark-Casey <jjustincc at googlemail.com
> wrote:

> On 02/12/10 12:31, Neil Canham wrote:
>
>> I've been thrashing around for a while - time to ask the people who
>> actually know what they are doing... as part of my
>> attempts to create a HUD-based appearance management system I need to be
>> able to force updates of the HUD and related
>> clothes and attachments.  I previously had some success in writing a
>> region module that uploaded IARs to users when they
>> logged in and attached the HUD.  However, it seems to me that using the
>> Library is probably the right way to go.
>>  Dropping iar files in the bin/Library folder gets them into peoples
>> Library folder - but I can't work out how in a
>> region module I would copy a folder or set of folders into the AVs main
>> inventory and then wear items.  Any pointers
>> much appreciated (unless you think this is an unworkable idea in the first
>> place!)
>>
>
> I think the nearest thing we current have is avatar to avatar inventory
> transfer.  Look in
> OpenSim/Region/CoreModules.Avatar/Inventory.Transfer/InventoryTransferModule.cs
> for this.
>
> The Scene.GiveInventoryFolder() method is the important one.  For the
> sending agent ID you might be able to supply the uuid for the library
> 'user'.
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20101207/775c6929/attachment-0001.html>


More information about the Opensim-dev mailing list