Addon Information
Works with 3.2
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Kemayo's Portal Bug Reports Feature Requests
Author:
Version:
3.5.1
Date:
08-22-2009 03:40 PM
Size:
117.84 Kb
Downloads:
5,656
Favorites:
206
MD5:
Pictures
Click to enlarge
LDB tooltip
Click to enlarge
Sell-all button
DropTheCheapestThing   Popular! (More than 5000 hits)
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, and it actually includes a price database. 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
  Change Log - DropTheCheapestThing
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 - DropTheCheapestThing
Sorry, there are currently no optional files available.
  Archived Versions - DropTheCheapestThing
File Name
Version
Size
Author
Date
3.4.1
121kB
Kemayo
08-12-2009 03:56 AM
3.4
121kB
Kemayo
08-12-2009 03:25 AM
3.3.4
195kB
Kemayo
05-01-2009 10:17 PM
3.3.3
195kB
Kemayo
04-28-2009 03:27 PM
3.3.2
180kB
Kemayo
04-22-2009 02:42 PM
3.3.2
180kB
Kemayo
04-22-2009 06:30 AM
3.3.1
190kB
Kemayo
04-12-2009 07:03 PM
3.3
190kB
Kemayo
04-09-2009 11:34 PM
3.2
189kB
Kemayo
04-07-2009 03:19 AM
3.1
186kB
Kemayo
04-05-2009 06:46 PM
3
185kB
Kemayo
04-04-2009 08:41 PM
2a
175kB
Kemayo
04-03-2009 09:16 PM
2
174kB
Kemayo
04-02-2009 09:42 PM
1a
83kB
Kemayo
02-26-2009 11:51 PM
1
82kB
Kemayo
02-24-2009 05:46 AM
  Comments - DropTheCheapestThing
Post A Reply Comment Options
Old 08-30-2009, 05:39 PM  
Kastorz
A Kobold Labourer

Forum posts: 0
File comments: 13
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   Edit/Delete Message Reply With Quote
Old 08-26-2009, 03:28 AM  
Kemayo
A Cyclonian
Interface Author - Click to view interfaces

Forum posts: 40
File comments: 108
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   Edit/Delete Message Reply With Quote
Old 08-23-2009, 01:59 AM  
Cidrei
Premium Member
Premium Member
Interface Author - Click to view interfaces

Forum posts: 5
File comments: 54
Uploads: 11
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-24-2009 at 12:29 AM.
Cidrei is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-22-2009, 04:13 PM  
Syrah
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Quote:
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   Edit/Delete Message Reply With Quote
Old 08-22-2009, 03:41 PM  
Kemayo
A Cyclonian
Interface Author - Click to view interfaces

Forum posts: 40
File comments: 108
Uploads: 11
Quote:
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   Edit/Delete Message Reply With Quote
Old 08-21-2009, 04:35 AM  
Syrah
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Quote:
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   Edit/Delete Message Reply With Quote
Old 08-20-2009, 04:52 PM  
Kemayo
A Cyclonian
Interface Author - Click to view interfaces

Forum posts: 40
File comments: 108
Uploads: 11
Quote:
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   Edit/Delete Message Reply With Quote
Old 08-19-2009, 04:01 AM  
Syrah
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Quote:
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-2009 at 05:37 AM.
Syrah is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-18-2009, 09:43 PM  
Kemayo
A Cyclonian
Interface Author - Click to view interfaces

Forum posts: 40
File comments: 108
Uploads: 11
Quote:
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-2009 at 09:44 PM.
Kemayo is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-18-2009, 05:09 PM  
Syrah
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Quote:
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-2009 at 05:19 PM.
Syrah is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-17-2009, 08:44 PM  
Kemayo
A Cyclonian
Interface Author - Click to view interfaces

Forum posts: 40
File comments: 108
Uploads: 11
Quote:
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   Edit/Delete Message Reply With Quote
Old 08-17-2009, 04:11 PM  
Syrah
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
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.
Syrah is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-22-2009, 05:57 PM  
Tekkub
Featured Artist
 
Tekkub's Avatar
Featured Addon Author

Forum posts: 670
File comments: 322
Uploads: 84
Okey one other thing... if you're going to use AceDB, please set it to use a global profile by default. Don't force profiles on people unless you must (i.e. the settings *have* to be char-specific because they depend on the player's class, spec, currently owned items...). Give a config panel for them to switch profiles if they want to use them, but default to global settings.
__________________
I have reached enlightment.
Thank you bacon!
Tekkub is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-22-2009, 04:43 AM  
Tekkub
Featured Artist
 
Tekkub's Avatar
Featured Addon Author

Forum posts: 670
File comments: 322
Uploads: 84
Quote:
I was just going to fix an issue I was having with GarbageFu, and was horrified by the code. So I wrote this.
Sad thing is, GarbageFu was a *rewrite* of my own ItemizedDeductions... glad to see someone did a much better job with it.

That being said, here's my thoughts for your lil addon here...

* Get ready for 3.2! No more need for vendor database (should kill the memory footprint for this addon)
* Don't show duplicate rows, if I have 4 stacks of Light Leather, only show it in the list once
* Give an option to round up to a full stack. Sometimes you have a non-stacking item for 5s and a 20-stacking item that's 1s/ea, but you only have 3... I'd rather drop the non-stacking item because I'm likely to get more of the 20-stacking item, making that one slot worth more in the end
* Limit the tooltip to something sane like 20 items. The user is only going to care about the first few on the list anyway
* Color code the tooltip tags when using auction prices, "poor" grey for "v" and white for "a" would do
* Put your config in the default UI's config pane... seriously, I hate addons that don't use that.
* Give a better config UI for the always/never items... clicky buttons look so ghetto. Steal the config from StealYourCarbon, it'd be perfect.
* Add a click shortcut to always ignore the current item. Ctrl-rightclick might be good (to avoid an accidental shift-leftclick)
* If the user disables the sell button (seriously, that should be in a different addon completely), *always* show the "drop" tooltip, even if the vendor is open
* Make the LDB icon be the same as the item being displayed
* You might want to lengthen your event bucket to a few seconds, it's not vital that the list update fast, and that way you'd catch a "loot session" of a few items. If the player mouses over the LDB display before your update has triggered, run it immediately.

Erm.. I think that's all for now. Again, I'm glad to see someone un-bastardize the rewrite of my old ItemDed.
__________________
I have reached enlightment.
Thank you bacon!
Tekkub is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-01-2009, 03:39 AM  
Phanx
A Cobalt Mageweaver
 
Phanx's Avatar
Interface Author - Click to view interfaces

Forum posts: 203
File comments: 733
Uploads: 17
Quote:
Originally posted by Whatever4ever
Seems like the “Always Consider” list doesn’t work, have some white items (fishes) on it, but they don’t get sold at the vendor – how come, is it broke, or…?
It's broken for dropping items, too. I've been running level 60 instances a lot lately trying to get my dungeon blue set, and have added a lot of frequently dropped white-quality items to the "Always Consider" list -- level 60 food/water, Ichor of Undeath, etc -- but they are never shown as available to be dropped.
Phanx is offline Report comment to moderator   Edit/Delete Message 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.




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.