Download
(481Kb)
Download
Updated: 07-26-10 03:21 PM
Pictures
File Info
Updated:07-26-10 03:21 PM
Created:unknown
Downloads:13,460
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 11-23-09, 10:48 AM  
ellira
A Kobold Labourer
AddOn Author - Click to view AddOns

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

I'll take a look at what could cause this tonight.

- Ellira

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
Unread 11-21-09, 11:51 AM  
RMR
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
I get this error

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
Unread 11-05-09, 05:12 PM  
blankStare
A Kobold Labourer

Forum posts: 1
File comments: 82
Uploads: 0
thx

hey, thank you very much. This remains a favorite of mine.
Report comment to moderator  
Reply With Quote
Unread 11-03-09, 11:32 AM  
ellira
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
Resurrecting Buydropper

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 orhere. 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
Report comment to moderator  
Reply With Quote
Unread 06-23-09, 11:28 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
Originally posted by sag_ich_nicht
I provided that code snippet, not Zidomo, but whatever...
Yes, I just reposted the text as a quote with sag_ich_nicht attributed at the top. But whatever...
Report comment to moderator  
Reply With Quote
Unread 05-29-09, 06:41 AM  
sag_ich_nicht
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 22
Uploads: 3
Originally posted by mfrnka
Thanks for code snippet, Zidomo. Worked great!!
I provided that code snippet, not Zidomo, but whatever...
Report comment to moderator  
Reply With Quote
Unread 03-18-09, 04:51 PM  
mfrnka
Premium Member

Forum posts: 26
File comments: 20
Uploads: 0
Thanks for code snippet, Zidomo. Worked great!!

Originally posted by Zidomo
Applied this patch to the currently available v0.9B4. As others have mentioned, it fixes the mod so it works properly without errors...yay.

But a shame WowInterface decided to delete the archived versions of many mods (including this one). The earlier v0.9b3 that used to be available to download also worked without issues.

So I can't direct guild members here anymore to download/use the mod .
I have to suggest a different restocking mod to them instead (StealYourCarbon is my second preference behind BuyDropper). Which is a shame; BuyDropper offers features not available in any other restocking mod and it doesn't suck up CPU/memory resources unlike a lot of them.

So hope Cogwheel returns and updates BuyDropper soon .
Last edited by mfrnka : 03-18-09 at 04:51 PM.
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 05:19 PM  
blankStare
A Kobold Labourer

Forum posts: 1
File comments: 82
Uploads: 0
0.9b4

even though it's labeled the same version as the last, the libs were updated. I would recommend updating just the libs directory and doing the fix below if you haven't done the fix.
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 03:45 PM  
Cogwheel
Sans Poisson
 
Cogwheel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 237
File comments: 137
Uploads: 12
Thanks for all the posts. I've restored the archive of B3 if anyone wants it. I'll look into the other issues but I can't make any promises as to when I'll be able to update.
__________________
[SIGPIC][/SIGPIC]
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 12:16 PM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
Originally posted by sag_ich_nicht
I have narrowed down this problem to the function starting on line 189 in BuyDropperEngine.lua:

Code:
<local toBuy = item.amount - CogsBagSpace:GetBagItemCount(item.id)
>local toBuy = min(item.amount - CogsBagSpace:GetBagItemCount(item.id), item.available)
I don't think that does what you think it does cogwheel.

Here is what does what you want:
Code:
function BuyDropper:NumToBuy(item)
    if item.available ~= -1 then
       --Item count is not -1, which means it's limited quantity. Determine available quantity and how much we want to buy.
       local toBuy = min(item.amount - CogsBagSpace:GetBagItemCount(item.id), item.available)
       if item.preset > 1 then
          toBuy = (self.db.profile.overstock and ceil or floor)(toBuy/item.preset)
       end
    return toBuy
    else
       --Item count is -1, which means infinite quantity. Get amount we want and get out of here.
       local toBuy = item.amount - CogsBagSpace:GetBagItemCount(item.id)
       if item.preset > 1 then
          toBuy = (self.db.profile.overstock and ceil or floor)(toBuy/item.preset)
       end

    return toBuy
    end
end
For anyone wanting to use the latest buydropper version, simply replace the function starting on line 189 with the one I just posted, and it should work.

Pastey of the BuyDropperEngine.lua.patch file:
http://pastey.net/105351
Applied this patch to the currently available v0.9B4. As others have mentioned, it fixes the mod so it works properly without errors...yay.

But a shame WowInterface decided to delete the archived versions of many mods (including this one). The earlier v0.9b3 that used to be available to download also worked without issues.

So I can't direct guild members here anymore to download/use the mod .
I have to suggest a different restocking mod to them instead (StealYourCarbon is my second preference behind BuyDropper). Which is a shame; BuyDropper offers features not available in any other restocking mod and it doesn't suck up CPU/memory resources unlike a lot of them.

So hope Cogwheel returns and updates BuyDropper soon .
Report comment to moderator  
Reply With Quote
Unread 01-11-09, 10:44 PM  
BlackKnight6667
A Fallenroot Satyr
 
BlackKnight6667's Avatar

Forum posts: 20
File comments: 18
Uploads: 0
Re: fix

Originally posted by blankStare
hey, thanks for the fix. I'll try it when the queue goes down.
I applied the fix, BuyDropper works again. Thanks god... I hated trying to remember to pick up all my stuff. I was always forgetting that it wasn't working...
__________________
Borkr, Maintankadin
Defenders of Valhalla

Report comment to moderator  
Reply With Quote
Unread 01-01-09, 09:28 PM  
blankStare
A Kobold Labourer

Forum posts: 1
File comments: 82
Uploads: 0
fix

hey, thanks for the fix. I'll try it when the queue goes down.
Report comment to moderator  
Reply With Quote
Unread 12-31-08, 09:09 PM  
sag_ich_nicht
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 22
Uploads: 3
I have narrowed down this problem to the function starting on line 189 in BuyDropperEngine.lua:

Code:
<local toBuy = item.amount - CogsBagSpace:GetBagItemCount(item.id)
>local toBuy = min(item.amount - CogsBagSpace:GetBagItemCount(item.id), item.available)
I don't think that does what you think it does cogwheel.

Here is what does what you want:
Code:
function BuyDropper:NumToBuy(item)
    if item.available ~= -1 then
	   --Item count is not -1, which means it's limited quantity. Determine available quantity and how much we want to buy.
	   local toBuy = min(item.amount - CogsBagSpace:GetBagItemCount(item.id), item.available)
	   if item.preset > 1 then
		  toBuy = (self.db.profile.overstock and ceil or floor)(toBuy/item.preset)
	   end
	return toBuy
	else
	   --Item count is -1, which means infinite quantity. Get amount we want and get out of here.
	   local toBuy = item.amount - CogsBagSpace:GetBagItemCount(item.id)
	   if item.preset > 1 then
		  toBuy = (self.db.profile.overstock and ceil or floor)(toBuy/item.preset)
	   end

	return toBuy
	end
end
For anyone wanting to use the latest buydropper version, simply replace the function starting on line 189 with the one I just posted, and it should work.

Pastey of the BuyDropperEngine.lua.patch file:
http://pastey.net/105351
Last edited by sag_ich_nicht : 12-31-08 at 11:13 PM.
Report comment to moderator  
Reply With Quote
Unread 11-29-08, 11:04 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
Just a confirmation that v0.9b3 (from the Archived page) works without issues in WoW 3.0.3/WotLK, while the main b4 download does not.

I look forward to the b4 fix Cogwheel .
Report comment to moderator  
Reply With Quote
Unread 11-16-08, 12:08 PM  
Cogwheel
Sans Poisson
 
Cogwheel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 237
File comments: 137
Uploads: 12
Originally posted by Thortok2000
B3 works, B4 doesn't. =/
For everyone experiencing problems, please go a head and use B3 until i'm able to solve the problem. I don't have any ETA right now because I can't really spend much time working on my addons until next week. Sorry for the trouble.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: