Download
(586 Kb)
Download
Updated: 03/13/21 09:33 AM
Compatibility:
Flames of Ambition (6.3.5)
Updated:03/13/21 09:33 AM
Created:12/06/19 01:02 AM
Monthly downloads:1,855
Total downloads:34,584
Favorites:30
MD5:
Magic Sorter: Furniture Storage Automation  Popular! (More than 5000 hits)
Version: 20
by: Architectura [More]
Automatically sort and store away your unused furniture into any extra homes that you may have. Simply select the homes that you use for furniture storage and assign furniture categories and/or racial styles to each of those homes. Then watch as your character ports from one house to the next, moving your stored furniture between those homes based on your selections.

For example, if you assigned the following furniture categories to these homes...

Ample Domicile
Furniture Categories: Courtyard, Lighting
Racial Styles: All

Coldharbour Surreal Estate
Furniture Categories: Dining, Hearth, Structure
Racial Styles: Breton, High-elf

...then Magic Sorter would jump your character between your Ample Domicile and Coldharbour Surreal Estate homes and...

Move all styles of Courtyard and Lighting furnishings to your Ample Domicile (from your Coldharbour Surreal Estate).
Move all Breton and High-elf Dining, Hearth and Structure furnishings to your Coldharbour Surreal Estate (from your Ample Domicile).

A few quick things to note:
- You may sort as many homes as you would like, organized however you wish - even by furniture subcategories.
- Only the homes that you select are sorted; your other homes are left undisturbed.
- If you do not assign a particular furniture category to any homes at all, those types of items will be left undisturbed.

Setup is as simple as...

1. Open your Inventory and click "Magic Sorter" at the bottom of the Inventory menu.
2. Select one or more dedicated storage homes (do not select any homes that you have decorated or that you do not want to use for furniture storage)
3. Drag any combination of furniture category and subcategories into each storage home to have those types of items moved to that home from the other selected homes
4. You may also further refine your sorting by restricting which styles of items are stored in which homes (Breton items stored here, Daedric items stored there, etc.)
5. Click Start and get yourself a coffee... or just watch the sorting magic unfold.


Watch this short video guide (1:48)

2019-12-07 Version 1
First release.

2019-12-08 Version 2
Added detail panel to Magic Sorter status window that lists each storage houses' name and the number of remaining outbound and inbound items.
Your character will now automatically jump to the home's entry when starting Magic Sorter.
Your furnishings will be placed slightly further back into the home to avoid placing larger items in a manner that overlaps the home's entry point.

2019-12-09 Version 3
Updated to prefer the placement of smaller stacks of items in order to free inventory space more quickly.
Updated to prefer the removal of larger stacks of the same item type in order to use inventory space more efficiently.
Reaching the Special Furnishing limit will no longer prevent additional Traditional Furnishings from being stored in the home.
The "Resume" button will now work properly.
Minor user interface adjustments.

2019-12-11 Version 4
Renamed to Magic Sorter: Furniture Storage Automation for clarification of the purpose of this addon.
Sorting now requires at least 1 available inventory slot when starting; please don't actually try to sort with only 1 available inventory slot.
Sorting now initially visits each storage home at least once to assess the available storage capacity.
Sorting will no longer stop functioning properly if your inventory becomes nearly full with items that cannot be placed in another storage home.
The five most recent actions (placements, removals, house jumps) will now show just below the detail panel while sorting.
Removed the non-functional "Furniture, All" category.
Further optimized the storage algorithm.
Minor user interface adjustments.

2019-12-12 Version 8
Resolved an error that would appear when leaving a house.
Resolved an error that would appear when attempting to sort from outside one of your own homes.
Resolved an issue that could prevent a storage house with no assigned categories from being visited for the removal of items destined for other homes.
Added a "Stack Furniture" option to the Storage Wizard that will automatically layout stored items neatly; disable this option to leave already stored items undisturbed.
Added the number of Traditional and Special Furnishing slots available to the list of storage homes on the detail panel.
Added tool tips, to the list of storage homes on the detail panel, that list the category(ies) assigned to each home.
Updated the "Stack Furniture" option to organize furniture into tiered, fanned and more presentable stacks that are sized more appropriately for the size of the home.
Storage will automatically suspend operation upon receiving an Activity Finder ready check or when entering a Battleground or an Alliance War campaign.
Magic Sorter will no longer stack items on top of your character in some homes if you disable the "Stack Furniture" option.
Further optimized the storage algorithm.

2019-12-18 Version 9
Resolved an issue that could cause sorting to fail whenever your character had stolen furnishings in their inventory.
Split the details panel into two separate tabs: Storage Houses and Action Log.
The Action Log now scrolls and shows up to the last 1,000 actions taken by Magic Sorter.
Upon completion, Magic Sorter now shows the Action Log for your review.
Renamed the "Stack Furniture" option to "Organize Furniture" for clarity.
Further refined the organizational layout of stored items when the "Organize Furniture" option is enabled for additional compactness.

2019-12-21 Version 10
Resolved an issue that would place sorted furniture a great distance from the home's entrance when the "Organize Furniture" option was disabled.
Added a summary of the number of items that could not be stored due to a lack of capacity to the final sort report; these figures are broken down by Storage House as well as your inventory.

2019-12-22 Version 11
Revised the completion summary report to instead list furniture categories, if any, for which there was insufficient room to store those types of items based on your storage house category assignments.
The last sort's completion summary report will be shown side-by-side with the wizard's House Selection and Category Assignment screens to allow you to more easily adjust your houses/category assignments to address insufficient storage capacity, if necessary.

2019-12-24 Version 12
Now you may optionally assign specific furniture style(s) to each storage house. When one or more style(s) are assigned to a storage house, only furnishings of that style will be stored there.

2019-12-24 Version 14
Bug fixes.

2019-12-27 Version 15
Bug fixes.

2019-12-30 Version 16
Added a new Quick Sort mode that will perform an abbreviated sort in significantly less time.
* Quick Sort works by remembering your storage homes' inventories after your first full sort is completed.
* Please enable Magic Sorter for all of your characters in order to make sure that Magic Sorter's knowledge of your homes' inventories remains accurate and up-to-date.
* A full sort will always be required after adding or removing storage homes or changing category or style assignments.
Furniture item tool tips will now indicate the furniture subcategory and style in order to better assist you in planning your storage allocation.
After having visited your home for the first time, the Magic Sorter wizard will show the currently number of Traditional item slots used (as well as Special item slots in the associated tool tip).
The Magic Sorter wizard will now show tool tips on furniture category tags that indicate which storage home(s) the category is assigned to.
The Magic Sorter wizard will now show tool tips on selected storage homes that indicate which racial style(s) are assigned to the home.
Bug fixes.

2020-03-06 Version 17
API update.

2020-05-26 Version 18
API update.

2021-03-07 Version 19
API update.

2021-03-13 Version 20
API update.
Archived Files (18)
File Name
Version
Size
Uploader
Date
19
586kB
Architectura
03/07/21 01:02 PM
18
586kB
Architectura
05/25/20 11:22 PM
17
586kB
Architectura
03/06/20 08:46 AM
16
586kB
Architectura
12/29/19 11:42 PM
15
579kB
Architectura
12/27/19 01:05 PM
14
579kB
Architectura
12/25/19 04:56 PM
12
579kB
Architectura
12/24/19 03:46 PM
11
577kB
Architectura
12/22/19 10:17 PM
10
575kB
Architectura
12/21/19 07:51 AM
9
575kB
Architectura
12/18/19 09:43 PM
8
509kB
Architectura
12/12/19 11:46 PM
7
509kB
Architectura
12/12/19 08:49 PM
6
509kB
Architectura
12/12/19 06:46 PM
5
508kB
Architectura
12/12/19 02:40 AM
4
507kB
Architectura
12/11/19 01:36 AM
3
444kB
Architectura
12/09/19 10:05 PM
2
765kB
Architectura
12/08/19 09:29 PM
1
746kB
Architectura
12/06/19 01:02 AM


Post A Reply Comment Options
Unread 09/13/22, 02:50 PM  
Sekai

Forum posts: 0
File comments: 3
Uploads: 0
Thank you SO MUCH!!

Originally Posted by Baertram
Yeah, it was the tier/layer/level thing that was messed up.
Got it working again.
Will fix the house names to strip the ^N suffix too if possible and provide the fixed version here at the comments then.

MagicSorter v21 - Fixed by Baertram
-Updated API version
-Renamed txt file
-Removed string.lower comparison at event_add_on_loaded (unnecessary performance loss)
-Fixed house names to remove gender suffix like ^N -> If you had a house already in your SavedVars the name still shows wrong. You need to reset your savedvars to fix this.
-Fixed non clickable drag&drop category tag button
-Fixed non clickable remove category button

Donations as recompensation of my invested time (=less game time) are welcome, but not mandatory. Send them to EU or NA server, account @Baertram . Thank you very much.
Report comment to moderator  
Reply With Quote
Unread 12/21/22, 05:14 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 5014
File comments: 6067
Uploads: 78
I've put these itemlinks into a small function to show it's furnitureId, categoryId, subCategoryId etc.
Code:
2022-12-21 10:52:19.777 - I/UI - >|H1:item:132162:6:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h ID: 4099 - CategoryId: 2, subcategoryId:176, themeId: 6, limitId: 0
2022-12-21 10:52:19.777 - I/UI - >|H1:item:181587:3:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h ID: 8029 - CategoryId: 12, subcategoryId:165, themeId: 1, limitId: 0
2022-12-21 10:52:19.777 - I/UI - >|H1:item:151859:6:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h ID: 6256 - CategoryId: 13, subcategoryId:185, themeId: 3, limitId: 0
2022-12-21 10:52:19.778 - I/UI - >|H1:item:126123:5:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h ID: 3378 - CategoryId: 13, subcategoryId:138, themeId: 13, limitId: 0
2022-12-21 10:52:19.778 - I/UI - >|H1:item:139179:4:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h ID: 5130 - CategoryId: 13, subcategoryId:117, themeId: 3, limitId: 0
2022-12-21 10:52:19.778 - I/UI - >|H1:item:120529:2:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h ID: 2854 - CategoryId: 12, subcategoryId:149, themeId: 1, limitId: 0
2022-12-21 10:52:19.778 - I/UI - >|H1:item:121286:4:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h ID: 3210 - CategoryId: 12, subcategoryId:150, themeId: 1, limitId: 0
2022-12-21 10:52:19.778 - I/UI - >|H1:item:117719:4:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h ID: 1241 - CategoryId: 3, subcategoryId:133, themeId: 10, limitId: 0
2022-12-21 10:52:19.779 - I/UI - >|H1:item:139194:4:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h ID: 5145 - CategoryId: 13, subcategoryId:164, themeId: 3, limitId: 0
2022-12-21 10:52:19.779 - I/UI - >|H1:item:156554:6:1:0:0:0:0:0:0:0:0:0:0:0:65:0:0:1:0:0:0|h|h ID: 6530 - CategoryId: 25, subcategoryId:182, themeId: 1, limitId: 0
2022-12-21 10:52:19.779 - I/UI - >|H1:item:134578:4:1:0:0:0:0:0:0:0:0:0:0:0:65:0:0:1:0:0:0|h|h ID: 4749 - CategoryId: 12, subcategoryId:171, themeId: 1, limitId: 0
2022-12-21 10:52:19.779 - I/UI - >|H1:item:145486:6:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h ID: 5789 - CategoryId: 13, subcategoryId:163, themeId: 4, limitId: 0
2022-12-21 10:52:19.779 - I/UI - >|H1:item:130273:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h ID: 3983 - CategoryId: 12, subcategoryId:152, themeId: 13, limitId: 0
2022-12-21 10:52:19.780 - I/UI - >|H1:item:120574:3:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h ID: 2883 - CategoryId: 12, subcategoryId:143, themeId: 1, limitId: 0
2022-12-21 10:52:19.780 - I/UI - >|H1:item:126632:4:1:0:0:0:0:0:0:0:0:0:0:0:1:0:0:1:0:0:0|h|h ID: 3703 - CategoryId: 12, subcategoryId:161, themeId: 1, limitId: 0
2022-12-21 10:52:19.780 - I/UI - >|H1:item:117986:2:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h ID: 1481 - CategoryId: 13, subcategoryId:116, themeId: 1, limitId: 0
2022-12-21 10:52:19.780 - I/UI - >|H1:item:159464:6:0:0:0:0:0:0:0:0:0:0:0:0:1:0:0:1:0:0:0|h|h ID: 6704 - CategoryId: 8, subcategoryId:156, themeId: 1, limitId: 0
2022-12-21 10:52:19.780 - I/UI - >|H1:item:175722:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h ID: 7816 - CategoryId: 8, subcategoryId:153, themeId: 11, limitId: 0
So the categoryIds of the itemlinks are:
2, 8, 12, 13, 25

From what I understood from the MagicSorther code, and as explained below already, these categories should be already IN the category list IF your house uses any of these category's items alreedy. At least I do not see that any category is excluded except for the mounts etc. shown below in my other post.

So if these categories here do not show up I o not know how to add them, sorry.

Originally Posted by BalaCroft
Originally Posted by Baertram
All that I was able to find is a list of "non supported" categories and subcategories:
I think what might be wrong here. The addon was written when there was so not many furnishing categories.. So they are missing from Magic Sorter view where you select what will be in wich house (for example structures):


Here is a current structures list from housing editor, so quite many are missing:


So the addon won't sort the items in the categories I have not assigned to any house, because they are missing from the view where I decide what goes where.
The question is how the addon decides what to list in its view?

Also if we look the saved variables and I have assigned some gategories for this house:



So basically (to bypass the addon interface) I could just edit this saved variebles file and add the missing gategories to each house I want them to be sorted to? But I do not know the category numbers.

I have compared the Magic Sorter list and the Housing editorlist.
This should be all that are missing from addon:

Services:
music boxes
|H1:item:156554:6:1:0:0:0:0:0:0:0:0:0:0:0:65:0:0:1:0:0:0|h|h

Conservatory:
-Boulders and large rocks
|H1:item:130273:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
-Crystals
|H1:item:126632:4:1:0:0:0:0:0:0:0:0:0:0:0:1:0:0:1:0:0:0|h|h
-Dead wood
|H1:item:181587:3:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
-Ferns
|H1:item:120529:2:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
-Giant trees
|H1:item:121286:4:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
-Ice and Snow
|H1:item:134578:4:1:0:0:0:0:0:0:0:0:0:0:0:65:0:0:1:0:0:0|h|h
-Mushrooms
|H1:item:120574:3:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h

Hearth:
-Breads and desserts
|H1:item:159464:6:0:0:0:0:0:0:0:0:0:0:0:0:1:0:0:1:0:0:0|h|h
-Cookware
|H1:item:171360:4:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
-Laundry
|H1:item:175722:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
-Meats and Cheeses
|H1:item:165787:5:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
-Produce
|H1:item:118354:4:1:0:0:0:0:0:0:0:0:0:0:0:65:0:0:1:0:0:0|h|h

Parlor:
-Sofas and Couches
|H1:item:117719:4:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h

Structures:
-Building Components
|H1:item:139179:4:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
-Buildings
|H1:item:151859:6:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
-Doorways
|H1:item:145486:6:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
-Walls and Fences
|H1:item:139194:4:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
-Planks
|H1:item:117986:2:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
-Platforms
|H1:item:126123:5:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h

Suite:
-Bathing Goods
|H1:item:132162:6:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
Report comment to moderator  
Reply With Quote
Unread 01/02/23, 02:30 AM  
BalaCroft

Forum posts: 3
File comments: 27
Uploads: 0
Originally Posted by Baertram
So the categoryIds of the itemlinks are:
2, 8, 12, 13, 25

From what I understood from the MagicSorther code, and as explained below already, these categories should be already IN the category list IF your house uses any of these category's items alreedy. At least I do not see that any category is excluded except for the mounts etc. shown below in my other post.

So if these categories here do not show up I o not know how to add them, sorry.
I tried to wipe the saved variables and it did the trick, now the addon gets all the categories right!
I had done that before your fix but not after.
Thank you so much for looking into this!! Now the addon works again! <3 <3 <3
Sorry about not wiping the saved variables again, all other poeple who I knew used the addon,had the same problem as me, so I thought it was because of addon code not being updated.

***
So if your Magic Sorter doesn't show you all Categories and doesn't sort all furnishings, wipe the saved variables and its fixed!! And if you have not done so, install Baertrams fix for the drag and drop issue from post made 07/24/22
***
Report comment to moderator  
Reply With Quote
Unread 01/04/23, 03:07 AM  
IronDemon

Forum posts: 0
File comments: 3
Uploads: 0
Is it possible to change the binding of the F1 key in the inventory? I have AlphaGear tied to it, very inconvenient. There are no settings, the MSorter:InitializeKeybinds() function is not responsible for this.
Report comment to moderator  
Reply With Quote
Unread 01/29/23, 03:08 PM  
tomstock
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 20
Uploads: 4
Question Drag Drop Not Working

I can't seem to drag from the left side of the screen to the right side of the screen.
Report comment to moderator  
Reply With Quote
Unread 02/02/23, 06:04 PM  
IronDemon

Forum posts: 0
File comments: 3
Uploads: 0
Re: Drag Drop Not Working

Originally Posted by tomstock
I can't seem to drag from the left side of the screen to the right side of the screen.
Use "MagicSorter v21 - Fixed by Baertram"

Originally Posted by Baertram
Yeah, it was the tier/layer/level thing that was messed up.
Got it working again.
Will fix the house names to strip the ^N suffix too if possible and provide the fixed version here at the comments then.

MagicSorter v21 - Fixed by Baertram
-Updated API version
-Renamed txt file
-Removed string.lower comparison at event_add_on_loaded (unnecessary performance loss)
-Fixed house names to remove gender suffix like ^N -> If you had a house already in your SavedVars the name still shows wrong. You need to reset your savedvars to fix this.
-Fixed non clickable drag&drop category tag button
-Fixed non clickable remove category button

Donations as recompensation of my invested time (=less game time) are welcome, but not mandatory. Send them to EU or NA server, account @Baertram . Thank you very much.
Last edited by IronDemon : 02/09/23 at 05:58 PM.
Report comment to moderator  
Reply With Quote
Unread 02/09/23, 11:27 AM  
singer39

Forum posts: 0
File comments: 6
Uploads: 0
Re: Re: Drag Drop Not Working

Originally Posted by IronDemon
Originally Posted by tomstock
I can't seem to drag from the left side of the screen to the right side of the screen.
Use "MagicSorter v21 - Fixed by Baertram"
Where can i find it? The search turned up nothing.
Report comment to moderator  
Reply With Quote
Unread 02/26/23, 09:45 AM  
tseka

Forum posts: 5
File comments: 25
Uploads: 0
Re: Re: Re: Drag Drop Not Working

Originally Posted by singer39
Originally Posted by IronDemon
Originally Posted by tomstock
I can't seem to drag from the left side of the screen to the right side of the screen.
Use "MagicSorter v21 - Fixed by Baertram"
Where can i find it? The search turned up nothing.
ooops - I have the same problem. is the fixed addon version gone again?
Report comment to moderator  
Reply With Quote
Unread 05/15/23, 08:22 PM  
yachoor
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 64
Uploads: 1
Line 12 - GetNumFurnitureSubcategories should take categoryIndex instead of categoryId, I think - that's why some subcategories are missing and some items don't get placed anywhere...
Originally Posted by Baertram
...
Everything else should be added as valid categories and parent categories and subcategories so I'm not sure what is not working here?
Lua Code:
  1. function MSorter:GetFurnitureCategories()
  2.     if not self.furnitureCategories then
  3.         self.furnitureCategories = {}
  4.         local numCategories = GetNumFurnitureCategories()
  5.         for categoryIndex = 1, numCategories do
  6.             local categoryId = GetFurnitureCategoryId(categoryIndex)
  7.             if self:IsValidFurnitureCategory(categoryId) then
  8.                 local category = self:AddFurnitureCategory(categoryId)
  9.                 if category then
  10.                     local categoryId = category.id
  11.                     local categoryName = category.name
  12.                     local numSubcategories = GetNumFurnitureSubcategories(categoryId)
  13.                     for subcategoryIndex = 1, numSubcategories do
  14.                         local subcategoryId = GetFurnitureSubcategoryId(categoryIndex, subcategoryIndex)
  15.                         if self:IsValidFurnitureCategory(categoryId, subcategoryId) then
  16.                             self:AddFurnitureCategory(subcategoryId, categoryId, categoryName)
  17.                         end
  18.                     end
  19.                 end
  20.             end
  21.         end
  22.     end
  23.     return self.furnitureCategories
  24. end
...
Report comment to moderator  
Reply With Quote
Unread 06/02/23, 03:09 AM  
Vorkrunne

Forum posts: 0
File comments: 5
Uploads: 0
Re: Re: Drag Drop Not Working

Where do we find "MagicSorter v21 - Fixed by Baertram" ?

I can't drag any category from the left to the right.
Last edited by Vorkrunne : 06/02/23 at 03:10 AM.
Report comment to moderator  
Reply With Quote
Unread 06/02/23, 12:58 PM  
BalaCroft

Forum posts: 3
File comments: 27
Uploads: 0
Re: Re: Re: Drag Drop Not Working

Originally Posted by Vorkrunne
Where do we find "MagicSorter v21 - Fixed by Baertram" ?

I can't drag any category from the left to the right.
Scroll 4 posts down. Click the underlined MagicSorter v21 - Fixed by Baertram and your download will start.
Report comment to moderator  
Reply With Quote
Unread 06/02/23, 12:58 PM  
BalaCroft

Forum posts: 3
File comments: 27
Uploads: 0
Originally Posted by yachoor
Line 12 - GetNumFurnitureSubcategories should take categoryIndex instead of categoryId, I think - that's why some subcategories are missing and some items don't get placed anywhere...
Originally Posted by Baertram
...
Everything else should be added as valid categories and parent categories and subcategories so I'm not sure what is not working here?
Lua Code:
  1. function MSorter:GetFurnitureCategories()
  2.     if not self.furnitureCategories then
  3.         self.furnitureCategories = {}
  4.         local numCategories = GetNumFurnitureCategories()
  5.         for categoryIndex = 1, numCategories do
  6.             local categoryId = GetFurnitureCategoryId(categoryIndex)
  7.             if self:IsValidFurnitureCategory(categoryId) then
  8.                 local category = self:AddFurnitureCategory(categoryId)
  9.                 if category then
  10.                     local categoryId = category.id
  11.                     local categoryName = category.name
  12.                     local numSubcategories = GetNumFurnitureSubcategories(categoryId)
  13.                     for subcategoryIndex = 1, numSubcategories do
  14.                         local subcategoryId = GetFurnitureSubcategoryId(categoryIndex, subcategoryIndex)
  15.                         if self:IsValidFurnitureCategory(categoryId, subcategoryId) then
  16.                             self:AddFurnitureCategory(subcategoryId, categoryId, categoryName)
  17.                         end
  18.                     end
  19.                 end
  20.             end
  21.         end
  22.     end
  23.     return self.furnitureCategories
  24. end
...
Thank you so much! This fixed it!!! <3
Report comment to moderator  
Reply With Quote
Unread 06/11/23, 02:02 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 5014
File comments: 6067
Uploads: 78
MagicSorter v21 - Fixed by Baertram
-Updated API version
-Renamed txt file
-Removed string.lower comparison at event_add_on_loaded (unnecessary performance loss)
-Fixed house names to remove gender suffix like ^N -> If you had a house already in your SavedVars the name still shows wrong. You need to reset your savedvars to fix this.
-Fixed non clickable drag&drop category tag button
-Fixed non clickable remove category button
-Fixed categoryIds usage instead of needed categoryIndex -> Was not showing all categories

Donations as recompensation of my invested time (=less game time) are welcome, but not mandatory. Send them to EU or NA server, account @Baertram . Thank you very much.
Report comment to moderator  
Reply With Quote
Unread 07/09/23, 02:59 PM  
AshenDusk
 
AshenDusk's Avatar

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by Baertram
MagicSorter v21 - Fixed by Baertram
-Updated API version
-Renamed txt file
-Removed string.lower comparison at event_add_on_loaded (unnecessary performance loss)
-Fixed house names to remove gender suffix like ^N -> If you had a house already in your SavedVars the name still shows wrong. You need to reset your savedvars to fix this.
-Fixed non clickable drag&drop category tag button
-Fixed non clickable remove category button
-Fixed categoryIds usage instead of needed categoryIndex -> Was not showing all categories

Donations as recompensation of my invested time (=less game time) are welcome, but not mandatory. Send them to EU or NA server, account @Baertram . Thank you very much.
So, I came back looking for the updated one as Minion likes to revert mine to the broken one. I picked up this one, it is still missing a number of categories within the addon itself. But the panels work again. Is there a fix I am able to apply to the file to help it locate these categories again?

Because I love the addon and boy does it help sort thousands of furnishings a lot easier. But like, Mushrooms, structures, and various other things are still fubar. Sadly. =<
Report comment to moderator  
Reply With Quote
Unread 07/20/23, 05:06 AM  
BalaCroft

Forum posts: 3
File comments: 27
Uploads: 0
fix

Originally Posted by AshenDusk
Originally Posted by Baertram
MagicSorter v21 - Fixed by Baertram
-Updated API version
-Renamed txt file
-Removed string.lower comparison at event_add_on_loaded (unnecessary performance loss)
-Fixed house names to remove gender suffix like ^N -> If you had a house already in your SavedVars the name still shows wrong. You need to reset your savedvars to fix this.
-Fixed non clickable drag&drop category tag button
-Fixed non clickable remove category button
-Fixed categoryIds usage instead of needed categoryIndex -> Was not showing all categories

Donations as recompensation of my invested time (=less game time) are welcome, but not mandatory. Send them to EU or NA server, account @Baertram . Thank you very much.
So, I came back looking for the updated one as Minion likes to revert mine to the broken one. I picked up this one, it is still missing a number of categories within the addon itself. But the panels work again. Is there a fix I am able to apply to the file to help it locate these categories again?

Because I love the addon and boy does it help sort thousands of furnishings a lot easier. But like, Mushrooms, structures, and various other things are still fubar. Sadly. =<

Open magicsorter.lua with notepad.
Search for GetNumFurnitureSubcategories there is only one of it.
the code is:
local numSubcategories = GetNumFurnitureSubcategories(categoryId)

change to:
local numSubcategories = GetNumFurnitureSubcategories(categoryIndex)

so change (categoryId) to (categoryIndex) and now it should work.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: