Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(141 Kb)
Download
Updated: 10-16-14 06:35 PM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Siege of Orgrimmar (5.4)
Updated:10-16-14 06:35 PM
Created:unknown
Downloads:44,885
Favorites:505
MD5:

BankStack  Popular! (More than 5000 hits)

Version: 35
by: Kemayo [More]

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

Code:
/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

/bankstack -- show configuration
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
The reagent bank is -3. It's sort of special, but you can think of it as part of the bank.

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:

Code:
/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.

Planned Features:
  • Suggest something?

35:
  • 6.0
  • Work with the reagent bank
  • Stop a stall in the guild bank when merging stacks

33:
  • Sanity check on item detail fetching
  • Implement a /shuffle command for testing, to just completely mess up your bags
  • Attempt to retry moves. Most notably, if we find ourselves sitting there with an unlocked destination and an item on the cursor. Also attempt to retry a move which seems to have just been lost, though that's a bit more speculative.
  • Add some protection from an endless while loop when sorting
  • Abort if a move takes too long.
  • Account for battle pets. Use GetCursorInfo instead of HasCursorItem.

27:
  • Update for 5.0
  • Ignore whole bags by entering just a bagid into the ignore add/remove fields
  • Fix keybindings
  • Slashcommands now know how many arguments they expect, and will complain if they're not given

24:
  • Guild bank timing adjusted to avoid running into the throttler Blizzard added last week
  • New advanced options so you can tweak this timing yourself if it changes

23:
  • 4.2.
  • Assorted fixes and features; subtle bugs relating to sorting in the core bank bag, especially.

20-1:
  • Bug fixed: group-names including numbers were not being interpreted correctly. ("guild1" would try to sort bag 1.)
  • Potential nil error.

20:
  • TOC to 40000.
  • Smarter ordering of events when sorting a mix of bag types, to avoid extra moves if possible.
  • Change how the automatic actions happen to probably-avoid timing issues a few people complained of.
  • Finally fixed the false positive "you have to be at the bank" when not trying to sort your bank.
  • New localizations: esES, frFR, zhTW. deDE localization rather more thorough.

19b: Typo again. I suck.

19a: Typo!

19:
  • New options for automatically sorting/stacking/whatever when going afk and visiting the bank.
  • /sort and /compress can now accept multiple groups as arguments, and will sort/compress each one individually.
  • Anything referring to the "bank" group will automatically fall back on the guild bank group if you're at the guild bank.
  • Fixed lua error while filling in some cases
  • Fixed sorting of guild bank items in the not-currently-viewed tab

18:
  • Works in Cataclysm / PTR.
  • Profession bags are properly supported. Sorting will move items that can go into a specialty bag into one.
  • Huge sorts are less jerky
  • Some guild bank glitches fixed
  • /fill respects your order setting

17:
  • Bump ye-olde-TOC
  • Fix options opening problem because of change in Ace3
  • Fix guild bank sorting when addons like Bagnon which suppress the default guild bank UI are installed.
  • Fix apparently long-existing bug with compressing which caused "confused!" aborts if a single stack could be moved into more than one partial stack.
  • Show number of moves remaining in the broker plugin. (Mainly useful for guild bank, since everything else happens so quickly.)

14:
  • Bump ye-olde-TOC
  • LibDBIcon included so that people without a broker display will have a minimap icon

13:
  • Bump ye-olde-TOC

12 (r126):
  • Make the default DB profile not be per-char.
  • Add ruRU, zhCN, deDE, koKR localizations.
11 (r119):
  • It's been six months... bump that TOC!
  • Switch it to a LDB dataobject instead of a FuBar plugin. (Use Broker2FuBar if you want to get it into FuBar.)
  • Fix some bugs with ignoring and groups.
10 (r79704):
  • Option to move soulbound items to the front.
  • Broke out the FuBar plugin into its own addon. (And actually embed all the FuBar libs, which means it'll reliably show up on FuBar.)
  • "Tiny adjustment which stops the sorter from crashing when comparing two 'unknown typed' items." --grum
  • Use AceDB-3.0. It's nice.
9 (r57701): Click actions on the fubar plugin are now configurable. Guild bank tabs are allowed in custom groups.
8 (r55972): Sorting junk to the back was broken by a typo; fixed.
7 (r55665): Sorting now fills stacks in profession bags if possible. General optimization.
6 (r55583):
  • Sorting now matches the Auction House categories.
  • Guild bank support is much more permissive (it's your own job to make sure you have enough withdrawals)
  • "Reverse sort" option
  • Add default groups for each guild bank tab (guild1 ... guild6)
  • Sorting conjured items to the back is massively sped up
  • FuBar plugin now works if you don't have Rock (also, icon)
  • Rewrote the config system, let it work with a right-click on the FuBar plugin
5 (r54956): Guild bank support, /fill, conjured items to the back.
4 (r54574): Update the TOC for 2.3.
3 (r54306): Ignores, custom groups, optimized moves.
2 (r53814): Sorting now compresses the bags first, and will sort specialty bags separately.
1: Initial
Optional Files (0)


Archived Files (16)
File Name
Version
Size
Author
Date
33
140kB
Kemayo
07-29-14 02:35 PM
27
139kB
Kemayo
09-01-12 02:37 AM
24
138kB
Kemayo
10-30-11 08:01 AM
23
137kB
Kemayo
08-12-11 09:58 AM
20-1
137kB
Kemayo
10-14-10 02:02 AM
20
137kB
Kemayo
10-11-10 11:26 PM
19b
134kB
Kemayo
10-10-10 11:03 PM
19a
134kB
Kemayo
10-09-10 02:25 PM
19
134kB
Kemayo
10-05-10 12:38 AM
18
132kB
Kemayo
10-01-10 01:24 AM
17
133kB
Kemayo
01-24-10 07:38 PM
14
124kB
Kemayo
08-12-09 01:22 AM
13
116kB
Kemayo
04-15-09 09:49 PM
12
106kB
Kemayo
04-02-09 07:30 PM
11
100kB
Kemayo
02-24-09 04:32 AM
10
106kB
Kemayo
08-02-08 11:35 PM


Post A Reply Comment Options
Unread 01-19-09, 06:47 PM  
FarseerLolotea
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 110
Uploads: 2
Originally posted by khangg
Taken from the addon description:

Knowing that we can give examples of how to ignore something.

Code:

/bankstack ignore add 0 1

This would ignore slot 1 of bag 0 -- the first slot in your backpack.

Just ignore the few slots and you're good
If that's the exact code, the problem is that it doesn't seem to work.
Last edited by FarseerLolotea : 01-19-09 at 06:48 PM.
FarseerLolotea is offline Report comment to moderator  
Reply With Quote
Unread 02-22-09, 05:32 AM  
vabeachdave
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Thank you for this addon. I'll name my first born after you.

Snif!
vabeachdave is offline Report comment to moderator  
Reply With Quote
Unread 03-02-09, 01:03 PM  
Ashiman
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
fucked up addon... it had thrown out my hawk strider 100% and sword from Onixia with Krusader...and lots of herbd...i am dissapointed
Ashiman is offline Report comment to moderator  
Reply With Quote
Unread 03-02-09, 06:50 PM  
duhwhat
A Cyclonian

Forum posts: 48
File comments: 226
Uploads: 0
ignore still not functional for me.
duhwhat is offline Report comment to moderator  
Reply With Quote
Unread 03-04-09, 10:16 PM  
poofygoof
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
got a workaround

Originally posted by duhwhat
ignore still not functional for me.
after reading the source, I did the following:

/run BankStack.db.ignore[BankStack.encode_bagslot(0,1)] = true

to ignore the first slot of my backpack. substitute 0 and 1 with your bag and slot numbers, respectively.

a workaround, to be sure, but it works for me...
poofygoof is offline Report comment to moderator  
Reply With Quote
Unread 03-16-09, 12:27 PM  
Aesir
An Aku'mai Servant
 
Aesir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 148
Uploads: 1
BankStack 3.0b1 stumbles a bit trying to stack/compress clams. (update: clam contents may be a blizz issue - a WoW 3.1 PTR patchnote references clam stacking being 'fixed'). Once you open the clams and get the juicy meats contained therein, you have to repeatedly compress in order to stack the sweet, juicy clam meat. Unless I'm doing it wrong.

I'd like to see group/sort functionality fine-tuned (or documented). It doesn't appear to group by item type then have any pattern I've been able to discern within a given group. Example: If you have x number of different types of herbs or some other crafting material, I've not figured out how it determines the sort order within that crafting material type. Does it sort within item type?

Any pointers?

Originally posted by Ashiman
****ed up addon... it had thrown out my hawk strider 100% and sword from Onixia with Krusader...and lots of herbd...i am dissapointed
You probably hid a bag or two and didn't realize it. Try again.
__________________
-- ęsir
Last edited by Aesir : 03-31-09 at 10:32 AM.
Aesir is offline Report comment to moderator  
Reply With Quote
Unread 04-06-09, 03:27 PM  
cawfee
An Aku'mai Servant
 
cawfee's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 94
Uploads: 1
Is there a way to have BankStack sort items from the bottom up? I use Bagnon to display my inventory and always keep the top rows clear so I can easily spot new things I pick up, any way of making it do that?

Update:
Asking before actually trying it, silly me. The Reverse function works perfectly <3 thank you for this great addon.
Last edited by cawfee : 04-06-09 at 03:31 PM.
cawfee is offline Report comment to moderator  
Reply With Quote
Unread 04-16-09, 12:08 PM  
Spectro
A Flamescale Wyrmkin
 
Spectro's Avatar

Forum posts: 141
File comments: 16
Uploads: 0
Any chance of BankStack sorting a guild bank in the future?
Spectro is offline Report comment to moderator  
Reply With Quote
Unread 04-16-09, 01:13 PM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 128
Uploads: 11
It already does -- type: /sort guild{tabnumber}

It's much slower, mind you, because moving things in the guild bank can't be batched like your bags can.

Originally posted by Spectro
Any chance of BankStack sorting a guild bank in the future?
Kemayo is offline Report comment to moderator  
Reply With Quote
Unread 04-17-09, 06:57 PM  
Aesir
An Aku'mai Servant
 
Aesir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 148
Uploads: 1
Inventory Slot Numbers

Been working on trying to customize the group/sorting and have been meaning to ask this for a while:

In sort.lua we have:
Code:
local inventory_slots = {
    INVTYPE_AMMO = 0,
<snip>
    INVTYPE_2HWEAPON = 16,
    INVTYPE_WEAPONMAINHAND = 18,
    INVTYPE_WEAPONOFFHAND = 19,
<snip>
I note that 17 has gone missing. So I wanted to find out if 17 was special or something. I found this page, which while an official source, may be outdated or inaccurate as far as the table shown for inventory slot numbers:
http://www.wow-europe.com/en/info/ba...de/page01.html

It lists 17 as the off-hand slot, but that's different from what we see in BankStack. If you can shed light on the inventory slot numbers, I'd appreciate it.
__________________
-- ęsir
Last edited by Aesir : 04-17-09 at 06:59 PM.
Aesir is offline Report comment to moderator  
Reply With Quote
Unread 04-17-09, 08:09 PM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 128
Uploads: 11
Re: Inventory Slot Numbers

Originally posted by Aesir
Been working on trying to customize the group/sorting and have been meaning to ask this for a while:

In sort.lua we have:
Code:
local inventory_slots = {
    INVTYPE_AMMO = 0,
<snip>
    INVTYPE_2HWEAPON = 16,
    INVTYPE_WEAPONMAINHAND = 18,
    INVTYPE_WEAPONOFFHAND = 19,
<snip>
I note that 17 has gone missing. So I wanted to find out if 17 was special or something. I found this page, which while an official source, may be outdated or inaccurate as far as the table shown for inventory slot numbers:
http://www.wow-europe.com/en/info/ba...de/page01.html

It lists 17 as the off-hand slot, but that's different from what we see in BankStack. If you can shed light on the inventory slot numbers, I'd appreciate it.
Sure, I can help here. Those aren't actually the inventory slot numbers -- they're just arbitrary numbers that represent the order I want those types to sort in.

That table is only used in the default_sorter function, where it does:

Code:
local a_equipLoc = inventory_slots[a_equipLoc] or -1
local b_equipLoc = inventory_slots[b_equipLoc] or -1
if a_equipLoc == b_equipLoc then
    ...
else
    ...
end
The inventory slots as returned by GetItemInfo are actually "INVTYPE_2HWEAPON", and so forth.

So! If you want to customize the sorting, all you need to do is make it so that the item_types, item_subtypes, and inventory_slots tables are stored in the DB and have a GUI for editing 'em. (I like the current approach taken by build_sort_order -- it means that no localization has to be done. I'd still want the defaults built that way.)

If you submit a patch that does that, I'll include it. Otherwise, well, it's been on my todo list since I wrote this.
Last edited by Kemayo : 04-17-09 at 08:10 PM.
Kemayo is offline Report comment to moderator  
Reply With Quote
Unread 04-19-09, 03:51 AM  
evo3gsx
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
cant seem to get this to show on my mini map nor on fubar, any suggestions?
evo3gsx is offline Report comment to moderator  
Reply With Quote
Unread 04-19-09, 10:39 AM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 128
Uploads: 11
Originally posted by evo3gsx
cant seem to get this to show on my mini map nor on fubar, any suggestions?
If you want it to show up on Fubar, you'd need to install Broker2Fubar
Kemayo is offline Report comment to moderator  
Reply With Quote
Unread 04-27-09, 09:27 AM  
nkay
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
i like this addons because it has the original bag frames but the sorting is weird.. it will be better if you can config the sorting inside the game like gear/mats/quest/etc .... everyone will use it if u do that
nkay is offline Report comment to moderator  
Reply With Quote
Unread 05-04-09, 05:56 PM  
Alarisha
A Murloc Raider
 
Alarisha's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 304
Uploads: 1
Sweet

Holy tauren paladins, BankStack is fast! I've just swapped from Mr Plow, and... well. Nice! :P
Alarisha is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.