Inventory

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 23: Line 23:
  
  
{{Warning|RLV is not a officially supported feature on it self, it must use normal inventory structure. It was made basically as a HACK on top of already ill defined SL Hacks. On some cases it did depend on exact responses of some versions of simulators. This is of course impossible to support}}
+
{{Warning|RLV is not a officially supported feature on itself, it must use normal inventory structure not dependent on a peculiar simulator response or operation details. It was made basically as a HACK on top of already ill defined SL Hacks, so on some cases it did depend on pecualiar details of simulators. This is of course impossible to support}}
  
 
Can also see informative page on [[Inventoryfolders]].
 
Can also see informative page on [[Inventoryfolders]].

Revision as of 09:25, 14 May 2022

Inventory was supposed somewhat flexible, more close to what we see in most filesystems Sadly viewers drift into game like inventories, expecting more rigid structure and rigid use rather that just optional "preferred" While some of this changes are acceptable, others are not, since will break on older opensimulator versions and worse will break with inventory backup files.

Recent viewers are merging code do try enforce such ame like restrictions. Most of this is just unacceptable. Viewers for opensimulator must stay compatible and full functional with inventories that do, for example, have folders with same name and or type, anywhere on the inventory tree.

Viewers should validate the integrity of the folders tree, namely parent/child relations, and verify lost Links.


However, Opensimulator until 2015 used folder types that where different from the ones expected by viewers, so Region and Grid owners should pay attention to some cases where viewer side restrictions are more acceptable:

  • My Inventory or Inventory: should be type 8 and a user must have only one. (type 9 on older versions)
  • My Suitcase or Suitcase: is optional. If present, should be type 100 and a user must have only one. (type 8 or 9 on older versions)
  • Trash: should be type 14
  • Lost and Found: should be type 16
  • Current Outfit: must be type 46. (Note that this is another viewers hack. It is part of appearance subsystem, that just uses inventory as storage).

Viewers will look for specific folders, mostly only on creating a new item, So if they are duplicated, it just may not be clear the folder they choose.
Users should be advised to only have duplications while doing merge of inventories, etc.
Folder types have still no other use than show pretty icons and inventory filters.


Can also see informative page on Inventoryfolders.

External talks on Issue

Check Inventory Script (User contribution)

See also Check_inventory_script for advice and a PHP script which can help fix some inventory type issues.

Personal tools
General
About This Wiki