Download
(127 Kb)
Download
Updated: 10-30-11 08:05 AM
Pictures
File Info
Updated:10-30-11 08:05 AM
Created:02-24-09 03:46 AM
Downloads:11,636
Favorites:197
MD5:
DropTheCheapestThing  Popular! (More than 5000 hits)
Version: 3.6.2
by: Kemayo [More]
Click a LDB plugin to drop the cheapest thing in your bags. (The cheapest grey item, by default...)

If you have an auction addon that supports Tekkub's "GetAuctionBuyout" API (I know AuctionLite does), it can optionally use the auction buyout price as the value instead of the vendor price.

It adds a "sell all" button to the merchant frame, and can automatically sell everything if you want it to.

Yes, this is just like FuBar/Broker_GarbageFu. It has all the crap I didn't use stripped out, though. I'm such a size queen.

(I was just going to fix an issue I was having with GarbageFu, and was horrified by the code. So I wrote this.)

You can configure:
  • Quality threshold for items to drop
  • Items you always want to drop, regardless of quality
  • Items you *never* want to drop, regardless of quality
3.6.2:
  • Show a total after selling items
  • Bagnon integration

3.6.1:
  • TOC to 40200

3.6:
  • TOC to 40000
  • Improved pre-drop verification, just to play it safe.

3.5.3:
  • TOC to 30300
  • Small tweak to sorting so that if stack-values are used and several stacks have the same potential maximum value, the stack which is currently worth less will be dropped first.
  • Change merchant auto-sell trigger. If you were seeing auto-sell tell you it didn't think you're at a merchant, this should fix it.
3.5.1:
  • Sort the sell list properly
  • change how an open merchant frame is detected, so ArkInventory can't mess it up any more
3.5:
  • Ctrl-right-click the broker to add the current item to the ignore list
  • Color-code auction/vendor in the tooltip
  • Option to use the value of a full stack instead of the current value
  • Remove AceConsole
  • Small tweaks: global profile by default, longer event bucket, ldb icon changes to quickdrop item
3.4.1: Missed a reference to ItemPrice-1.1.
3.4: Bump the TOC and remove ItemPrice-1.1 since it's no longer needed.
3.3.4: Fix "always consider" -- I broke it when I split drop/sell.
3.3.3: Bump TOC. Split out drop and sell thresholds. Fix error when rapidly clicking the LDB plugin.
3.3.2: Update ItemPrice-1.1 to include most new items from the 3.1 patch.
3.3.1: Tiny bugfix, stops an error when hiding the minimap icon.
3.3: Stop the sell-all button from overlapping other windows. Prevent a potential bug in the LDB config.
3.2: I suck, and was missing another lib. Same deal as 3.1.
3.1: There was a missing library -- if you had no other Ace3 addons, there'd be an error.
3: Optional auction prices. Add a minimap icon for people who don't want a broker display.
2.1: Fix "never consider" options. Make the sell-all button update if the merchant frame is open and you change settings.
2: Add config options, and assorted small tweaks.
1.1: Just expose the DB object as a quick patch for not having a config yet.
1: Initial release.
Optional Files (0)


Archived Files (19)
File Name
Version
Size
Author
Date
3.6.1
126kB
Kemayo
08-12-11 01:40 PM
3.6
125kB
Kemayo
10-11-10 11:33 PM
3.5.3
126kB
Kemayo
01-23-10 11:28 AM
3.5.1
118kB
Kemayo
08-22-09 01:40 PM
3.4.1
121kB
Kemayo
08-12-09 01:56 AM
3.4
121kB
Kemayo
08-12-09 01:25 AM
3.3.4
195kB
Kemayo
05-01-09 08:17 PM
3.3.3
195kB
Kemayo
04-28-09 01:27 PM
3.3.2
180kB
Kemayo
04-22-09 12:42 PM
3.3.2
180kB
Kemayo
04-22-09 04:30 AM
3.3.1
190kB
Kemayo
04-12-09 05:03 PM
3.3
190kB
Kemayo
04-09-09 09:34 PM
3.2
189kB
Kemayo
04-07-09 01:19 AM
3.1
186kB
Kemayo
04-05-09 04:46 PM
3
185kB
Kemayo
04-04-09 06:41 PM
2a
175kB
Kemayo
04-03-09 07:16 PM
2
174kB
Kemayo
04-02-09 07:42 PM
1a
83kB
Kemayo
02-26-09 09:51 PM
1
82kB
Kemayo
02-24-09 03:46 AM


Post A Reply Comment Options
Old 09-13-12, 11:25 AM  
bill_med87
A Kobold Labourer

Forum posts: 1
File comments: 50
Uploads: 0
Can we expect an update of this addon? Its only EXTREMELY helpful...

Thanks!
bill_med87 is offline Report comment to moderator  
Reply With Quote
Old 01-01-12, 04:12 PM  
Banur
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 126
Uploads: 3
The latest "bug" is caused by a change in bagnon.
To fix it you have to change line 9 in bagnon.lua (NOT the one from bagnon but DropTheCheapestThings' handler) from

Code:
local link = select(7, self:GetItemSlotInfo())
to
Code:
local link = select(7, self:GetInfo())
Banur is offline Report comment to moderator  
Reply With Quote
Old 01-23-10, 05:05 PM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 128
Uploads: 11
Originally posted by nightcracker
Should this really be 125.77 Kb? I think it can be done with 2kB. There is no need for a price database, you can get it trough the API nowadays. http://www.wowwiki.com/API_GetItemInfo
There's no price database included. It's mostly libraries, which themselves are mostly there for the config GUI. Ignoring those, it'd be ~7k.

If all you want is automatic selling of grays when you visit a merchant, that's easily done in 2k. This does more.
Kemayo is offline Report comment to moderator  
Reply With Quote
Old 01-23-10, 02:42 PM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 714
File comments: 429
Uploads: 31
Should this really be 125.77 Kb? I think it can be done with 2kB. There is no need for a price database, you can get it trough the API nowadays. http://www.wowwiki.com/API_GetItemInfo
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
Last edited by nightcracker : 01-23-10 at 02:43 PM.
nightcracker is offline Report comment to moderator  
Reply With Quote
Old 08-30-09, 03:39 PM  
Kastorz
A Kobold Labourer

Forum posts: 0
File comments: 23
Uploads: 0
ur mod is almost perfect just need one thing from my side - i would like to have option to drop item i dont need (eg. food regen) to sell items list and to show them on drop list too

Best regards
Kastorz
Kastorz is offline Report comment to moderator  
Reply With Quote
Old 08-26-09, 01:28 AM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 128
Uploads: 11
I just want to let y'all know that I'm in the middle of moving from California to Missouri, so I'm unlikely to fix this issue over the next week or so. (Exact timing depends on how quickly I get internet.)
Kemayo is offline Report comment to moderator  
Reply With Quote
Old 08-22-09, 11:59 PM  
Cidrei
A Deviate Faerie Dragon
 
Cidrei's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 102
Uploads: 28
EDIT: Filed as bug report, since that's probably a better place to put this.

Reporting the same issue, with only DropTheCheapestThing loaded. It works the first time you visit the vendor, and prints the message on subsequent visits. A short message added in the code, DEFAULT_CHAT_FRAME:AddMessage(MerchantFrame:IsVisible()) added after line 49, seems to indicate that the check on the MERCHANT_SHOW event is running after the sell attempt on repeat visits.

Further testing indicates that the following addons can cause the message on the first visit, if they are loaded: AckisRecipeList, Skillet, or StealYourCarbon. I am not running ArkInventory myself.
Last edited by Cidrei : 08-23-09 at 10:29 PM.
Cidrei is offline Report comment to moderator  
Reply With Quote
Old 08-22-09, 02:13 PM  
Syrah
A Kobold Labourer

Forum posts: 0
File comments: 26
Uploads: 0
Originally posted by Kemayo
I've just uploaded a version that should fix this.
Tried it, but still the same error unfortunately. Anything I can try and test to help?
Syrah is offline Report comment to moderator  
Reply With Quote
Old 08-22-09, 01:41 PM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 128
Uploads: 11
Originally posted by Syrah
It took some time but I found out which addon makes this one give the error: ArkInventory http://www.wowinterface.com/download...tory.html#info
I've just uploaded a version that should fix this.
Kemayo is offline Report comment to moderator  
Reply With Quote
Old 08-21-09, 02:35 AM  
Syrah
A Kobold Labourer

Forum posts: 0
File comments: 26
Uploads: 0
Originally posted by Kemayo
Could I persuade you to disable all your other addons and see whether it's still broken? (I have had no luck reproducing this.)
It took some time but I found out which addon makes this one give the error: ArkInventory http://www.wowinterface.com/download...tory.html#info
Syrah is offline Report comment to moderator  
Reply With Quote
Old 08-20-09, 02:52 PM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 128
Uploads: 11
Originally posted by Syrah
Show button: enabled, Auto-sell: enabled
This gives the error, the sell button is grey (not working). Print thingy shows 1

Show button: disabled, Auto-sell: enabled
This gives the error. Print thingy shows 1

Show button: enabled, Auto-sell: disabled
No error, button works. Print thingy shows 1

Addon list http://paste.wowace.com/992/ (long one, sorry about that )
Could I persuade you to disable all your other addons and see whether it's still broken? (I have had no luck reproducing this.)
Kemayo is offline Report comment to moderator  
Reply With Quote
Old 08-19-09, 02:01 AM  
Syrah
A Kobold Labourer

Forum posts: 0
File comments: 26
Uploads: 0
Originally posted by Kemayo

Could you try doing the following:

1. Use the eggshell icon on the merchant frame to sell all your junk.

2. If that doesn't work, type in this:

Code:
/print MerchantFrame:IsVisible()
...and tell me what shows up in your chat frame. (It should be 'nil', if the button didn't work. But for the sake of being thorough...)

Show button: enabled, Auto-sell: enabled
This gives the error, the sell button is grey (not working). Print thingy shows 1

Show button: disabled, Auto-sell: enabled
This gives the error. Print thingy shows 1

Show button: enabled, Auto-sell: disabled
No error, button works. Print thingy shows 1

Addon list http://paste.wowace.com/992/ (long one, sorry about that )
Last edited by Syrah : 08-19-09 at 03:37 AM.
Syrah is offline Report comment to moderator  
Reply With Quote
Old 08-18-09, 07:43 PM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 128
Uploads: 11
Originally posted by Syrah
No, the only thing I can think of that does anything to the frame is an addon that lets me move it: http://www.wowinterface.com/download...mAll.html#info
I will disable that and see what happens.

Edit: DragEmAll wasn't the problem, will keep looking.
Interesting. For reference, here's the check that has to fail to make that error message appear:

Code:
if sell_only and not MerchantFrame:IsVisible() then
Could you try doing the following:

1. Use the eggshell icon on the merchant frame to sell all your junk.

2. If that doesn't work, type in this:

Code:
/print MerchantFrame:IsVisible()
...and tell me what shows up in your chat frame. (It should be 'nil', if the button didn't work. But for the sake of being thorough...)

It might help me if you stuck a list of addons you use somewhere.
Last edited by Kemayo : 08-18-09 at 07:44 PM.
Kemayo is offline Report comment to moderator  
Reply With Quote
Old 08-18-09, 03:09 PM  
Syrah
A Kobold Labourer

Forum posts: 0
File comments: 26
Uploads: 0
Originally posted by Kemayo
Are you using any addons that change the look of merchant frames?
No, the only thing I can think of that does anything to the frame is an addon that lets me move it: http://www.wowinterface.com/download...mAll.html#info
I will disable that and see what happens.

Edit: DragEmAll wasn't the problem, will keep looking.
Last edited by Syrah : 08-18-09 at 03:19 PM.
Syrah is offline Report comment to moderator  
Reply With Quote
Old 08-17-09, 06:44 PM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 128
Uploads: 11
Originally posted by Syrah
Since last update I get this error at any merchant:
DropTheCheapestThing Error: Can't sell items while not at a merchant. Aborting.
Auto-sell is enabled.
Are you using any addons that change the look of merchant frames?
Kemayo is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.