Bulk Buy allows you to buy stackable items in any quantity (even if the merchant sells them in stacks greater than 1) and also allows you to buy multiple stacks at once (including non-stackable items).
When purchasing items that are sold in stacks greater than 1, the left and right buttons on the stack split frame will now decrement and increment by 1 by default. When the split stack modifier (Shift) is held, the left and right buttons will decrement and increment by the stack count instead.
When purchasing items that are sold for non-gold currencies in stacks greater than 1, the AddOn will buy the largest multiple of the stack size sold by the merchant less than the amount entered in the stack split popup.
There is no in-game configuration, but if for some odd reason you need to buy more than 10,000 of an item at once you can edit the MAX_STACK number at the top of the core.lua file to raise the limit.
Bulk Buy was inspired by an AddOn with very similar functionality I used a long time ago whose name I can't remember. I couldn't find this AddOn on WoW Interface or Curse, so I decided to recreate its functionality myself. Although the functionality is borrowed, the code itself is completely my own work.
GnomishVendorShrinker compatibility?
Back to ReEnhancedStackSplit...
In reply to tordenflesk:
In reply to Choonster:
In reply to lyngris:
You can just type in the number you want to buy instead of clicking.
bulk buy seems to error out when trying to buy love tokens for charm bracelets
38x BulkBuy\core.lua:22: stack overflow
BulkBuy\core.lua:22: in function `BuyMerchantItem'
BulkBuy\core.lua:38: in function `BuyMerchantItem'
BulkBuy\core.lua:38: in function `BuyMerchantItem'
BulkBuy\core.lua:38: in function `BuyMerchantItem'
BulkBuy\core.lua:38: in function `BuyMerchantItem'
BulkBuy\core.lua:38: in function `BuyMerchantItem'
BulkBuy\core.lua:38: in function `BuyMerchantItem'
BulkBuy\core.lua:38: in function `BuyMerchantItem'
BulkBuy\core.lua:38: in function `BuyMerchantItem'
BulkBuy\core.lua:38: in function `BuyMerchantItem'
BulkBuy\core.lua:38: in function `BuyMerchantItem'
BulkBuy\core.lua:38: in function `BuyMerchantItem'
...
BulkBuy\core.lua:38: in function `BuyMerchantItem'
BulkBuy\core.lua:38: in function `BuyMerchantItem'
BulkBuy\core.lua:38: in function `BuyMerchantItem'
BulkBuy\core.lua:38: in function `BuyMerchantItem'
BulkBuy\core.lua:38: in function `BuyMerchantItem'
FrameXML\MerchantFrame.lua:692: in function `MerchantFrame_ConfirmExtendedItemCost'
BulkBuy\core.lua:46: in function <BulkBuy\core.lua:43>
BulkBuy\core.lua:52: in function `SplitStack'
FrameXML\StackSplitFrame.lua:238: in function `StackSplitOkayButton_OnClick'
FrameXML\StackSplitFrame.lua:165: in function <FrameXML\StackSplitFrame.lua:141>
Locals:
slot = 1
amount = 7
(*temporary) = <function> defined =[C]:-1
(*temporary) = 1
(*temporary) = "stack overflow"
In reply to Ra1dMaX:
In reply to Ra1dMaX:
Lua Error after 8.1 patch
A temp fix: Change line 71 of core.lua to
In reply to nukme:
notepad can easily be used by turning on the status line in view it will show what line you are on
In reply to nukme:
Can we get a 7.3 update? It doesn't seem to work anymore with the latest patch.
I've just released 1.06, which should fix the bugs related to the merchant frame changes in 7.2.
The purchasing of items sold for non-gold currencies has changed, see the changelog for details. I can't test this myself as starter edition/expired accounts don't have access to any non-gold currencies (to my knowledge).
Let me know if you still encounter any bugs/errors.
Bulk Buy now buys X multiples of items from the vendor instead of the nearest absolute number that you put in. Example: If the vendor sells the item only as stacks of 5 and you type in 200, it'll type in 1000 on its own. I'd like the behavior to be like before; you type in 200, it'll be 200, no matter what size stacks the vendor sells you.
Does this happen with items sold for gold, or only with items sold for other currencies?
I've only tested it with items sold with gold so far.
I can't type any number. Like if I want 100 of an item.
Do you get any Lua errors?
I think Blizzard removed the option to turn it on and off, so it should always be on if there are any LUA errors.
I change function BulkBuyMerchantItem like that:
function BulkBuyMerchantItem(slot, amount)
local stackSize = GetMerchantItemMaxStack(slot)
What exactly does this change do? What kind of items have price == 0? Can these items only be bought in the quantity the vendor is selling them at (e.g. 5 at a time)?