Inventory

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Attempt to "improve" the text a little :-))
Line 1: Line 1:
Inventory was supposed somewhat flexible, more close to what we see in most filesystems
+
From 2022 viewers have code designed to validate whether the inventory structure is properly set up and have facilities to warn users if there are problems with their inventory.
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.
+
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 being validated:
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>
+
* My Inventory or Inventory: should be type 8 and each user must have only one. (type 9 was used on older versions)
 
+
* My Suitcase or Suitcase: is optional. If present, should be type 100 and each user must have only one. (type 8 or 9 was used on older versions)
Viewers should validate the integrity of the folders tree, namely parent/child relations, and verify lost Links.<br>
+
 
+
 
+
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
 
* Trash: should be type 14
 
* Lost and Found: should be type 16
 
* 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).
+
* Current Outfit: must be type 46
  
 
{{Warning|IAR load DOES duplicate folders unless the merge option is used, and will go on doing so}}
 
{{Warning|IAR load DOES duplicate folders unless the merge option is used, and will go on doing so}}
  
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.<br>
+
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 in OpenSim have still no other use than show type specific icons and to allow use of inventory filters.
Users should be advised to only have duplications while doing merge of inventories, etc.<br>
+
Folder types have still no other use than show pretty icons and inventory filters.
+
 
+
  
{{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}}
+
{{Warning|RLV is not an officially supported feature on itself, it must use normal inventory structure not dependent on a peculiar simulator response or operation details.}}
  
Can also see informative page on [[Inventoryfolders]].
+
Also see the informative Wiki page on [[Inventoryfolders]].
  
== External talks on Issue ==
+
== External Discussions on Inventory Issues ==
  
 
* http://opensimulator.org/mantis/view.php?id=8997 - OpenSimulator Mantis 8997 - Inventory Validation Checks in Recent Viewers Causes Issues for Inventory Folders with wrong type numbers.
 
* http://opensimulator.org/mantis/view.php?id=8997 - OpenSimulator Mantis 8997 - Inventory Validation Checks in Recent Viewers Causes Issues for Inventory Folders with wrong type numbers.
 
* https://jira.firestormviewer.org/browse/FIRE-31634 - Firestorm JIRA FIRE-31634 Opensim - Inventory doesn't load on some grids.
 
* https://jira.firestormviewer.org/browse/FIRE-31634 - Firestorm JIRA FIRE-31634 Opensim - Inventory doesn't load on some grids.
  
== Check Inventory Script (User contribution) ==
+
== Check Inventory Script (User Contribution) ==
  
 
See also [[Check_inventory_script]] for advice and a PHP script which can help fix some inventory type issues.
 
See also [[Check_inventory_script]] for advice and a PHP script which can help fix some inventory type issues.

Revision as of 13:06, 14 May 2022

From 2022 viewers have code designed to validate whether the inventory structure is properly set up and have facilities to warn users if there are problems with their inventory.

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 being validated:

  • My Inventory or Inventory: should be type 8 and each user must have only one. (type 9 was used on older versions)
  • My Suitcase or Suitcase: is optional. If present, should be type 100 and each user must have only one. (type 8 or 9 was used on older versions)
  • Trash: should be type 14
  • Lost and Found: should be type 16
  • Current Outfit: must be type 46

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 in OpenSim have still no other use than show type specific icons and to allow use of inventory filters.

Also see the informative Wiki page on Inventoryfolders.

External Discussions on Inventory Issues

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