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:45,028
Favorites:504
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 10-20-10, 11:37 AM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 128
Uploads: 11
I think I've tracked down that this only occurs when the option to sort soulbound items to the front is turned on. Can you turn it off and confirm that the problem stops?

Originally posted by Gandoch
I pretty much went through my bank and took out any group of items that seemed out of place and tried sorting again... and still never achieved perfection.

I have sorted all my individual bank bags to perfection, though, only to have /sort bank throw everything around again. I have a series of screenshots I could put together if you think that may be helpful.
Kemayo is offline Report comment to moderator  
Reply With Quote
Unread 10-19-10, 10:06 PM  
Gandoch
A Wyrmkin Dreamwalker
 
Gandoch's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 27
Uploads: 1
I pretty much went through my bank and took out any group of items that seemed out of place and tried sorting again... and still never achieved perfection.

I have sorted all my individual bank bags to perfection, though, only to have /sort bank throw everything around again. I have a series of screenshots I could put together if you think that may be helpful.
Last edited by Gandoch : 10-19-10 at 10:07 PM.
Gandoch is offline Report comment to moderator  
Reply With Quote
Unread 10-18-10, 08:20 PM  
Gandoch
A Wyrmkin Dreamwalker
 
Gandoch's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 27
Uploads: 1
Originally posted by Kemayo
If you feel ambitious you could remove things from your bank until you're left with the smallest possible set of items that cause it to never be happy with how it's sorted.
I'll take a stab at it, but probably not until tomorrow. Full bank of 22 slot bags should be interesting...
Gandoch is offline Report comment to moderator  
Reply With Quote
Unread 10-18-10, 06:07 PM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 128
Uploads: 11
If you feel ambitious you could remove things from your bank until you're left with the smallest possible set of items that cause it to never be happy with how it's sorted.

Originally posted by Gandoch
Submitted a bug way back (r17, maybe?) about getting a different sort on my bank every time I run it. I'm not getting any Lua errors, just different results each time I run /sort bank. Any specific information you could use?
Kemayo is offline Report comment to moderator  
Reply With Quote
Unread 10-18-10, 05:38 PM  
Gandoch
A Wyrmkin Dreamwalker
 
Gandoch's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 27
Uploads: 1
Submitted a bug way back (r17, maybe?) about getting a different sort on my bank every time I run it. I'm not getting any Lua errors, just different results each time I run /sort bank. Any specific information you could use?
Last edited by Gandoch : 10-18-10 at 05:39 PM.
Gandoch is offline Report comment to moderator  
Reply With Quote
Unread 10-14-10, 08:28 PM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 128
Uploads: 11
I fixed that up in 20-1.

Originally posted by pontelon
Either from the last update, or 4.0.1, the command:
/sort guild1
and such, does not work. None of the guild numbers did. I checked the Group List and it still correctly has them...I figured out a work-around by using the command:
/sort 51
And such.
Not sure why this is happening, but I figured I'd report it.

This is one of the few addons that I would call a "game-changer". I don't think I could live without it, thank you very much for an amazingly simple but effective addon.
Kemayo is offline Report comment to moderator  
Reply With Quote
Unread 10-13-10, 10:09 PM  
pontelon
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Either from the last update, or 4.0.1, the command:
/sort guild1
and such, does not work. None of the guild numbers did. I checked the Group List and it still correctly has them...I figured out a work-around by using the command:
/sort 51
And such.
Not sure why this is happening, but I figured I'd report it.

This is one of the few addons that I would call a "game-changer". I don't think I could live without it, thank you very much for an amazingly simple but effective addon.
pontelon is offline Report comment to moderator  
Reply With Quote
Unread 10-12-10, 08:28 PM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 128
Uploads: 11
Could you double-check that you have the latest version? The line numbers in your stack trace don't quite match up.

Originally posted by tordenflesk
Kemayo is offline Report comment to moderator  
Reply With Quote
Unread 10-12-10, 11:07 AM  
tordenflesk
A Deviate Faerie Dragon

Forum posts: 11
File comments: 160
Uploads: 0
Interface\AddOns\BankStack\stack.lua:39: attempt to perform arithmetic on field '?' (a nil value)
Count: 2

Call Stack:
[C]: ?
Interface\AddOns\BankStack\stack.lua:39: in function `can_move'
Interface\AddOns\BankStack\stack.lua:97: in function `Stack'
Interface\AddOns\BankStack\sort.lua:39: in function `value'
Interface\FrameXML\ChatFrame.lua:4070: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3660: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:2477: in function <Interface\FrameXML\ChatFrame.lua:2470>
[C]: in function `UseAction'
Interface\FrameXML\SecureTemplates.lua:310: in function `handler'
Interface\FrameXML\SecureTemplates.lua:529: in function <Interface\FrameXML\SecureTemplates.lua:478>
[C]: in function `Click'
Interface\FrameXML\SecureTemplates.lua:458: in function `handler'
Interface\FrameXML\SecureTemplates.lua:529: in function <Interface\FrameXML\SecureTemplates.lua:478>
tordenflesk is offline Report comment to moderator  
Reply With Quote
Unread 10-11-10, 05:25 PM  
castorjay
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Originally posted by Kemayo
Aha! This error can only happen when trying to put things into the guild bank, insofar as I can tell. I finally reproduced it properly, and have fixed it. New version 19b is just being uploaded.
You did it! It works fine now, thanks a lot. I've missed this addon since this started happening.
castorjay is offline Report comment to moderator  
Reply With Quote
Unread 10-11-10, 03:41 PM  
Xarl
A Black Drake
 
Xarl's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 88
File comments: 225
Uploads: 1
Thumbs up Re: Re: Not Happy

Originally posted by Kemayo
Aha, I believe that to be fallout from my finally implementing the sorting of specialty bags, combined with a localization issue. Could you try the latest alpha on wowace ( http://www.wowace.com/addons/bank-stack/ ) and let me know if that fixes the problem for you?
Ok just Tested "A: r182 for 4.0.1" and its working like a charm.
Not only that its even damn fast suddenly when moving stuff around

And had no errors or anything come up


Nice Job Kemayo
Xarl is offline Report comment to moderator  
Reply With Quote
Unread 10-11-10, 02:54 PM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 128
Uploads: 11
Re: Not Happy

Aha, I believe that to be fallout from my finally implementing the sorting of specialty bags, combined with a localization issue. Could you try the latest alpha on wowace ( http://www.wowace.com/addons/bank-stack/ ) and let me know if that fixes the problem for you?

Originally posted by Xarl
Reason is: When i do a normal Sort it will leave a 2 row open space where stuff could fit in to. Does it to Bags and Bank Bags.
Kemayo is offline Report comment to moderator  
Reply With Quote
Unread 10-11-10, 04:06 AM  
Xarl
A Black Drake
 
Xarl's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 88
File comments: 225
Uploads: 1
Not Happy

Ok how do i start....

I liked your addon till the Update.

Reason is: When i do a normal Sort it will leave a 2 row open space where stuff could fit in to. Does it to Bags and Bank Bags.

When i reverse it it will stack upside down from right to left what sounds logical.

So how do i get it to stack without having 2 rows of empty space ?
Since i do not want to sort my bags upside down tbh.

btw i am on a German Localization....

Here you can see what i mean:



Ok must have to do with the Localization.

Just switched to English and it will sort normal but will not do it when i am on German.

Sorry but i aint going to switch to English just to use one Addon.




Edit:

btw i updated besides one your German Localization for the Addon on WoWAce.

And found out that its the Backpack 0 in my Inventory thats getting ignored and the First Bag in my Bank -1

Editē:

Could it have something to do with the Bagnon Addon ?
Last edited by Xarl : 10-11-10 at 10:15 AM.
Xarl is offline Report comment to moderator  
Reply With Quote
Unread 10-10-10, 11:02 PM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 128
Uploads: 11
Aha! This error can only happen when trying to put things into the guild bank, insofar as I can tell. I finally reproduced it properly, and have fixed it. New version 19b is just being uploaded.

Originally posted by castorjay
I'm stumped. I have friends who use this addon as well and theirs continue to work fine. I deleted my interface, cache and wtf folder just to make sure and then only installed this addon alone, the newest version. It will let me /sort with no problem, but when i try to fill the guild or the bags, I now get the error below:

Code:
Message: Interface\AddOns\BankStack\core.lua:203: attempt to call method 'SetHyperLink' (a nil value)
Time: Sun Oct 10 17:21:50 2010
Count: 1
Stack: Interface\AddOns\BankStack\core.lua:203: in function `CheckTooltipFor'
Interface\AddOns\BankStack\core.lua:343: in function `CanItemGoInBag'
Interface\AddOns\BankStack\fill.lua:70: in function `Fill'
Interface\AddOns\BankStack\fill.lua:40: in function `?'
Interface\FrameXML\ChatFrame.lua:4049: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3660: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:3698: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals: bag = false
slot = 43534
text = "Soulbound"
link = "item:43534"
(*temporary) = nil
(*temporary) = BankStackTooltip {
 0 = <userdata>
 updateTooltip = 0.2
}
(*temporary) = "item:43534"
(*temporary) = "attempt to call method 'SetHyperLink' (a nil value)"
tooltip = BankStackTooltip {
 0 = <userdata>
 updateTooltip = 0.2
}
is_guild_bank_bag = <function> defined @Interface\AddOns\BankStack\core.lua:129
Kemayo is offline Report comment to moderator  
Reply With Quote
Unread 10-10-10, 03:23 PM  
castorjay
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Originally posted by Kemayo
(I did fix it in the version released today, though.)
I'm stumped. I have friends who use this addon as well and theirs continue to work fine. I deleted my interface, cache and wtf folder just to make sure and then only installed this addon alone, the newest version. It will let me /sort with no problem, but when i try to fill the guild or the bags, I now get the error below:

Code:
Message: Interface\AddOns\BankStack\core.lua:203: attempt to call method 'SetHyperLink' (a nil value)
Time: Sun Oct 10 17:21:50 2010
Count: 1
Stack: Interface\AddOns\BankStack\core.lua:203: in function `CheckTooltipFor'
Interface\AddOns\BankStack\core.lua:343: in function `CanItemGoInBag'
Interface\AddOns\BankStack\fill.lua:70: in function `Fill'
Interface\AddOns\BankStack\fill.lua:40: in function `?'
Interface\FrameXML\ChatFrame.lua:4049: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3660: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:3698: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals: bag = false
slot = 43534
text = "Soulbound"
link = "item:43534"
(*temporary) = nil
(*temporary) = BankStackTooltip {
 0 = <userdata>
 updateTooltip = 0.2
}
(*temporary) = "item:43534"
(*temporary) = "attempt to call method 'SetHyperLink' (a nil value)"
tooltip = BankStackTooltip {
 0 = <userdata>
 updateTooltip = 0.2
}
is_guild_bank_bag = <function> defined @Interface\AddOns\BankStack\core.lua:129
Last edited by castorjay : 10-10-10 at 09:55 PM.
castorjay 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.