[Opensim-dev] Cloning avatar

Kevin Cozens kevin at ve3syb.ca
Wed Mar 7 15:34:32 UTC 2012


On 12-03-07 08:15 AM, Olli Aro wrote:
> Does anyone know how I can copy the appearance of an existing user to a
> newly created user? With older version of OpenSim I used to do this by
> copying the rows in "avatars" database table.

That should be all you need to do. Keep in mind that the current version of 
OpenSim uses multiple rows per avatar for the full set of appearance data.

> Do, I now also have to copy across the inventory items, so they are
> "visible" to the newly created user?

If you don't copy the wearable items to inventory the avatar will not be 
able to reset their appearance to what you provide after they change to some 
other set of wearables.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/           |"Nerds make the shiny things that distract
Owner of Elecraft K2 #2172      | the mouth-breathers, and that's why we're
                                 | powerful!"
#include <disclaimer/favourite> |             --Chris Hardwick



More information about the Opensim-dev mailing list