Quantcast
Download
(5 Kb)
Download
Updated: 02-23-19 11:45 PM
Compatibility:
Tides of Vengeance (8.1.0)
Updated:02-23-19 11:45 PM
Created:08-18-12 08:40 AM
Downloads:3,583
Favorites:11
MD5:

Bulk Buy

Version: 1.09
by: Choonstertwo [More]

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.

1.06
  • Fix bugs related to 7.2 merchant frame changes
  • Change how items sold for non-gold currencies are purchased:
    • If an item is sold for a non-gold currency, the AddOn will now buy the largest multiple of the stack size sold by the merchant less than the amount entered in the stack split popup.
    • The previous behaviour introduced in 1.05 was to buy the stack size sold by the merchant multiplied by the amount entered in the stack split popup.
  • Bump TOC Interface version to 7.2

1.05
  • Fix purchasing of items sold for non-gold currencies
    • Thanks to Exhunt for posting this change on Curse
  • Bump TOC Interface version to 7.1

1.04
  • Fix "attempt to compare number with nil"
    • `ITEM_QUALITY` constants were changed to Lua enums (`LE_ITEM_QUALITY`) in 6.0

1.03
  • Create GitHub repository for AddOn

1.02
  • Buying items that cost proper currencies like Justice Points should now be fixed. This issue wasn't affecting items bought with other items like Inks from the Ink Trader.

1.01
  • Added support for bulk buying items that cost non-gold currencies.

1.00
  • AddOn Created!
Optional Files (0)


Archived Files (9)
File Name
Version
Size
Author
Date
1.08
5kB
Choonstertwo
12-22-18 10:54 PM
1.07
4kB
Choonstertwo
07-21-18 04:49 AM
1.06
4kB
Choonstertwo
04-25-17 07:32 AM
1.05
4kB
Choonstertwo
01-31-17 09:10 AM
1.04
2kB
Choonstertwo
12-07-14 08:34 AM
1.03
2kB
Choonstertwo
10-15-14 10:06 PM
1.02
2kB
Choonstertwo
09-21-12 08:54 AM
1.01
2kB
Choonstertwo
09-21-12 06:01 AM
1.0
1kB
Choonstertwo
08-18-12 08:40 AM


Post A Reply Comment Options
Unread 02-25-19, 08:13 PM  
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 194
File comments: 105
Uploads: 34
Originally Posted by rapturesrevenge
I think the addon that inspired you is BuyMaxStack, which you can download from tukui.org. Hopefully that sounds familiar! Decard (author of DecUI) includes it in his UI compilation. I'm not sure what other mods are out there that do this aside from maybe TradeSkillMaster, which you have set up out of the box.
I don't think that's it, since it adds a separate modified click to buy a stack rather than modifying the existing stack split window to allow the purchase of multiple stacks.

Plus I don't think I would have downloaded anything from tukui.org, I almond certainly would have downloaded it from Curse /WoWI.
Report comment to moderator  
Reply With Quote
Unread 02-25-19, 06:10 PM  
rapturesrevenge
A Defias Bandit

Forum posts: 2
File comments: 6
Uploads: 0
I think the addon that inspired you is BuyMaxStack, which you can download from tukui.org. Hopefully that sounds familiar! Decard (author of DecUI) includes it in his UI compilation. I'm not sure what other mods are out there that do this aside from maybe TradeSkillMaster, which you have set up out of the box.
Report comment to moderator  
Reply With Quote
Unread 12-22-18, 11:50 PM  
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 194
File comments: 105
Uploads: 34
1.08

I've just released version 1.08, which updates the functionality to account for the stack split frame changes in 8.1. See the updated description for more details.
Report comment to moderator  
Reply With Quote
Unread 01-31-17, 09:24 PM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

Forum posts: 126
File comments: 712
Uploads: 0
Re: Re: Legion?

THANK YOU!!!!!

-Barleduq


Originally Posted by Choonstertwo
Originally Posted by Barleduq
I don't know if this needs anything for Legion but a toc bump; I'm trying to minimize my need for the 'load out of date addons' checkbox.

Thanks, it's an *awesome* aid!
-Barleduq
Thanks for the comment.

Purchasing of items with non-gold currencies was broken, but Exhunt suggested a fix for this on Curse.

I've released version 1.05 with this fix, but it's still under review on Curse. Once it's been reviewed, I'll upload it here.

Edit: It's now available on both Curse and WoWI.
Report comment to moderator  
Reply With Quote
Unread 01-31-17, 07:28 AM  
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 194
File comments: 105
Uploads: 34
Re: Legion?

Originally Posted by Barleduq
I don't know if this needs anything for Legion but a toc bump; I'm trying to minimize my need for the 'load out of date addons' checkbox.

Thanks, it's an *awesome* aid!
-Barleduq
Thanks for the comment.

Purchasing of items with non-gold currencies was broken, but Exhunt suggested a fix for this on Curse.

I've released version 1.05 with this fix, but it's still under review on Curse. Once it's been reviewed, I'll upload it here.

Edit: It's now available on both Curse and WoWI.
Last edited by Choonstertwo : 01-31-17 at 09:10 AM.
Report comment to moderator  
Reply With Quote
Unread 09-12-16, 06:58 PM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

Forum posts: 126
File comments: 712
Uploads: 0
Legion?

I don't know if this needs anything for Legion but a toc bump; I'm trying to minimize my need for the 'load out of date addons' checkbox.

Thanks, it's an *awesome* aid!
-Barleduq
Report comment to moderator  
Reply With Quote
Unread 01-30-15, 05:29 AM  
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 194
File comments: 105
Uploads: 34
Originally Posted by Choonstertwo
Originally Posted by bsmorgan
The garrison trading post contains a vendor that sells various crafting reagents using garrison resources for currency. With most other vendors, you can shift-click on an item to specify a quantity to buy. The items sold by this vendor do not respond to a "shift-click". Can BulkBuy coerce this vendor into accepting a quantity?
That's odd, I would have thought Garrison Resource vendors behaved like any other currency-based vendor.

Do you encounter the same issue buying from the GR vendor inside your town hall (Deedree for Alliance)?

I'll do some testing on the PTR.
Elkano just posted in the original thread that the default UI allows bulk-buying from the Trading Post vendors on the PTR, so Bulk Buy will probably work with them then.

Unfortunately I don't have an active subscription (or a Garrison with a Trading Post), so I can't test on live.
Last edited by Choonstertwo : 01-30-15 at 05:29 AM.
Report comment to moderator  
Reply With Quote
Unread 01-29-15, 10:03 PM  
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 194
File comments: 105
Uploads: 34
Originally Posted by bsmorgan
The garrison trading post contains a vendor that sells various crafting reagents using garrison resources for currency. With most other vendors, you can shift-click on an item to specify a quantity to buy. The items sold by this vendor do not respond to a "shift-click". Can BulkBuy coerce this vendor into accepting a quantity?
That's odd, I would have thought Garrison Resource vendors behaved like any other currency-based vendor.

Do you encounter the same issue buying from the GR vendor inside your town hall (Deedree for Alliance)?

I'll do some testing on the PTR.
Report comment to moderator  
Reply With Quote
Unread 01-29-15, 11:40 AM  
bsmorgan
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 187
File comments: 142
Uploads: 3
The garrison trading post contains a vendor that sells various crafting reagents using garrison resources for currency. With most other vendors, you can shift-click on an item to specify a quantity to buy. The items sold by this vendor do not respond to a "shift-click". Can BulkBuy coerce this vendor into accepting a quantity?
Report comment to moderator  
Reply With Quote
Unread 09-21-12, 10:13 AM  
Angrysteel
A Murloc Raider

Forum posts: 6
File comments: 203
Uploads: 0
Originally Posted by Choonstertwo
Originally Posted by Angrysteel
Thanks for the quick fix, will try it out after it gets approved and we are able to DL it
If you want to try it out now, I've posted the code for 1.02 in a Gist here. Just overwrite your core.lua file with it.

I recommend you replace it with the downloaded version once it's approved.
Thanks, changes worked out well. No errors at all. Bought some VP stuff, and honor gear.
Report comment to moderator  
Reply With Quote
Unread 09-21-12, 09:57 AM  
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 194
File comments: 105
Uploads: 34
Originally Posted by Angrysteel
Thanks for the quick fix, will try it out after it gets approved and we are able to DL it
If you want to try it out now, I've posted the code for 1.02 in a Gist here. Just overwrite your core.lua file with it.

I recommend you replace it with the downloaded version once it's approved.
Report comment to moderator  
Reply With Quote
Unread 09-21-12, 08:59 AM  
Angrysteel
A Murloc Raider

Forum posts: 6
File comments: 203
Uploads: 0
Thanks for the quick fix, will try it out after it gets approved and we are able to DL it
Report comment to moderator  
Reply With Quote
Unread 09-21-12, 08:58 AM  
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 194
File comments: 105
Uploads: 34
1.02

I've just released 1.02 which should fix this issue. Thanks for the report.
Report comment to moderator  
Reply With Quote
Unread 09-21-12, 08:35 AM  
Angrysteel
A Murloc Raider

Forum posts: 6
File comments: 203
Uploads: 0
Double checked the error with all addons shut off except Bulk Buy.

I now get a longer error message, with all other addons disabled. New error:

Code:
Message: Interface\AddOns\BulkBuy\core.lua:10: attempt to compare number with nil
Time: 09/21/12 09:33:51
Count: 1
Stack: Interface\AddOns\BulkBuy\core.lua:10: in function `BulkBuyMerchantItem'
Interface\AddOns\BulkBuy\core.lua:36: in function `OnAccept'
Interface\FrameXML\StaticPopup.lua:3827: in function `StaticPopup_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

Locals: slot = 26
amount = nil
stackSize = 1
(*temporary) = 26
(*temporary) = 1
(*temporary) = nil
(*temporary) = "attempt to compare number with nil"
EDIT: Also tried to buy other items with justice points, same error as above. Tried to turn in tier tokens, also a no go. All the same error.
Last edited by Angrysteel : 09-21-12 at 08:43 AM.
Report comment to moderator  
Reply With Quote
Unread 09-21-12, 08:30 AM  
Angrysteel
A Murloc Raider

Forum posts: 6
File comments: 203
Uploads: 0
That was the entire error from Blizzards Lua errors.

I installed Bugsack / Bug Grabber and it was the same.

Code:
1x BulkBuy-1.01\core.lua:10: attempt to compare number with nil
BulkBuy-1.01\core.lua:10: in function "BulkBuyMerchantItem"
BulkBuy-1.01\core.lua:36: in function "OnAccept"
FrameXML\StaticPopup.lua:3827: in function "StaticPopup_OnClick"
<string>:"*:OnClick":1: in function <string>:"*:OnClick":1

Locals:
That is from Bug Sack.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: