All pastes #908159 Raw Edit

inventory duplication

public text v1 · immutable
·published 2008-02-18 04:30 UTC
rendered paste body
ckrinke>	Nebadon. The user 'Charles Krinkeb" on OSGrid has duplicate folders for Trash, My Inventory, Lost And Found, Objects, Body Parts, Notecards and Scripts. What is the most straightforward way to deal with things like this?
	<nebadon>	ah this is a bit tricky
	<nebadon>	what i do
	<nebadon>	have done i should say
	<nebadon>	is upload a file and name it something very unique
	<nebadon>	this way you can deteremine what your root folders UUID truly is
	<nebadon>	even though you have multiple sets in the database, only 1 is being used
	<nebadon>	when you look at the inventoryfolders table
	<nebadon>	you will notice parentFolderID
	<nebadon>	your 2 or 3 or 4 sets of folders will have a differnt UUID for each set
	<nebadon>	so what you need to do now is go into inventoryitems table and search for your unique item you named in your inventory weather it is a texture or prim etc.. anything
	<nebadon>	search for that item in the inventoryitems table
	<nebadon>	find its ParentFolderID
	<SeaPrior>	ckrinke: i see; i think i myself performed a poor context switch there from -dev, forgive me ;)
	<ckrinke>	i'm with you so far, Nebadon.
	<nebadon>	then look at that folderIDs UUID in your list of folders on inventoryfolders table
	<nebadon>	say its trash etc..
	<nebadon>	then that folders ParentFolderID
	<nebadon>	now you know which set is actually active
	<nebadon>	and all folders that dont match that folders parentID should be erased
	<ckrinke>	Erased from the inventoryfolders table you mean, right?
	<nebadon>	yes
	<krisbfunk>	more great info from the nebadon