[Opensim-users] Some questions about inventory libraries

Justin Clark-Casey jjustincc at googlemail.com
Thu Feb 19 14:57:10 UTC 2009


Impalah wrote:
> Hi everybody, here comes Impalah again with some bizarre questions.
> 
> Before... about a question I did some weeks ago when I had "problems" 
> with avatar crossing regions: it's resolved at 90% from my part (ugaim) 
> just changing the (superslow) framework I was using to another; anyway 
> the requests made to ugaim from region servers (get inventory, get maps, 
> get something I can't remember now) aren't concurrent, at least running 
> over .NET vm (I have tested it in five different machines with win XP). 
> I'll return to those things when I finish the project I'm working on.
> 
> Well, my questions, overall are for who implemented Inventory Libs and 
> all the things around.

I didn't implement the original code but I did end up extending it.  I don't think what we have right now is a 
particularly good solution.

> 
> When an avatar logs in, apart from the "personal inventory skeleton", 
> the user server sends a "inventory library skeleton" too. 
> Opensim.Grid.User uses the object InventoryLib (excuse me if the names 
> are wrong, I haven't access to the code right now) which reads the xml's 
> from the "inventory" folder.
> 
> Ok, so an user server needs these xml files isn't it? At least for 
> returning the skeleton.
> 
> Well, but where is stored the inventory library? I suppose, because I 
> couldn't find any persistent storage for inventory library 
> folders/items, that the Opensim (region) server loads the xml files when 
> it starts and, when the viewer asks for inventory, it returns the 
> contents of the xml's.

Essentially correct.

> 
> The problem is if I have several region servers, any of them with 
> distinct inventory libraries (folders and items). I have checked that if 
> I return in login, for example, only two of the inventory lib folders, 
> the opensim viewer will only show me these 2 folders, ignoring the rest 
> of the "inventory xmls" defined.
> 
> So if I pretend to distribute and control the inventory library from the 
> ugaim servers I have to copy the xmls to all the region servers who 
> connect to my grid... right?

That's correct.  At the moment each region server loads its local library data.  Which means that on a grid system, the 
library data on every single region and on the grid inventory service must be identical (afair).

I believe that it would be better to stop loading library inventory locally and instead pull it from the central 
inventory service (in grid mode).  This would have the advantage of making it much easier to update library inventory.

> 
> I don't know if this is an error (I think the inventory library must be 
> requested from region servers to ugaim servers) or some kind of 
> "feature", or if exists any reason for doing the things that way.
> 
> Can anyone help me with this?
> 
> Thank you
> 
> 
> Impalah "always having problems" Shenzhou
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users


-- 
justincc
Justin Clark-Casey
http://justincc.wordpress.com



More information about the Opensim-users mailing list