Download
(19Kb)
Download
Updated: 09-13-24 11:30 AM
Pictures
File Info
Compatibility:
The War Within (11.0.2)
Updated:09-13-24 11:30 AM
Created:unknown
Downloads:87,373
Favorites:559
MD5:
11.0.2

BuyEmAll  Updated this week!  Popular! (More than 5000 hits)

Version: v4.1.2
by: Jordy141, Shinisuryu

BuyEmAll for The War Within

BuyEmAll enhances the shift-click interface at vendors.

Features

Type in the amount you want to buy

This is actually part of the default UI. Enough people dont know about it due to the fact that there is no cursor and clicking in the box gives no feedback, that I decided to list it here.

Buy more than the stack size of the item at once

For instance, if you want to buy 80 pieces of Silk Thread, you currently have to shift-click the thread, enter 20, hit Okay, shift-click the thread, enter 20, hit Okay, shift-click the thread, enter 20, hit Okay, shift-click the thread, enter 20, and hit Okay.

With BuyEmAll, you shift-click the thread, enter 80, hit Okay, and confirm that you want to buy more than a stack if the confirm is turned on. While you can disable the confirmation, I wouldn't recommend it unless you're careful with your purchases.

To toggle the purchase confirmation box use the slash command: /buyemall confirm

Know how much you will be spending

Below the box where you enter the amount is a money display. This updates as you change the amount you are going to buy, showing you exactly how much your purchase will cost.

Quickly fill stacks or buy as much as you can

The BuyEmAll window has Stack and Max buttons which allow you to enter a full stack or as much as you can afford/fit. Hovering over the buttons shows a tooltip with the number of items you will be buying and how much it will cost. See Notes for information on the maximum you can buy.

If you already have some of an item, the first click of the Stack button will enter the amount you need to fill that stack. Subsequent clicks will add full stacks to your purchase. Also, right clicks will decrease the amount by one full stack.

Notes

Maximum Purchase

The amount you can enter is limited by:

The amount of free space in your bags. Partial stacks are included in this calculation, as are specialty bags (e.g. free slots in enchanting bags will be only be counted towards your free space if you are buying an essence, dust, or shard).
The amount you can afford.
The amount available from the vendor (for limited stock items). A breakdown of these numbers is included in the Max buttons tooltip.
If you can only buy one item for any of these reasons, shift-click behaves just like a left click, picking up one of the item onto your cursor. If you cant buy any, then shift-click does nothing.

Bugs, problems, feature requests and questions

If you have a bug, problem, feature request or question, putting it in the comments is acceptable but using the official issue tracker over on CurseForge is preferred.

When reporting bugs, please ensure you are running the latest version of the addon.

v4.1.0
- Restore modification of the shift-click frame, hopefully restoring compatibility with most addons

v4.0.5
- Fix error that would pop up when the vendor window was reopened after being moved by BlizzMove.

v4.0.4
- The BuyEmAll frame can now be moved with BlizzMove

v4.0.3
- Support for Scrap added
- Support added for addon tabs added to MerchantFrame through the SecureTabs-2.0 library
- Prepare support for Krowi's Extended Vendor UI (KEVU). KEVU needs an update as well. BuyEmAll 4.0.3+ and KEVU 8.4+ will be be able to work together.

v4.0.2
- Remove forgotten print statement from code

v4.0.1
- Fix lua error that occurs when another addon changes MERCHANT_ITEMS_PER_PAGE
- Added compatibility with SellJunk
- Suppress ArkInventory warning about HookOpenAllBags:BuyEmAllFrame not existing

v4.0.0
- BuyEmAll is now compatible with The War Within (11.0.2).
- The addon has been rewritten to no longer manipulate the existing Blizzard merchant frame, but now has its own merchant frame using code from the original.
This frame looks exactly the same as blizzard's frame, and works the same,
but the code has been changed in a few places to show the BuyEmAll bulk buying frame rather than blizzard's own "stack buying frame".
All taint errors in the Dragonflight versions of the addon should be gone thanks to this rewrite.

v3.5.17
- Update to patch 10.1

v3.5.16
- Fix error that occured when not all bag slots were equipped with bags

v3.5.15
- Update french localisation file (thanks to KarlitosVII on GitHub)

v3.5.14
- Fix detection of partial stacks
- Fix detection of Unique items, which should bypass the BuyEmAll dialog entirely

v3.5.13
- Support for WoW Dragonflight 10.0.2

v3.5.12
-Support for WoW Dragonflight 10.0.0
-Fix code for calculating free bag space, as bag IDs have changed in Dragonflight

v3.5.11
-bump toc file to 9.2.5

v3.5.10
-Addon toc has been updated to WoW 9.1.0
-Fixed error that would occur when trying to purchase items that are completely free but would normally cost currency to purchase (fixing a bug that probably only happens on tournament and beta realms, where items are sometimes available for free, but blizzard does not or forgets to remove the associated currency cost info from the item)

v3.5.9
-Fixed bug that caused an error when buying a currency with another currency.

v3.5.8
-BuyEmAll now supports Shadowlands
-BuyEmAll now uses the new CurrencyInfo API introduced in Shadowlands
-Fixed a small issue where the calculated amount of buyable items was wrong when buying a currency with another currency.

v3.5.7
-Internal optimalisation for recognizing unique items
-optimized code throughout the addon for better performance and a smaller footprint

v3.5.6
-Addon ownership has transferred from Shinisuryu to Jordy141
-When buying currencies, the exchange is now done in one go instead of one item at a time, greatly speeding up transaction time (issue #22)
-When purchasing an item that can only be bought in stacks, BuyEmAll now rounds the purchase amount up to the next multiple of the stack size the item is sold in, rather than to the nearest multiple.
This ensures you always get the amount you entered or more, and never less.
-BuyEmAll now recognizes unique items and forces their max purchase amount to 1, skipping amount selection altogether.
-Fixed potential issue with affordability calculation for items that require more than 3 alternate currencies to purchase (for future-proofing)

v3.5.5
-[KyrosKrane via GitHub] Bug fix for Tempered Seal of Fate and similar currencies sold for gold.

v3.5.4
TOC update.

v3.5.3
Slight fix of said minor fix without breaking functionality.

v3.5.2
Minor fix for previewing azerite gear in vendors.

v3.5.1
TOC bump for now.

v3.5.0
Haven't found anything to be broken, TOC bump.

v3.4.4
Quick TOC bump.

v3.4.3
Tiny fix for purchasing currencies with a set maximum, missed that detail.

v3.4.2
Fixed buying currencies and some other non-item things with gold.
Added some checks to ensure things are handled in the right function.

v3.4.1
Fixed purchases with gold because I missed a function return change.

v3.4.0
Formatted parts for easier readablity, for me at least.
Rewrote the alternate currency handler to be more adaptive.
Thanks to a recent (7.2.5) change, removed my clunky alternate currency ID function.
Added an auto rounding function to work better with buying a vendor stack for one item. (e.g., Blood of Sargeras)
A note on the auto rounding, the number you see in the frame will be rounded to the nearest multiple of the purchasable item when bought.

v3.3.6
Quick TOC update.

v3.3.5
Super tiny and quick change to hopefully fix some syncing issues with sites.

v3.3.4
Forgot to completely remove old reagent bank search, my bad!

v3.3.3
Fixed alternate currency bank searching, turns out I did it both bad and wrong.
Prevented the purchase amount going over the maximum when typing in manually.

v3.3.2
Quick TOC bump.

v3.3.1
Re-added Mogu Rune of Fate to the alternate currency list, was removed by mistake.
Added Seal of Tempered Fate to the alternate currency list.

v3.3.0
Alternate currency list cleaned and updated to include Legion.

v3.2.9
Nothing seems broken, TOC bump.

v3.2.8
*Might* have somehow not added Mogu runes in the last version. If I didn't, I'm an idiot. But added now.
Reworked the purchase loop. Now there's a ~0.5 second delay in between purchases, should prevent any "Item is busy" issues.

v3.2.7
Added Mogu runes support. Now should fix purchasing currencies with currencies.

v3.2.6
Fixed purchasing currencies with currencies. Hopefully at least.
Minor adjustments, tiny bit of prep for a possible future improvement.

v3.2.5
Updated TOC.

v3.2.4
Added in reagent bank support.
Did some reformatting and adjusting of the code, mostly for looks.
Updated TOC.

v3.2.3
Fixed an issue where there was a chance of the number of items to purchase going below 1 into negative numbers.
Changed how the price is calculated for alternate currency items to be correct.

v3.2.2
Super derp on my part, turns out there was a problem with how the addon passed arguments to regular functions, fixed that.
Minor adjustments to follow Blizzard's 1/nil/0 -> true/false changes.
Added new WoD currencies.
Turns out I was super wrong on handling saved variables, so no one's preferences about the confirm window were saved. Sorry, I fixed it now!
In case I missed anything, please let me know.

v3.2.1
Thought there was a problem, guess it was just a bug on Blizzard's end.
Made some minor adjustments to sort out off textures.

v3.2.0
Haven't found any problems, so just TOC update.

v3.1.8
TOC bump, added new currency.

v3.1.7
Updated alternate currency support.

v3.1.6
No known issues, TOC bump.

v3.1.5
No known issues, TOC bump.

v3.1.4
Added Russian translations thanks to OUGHT, with alternates from Amshaegar due to slight differences.
Updated TOC.
Added changelog in case anyone was curious, and so the lists online don't get too large.

v3.1.3
Added all known currencies/tokens to the handler, for new and a few old vendors.

v3.1.2
AddonLoader support.
Taint fixes.
Updated German translations thanks to Lysandro.
Login errors coming from translations should be fixed, rewrote how translations are done.

v3.1.1
Fixed the Blackfallow Ink issue.
Added in Motes of Darkness and Essences of Corrupted Deathwing into the currency translator.
Added Portuguese translations thanks to Phanx.

v3.1.0
Finally finished for the most part, might be a few things I missed, as always, let me know in the comments.
Wrote a new currency handler, should auto adjust between gold and other currencies.
Fixed the free space calculation when identifying what bags the item goes into, should be more accurate now.
Fixed the free space calculation skipping the backpack.

v3.0.9
Reversed the recent change I made, dunno when I'll be able to get alt currencies working, much harder than I expected. x.x

v3.0.8
Did a tiny bit of clean up in the code and added a work around for some items.
Bumped TOC.

v3.0.7
Bumped TOC, assuming no errors since I can't check right now.

v3.0.6
Fixed the error that would occur from shift-clicking the Honor/Justice points vendor conversion, now shows a confirm dialog.
Fixed another error that could have been happening, dealing with un-rounded money amounts.

v3.0.5
Added spanish translations thanks to jsr1976.

v3.0.4
Temp fix for some item/bag sorting issues.
Adjustments to the slash command.
Updated Chinese and Taiwan translations thanks to networm.

v3.0.3
Silly error.

v3.0.2
More cataclysm adjustments.

v3.0.1
Cataclysm cleanup/changes.

v3.0
Cataclysm fixes.

v2.9.2
When the chat editbox is open/active, shift-clicking will properly link an item.
New slash command: "/buyemall toggleconfirm" to toggle the large purchase confirmation window. Option saved per character.

v2.9.1
Right-clicking the stack button now decreases the current purchase by one stack.

v2.9.0
Fix for printscreen problem.

v2.8.9
Quick fix for chatframe error.

v2.8.8
No reported issues, TOC bump.

v2.8.7
No reported issues, TOC bump.

v2.8.6
Replaced the rewritten code with an edited version of Cog's original space calculation code, works as it did in 2.8.4, with better support for profession bags/items.

v2.8.5
Rewrote bag space calculation.

v2.8.4
Fixed bug with confirmation dialog.

v2.8.3
Added more localizations for zhCN and zhTW, thanks to q09q09

v2.8.2
Updated for 3.0.2.

v2.8.1
Updated for WotLK Beta.

v2.8
Cost of Stack or Max purchase now shown in the button’s tooltip instead of changing the money display.
No longer displays “loaded” message.
Separated localization files for more flexibility.

v2.6.3
Fixed ammo pouch bug.

v2.6.2
Added workaround for ammo pouch bug.

v2.6.1
Added Korean localization thanks to sayclub.

v2.6
Updated for WoW 2.0

v2.5
Fixed a bug where the amount you could afford was shown as the amount you could fit and vise versa.
Stack button now works a bit more intuitively for items which come in preset stacks.
De-aced.

v2.2
Changed behavior of Stack button (see Features).
Improved efficiency in certain areas.

v2.1.2
Fixed a bug that caused an error for people with enchanting or herbalism bags
Updated Ace2 libs

v2.1.1
Updated TOC for patch 1.12
Updated Ace2 libraries

v2.1
Slightly rearranged the buttons to have a bit more space in between.
Clicking on the Max and Stack buttons will now change the amount in the box instead of immediately bringing up the confirmation window.
Stack button will now be disabled for items whose stack size is the same as their purchase unit (ammunition, for instance).

v2.0
Stack button will now be disabled for items that do not stack.
Ace2ified. Functionality is the same except for the above change, but behind the scenes it's a whole new beast.

v1.12.1
Disabled display of the "Vendor has" line of the Max tooltip if there is no limit.
Changed coloring of tooltip text.
French translation courtesy of Layrajha.
Chinese translation thanks to q09q09.

v1.12
Stack and Max buttons display a confirmation regardless of purchase size to alleviate accidental clicks.
The BuyEmAll frame will not hide until you accept the confirmation or if there is no confirmation.
Fixed a bug where you could attempt to buy an item a vendor no longer has.
German translation courtesy of JokerGermany.
Changed the text on Max and Stack tooltips.
Corrected a few typos in this readme.

v1.11.1
Remembered to turn off debugging mode. :P
Changed the way the window is rendered such that I don't have to include a texture file.

v1.11
Changed cost display for better visual integration with WoW.
Removed display of maximum purchase from the frame.
Added "Max" button.
Max and Stack buttons update the cost display when you mouse over them.
Added tooltips to the Stack and Max buttons.
The Stack button is disabled if you cannot buy a stack.

v1.10
Added display of total purchase cost.
Added "Stack" button.
The confirmation box no longer appears when filling an ammo pouch.
Fixed bug where default stack for ammo could be more than you could afford.
Added a line break in the confirmation window to make it easier to read.

v1.9
Free space calculation now takes into account special bag types.
Added quick-fill feature for ammo pouches/quivers.

v1.8
The Stack Split frame now shows you the maximum amount you will be able to purchase.
For preset stack items, the left and right arrows increase or decrease to multiples of the preset - stack size.

v1.5
Added support for items that come in preset stacks and items that don't stack at all.
Limited the maximum you can attempt to buy as described above.

v1.0
Initial Release
Optional Files (0)


Archived Files (10)
File Name
Version
Size
Author
Date
v4.1.1
19kB
Jordy141
09-13-24 09:51 AM
v4.1.0
19kB
Jordy141
09-13-24 08:24 AM
v4.0.5
37kB
Jordy141
09-12-24 03:11 PM
v4.0.4
37kB
Jordy141
09-12-24 03:01 PM
v4.0.3
36kB
Jordy141
09-12-24 02:20 PM
v4.0.2
31kB
Jordy141
09-12-24 08:49 AM
v4.0.1
31kB
Jordy141
09-12-24 08:27 AM
v4.0.0
31kB
Jordy141
09-11-24 06:15 PM
3.5.16
18kB
Jordy141
11-22-22 07:07 PM
3.5.15
18kB
Jordy141
11-18-22 08:21 AM


Post A Reply Comment Options
Unread 08-21-16, 11:37 PM  
Shinisuryu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 36
Uploads: 2
Originally Posted by Deadlyz
Thanks for the fix!
You're welcome! I'm just sorry I took so long, I just ended up finding out a handful of currencies got removed, so I redid the list.
Report comment to moderator  
Reply With Quote
Unread 08-21-16, 11:08 AM  
Deadlyz
A Wyrmkin Dreamwalker
 
Deadlyz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 370
Uploads: 2
Thanks for the fix!
__________________

My last movie: Rogue Sweethearts
Report comment to moderator  
Reply With Quote
Unread 12-18-14, 07:23 AM  
Shinisuryu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 36
Uploads: 2
Originally Posted by natassja72
There seems to be an issue with Trading Post vendors, that sell stacks of 5 items for 20 resources - the cost of items is incorrectly displayed. (they also sell for 25 or 40 resources, but for the sake of this post I'll focus on 20). For example, if I type to buy 100 items, it displays cost of 2000 resources, while in fact it is 400 resources. (20*5 items equals 100, and 20*20 resources equals 400 resources.)
Yeah, I must have never considered the chance of an alternate currency item being sold in groups of more than one. Fixed and uploading now!
Report comment to moderator  
Reply With Quote
Unread 12-14-14, 12:18 PM  
natassja72
A Wyrmkin Dreamwalker

Forum posts: 59
File comments: 73
Uploads: 0
There seems to be an issue with Trading Post vendors, that sell stacks of 5 items for 20 resources - the cost of items is incorrectly displayed. (they also sell for 25 or 40 resources, but for the sake of this post I'll focus on 20). For example, if I type to buy 100 items, it displays cost of 2000 resources, while in fact it is 400 resources. (20*5 items equals 100, and 20*20 resources equals 400 resources.)
Last edited by natassja72 : 12-14-14 at 12:20 PM.
Report comment to moderator  
Reply With Quote
Unread 11-05-14, 09:02 AM  
Shinisuryu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 36
Uploads: 2
Re: Thank you

Originally Posted by fremion
I see that you've recently updated it.
It was already working but still thank you for maintaining the addon. It is a very useful piece of code
Yeah, nothing seems to be breaking it, but every once in a while I see little tweaks I could do. Good to hear people enjoy it though!
Report comment to moderator  
Reply With Quote
Unread 11-05-14, 06:54 AM  
fremion
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 16
Uploads: 4
Thank you

I see that you've recently updated it.
It was already working but still thank you for maintaining the addon. It is a very useful piece of code
Report comment to moderator  
Reply With Quote
Unread 11-07-12, 12:24 AM  
Shinisuryu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 36
Uploads: 2
Re: Re: Re: Re: Error in deDE

Originally Posted by JohnDoe03
newest release resolved the issue - thanks
Good to hear, sorry for taking so long!
Report comment to moderator  
Reply With Quote
Unread 11-05-12, 02:54 PM  
JohnDoe03
A Kobold Labourer

Forum posts: 1
File comments: 81
Uploads: 0
Re: Re: Re: Error in deDE

Originally Posted by JohnDoe03
Originally Posted by Shinisuryu
Originally Posted by JohnDoe03
Hi,

get this error on login with the german client:
That's...odd, it's the same as everything else. Have you tried removing and reinstalling the addon?
yes I did - removed the addon and the saved variables-files
newest release resolved the issue - thanks
Report comment to moderator  
Reply With Quote
Unread 09-24-12, 11:21 AM  
Shinisuryu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 36
Uploads: 2
Originally Posted by Morsker
Hi, I posted tickets on CurseForge without realizing you're probably focused here; I don't know if you read them there. I think it's really easy to add AddonLoader support to this; I tried the change myself and didn't notice any bugs.
Oh, sorry, haven't checked things in a bit, work's been draining lately. I'll look into that, thanks.
Report comment to moderator  
Reply With Quote
Unread 09-21-12, 12:16 PM  
Morsker
A Fallenroot Satyr
 
Morsker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 89
Uploads: 8
Hi, I posted tickets on CurseForge without realizing you're probably focused here; I don't know if you read them there. I think it's really easy to add AddonLoader support to this; I tried the change myself and didn't notice any bugs.
Last edited by Morsker : 09-21-12 at 12:17 PM.
Report comment to moderator  
Reply With Quote
Unread 09-21-12, 08:49 AM  
JohnDoe03
A Kobold Labourer

Forum posts: 1
File comments: 81
Uploads: 0
Re: Re: Error in deDE

Originally Posted by Shinisuryu
Originally Posted by JohnDoe03
Hi,

get this error on login with the german client:
That's...odd, it's the same as everything else. Have you tried removing and reinstalling the addon?
yes I did - removed the addon and the saved variables-files
Report comment to moderator  
Reply With Quote
Unread 09-18-12, 09:57 AM  
Shinisuryu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 36
Uploads: 2
Re: Error in deDE

Originally Posted by JohnDoe03
Hi,

get this error on login with the german client:
That's...odd, it's the same as everything else. Have you tried removing and reinstalling the addon?
Report comment to moderator  
Reply With Quote
Unread 09-17-12, 02:16 AM  
JohnDoe03
A Kobold Labourer

Forum posts: 1
File comments: 81
Uploads: 0
Error in deDE

Hi,

get this error on login with the german client:

Date: 2012-09-17 10:11:36
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\BuyEmAll\Localization.deDE.lua line 11:
attempt to index local 'L' (a nil value)
Debug:
BuyEmAll\Localization.deDE.lua:11: in main chunk
Locals:
L = nil
(*temporary) = "deDE"
(*temporary) = "attempt to index local 'L' (a nil value)"
Report comment to moderator  
Reply With Quote
Unread 09-10-12, 09:04 AM  
Shinisuryu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 36
Uploads: 2
Originally Posted by Kramarz
broke on me when trying to buy Crystalline Geodes:
Got it, should have a new version up today. Sorry for the delay.
Report comment to moderator  
Reply With Quote
Unread 09-04-12, 01:57 PM  
Kramarz
A Kobold Labourer

Forum posts: 0
File comments: 194
Uploads: 0
broke on me when trying to buy Crystalline Geodes:

Date: 2012-09-04 20:55:39
ID: 1
Error occured in: Global
Count: 2
Message: ..\AddOns\BuyEmAll\BuyEmAll.lua line 208:
Usage:GetCurrencyInfo(currencyType)
Debug:
[C]: ?
[C]: GetCurrencyInfo()
BuyEmAll\BuyEmAll.lua:208: AltCurrencyHandling()
BuyEmAll\BuyEmAll.lua:150: MerchantItemButton_OnModifiedClick()
BuyEmAll\BuyEmAll.lua:38: MerchantItemButton_OnModifiedClick()
[string "*:OnClick"]:2:
[string "*:OnClick"]:1
Locals:
(*temporary) = nil
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: