Download
(481Kb)
Download
Updated: 07-26-10 03:21 PM
Pictures
File Info
Updated:07-26-10 03:21 PM
Created:unknown
Downloads:13,438
Favorites:75
MD5:

BuyDropper  Popular! (More than 5000 hits)

Version: 1.5b
by: ellira, Myster

Hi! I talked with Cogwheel, and got the development of the Buydropper project transferred over. I plan to start working on updating it over the next few weeks so, if anyone has any features requests/bug reports, please contact me via PM or comments on this addon. I'll update this page with the plans and roadmap I have for Buydropper shortly, when I 've had the time to play around with it a bit.

- Ellira

BuyDropper

By Cogwheel — v0.9B5
Inspired by FreeRefills by Kyahx

BuyDropper keeps a list of items to purchase automatically from vendors.

Please visit Cogwheel’s Workshop for updates, bug reports, feature requests, etc.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Guide

Managing your list

Adding items

The first thing you’ll want to do is add an item to BuyDropper’s tracking list. This can be done in two easy ways. By default, every vendor window has a dropper in the upper right and there is also a dropper on BuyDropper’s options window. Simply drag and drop an item onto one of these droppers and a window will appear where you can enter the amount you want to track. When you click Accept or press Enter, BuyDropper will print a message showing the item and quantity added to the list.

The other way to add items is the /buydropper add command. This duality of GUI/slash commands is seen throughout BuyDropper’s operations. For the rest of the guide, I will focus on the GUI aspects. You can use the Reference below to discover how to use the various commands.

[TODO: Rest of the documentation. For now, take a look at /buydropper options and the Reference below]

Reference

These are all the slash commands available from BuyDropper. Typing /buydropper (or /bd) will show this list of commands. Sub-commands are displayed when you enter the main command with no options. E.g. /buydropper vendor will display all the sub-commands of vendor.

addstack

Usage: /buydropper addstack <item link> <number of stacks>

Adds an item to the bottom of your tracking list or changes the amount of an item you are already tracking.

add

Usage: /buydropper add <item link> <amount>

Adds an item to the bottom of your tracking list or changes the amount of an item you are already tracking.

To use this command, type /buydropper add with a space after it. Now shift-click any item at a vendor, in your backpack, on your character, etc. Add another space, and type in the amount of the item you want to track.

list

Usage: /buydropper list

Lists the items you are currently tracking in order of descending priority.

del

Usage: /buydropper del <item link>

Removes the item at the specified priority from your tracking list.

resetall

Usage: /buydropper resetall

Clears all items from your list. A confirmation will appear to make sure you mean it.

v1.5b

* Fixed broken embeds

v1.5a

* Various small bug fixes, Library updates

v1.5

* Push latest Ace3, LibQTip libraries

* Fixed OnLoad nil errors

v1.4b

* Another shot at fixing broken embeds, think I got them straight this time around

v1.4

* Added LDB Support

v1.3

* Fixed broken globals
* Added To VendorDropper tooltip the ability to see what is in the auto restock que

v1.2b

* Fxed broken CogsBagSpace Library... Should probably learn to commit the library changes when I update it

v1.2

* Fixed broken embeds

v1.1

* Fixed the purchasing bug will now purchase all items again.
* Updated the CogsBagCode to the latest version and made adjustments to the BuyDropperEngine
* Minor adjustments to the tooltip code

v1.0

* Converted to Ace3 Framework
* Rewroked the Configuration and Injected into Blizz Options Panel
* Added LibQTip-1.0 Support
* Now Pulls Items from Bank
* Added WorldDropper Button with ButtonFacade Support, this allows for any item at anytime to be added to the restocker.
* Added Stack Command to the command handler usage: /bd addstack <itemlink> <number of stacks>"

v0.9B5

* Fixed purchasing bug in v0.9B5 (thanks to sag_ich_nicht)
* Updated for 3.2

v0.9B4

* When you add an item to the tracking list while at a vendor, it will be immediately purchased (or confirmed to be purchased).
* You can now remove the last item in the tracking list.
* Limited quantity items are now handled appropriately.

v0.9B3

* Updated for 3.0.2

v0.9B2

* Fixed a bug where an error would occur when buying items if you do not have BuyEmAll installed

v0.9B1

* Purchasing is now enabled.
* Enabling BuyDropper while at a vendor will now scan the vendor.
* Uses the new GetCursorInfo API instead of hooking all the Pickup_____Item functions (PickupMerchantItem is still hooked because GetCursorInfo doesn returns nil for merchant items).
* Fixed the bug where if an error occurs while buying an item it will no longer attempt to buy that item when you open the vendor again.
* Added /buydropper change command.
* Budget will now only affect purchases if the confirmation is turned off.
* Implemented the Clear List button in the options window.
* /buydropper clear no longer requires the “yes” parameter. Instead it shows a confirmation dialog like the Clear List button in the options window.
* Fixed a validation bug for the /buydropper priority command.

v0.9A4

* Added purchasing code. You must uncomment the section starting on line 275 of BuyDropperEngine.lua in order to enable this functionality.
* No longer rescans a vendor from which you’ve already purchased an item until your next visit.
* Added this readme

v0.9A3

* Updated for 2.0.3.

v0.9A2

* Fixed bug with CogsBagSpace.

v0.9A1

* No longer requires FreeRefills.
* Added all slash commands and the GUI options window.

v0.3

* Added commands to customize the vendor dropper.
* Updated Ace2 libraries.

v0.2

* Entering 0 for the amount now removes the item from the list.
* Added tracking buttons.

v0.1

* Initial Release.
Post A Reply Comment Options
Unread 02-01-10, 07:25 PM  
Myster
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 167
Uploads: 11
Re: hi again

Originally posted by blankStare
hang in there, one more

now it comes up with the following when I select purchase:
2x BuyDropper-1.2\BuyDropperEngine.lua:252: attempt to call global 'CogsFreeBagSpace' (a nil value)
BuyDropper-1.2\BuyDropperEngine.lua:223: in function `PurchaseItem'
BuyDropper-1.2\BuyDropperQueue.lua:47: in function `PurchaseNextQueued'
BuyDropper-1.2\BuyDropperQueue.lua:39: in function <BuyDropper\BuyDropperQueue.lua:38>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?:
AceTimer-3.0-5 (BonusScanner):158: in function <...dOns\BonusScanner\libs\AceTimer-3.0\AceTimer-3.0.lua:132>

---

Also, is the vendor window not supposed to show the count on the items anymore?
Removed that feature cause it broke compaitability with a few other vendor mods, so I figured with the new broker display it was no longer needed anyway. I may try to find a way to restore it but it is on my low priority todo list.
Report comment to moderator  
Reply With Quote
Unread 02-01-10, 05:39 PM  
blankStare
A Kobold Labourer

Forum posts: 1
File comments: 82
Uploads: 0
hi again

hang in there, one more

now it comes up with the following when I select purchase:
2x BuyDropper-1.2\BuyDropperEngine.lua:252: attempt to call global 'CogsFreeBagSpace' (a nil value)
BuyDropper-1.2\BuyDropperEngine.lua:223: in function `PurchaseItem'
BuyDropper-1.2\BuyDropperQueue.lua:47: in function `PurchaseNextQueued'
BuyDropper-1.2\BuyDropperQueue.lua:39: in function <BuyDropper\BuyDropperQueue.lua:38>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?:
AceTimer-3.0-5 (BonusScanner):158: in function <...dOns\BonusScanner\libs\AceTimer-3.0\AceTimer-3.0.lua:132>

---

Also, is the vendor window not supposed to show the count on the items anymore?
Last edited by blankStare : 02-01-10 at 07:18 PM.
Report comment to moderator  
Reply With Quote
Unread 02-01-10, 01:37 AM  
Myster
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 167
Uploads: 11
Re: error with new version.

Originally posted by blankStare
I'm getting the following.

1x BuyDropper-1.1\BuyDropper.lua:775: Usage: RegisterEvent("eventname", "methodname"): 'methodname' - method 'ScanMerchant' not found on self.
CallbackHandler-1.0-5:139: in function `RegisterEvent'
BuyDropper-1.1\BuyDropper.lua:775: in function <BuyDropper\BuyDropper.lua:751>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0-5:539: in function `EnableAddon'
AceAddon-3.0-5:629: in function <...s\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:615>
<in C code>: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:234: in function `UIParentLoadAddOn':
Interface\FrameXML\UIParent.lua:257: in function `CombatLog_LoadUI':
Interface\FrameXML\UIParent.lua:481: in function <Interface\FrameXML\UIParent.lua:453>:

---

1x BuyDropper-1.1\BuyDropperEngine.lua:1: Cannot find a library instance of "LibBagUtils-1.0".
Skillet-1.10-LS-163\Libs\AceLibrary\AceLibrary.lua:49: in function `LibStub'
BuyDropper-1.1\BuyDropperEngine.lua:1: in main chunk

Locals:
self = <table> {
NewLibrary = <function> @ Skillet\Libs\AceLibrary\AceLibrary.lua:38:
minors = <table> {}
minor = 2
IterateLibraries = <function> @ Skillet\Libs\AceLibrary\AceLibrary.lua:54:
GetLibrary = <function> @ Skillet\Libs\AceLibrary\AceLibrary.lua:47:
libs = <table> {}
}
major = "LibBagUtils-1.0"
silent = nil

---

Bah my bad gd embeds, fixed in next release......
Report comment to moderator  
Reply With Quote
Unread 01-31-10, 05:27 PM  
blankStare
A Kobold Labourer

Forum posts: 1
File comments: 82
Uploads: 0
error with new version.

I'm getting the following.

1x BuyDropper-1.1\BuyDropper.lua:775: Usage: RegisterEvent("eventname", "methodname"): 'methodname' - method 'ScanMerchant' not found on self.
CallbackHandler-1.0-5:139: in function `RegisterEvent'
BuyDropper-1.1\BuyDropper.lua:775: in function <BuyDropper\BuyDropper.lua:751>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0-5:539: in function `EnableAddon'
AceAddon-3.0-5:629: in function <...s\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:615>
<in C code>: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:234: in function `UIParentLoadAddOn':
Interface\FrameXML\UIParent.lua:257: in function `CombatLog_LoadUI':
Interface\FrameXML\UIParent.lua:481: in function <Interface\FrameXML\UIParent.lua:453>:

---

1x BuyDropper-1.1\BuyDropperEngine.lua:1: Cannot find a library instance of "LibBagUtils-1.0".
Skillet-1.10-LS-163\Libs\AceLibrary\AceLibrary.lua:49: in function `LibStub'
BuyDropper-1.1\BuyDropperEngine.lua:1: in main chunk

Locals:
self = <table> {
NewLibrary = <function> @ Skillet\Libs\AceLibrary\AceLibrary.lua:38:
minors = <table> {}
minor = 2
IterateLibraries = <function> @ Skillet\Libs\AceLibrary\AceLibrary.lua:54:
GetLibrary = <function> @ Skillet\Libs\AceLibrary\AceLibrary.lua:47:
libs = <table> {}
}
major = "LibBagUtils-1.0"
silent = nil

---
Last edited by blankStare : 01-31-10 at 05:31 PM.
Report comment to moderator  
Reply With Quote
Unread 01-31-10, 03:20 PM  
Myster
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 167
Uploads: 11
Auto Purchase

Fixed the bug with auto purchase function, will now buy everything it is supposed to again.
Report comment to moderator  
Reply With Quote
Unread 01-26-10, 03:57 PM  
Myster
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 167
Uploads: 11
Re: Free bag space calculations

Originally posted by Cogwheel
FWIW, the new maintainer of BuyEmAll updated the CogsBagSpace library to use the ItemFamily APIs introduced since my last update of BuyDropper (meaning you no longer have to update it with new PeriodicTable data and it will correctly take into account new bag types that didn't exist during the initial development).
Good to hear I had the library on my to do list to update it.

Will grab it from there instead, and update BuyDropper with it.


Also what do you think of my hack and slash up of your previous work??
Last edited by Myster : 01-26-10 at 04:00 PM.
Report comment to moderator  
Reply With Quote
Unread 01-26-10, 12:25 PM  
Cogwheel
Sans Poisson
 
Cogwheel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 237
File comments: 137
Uploads: 12
Free bag space calculations

FWIW, the new maintainer of BuyEmAll updated the CogsBagSpace library to use the ItemFamily APIs introduced since my last update of BuyDropper (meaning you no longer have to update it with new PeriodicTable data and it will correctly take into account new bag types that didn't exist during the initial development).
__________________
[SIGPIC][/SIGPIC]
Report comment to moderator  
Reply With Quote
Unread 01-26-10, 09:45 AM  
Myster
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 167
Uploads: 11
I did track down the locals error to me not listing the AceLocales lib in the embed and that is fixed, however I have not been able to reproduce your other issues....

I believe the issues you have listed were intentional...
I have added a scheduled delay on items purchusing for a reason, this is to combat players who have high latency issues, so it will delay any transactions for a few sec until it offers to buy (or you change a vendor page, because obviously you arent lagging if you can change the pages).

I may add in the options a slider to allow you to set your own reaction time for purchases.
Report comment to moderator  
Reply With Quote
Unread 01-24-10, 04:13 AM  
Contiki
A Kobold Labourer
 
Contiki's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 72
Uploads: 2
Hi there,

I've tried the latest version. Automatically withdrawing items from my bank works fine as far as I've tested, that's a plus compared to the former version. However, auto-purchasing items from vendors has issues.
  • BuyDropper only refills one item for every time you talk to a vendor.
  • BuyDropper only purchases items once you've either
    1. interacted with the vendor window; for example by buying or selling something.
    2. interacted with BuyDropper for example by adding another item to the auto-purchase list.
Here's an example of how to reproduce this behavior. Let's say you always want to carry five Bottles of Pinot Noir and five Skins of Dwarven Stout with you.
  1. Talk to the vendor. Let's call the open vendor window a session. So far during this session BuyDropper hasn't done anything.
  2. Add the Bottles of Pinot Noir to your auto-purchase list. Remember that BuyDropper seems to auto-purchase one item per session. It hasn't purchased anything during this session yet. You've just interacted with BuyDropper by adding the Bottles of Pinot Noir; so the moment you confirm your choice BuyDropper will auto-buy your drinks.
  3. Keep the vendor window open. You're still in the same session. Add the Skins of Dwarven Stout to your auto-purchase list. Unlike with the Bottles of Pinot Noir BuyDropper won't immediately auto-purchase the Stout. BuyDropper seems to auto-purchase one item per session and it already has purchased the Bottles of Pinot Noir during this one.
  4. Close and re-open the vendor window. You're now in a new session. In case you're wondering why BuyDropper doesn't automatically buy the Stout, it is because so far you haven't interacted with the vendor or with BuyDropper.
  5. Interact with the vendor or with BuyDropper. For example buy or sell any arbitrary item. Or add another item to BuyDropper's auto-purchase list. The moment you interact with either the vendor or with BuyDropper you trigger the auto-purchasing and bam, it buys the Skins of Dwarven Stout.
I like the way BuyDropper is headed. However, since at least for me auto-purchasing is more important than automatically withdrawing items from my bank I went back to the former version of BuyDropper. When a fix is released I'll give this one another try. Keep going!

On a side note, while I was trying to track down the reason for BuyDropper's auto-purchase behavior I temporarily disabled all other add-ons. With just BuyDropper and an error-reporting add-on loaded this message pops up:

Code:
Date: 2010-01-24 10:27:27
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\BuyDropper\locale\locale-enUS.lua line 1:
   Cannot find a library instance of "AceLocale-3.0".
Debug:
   [C]: ?
   [C]: error()
   !Swatter\Support\LibRevision.lua:47: LibStub()
   BuyDropper\locale\locale-enUS.lua:1: in main chunk
AddOns:
  Swatter, v5.7.4568 (KillerKoala)
  BuyDropper, v1.0
  BlizRuntimeLib_deDE v3.3.0.30300 <eu>
  (ck=5e)

Oh and with just BuyDropper loaded, the add-on isn't integrated into the game's AddOn Options menu any more.
Report comment to moderator  
Reply With Quote
Unread 01-23-10, 05:06 PM  
Myster
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 167
Uploads: 11
Originally posted by blankStare
fantastic news. Thanks!

Tell me what you guys think of all my changes I am intrested to see if you guys like the direction I took this mod.
Report comment to moderator  
Reply With Quote
Unread 01-23-10, 05:04 PM  
blankStare
A Kobold Labourer

Forum posts: 1
File comments: 82
Uploads: 0
fantastic news. Thanks!
Report comment to moderator  
Reply With Quote
Unread 01-23-10, 12:23 PM  
Myster
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 167
Uploads: 11
New Co-Author

I have uploaded my changes to BuyDropper.

There is alot of changes, check em out tell me what you think.
Report comment to moderator  
Reply With Quote
Unread 01-15-10, 02:36 PM  
Myster
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 167
Uploads: 11
New BuyDropper

I have completely converted this to Ace3, and created a LDB Display plugin for it as well, I also added bank retrieving code as well as a WorldDropper Button. Some other cool features as well.

Who do I send my changes to and what is the contact info, feel free to hit me up in a PM with the requested contact info.
Report comment to moderator  
Reply With Quote
Unread 11-25-09, 03:27 PM  
RMR
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Sorry

My apologies I thought i had it at the current version.
Report comment to moderator  
Reply With Quote
Unread 11-23-09, 05:09 PM  
ellira
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
Re: I get this error

I should have noticed it when I first looked a your message... You are running a -very- old version of BuyDropper, that version does not work with the current client. Please upgrade to version 0.9B5 and let me know if you're still having the same issue.

Originally posted by RMR
I get this error

Date: 2009-11-21 10:44:10
ID: 1
Error occured in: Global
Count: 4
Message: ..\AddOns\BuyDropper\BuyDropperOptions.lua line 58:
attempt to index a nil value
Debug:
[C]: ?
BuyDropper\BuyDropperOptions.lua:58: OptionBoxLoad()
[string "*:OnLoad"]:1:
[string "*:OnLoad"]:1
AddOns:
Swatter, v3.1.14 (<%codename%>)
ACP, v3.2.0.23
AdvancedTradeSkillWindow, v
Altoholic, v3.2.003
AtlasLoot, vv5.08.08
AtlasLootFu, vv5.08.08
AucAdvanced, v5.6.4424 (KangaII)
AucDb, v5.1.DEV.3583
AucFilterBasic, v5.6.4424 (KangaII)
AucFilterOutlier, v5.6.4424.2531
AucMatchUndercut, v5.6.4424.2531
AucStatClassic, v5.6.4424 (KangaII)
AucStatHistogram, v5.6.4424 (KangaII)
AucStatiLevel, v5.6.4424 (KangaII)
AucStatPurchased, v5.6.4424 (KangaII)
AucStatSales, v5.6.4424.2842
AucStatSimple, v5.6.4424 (KangaII)
AucStatStdDev, v5.6.4424 (KangaII)
AucStatWOWEcon, v5.6.4424.2530
AucUtilAHWindowControl, v5.6.4424.3311
AucUtilAppraiser, v5.6.4424.2530
AucUtilAskPrice, v5.6.4424.3175
AucUtilAutoMagic, v5.6.4424.3142
AucUtilCompactUI, v5.6.4424.2530
AucUtilEasyBuyout, v5.6.4424.3583
AucUtilFixAH, v5.6.4424 (KangaII)
AucUtilItemSuggest, v5.6.4424.3108
AucUtilPriceLevel, v5.6.4424.2545
AucUtilScanButton, v5.6.4424.2530
AucUtilScanFinish, v5.6.4424.2530
AucUtilScanProgress, v5.6.4424.2530
AucUtilSearchUI, v5.6.4424.3655
AucUtilSimpleAuction, v5.6.4424.0
AucUtilVendMarkup, v5.6.4424.2530
Babylonian, v5.1.DEV.130
Bartender4, v4.4.1
BeanCounter, v5.6.4424 (KangaII)
BonusScanner, v5.2
BuyDropper, v0.9A4
Configator, v5.1.DEV.130
DataStore, v3.2.003
DebugLib, v5.1.DEV.130
SlideBar, v3.1.14 (<%codename%>)
Stubby, v5.6.4424 (KangaII)
BlizRuntimeLib_enUS v3.2.2.30200 <us>
(ck=5b0)
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: