Replicates part of the retail bag sorting API for classic
/run SortBags() -- Sort bags
/run SortBankBags() -- Sort bank
/run SetSortBagsRightToLeft(Boolean) -- Set sort direction
/run GetSortBagsRightToLeft(): Boolean -- Get sort direction
/run SetBagSlotFlag(bagId, LE_BAG_FILTER_FLAG_IGNORE_CLEANUP, Boolean) -- Set bag ignore status - bagId in (1, 2, 3, 4), doesn't work for main bag
/run GetBagSlotFlag(bagId, LE_BAG_FILTER_FLAG_IGNORE_CLEANUP): Boolean -- Get bag ignore status
/run SetBankBagSlotFlag(bagId, LE_BAG_FILTER_FLAG_IGNORE_CLEANUP, Boolean) -- Set bag ignore status - bagId in (1, 2, 3, 4, 5, 6), doesn't work for main bank bag
/run GetBankBagSlotFlag(bagId, LE_BAG_FILTER_FLAG_IGNORE_CLEANUP): Boolean -- Get bag ignore status
How can i use this addon i couldnt make it
In reply to TyraelKing:
With the commands listed in the description. The simplest way to run it with default settings:
/run SortBags()
/run SortBankBags()
hello! addon still tryin to insert mote of life into herbal bag.causing message: only herbs can be put here
version v2.1.2
It doesn't work with engineering bags and I would assume other new profession bags as well.
In reply to RidingNerdy:
added support for all the new special bags
In reply to simon_hirsig:
I appreciate you noting the issue, but it still doesn't work. After updating using the bank sort command still moves items out of the Mining and Engineering bags and doesn't put anything in them.
In reply to RidingNerdy:
There was a small bug, fixed now
Can't seem to get this command to work:
/run SetBagSlotFlag(4, LE_BAG_FILTER_FLAG_IGNORE_CLEANUP, Boolean)
It results in this error:
The sortbag function does not work anymore with quiver and new ammos
i did but i must have broken it the first time around added all new ammo and all new ammo bags from tbc and it seems to work now
-- arrow
{
containers = {2101, 5439, 7278, 11362, 3573, 3605, 7371, 8217, 2662, 19319, 18714, 34105, 34100, 29144, 29143},
items = set(2512, 2515, 3030, 3464, 9399, 11285, 12654, 18042, 19316, 28053, 28057, 24412, 31949, 30611, 30319, 24417, 33803, 34581),
},
-- bullet
{
containers = {2102, 5441, 7279, 11363, 3574, 3604, 7372, 8218, 2663, 19320, 34106, 34099, 29118},
items = set(2516, 2519, 3033, 3465, 4960, 5568, 8067, 8068, 8069, 10512, 10513, 11284, 11630, 13377, 15997, 19317, 28060, 23773, 23772, 31735, 34582, 28061, 32882, 32883, 30612, 31737),
},
if anyone wants to add them as well
New Bankslot: Line 7 => BANK_BAG_CONTAINERS = {-1, 5, 6, 7, 8, 9, 10, 11}
In reply to der_Sebe:
Added, thanks.
Found a bit of a bug in the TBC release as whenever i run the sorting command it keeps putting the new hunter ammo added in the patch in my normal bags instead of the ammo bag i tried to manually add them to the addon but it did not seem to work.
In reply to Kirah__:
Did you try to add the itemid on line 89?
items = set(2512, 2515, 3030, 3464, 9399, 11285, 12654, 18042, 19316, 28053),
28053 for Wicked Arrow
https://tbc.wowhead.com/item=28053/wicked-arrow
Can you please add an option to fill each bag from top to bottom instead of bottom to top like it is now?
For example here: https://imgur.com/a/WXw2Fjp
The items are in the correct bag, I'd just like the order in each bag to be reverted. In bag 2 and 3, you can see that the candles are exactly opposite to each other. If the sort order for each bag was reverted, the candles from bag 2 would follow those in bag 3.
Thank you for this addon
Just added classes reagents, wanna share
Use this on multiple characters and it works, however on some of my characters the sorting is very fast and the others is very slow, not sure what's causing it. The slow one is my bank alt with almost no addons running.
In reply to Zinterax:
The speed is determined by how quickly the server processes the item moves, which will usually be slower in a crowded area.
Hello,
Used that before but I have a problem on classic
How could I suggest it to let all craft components or equipment in one specific bag ? Think I could do that before
Thank you!
In reply to Forge_User_35073957:
This was never supported by this addon.