Download
(135Kb)
Download
Compatible with Retail, Classic & TBC
Updated: 11-27-23 02:25 PM
Pictures
File Info
Compatibility:
Guardians of the Dream (10.2.0)
Classic (1.14.4)
WotLK Patch (3.4.2)
Updated:11-27-23 02:25 PM
Created:02-24-09 04:46 AM
Downloads:16,089
Favorites:199
MD5:

DropTheCheapestThing  Popular! (More than 5000 hits)

Version: v2023.5
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

DropTheCheapestThing
v2023.5 (2023-11-27)
Full Changelog Previous Releases
  • Invalid itemid would cause errors when opening config
    Fixes #21
Optional Files (0)


Archived Files (7)
File Name
Version
Size
Author
Date
v2023.4
136kB
Kemayo
11-10-23 04:55 PM
v2023.3
135kB
Kemayo
09-13-23 07:39 PM
v2023.2
135kB
Kemayo
02-10-23 12:06 PM
v2023.1
135kB
Kemayo
02-10-23 12:29 AM
v2022.2
134kB
Kemayo
11-14-22 10:34 PM
v2022.1
134kB
Kemayo
10-28-22 01:46 PM
v2022.0
134kB
Kemayo
09-19-22 07:55 PM


Post A Reply Comment Options
Unread 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.
Report comment to moderator  
Reply With Quote
Unread 08-18-09, 07:43 PM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 41
File comments: 129
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.
Report comment to moderator  
Reply With Quote
Unread 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.
Report comment to moderator  
Reply With Quote
Unread 08-17-09, 06:44 PM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 41
File comments: 129
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?
Report comment to moderator  
Reply With Quote
Unread 08-17-09, 02:11 PM  
Syrah
A Kobold Labourer

Forum posts: 0
File comments: 26
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.
Report comment to moderator  
Reply With Quote
Unread 07-22-09, 03:57 PM  
Tekkub
A Molten Giant
 
Tekkub's Avatar
AddOn Author - Click to view AddOns

Forum posts: 960
File comments: 334
Uploads: 67
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!
Report comment to moderator  
Reply With Quote
Unread 07-22-09, 02:43 AM  
Tekkub
A Molten Giant
 
Tekkub's Avatar
AddOn Author - Click to view AddOns

Forum posts: 960
File comments: 334
Uploads: 67
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!
Report comment to moderator  
Reply With Quote
Unread 07-01-09, 01:39 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
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.
Report comment to moderator  
Reply With Quote
Unread 05-01-09, 05:55 PM  
Whatever4ever
A Kobold Labourer

Forum posts: 0
File comments: 49
Uploads: 0
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…?
Report comment to moderator  
Reply With Quote
Unread 04-23-09, 04:58 PM  
Twidget
An Aku'mai Servant
 
Twidget's Avatar

Forum posts: 33
File comments: 401
Uploads: 0
Error

Hi,
Thanks for fixing the zip name.

Found an error.
Was doing some fishing in an area too high for my skill level so I fished up a bunch of junk gray items that DTCT didn't recognize. Here they are:

Name__________________Item ID________Sold 1 For
Driftwood_______________45190_________18c
Tangled Fishing Line______45194_________18c
Tattered Cloth___________45196_________1s
Tree Branch_____________45197_________18c
Weeds__________________45198_________18c
Old Boot________________45199__________18c
Sickly Fish______________45200__________18c


Hope that helps...

Thanks,
Twidget
Last edited by Twidget : 04-23-09 at 05:12 PM.
Report comment to moderator  
Reply With Quote
Unread 04-22-09, 05:40 AM  
Twidget
An Aku'mai Servant
 
Twidget's Avatar

Forum posts: 33
File comments: 401
Uploads: 0
Hi,
Just wanted to let you know.
With the latest version when you click the download button on WowInterface it show the name of the file as "DropTheCheapestThing-v3.2.2.zip" not 3.3.2.

I always keep the previous version of the zip files so was confused when the version number when backwards.

Thanks,
Twidget
Report comment to moderator  
Reply With Quote
Unread 04-13-09, 05:00 PM  
sammael
A Murloc Raider

Forum posts: 5
File comments: 65
Uploads: 0
when i rightclick icon on ldb to configure when there is nothing to drop i get this error, and addon options become unavailable until /reloadui. works fine if there is something to drop

Date: 2009-04-13 23:57:03
ID: 1
Error occured in: Global
Count: 1
Message: ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua line 1719:
AceConfigRegistry-3.0:ValidateOptionsTable(): DropTheCheapestThing.args.always.args.remove.args.37252.name: expected a string or funcref, got '37252'
Debug:
[C]: ?
[C]: error()
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:42:
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:37
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:173:
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:168
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:207:
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:182
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:217:
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:182
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:217:
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:182
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:217:
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:182
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:247: ValidateOptionsTable()
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:287: app()
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1719: Open()
DropTheCheapestThing\config.lua:127: ShowConfig()
DropTheCheapestThing\ldb.lua:22: OnClick()
ChocolateBar\Chocolate.lua:184:
ChocolateBar\Chocolate.lua:182

...+ loong list of addons i didn't include to keep post short. if its needed i can pm it to you.
Report comment to moderator  
Reply With Quote
Unread 04-12-09, 04:54 PM  
Kemayo
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 41
File comments: 129
Uploads: 11
Oh, yeah, I really should have released the version with that fix. It's up on wowace, but I never put it here. One second...

Originally posted by Twidget
Hi,
Thanks for fixing the vendor button! Works great now.

New problem. Got the following error when I tried to hide the minimap button. Don't need it since I am using LDB.

Date: 2009-04-12 08:20:25
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\DropTheCheapestThing\ldb.lua line 87:
attempt to index global 'db' (a nil value)
Debug:
(tail call): ?
DropTheCheapestThing\ldb.lua:87:
DropTheCheapestThing\ldb.lua:85
(tail call): ?
[C]: ?
[string "safecall Dispatcher[2]"]:9:
[string "safecall Dispatcher[2]"]:5
(tail call): ?
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:786:
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:605
(tail call): ?
[C]: ?
[string "safecall Dispatcher[3]"]:9:
[string "safecall Dispatcher[3]"]:5
(tail call): ?
...ce\AddOns\AuctionLite\Libs\AceGUI-3.0\AceGUI-3.0.lua:305: Fire()
...te\Libs\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:53:
...te\Libs\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:49
AddOns:


Thanks,
Twidget
Report comment to moderator  
Reply With Quote
Unread 04-12-09, 06:22 AM  
Twidget
An Aku'mai Servant
 
Twidget's Avatar

Forum posts: 33
File comments: 401
Uploads: 0
Hi,
Thanks for fixing the vendor button! Works great now.

New problem. Got the following error when I tried to hide the minimap button. Don't need it since I am using LDB.

Date: 2009-04-12 08:20:25
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\DropTheCheapestThing\ldb.lua line 87:
attempt to index global 'db' (a nil value)
Debug:
(tail call): ?
DropTheCheapestThing\ldb.lua:87:
DropTheCheapestThing\ldb.lua:85
(tail call): ?
[C]: ?
[string "safecall Dispatcher[2]"]:9:
[string "safecall Dispatcher[2]"]:5
(tail call): ?
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:786:
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:605
(tail call): ?
[C]: ?
[string "safecall Dispatcher[3]"]:9:
[string "safecall Dispatcher[3]"]:5
(tail call): ?
...ce\AddOns\AuctionLite\Libs\AceGUI-3.0\AceGUI-3.0.lua:305: Fire()
...te\Libs\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:53:
...te\Libs\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:49
AddOns:


Thanks,
Twidget
Report comment to moderator  
Reply With Quote
Unread 04-08-09, 05:07 PM  
Twidget
An Aku'mai Servant
 
Twidget's Avatar

Forum posts: 33
File comments: 401
Uploads: 0
Question Icon

Hi,
Would it be possible to make the icon that shows up in the vendor window smaller or in a different spot? Many times when I go to buy reagents I shift click the item I want to purchase and the 1-20 count window pops up but if the item I am buying is in the top right position then the count window is covered by your icon and it makes it very difficult to click the right arrow in the count window or even see the count. Shouldn't the count window be showing on top on the icon any way? It's like the icon is floating above the vendor window.

Thanks,
Twidget
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.