BankStack
BankStack is the leading cause of things moving in your bags and bank.
It:
- sorts your inventory, bank, or guild bank
- fills incomplete stacks in your bank with items from your inventory
- compresses your bags by filling incomplete stacks within them
- puts a chicken in every pot, and pot in every chicken
Quick command reference:
/bankstack
: show configuration/sort
: rearrange your bags/sort bank
: rearrange your bank/stack
: fills stacks in your bank from your bags/stack bank bags
: fills stacks in your bags from your bank/stack {group1} {group2}
: fills stacks in group2 from group1/compress
: merges stacks in your bags/compress bank
: merges stacks in your bank/compress {group}
: merges stacks in group/fill
: fill empty slots in your bank from your bags/fill {group1} {group2}
: fill empty slots in group2 from group1
In the /bankstack configuration you'll find sections for "ignore" and "groups". Here's a bit of elaboration on the syntax for those parts.
You need, regrettably, to hear about bag ids first. Each bag has a number which addons use to interact with it.
Your bags are: 0, 1, 2, 3, 4 Your bank is: -1, 5, 6, 7, 8, 9, 10, 11 Your guild bank is: 51, 52, 53, 54, 55, 56, 57, 58
To ignore slot 1 of bag 0, the first slot in your backpack, go to the "ignore" panel and put "0 1" into the textfield and click "okay".
Groups are similar. Let's say that you're a herbalist, and only want to do some things to your herb bags.
You could put this into the "groups" textbox: herbs 3,4 Or this: bankherbs 10,11
You now have two custom groups, herbs and bankherbs. Presumably you keep massive herb bags in slots 3 and 4, and are making lots of money from this because you have the two most expensive bank slots as well (10 and 11).
Having created these groups you could:
/stack herbs bankherbs
Which would fill up stacks in your bank herb bags from stacks in your personal herb bags.
Predefined groups are: bank, bags, guild, all, and a few more. Click the "list" button in the groups config to see these.
In reply to BaIIista:
thank you. This worked without any issues.
In reply to BaIIista:
спасибо бро очень помог!
In reply to BaIIista:
Thanks bro really helped!
In reply to BaIIista:
Well appreciated! Can't understand why there aren't functional alternatives to this addon, but really glad to get this working.
It looks like the author hasn't been active since Nov 2019.
Does anyone know of an alternative?
now not work stuck and freeze, addon cant identify new items value, i think need update.
2x BankStack\sort.lua:104: attempt to call global 'GetAuctionItemSubClasses' (a nil value)
[string "@BankStack\sort.lua"]:104: in function <BankStack\sort.lua:83>
[string "@BankStack\sort.lua"]:284: in function 'Sort'
[string "@BankStack\sort.lua"]:37: in function <BankStack\sort.lua:12>
[string "@BankStack\core.lua"]:500: in function '?'
[string "@BankStack\ldb.lua"]:68: in function 'OnClick'
[string "@Alts\Libs\LibDBIcon-1.0\LibDBIcon-1.0-43.lua"]:144: in function <...ace\Alts\Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:142>
Hmm, first sort will result in a client freeze and then 40k moves. Abort this as soon as you can and the next is ~100 moves.
Edit - tested on a level 15 with backpack +1 bag (26 slots total) and 9 items. First sort is 8001 moves. >.<
In reply to Jabberie:
How exactly do you abort the glitchy sort, so you can run the second one?
In reply to Forge_User_87679168:
Hitting the button again aborts.
In reply to websterguy:
Button? What about if you only use /sort
Running /sort again doesn't work to abort it. Any idea what the button sends?
Date: 2020-01-14 16:33:42
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\BankStack\sort.lua line 104:
attempt to call global 'GetAuctionItemSubClasses' (a nil value)
Debug:
[string "@BankStack\sort.lua"]:104:
BankStack\sort.lua:83
[string "@BankStack\sort.lua"]:284: Sort()
[string "@BankStack\sort.lua"]:43:
BankStack\sort.lua:12
[string "@BankStack\core.lua"]:505: ?()
[string "@BankStack\ldb.lua"]:68:
BankStack\ldb.lua:56
[string "@Titan\LDBToTitan.lua"]:273:
Titan\LDBToTitan.lua:271
Locals:
auction_classes = <table> {
1 = 2
2 = 4
3 = 1
4 = 3
5 = 8
6 = 0
7 = 16
8 = 7
9 = 9
10 = 17
11 = 12
12 = 15
}
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
1 = 2
2 = 4
3 = 1
4 = 3
5 = 8
6 = 0
7 = 16
8 = 7
9 = 9
10 = 17
11 = 12
12 = 15
}
(for control) = 1
i = 1
itype = 2
itype_name = "Weapon"
(*temporary) = <function> defined =[C]:-1
(*temporary) = <table> {
}
(*temporary) = nil
(*temporary) = 2
(*temporary) = "attempt to call global 'GetAuctionItemSubClasses' (a nil value)"
item_types = <table> {
2 = 1
}
item_subtypes = <table> {
2 = <table> {
}
}
For those with 8.3 errors, you can do the following below. It seems to work.
You can open the sort.lua file and replace the following
for ii, istype in ipairs({GetAuctionItemSubClasses(itype)}) do
with
for ii, istype in ipairs({C_AuctionHouse.ReplicateItems(itype)}) do
Thank you that worked :)
In reply to masumia:
Yes! Thank you!
Seems to be a bug with 8.3, please fix if you can! Thank you
It's sorting keys out of keyring back to bag in Classic. Also some reverse issue happening.
In classic, when I sort my bank, it fills the second bag (bag 6) first, then fills the rest in order (as far as I can tell). If I reverse the sort, it fills bag 7 instead.
Ever since I added an Enchanting bag to my bank to hold enchanting mats, the addon stops with a confused error when I try to sort the bank. How do I get it to work with this ?
In reply to mixplit:
Just happened to me too. It was trying to put [The Scarlet Key] (from Scarlet Monastery) into the Enchanting bag for some reason.. I just put the key in a specific slot and added it to ignore (it's my second bag, not including the free bank content, 12th slot, so I added 6 12 to ignore) works fine now.