Download
(139 Kb)
Download
Updated: 09-01-12 02:37 AM
Pictures
File Info
Compatibility:
Mists of Pandaria (5.0.4)
Updated:09-01-12 02:37 AM
Created:unknown
Downloads:43,101
Favorites:504
MD5:
BankStack  Popular! (More than 5000 hits)
Version: 27
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

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?
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 (14)
File Name
Version
Size
Author
Date
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 06: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 03:32 AM
10
106kB
Kemayo
08-02-08 11:35 PM


Post A Reply Comment Options
Old 01-10-10, 04:56 PM  
tkoreaper
Premium Member
Premium Member

Forum posts: 8
File comments: 13
Uploads: 0
Sometimes when I sort my bags, it equips items. It gets really annoying when I find several gray items equipped.
tkoreaper is offline Report comment to moderator  
Reply With Quote
Old 12-29-09, 06:27 PM  
Annyonne
An Aku'mai Servant

Forum posts: 30
File comments: 63
Uploads: 0
guild bank problem?

Love the auto-sort
Love it more since you mentioned /sort guild in this message board.

I ran into a problem tonight, though. I tried to sort the guild bank and got a message:

"Internal guild error."

I'm not out of move slots - I'm the GM. No other guild mates are online.
PS - second the X / Y moves remaining message.
Maybe spam the chat every 5, 10, or 20 moves?
Maybe incorporate a progress bar?

The status update is only needed for the guild bank... player's inventory and bank space are limited enough that BankStack needs only seconds to finish its sort.
Annyonne is offline Report comment to moderator  
Reply With Quote
Old 12-29-09, 05:41 AM  
ancaly
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
hi,
i love the addon.
but since 3.3 it's kind of bugged.
My bank-containers are inscription and netherweave bags.
on my char there is one inscription bag, rest is nether....

normaly there are just glyphs to move.
when i use /fill bank bags only the bagpack and the glyphbag are filled. the normal bags are unused...

lets sya i put 20 other things in my bank, then on my char the backpack, the glyph bag and 20 other inventoryslots are taken.

i use /fill bags bank and i have 20 glyphs left in my char's inventroy.

no other addons are used....
ancaly is offline Report comment to moderator  
Reply With Quote
Old 12-22-09, 09:15 AM  
Gooofy
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Is it possible for you to implement sorting of Guild Bank into the GUI?

Lots of people miss the guild bank sorting functions because there is no GUI for it.
Last edited by Gooofy : 12-22-09 at 09:18 AM.
Gooofy is offline Report comment to moderator  
Reply With Quote
Old 12-19-09, 05:06 AM  
essmene
A Murloc Raider

Forum posts: 4
File comments: 28
Uploads: 0
Would it be possible to show the number of pending moves / total moves in the addon text ?

Instead of
+----------------+
| Bankstack |
+----------------+

+----------------+
| Guild1 80/250 | {Name} {Completed or left over moves} / {total move count}
+----------------+
essmene is offline Report comment to moderator  
Reply With Quote
Old 12-16-09, 08:40 AM  
FarseerLolotea
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 110
Uploads: 2
Seems to be working more or less fine with 3.3, provided I update the TOC file. Anyone having trouble with it?
FarseerLolotea is offline Report comment to moderator  
Reply With Quote
Old 12-06-09, 08:19 PM  
Recluse
A Cliff Giant
 
Recluse's Avatar
AddOn Author - Click to view AddOns

Forum posts: 70
File comments: 112
Uploads: 14
Originally posted by Kemayo
It's already there. Just type "/sort guild1" (or 2, or 3, or whatever tab you want sorted.)
Any way we could get this listed on the description page and/or in-game help? Would make it easier to figure out what it is that needs to be typed Thanks.
__________________
We'd be together, but only diamonds last forever...
Recluse is offline Report comment to moderator  
Reply With Quote
Old 11-22-09, 10:31 AM  
Kupotek
A Deviate Faerie Dragon
 
Kupotek's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 1083
Uploads: 7
Re: Re: progress bar

It might be better to just have it stack one tab at a time, or an option to make it do so.
__________________
KittyUI | My Home on the Web
Kupotek is offline Report comment to moderator  
Reply With Quote
Old 11-22-09, 10:25 AM  
essmene
A Murloc Raider

Forum posts: 4
File comments: 28
Uploads: 0
Re: progress bar

Originally posted by essmene
Would it be possible to setup a progress bar for the pending moves for the guild bank ? (maybe with an estimated time).

Sometimes i don't know if it's stuck or still working and how long it will need to compete sorting 8 guild bank tabs.
essmene is offline Report comment to moderator  
Reply With Quote
Old 11-21-09, 07:58 AM  
Politig
A Chromatic Dragonspawn
AddOn Compiler - Click to view compilations

Forum posts: 164
File comments: 419
Uploads: 1
Originally posted by Politig
Hello,

Is it possible to change the order in which the addon sorts bags? It puts my quest items at the end, which I don't like. I've searched the config and can't find it either. Is it in the LUA?

Thanks!
Politig is offline Report comment to moderator  
Reply With Quote
Old 11-17-09, 10:32 PM  
Kupotek
A Deviate Faerie Dragon
 
Kupotek's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 1083
Uploads: 7
Originally posted by FarseerLolotea
It's giving me the following error message when I try to use it on the PTR:



Just a heads-up.

Good to know, thanks.
__________________
KittyUI | My Home on the Web
Kupotek is offline Report comment to moderator  
Reply With Quote
Old 11-17-09, 10:29 PM  
FarseerLolotea
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 110
Uploads: 2
It's giving me the following error message when I try to use it on the PTR:



Just a heads-up.
FarseerLolotea is offline Report comment to moderator  
Reply With Quote
Old 11-16-09, 03:12 PM  
Politig
A Chromatic Dragonspawn
AddOn Compiler - Click to view compilations

Forum posts: 164
File comments: 419
Uploads: 1
Hello,

Is it possible to change the order in which the addon sorts bags? It puts my quest items at the end, which I don't like. I've searched the config and can't find it either. Is it in the LUA?

Thanks!
Politig is offline Report comment to moderator  
Reply With Quote
Old 10-20-09, 10:16 AM  
C.D
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Macro button

Great addon. I'm just wondering if it's possible to somehow bind the crafting queue to a key so that when I push it, the item on top of the list is processed?
Would be of great help. Thanks
C.D is offline Report comment to moderator  
Reply With Quote
Old 10-02-09, 11:22 PM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 128
Uploads: 11
Like I said, that's what it does. It knows the current state of the bags, and from that a new state is created. It then works out a list of moves that need to be made, and finally executes those moves.

The problem is just that it needs to be smarter about building the list of moves.

Originally posted by brontes
The idea is to have a current and a endstate before making any physical moves. Once you've got those, step through each slot and don't move current[slot] if current[slot] == endstate[slot].

If you know what your final end state looks like, could you not just skip any swap that would move an item that is already where endstate says it should be?

The idea being that you do the ugly stuff (moving the one space around a bunch of times to put it at the end) in memory, then just make sure the actual movement is not displacing an item already in its proper slot.

Briefly looking over the code you pointed out, you're doing multiple passes on what I'm guessing is actual movement of items. (I'm not certain of this.) I'm suggesting internalizing all this and then doing the physical movement. If you've got two tables, one unsorted and one sorted, you'll only need one pass of actual in-game item movement (the "expensive" part of the function) to put each item into its correct slot.

Its 1am and I'm probably rambling and/or vastly confused. Apologies.
Kemayo 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.