Download
(18Kb)
Download
Updated: 11-22-22 07:07 PM
Pictures
File Info
Compatibility:
Dragonflight (10.0.2)
Updated:11-22-22 07:07 PM
Created:unknown
Downloads:87,068
Favorites:559
MD5:

BuyEmAll  Popular! (More than 5000 hits)

Version: 3.5.16
by: Jordy141, Shinisuryu

BuyEmAll for Dragonflight 10.0.0

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 don’t 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 button’s 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 can’t buy any, then shift-click does nothing.

Cataclysm

Due to the API for purchasing items from vendors changing, preset stacks effectively are no different than normal items to addons. So, no need to worry about preset stacks anymore, whichever number you enter, is how many items you will get. Usually that is.

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, v3.5.12.

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
Special thanks to fubaWoW and vidalj13 for fixing the addon before I could get around to it!

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
-Bumped TOC 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 currency 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.
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
3.5.15
18kB
Jordy141
11-18-22 08:21 AM


Post A Reply Comment Options
Unread 10-28-10, 12:51 PM  
Shinisuryu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 36
Uploads: 2
Originally posted by Odlaw
Oh, sorry for not clarifying.

If I do not load your addon, and i shift-left-click (to purchase) items off a vendor that sells them in stacks (the vendor sells them in stacks of 5 if you right-click them), you are given a prompt with how many to buy, you can then buy them in 1's, 2's, 3's, 4's as well. I didn't test how it works if you buy from 6-20's (as I believe it still has a limit of a full stack that you can purchase)
Alright, latest update *should* fix your issue. If not, feel free to lemme know.
Report comment to moderator  
Reply With Quote
Unread 10-24-10, 07:09 AM  
Shinisuryu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 36
Uploads: 2
Originally posted by Odlaw
Oh, sorry for not clarifying.

If I do not load your addon, and i shift-left-click (to purchase) items off a vendor that sells them in stacks (the vendor sells them in stacks of 5 if you right-click them), you are given a prompt with how many to buy, you can then buy them in 1's, 2's, 3's, 4's as well. I didn't test how it works if you buy from 6-20's (as I believe it still has a limit of a full stack that you can purchase)
*nods* That's what I thought you meant. I didn't realize how much I have to change at first. I'm working on it, but haven't been able to do much since I've been sick the past day or so.
Report comment to moderator  
Reply With Quote
Unread 10-23-10, 09:23 AM  
Odlaw
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 67
Uploads: 5
Oh, sorry for not clarifying.

If I do not load your addon, and i shift-left-click (to purchase) items off a vendor that sells them in stacks (the vendor sells them in stacks of 5 if you right-click them), you are given a prompt with how many to buy, you can then buy them in 1's, 2's, 3's, 4's as well. I didn't test how it works if you buy from 6-20's (as I believe it still has a limit of a full stack that you can purchase)
Report comment to moderator  
Reply With Quote
Unread 10-22-10, 02:19 PM  
Shinisuryu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 36
Uploads: 2
Originally posted by Odlaw
You can now buy partial stacks of items in 4.0, yet this addon only seems to only purchase in full stacks.

IE - Innkeepers sell food and water in stacks of 5, but if you shift-click them, you can buy them 1-4

Might be a bug with 4.0 and it might get fixed.
I figured out what you meant, working on it now.
Report comment to moderator  
Reply With Quote
Unread 10-21-10, 09:53 PM  
Shinisuryu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 36
Uploads: 2
Originally posted by Odlaw
You can now buy partial stacks of items in 4.0, yet this addon only seems to only purchase in full stacks.

IE - Innkeepers sell food and water in stacks of 5, but if you shift-click them, you can buy them 1-4

Might be a bug with 4.0 and it might get fixed.
What do you mean? That you can only select 1-4 items, or does it buy 4 when you want 20?
Report comment to moderator  
Reply With Quote
Unread 10-21-10, 09:52 PM  
Shinisuryu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 36
Uploads: 2
Re: Re: Re: v3.0.1 goes *kaboom!*

Originally posted by Myrathi
Cheers for that! ^^

The reason it has to be that way is actually more intuitive than it may seem: as the files in the TOC are loaded (in order of inclusion), they're parsed by the system and everything in the global scope is resolved there and then. So, if you refer to global variables in the global scope of one of your scripts, those variables must exist.

If you consider that function definitions are little more than variable definitions (and are global unless prefixed by 'local') - "[local] function blahblah(...)" is effectively just "[local] blahblah = function(...)" - it's easier to see why an addon that hooks another addons' functions fails if it does so in the global scope, is loaded later in the chain and doesn't have it as a dependency (since that may affect load order). It's why a lot of addons were prefixed with a '!' or a '_' to ensure they were loaded before everything else.

That aside - thanks, again, for the quick fix! +1 for swift response! (:
Oh, that makes sense. Never really looked into the TOC specs. XD
Report comment to moderator  
Reply With Quote
Unread 10-21-10, 04:34 PM  
Odlaw
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 67
Uploads: 5
You can now buy partial stacks of items in 4.0, yet this addon only seems to only purchase in full stacks.

IE - Innkeepers sell food and water in stacks of 5, but if you shift-click them, you can buy them 1-4

Might be a bug with 4.0 and it might get fixed.
Report comment to moderator  
Reply With Quote
Unread 10-21-10, 02:56 PM  
Myrathi
A Fallenroot Satyr
 
Myrathi's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 30
Uploads: 1
Thumbs up Re: Re: v3.0.1 goes *kaboom!*

Originally posted by Shinisuryu
Either way, new version should be up in a sec. ^^;
Cheers for that! ^^

Also posted by Shinisuryu
IMO, that seems silly that the order has to be that way.
The reason it has to be that way is actually more intuitive than it may seem: as the files in the TOC are loaded (in order of inclusion), they're parsed by the system and everything in the global scope is resolved there and then. So, if you refer to global variables in the global scope of one of your scripts, those variables must exist.

If you consider that function definitions are little more than variable definitions (and are global unless prefixed by 'local') - "[local] function blahblah(...)" is effectively just "[local] blahblah = function(...)" - it's easier to see why an addon that hooks another addons' functions fails if it does so in the global scope, is loaded later in the chain and doesn't have it as a dependency (since that may affect load order). It's why a lot of addons were prefixed with a '!' or a '_' to ensure they were loaded before everything else.

That aside - thanks, again, for the quick fix! +1 for swift response! (:
Report comment to moderator  
Reply With Quote
Unread 10-21-10, 08:56 AM  
Shinisuryu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 36
Uploads: 2
Originally posted by Zidomo
Looks like v3.0.1 was a drycode . It bugs out on logon in WoW 4.0.1 live with not one, but three different errors:
It wasn't totally, I didn't think the order of the files in the TOC mattered. x.x;

@Zidomo: Yup. #2 and #3 are caused by #1.

The fix is simple, thankfully:
* The localization files need to be before the other files, in the TOC.

^_^
Yeah, didn't know that. >.>

Either way, new version should be up in a sec. ^^;
Report comment to moderator  
Reply With Quote
Unread 10-21-10, 06:35 AM  
Shinisuryu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 36
Uploads: 2
Re: v3.0.1 goes *kaboom!*

Originally posted by Myrathi
@Zidomo: Yup. #2 and #3 are caused by #1.

The fix is simple, thankfully:
* The localization files need to be before the other files, in the TOC.

^_^
I had a feeling that was the problem when I got the email from curse. I'll fix it in a few hours when I get home. IMO, that seems silly that the order has to be that way.
Report comment to moderator  
Reply With Quote
Unread 10-21-10, 01:04 AM  
Myrathi
A Fallenroot Satyr
 
Myrathi's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 30
Uploads: 1
v3.0.1 goes *kaboom!*

@Zidomo: Yup. #2 and #3 are caused by #1.

The fix is simple, thankfully:
* The localization files need to be before the other files, in the TOC.

^_^
Report comment to moderator  
Reply With Quote
Unread 10-20-10, 11:36 PM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
Looks like v3.0.1 was a drycode . It bugs out on logon in WoW 4.0.1 live with not one, but three different errors:


Code:
["message"] = "BuyEmAll-3.0.1\\BuyEmAll.lua:7: attempt to index local 'L' (a nil value)\n\nLocals:|r\n\n  ---",
            ["type"] = "error",
            ["time"] = "2010/10/21 01:30:11",
            ["session"] = 128,
            ["counter"] = 1,
        }, -- [998]
        {
            ["message"] = "<string>:\"BuyEmAllMoneyFrame:OnLoad\":1: attempt to call method 'MoneyFrame_OnLoad' (a nil value)\n\nLocals:|r\n\n  ---",
            ["type"] = "error",
            ["time"] = "2010/10/21 01:30:11",
            ["session"] = 128,
            ["counter"] = 1,
        }, -- [999]
        {
            ["message"] = "<string>:\"BuyEmAllFrame:OnLoad\":1: attempt to call method 'OnLoad' (a nil value)\n\nLocals:|r\n\n  ---",
            ["type"] = "error",
            ["time"] = "2010/10/21 01:30:11",
            ["session"] = 128,
            ["counter"] = 1,
        }, -- [1000]
v3.0.0 had no issues here.
Last edited by Zidomo : 10-20-10 at 11:37 PM.
Report comment to moderator  
Reply With Quote
Unread 10-17-10, 09:14 AM  
Shinisuryu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 36
Uploads: 2
Re: no error documented, but a problem

Originally posted by txamethyst
on both the ptr and beta, and now on the live servers, i absolutely can not purchase a full stack of any item (food/drink) that is sold in stacks of five. i can select the item, click the stack button and it will show 20 in the window. when i click ok i get a stack of four items, even though clearly it was supposed to purchase 20.

trying again - click stack, 15 shows - and i get 3 items instead of the selected 15. no matter what i do this happens. in addition it charges for the individual items, not what is calculated in the box.

without fail, if it is an item sold in stacks of 5 (food/drink) it will only purchase four of the individual item, not 4 stacks of said item no matter what that item is.

first, i am using the latest version (3.0) downloaded from here. i have tried this with all my usual mods, none of them, some of them, and several different sets of some of them. nothing works - any idea/suggestion?




Hmmm, I'll look into that ASAP. Sorry for the delay, I thought WoWI auto-emailed me when I got a new addon comment. x.x
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 07:03 AM  
Kramarz
A Kobold Labourer

Forum posts: 0
File comments: 194
Uploads: 0
Confirmed. At the moment it makes buying stacks of items (of 5 for example) IMPOSSIBLE.
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 11:22 AM  
txamethyst
An Aku'mai Servant
 
txamethyst's Avatar

Forum posts: 36
File comments: 101
Uploads: 0
no error documented, but a problem

on both the ptr and beta, and now on the live servers, i absolutely can not purchase a full stack of any item (food/drink) that is sold in stacks of five. i can select the item, click the stack button and it will show 20 in the window. when i click ok i get a stack of four items, even though clearly it was supposed to purchase 20.

trying again - click stack, 15 shows - and i get 3 items instead of the selected 15. no matter what i do this happens. in addition it charges for the individual items, not what is calculated in the box.

without fail, if it is an item sold in stacks of 5 (food/drink) it will only purchase four of the individual item, not 4 stacks of said item no matter what that item is.

first, i am using the latest version (3.0) downloaded from here. i have tried this with all my usual mods, none of them, some of them, and several different sets of some of them. nothing works - any idea/suggestion?




Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: