Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(16 Kb)
Download
Updated: 12-18-14 07:26 AM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.3)
Warlords of Draenor Pre-Patch (6.0.2)
Updated:12-18-14 07:26 AM
Created:unknown
Downloads:54,364
Favorites:536
MD5:
6.0.3

BuyEmAll  Updated less than 3 days ago!  Popular! (More than 5000 hits)

Version: 3.2.3
by: Shinisuryu [More]

Latest Change:
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.


BuyEmAll

Created and maintained by Cogwheel to v2.8.4. Now maintained by Shinisuryu.


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 enabled. 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.

Bugs

None known currently.

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.
Archived Files (22)
File Name
Version
Size
Author
Date
3.2.2
16kB
Shinisuryu
11-24-14 02:58 PM
3.2.1
16kB
Shinisuryu
11-04-14 11:26 PM
3.2.0
15kB
Shinisuryu
10-14-14 06:02 PM
3.1.8
15kB
Shinisuryu
09-15-13 10:29 AM
3.1.7
15kB
Shinisuryu
06-02-13 10:39 PM
3.1.6
15kB
Shinisuryu
05-31-13 07:29 AM
3.1.5
15kB
Shinisuryu
03-13-13 12:38 PM
3.1.4
15kB
Shinisuryu
12-03-12 10:32 AM
3.1.3
11kB
Shinisuryu
11-09-12 01:51 PM
3.1.2
11kB
Shinisuryu
11-04-12 11:49 PM
3.1.1
11kB
Shinisuryu
09-10-12 09:44 AM
3.1.0
11kB
Shinisuryu
08-28-12 09:08 PM
3.0.9
9kB
Shinisuryu
12-21-11 10:39 AM
3.0.8
10kB
Shinisuryu
12-16-11 03:51 AM
3.0.7
10kB
Shinisuryu
07-15-11 07:09 AM
3.0.6
10kB
Shinisuryu
05-11-11 04:10 PM
3.0.5
9kB
Shinisuryu
02-20-11 09:30 PM
3.0.4
9kB
Shinisuryu
12-03-10 11:33 PM
3.0.3
9kB
Shinisuryu
10-29-10 02:58 AM
3.0.2
9kB
Shinisuryu
10-28-10 12:50 PM
3.0.1
9kB
Shinisuryu
10-21-10 08:52 AM
3.0
9kB
Shinisuryu
10-17-10 11:13 AM


Post A Reply Comment Options
Unread 10-23-10, 09:23 AM  
Odlaw
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 67
Uploads: 7
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)
Odlaw is offline 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: 35
Uploads: 1
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.
Shinisuryu is offline 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: 35
Uploads: 1
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?
Shinisuryu is offline 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: 35
Uploads: 1
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
Shinisuryu is offline 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: 7
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.
Odlaw is offline 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! (:
Myrathi is offline 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: 35
Uploads: 1
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. ^^;
Shinisuryu is offline 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: 35
Uploads: 1
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.
Shinisuryu is offline 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.

^_^
Myrathi is offline 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: 1047
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.
Zidomo is offline 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: 35
Uploads: 1
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
Shinisuryu is offline Report comment to moderator  
Reply With Quote
Unread 10-14-10, 07:03 AM  
Kramarz
A Kobold Labourer

Forum posts: 0
File comments: 200
Uploads: 0
Confirmed. At the moment it makes buying stacks of items (of 5 for example) IMPOSSIBLE.
Kramarz is offline Report comment to moderator  
Reply With Quote
Unread 10-13-10, 11:22 AM  
txamethyst
A Fallenroot Satyr
 
txamethyst's Avatar

Forum posts: 29
File comments: 58
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?




txamethyst is offline Report comment to moderator  
Reply With Quote
Unread 07-13-10, 07:37 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4739
File comments: 2137
Uploads: 43
Originally posted by pir0k0
My UI is customized with Skinner. How can I match the BuyEmAll UI with the rest of UI?
Ask the author of Skinner to add a skin for BuyEmAll.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 07-11-10, 12:07 PM  
Cogwheel
Sans Poisson
 
Cogwheel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 237
File comments: 137
Uploads: 24
Re: Feature Request

Originally posted by ffcloud2000
Would it be possible to add a feature that autobuys certain items you add.. would add even more to it
While I can't speak for the current maintainer...

Originally posted by Cogwheel
That's what BuyDropper and FreeRefills are for
Among others, nowadays.
__________________
[SIGPIC][/SIGPIC]
Cogwheel is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: