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.
Message: [string "BANKSTACK"]:1: attempt to call field 'BankStack' (a nil value)
Time: 03/15/11 19:55:05
Count: 4
Stack: [C]: in function `BankStack'
[string "BANKSTACK"]:1: in function <[string "BANKSTACK"]:1>
Locals:
Quote:
There's an experimental faster guild-bank mode which you can enable by typing:
/script BankStack.db.conservative_guild = false
Is a release coming to add these new commands?
I recomend using Notepad++, as it will give you a much better layout to read .lua with.
Simple search for 56 and you will find the following section, modify it to add in the two extra bags so it looks like what I have posted below. Tested and works fine on Tab 7, i don't have Tab 8 yet but I'd bet it'll work.
local function is_guild_bank_bag(bagid)
-- Note that this is an artificial slot id, which we're using internally to trigger usage of guild bank functions.
-- Guild bank slots are: 51, 52, 53, 54, 55, 56, 57, 58.
-- I couldn't find a constant for the maximum number of guild bank tabs; it's currently 8.
return (bagid > 50 and bagid <= 58)
end
core.is_guild_bank_bag = is_guild_bank_bag
local core_groups = {
bank = bank_bags,
bags = player_bags,
all = all_bags,
guild = guild,
guild1 = {51,},
guild2 = {52,},
guild3 = {53,},
guild4 = {54,},
guild5 = {55,},
guild6 = {56,},
guild7 = {57,},
guild8 = {58,},
}
Right now i use Bagnon and when I sort it puts the incomplete stacks at the top so if i got loads of ore, the near full stack is at the top. Is there anyway for me to configure it so it puts the incomplete stacks at the buttom?
I tried backfill but it doesn't switch them around.
Thank you
I use BankStack to sort my guild bank. I noticed that the sorting method isn't quite what I'd like. I'd like it to sort by the Class of an item, then move to the next class. So, it would see group all "Trade Goods - Metal & Stone" together, and then group "Trade Goods - Cloth" together, etc. It would just make things a lot more simplified in my guild bank. Just not sure if anyone knows how to edit the .lue to make it work, or if the author is still around to help out!
Can you add support for guild bank tabs 7 and 8?
Thanks!
Making a visual, user friendly and idiot proof way of configuring your preferred sorting arrangement. What I had in mind is this: you place things in your bag/bank whichever way you want them to be arranged (perhaps in a special ''config menu''), then press ''save'' and your setting would be saved.
I don't know if I'm asking for a hell of a lot of work on your part; I just think that such an addon would rock, and would be much more intuitive and user friendly.
2ndly: is there a way to make OneStack drop items of which I have more than one in my bank, but no other? and then pick them up when I have none in my bags?
Yes, I have the latest, greatest version & have uninstalled & re-installed it previously in an attempt to make this work since managing the guild bank was my primary interest. My New Year's resolution is to finally dump addons that don't behave or work for what I need. ;)
/script BankStack.db.conservative_guild = false
Once that is completed, open the guild bank and treat it as you would your personal bank - using the same slash commands.
Thanks
Would be spiffy if you could create a clickable ignore feature. where we open our bags. click ignore, then click the bag(s)/slot(s) we wish to ignore.
I thought I could create a group to ignore but that didn't work.