Inventory

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
  
 
Recent viewers are merging code do try enforce such ame like restrictions. Most of this is just unacceptable.
 
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.<br>
+
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.<br><br>
  
Viewers should validate the integrity of the folders tree, namely parent/child relations, and verify lost Links.<br>
+
Viewers should validate the integrity of the folders tree, namely parent/child relations, and verify lost Links. NOT folder names<br>
  
  

Revision as of 09:21, 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. NOT folder names


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