DropTheCheapestThing
Click a LDB plugin to drop the cheapest thing in your bags. (The cheapest grey item, by default...)
Also adds a "sell all" button to the merchant frame.
You can configure
- What quality of item to drop
- What quality of item to sell
- To never drop items whose appearance you haven't yet learned
- To never drop soulbound items
- To drop low-level consumables
Please update for WoW Patch 8.2.
Missing library ChatThrottleLib and several others.
8.0 update please
Would it be possible to have the addon delete items that vendors won't buy when I visit the vendor?
The way the addon is now, I have to press shift and click on the data broker several times to delete all the non-vendorable items that I have added to the always consider list.
Hey Kemayo - I've got a strange problem, I can't seem to find the databroker option for DropTheCheapestThing anymore, at least not while using ElvUI.
Is this something you're aware of?
I'm Using v70000.1-1-g983404c
Since 6.2, This addon seems to be having trouble and tossing an error message over "Raw Scrap", internal item id 128630. Is anyone else seeing this? It this project still beign worked on?
Here's the swatter report:
Date: 2015-07-04 12:22:12
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\DropTheCheapestThing\button.lua line 79:
attempt to perform arithmetic on a nil value
Debug:
(tail call): ?
[C]: ?
DropTheCheapestThing\button.lua:79:
DropTheCheapestThing\button.lua:76
[C]: Click()
DropTheCheapestThing\button.lua:107:
DropTheCheapestThing\button.lua:104
[string "safecall Dispatcher[1]"]:4:
[string "safecall Dispatcher[1]"]:4
[C]: ?
[string "safecall Dispatcher[1]"]:13: ?()
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:90: Fire()
DropTheCheapestThing\addon.lua:65: ?()
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:145:
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:145
[string "safecall Dispatcher[1]"]:4:
[string "safecall Dispatcher[1]"]:4
[C]: ?
[string "safecall Dispatcher[1]"]:13: ?()
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:90: Fire()
Ace3\AceEvent-3.0\AceEvent-3.0.lua:120:
Ace3\AceEvent-3.0\AceEvent-3.0.lua:119
Locals:
(*temporary) = "MERCHANT_SHOW"
(*temporary) = "MERCHANT_SHOW"
(*temporary) = <function> defined =[C]:-1
AddOns:
Swatter, v5.21e.5566 (SanctimoniousSwamprat)
NPCScan, v6.2.0.1
NPCScanOverlay, v6.2.0.1
NPCScanOverlayBroker, v1.2.6
Ace3, v
AchievementsReminder, v
AckisRecipeList, v6.2.0.3
AckisRecipeListQuickScan, v6.2.0.1
ACP, v3.4.16
AddFriend, v3.29
AdiButtonAuras, v1.9.4
Ailo, v
Archy, v6.2.0.1
AskMrRobot, v26
AucAdvanced, v5.21e.5566 (SanctimoniousSwamprat)
AucFilterBasic, v5.21e.5566 (SanctimoniousSwamprat)
AucFilterOutlier, v5.21e.5566.5459(5.21e/embedded)
AucMatchUndercut, v5.21e.5566.5507(5.21e/embedded)
AucStatHistogram, v5.21e.5566 (SanctimoniousSwamprat)
AucStatiLevel, v5.21e.5566 (SanctimoniousSwamprat)
AucStatPurchased, v5.21e.5566 (SanctimoniousSwamprat)
AucStatSales, v5.21e.5566.5476(5.21e/embedded)
AucStatSimple, v5.21e.5566 (SanctimoniousSwamprat)
AucStatStdDev, v5.21e.5566 (SanctimoniousSwamprat)
AucStatWOWEcon, v5.21e.5566.5323(5.21e/embedded)
AucUtilAHWindowControl, v5.21e.5566.5347(5.21e/embedded)
AucUtilAppraiser, v5.21e.5566.5545(5.21e/embedded)
AucUtilAskPrice, v5.21e.5566.5447(5.21e/embedded)
AucUtilAutoMagic, v5.21e.5566.5537(5.21e/embedded)
AucUtilCompactUI, v5.21e.5566.5550(5.21e/embedded)
AucUtilEasyBuyout, v5.21e.5566.5507(5.21e/embedded)
AucUtilItemSuggest, v5.21e.5566.5417(5.21e/embedded)
AucUtilPriceLevel, v5.21e.5566.5535(5.21e/embedded)
AucUtilScanButton, v5.21e.5566.5403(5.21e/embedded)
AucUtilScanFinish, v5.21e.5566.5515(5.21e/embedded)
AucUtilScanProgress, v5.21e.5566.4979(5.21e/embedded)
AucUtilScanStart, v5.21e.5566.5347(5.21e/embedded)
AucUtilSearchUI, v5.21e.5566.5556(5.21e/embedded)
AucUtilSimpleAuction, v5.21e.5566.5531(5.21e/embedded)
AucUtilVendMarkup, v5.21e.5566.4828(5.21e/embedded)
AutoSafariHat, v1.6.2
Babylonian, v5.1.DEV.332(/embedded)
BankItems, v6.2.0.0
BattlePetDailyTamer, v1.5.1
BattlePetQualityNotifier, v1.3.0
BeanCounter, v5.21e.5566 (SanctimoniousSwamprat)
BlizzMove, vv1.4
BrokerEquipSwitch, v4.2.0
BrokerEquipSwitchUI, v4.2.0
BrokerFollowers, vv0.10.1-1-gc29704d
BrokerGarrison, v1.8.1
BrokerMicroMenu, vv1.4
BrokerRestFu, v60100-1
BrokerVolume, v1.5.0
Carlin, v1.0.01
ChocolateBar, vv2.4.4
Collectinator, v6.2.0.1
Configator, v5.1.DEV.382(/embedded)
CurrencySorter, v
DataStore, vr54
DataStoreAchievements, vr39
DataStoreAgenda, vr21
DataStoreAuctions, v6.0.001
DataStoreCharacters, vr34
DataStoreContainers, vr50
DataStoreCrafts, vr67
DataStoreCurrencies, vr29
DataStoreInventory, vr42
DataStoreMails, vr42
DataStorePets, vr37
DataStoreQuests, vr34
DataStoreReputations, vr35
DataStoreSpells, vr25
DataStoreStats, vr24
DataStoreTalents, vr50
DBMCore, v
DBMDefaultSkin, v
DBMGarrisonInvasions, v
DBMStatusBarTimers, v
DBMVPVEM, v5.0
DeathNote, vv1.8c
DebugLib, v5.1.DEV.337(/embedded)
Decursive, v2.7.4.3
DropTheCheapestThing, vv60000-1-g390b182
DungeonStatus, v1.02
ElvUI, v8.18
ElvUICustomTweaks, v1.07
ElvUIEnhanced, v3.1.0-beta4
ElvUIExtraActionBars, v2.25
ExplorerCoords, v1.4.6
ezInterrupt, v1.1
FBBroker, v1.21
FishingBuddy, v1.5.4
FollowerLocationInfo, v0.7-beta6
Frenemy, v6.2.0.1
FriendGroups, v
FriendShare, vv1.5.2
GarrisonMissionManager, vv35
GatherMate2, v1.34
Gnosis, vv4.50
GreenWall, v1.6.5
HandyNotes, vv1.3.3
HandyNotesAzerothsTopTunes, vv1.0.2-1-g6dac07c
HandyNotesDraenorTreasures, v1.14a
HandyNotesHallowsEnd, vv1.1.1
HandyNotesLostAndFound, v1
HandyNotesLunarFestival, vv1.2.5
HandyNotesSummerFestival, vv1.1.1-3-gab293ca
HandyNotesTimelessIsleChests, v1.13
Healium, v
IceHUD, v1.9.10.1
iGuild, v6.1.2
Informant, v5.21e.5566 (SanctimoniousSwamprat)
LibExtraTip, v5.12.DEV.390(/embedded)
LibPetJournal20, v
LibStub, v
LoggerHead, v180
MasterPlan, v0.63
MasterPlanA, v
OpenRaid, v2.1
Overachiever, v0.82
Pawn, v1.9.17
PetJournalEnhanced, v2.9.16
PetTracker, v6.2.1
PetTrackerBreeds, v
PetTrackerBroker, v
PetTrackerConfig, v
PetTrackerJournal, v
PetTrackerSwitcher, v
PetTrackerUpgrades, v
Postal, v3.5.4
Purge, v1.1.1
Quester, v6.2.0.0
RaidAchievement, v
RaidAchievementOldModules, v
Rarity, v1.0
RarityOptions, v
Redprints, vv1.1.3
Rematch, v3.5.9
SavedInstances, v6.2.0
SetCollector, v2.1.1
SilverDragon, vv3.1.5
Skada, v1.4-31
SorhaQuestLog, vv1.4.8
SquareMinimapButtons, v3.39
StrataFix, vr61
Stubby, v5.21e.5566 (SanctimoniousSwamprat)
TipHelper, v5.12.DEV.389(/embedded)
TomTom, vv60200-1.0.0
TradeSkillMaster, vv2.10.26
TradeSkillMasterAccounting, vv2.4.4
TradeSkillMasterAdditions, vv2.1.5
TradeSkillMasterAppHelper, vv2.0.3
TradeSkillMasterAuctionDB, vv2.7
TradeSkillMasterAuctioning, vv2.4.5
TradeSkillMasterCrafting, vv2.6.19
TradeSkillMasterDestroying, vv2.1.12
TradeSkillMasterItemTracker, vv2.1.3
TradeSkillMasterMailing, vv2.2.12
TradeSkillMasterShopping, vv2.4.5
TradeSkillMasterWarehousing, vv2.1.3
TradeSkillMasterWoWuction, vv2.5.3
VuhDo, v3.68
VuhDoOptions, v3.68
WeakAuras, v2.1.0.5
WIM, v3.6.27
WowheadGarrisonTimer, v1.0.9
BlizRuntimeLib_enUS v6.2.0.60200 <none>
(ck=1405)
I don't see this happening. I can sell Raw Scrap without any issues.
That said, I can see potential ways that this error _might_ occur, so I'll at least stop it from erroring out in that way.
Date: 2015-03-08 19:35:11
ID: 3
Error occured in: Global
Count: 1
Message: ..\AddOns\DropTheCheapestThing\bagnon.lua line 36:
attempt to call method 'UpdateEverything' (a nil value)
Debug:
DropTheCheapestThing\bagnon.lua:36:
DropTheCheapestThing\bagnon.lua:32
[string "safecall Dispatcher[6]"]:4:
[string "safecall Dispatcher[6]"]:4
[C]: ?
[string "safecall Dispatcher[6]"]:13: ?()
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: Fire()
DropTheCheapestThing\addon.lua:126:
DropTheCheapestThing\addon.lua:87
(tail call): ?
[C]: ?
[string "safecall Dispatcher[2]"]:9:
[string "safecall Dispatcher[2]"]:5
(tail call): ?
...nterface\AddOns\Ace3\AceBucket-3.0\AceBucket-3.0.lua:116: func()
Ace3\AceTimer-3.0\AceTimer-3.0.lua:55:
Ace3\AceTimer-3.0\AceTimer-3.0.lua:48
Locals:
None
AddOns:
Swatter, v5.0.0 (<%codename%>)
NPCScan, v6.1.0.2
NPCScanOverlay, v6.1.0.1
NPCScanOverlayBroker, v1.2.6
Ace3, v
AckisRecipeList, v3.0.17
ACP, v3.4.15
AlicesAntiDuel, v1.0.3
Altoholic, vr155
ArchDB, v2.2
Archy, v6.1.0.8
AskMrRobot, v20
Astrolabe, v1.0
AucAdvanced, v5.21c.5521 (SanctimoniousSwamprat)
AucFilterBasic, v5.21c.5521 (SanctimoniousSwamprat)
AucFilterOutlier, v5.21c.5521.5459(5.21c/embedded)
AucMatchUndercut, v5.21c.5521.5507(5.21c/embedded)
AucScanData, v5.21c.5521 (SanctimoniousSwamprat)
AucStatHistogram, v5.21c.5521 (SanctimoniousSwamprat)
AucStatiLevel, v5.21c.5521 (SanctimoniousSwamprat)
AucStatPurchased, v5.21c.5521 (SanctimoniousSwamprat)
AucStatSales, v5.21c.5521.5476(5.21c/embedded)
AucStatSimple, v5.21c.5521 (SanctimoniousSwamprat)
AucStatStdDev, v5.21c.5521 (SanctimoniousSwamprat)
AucStatWOWEcon, v5.21c.5521.5323(5.21c/embedded)
AucUtilAHWindowControl, v5.21c.5521.5347(5.21c/embedded)
AucUtilAppraiser, v5.21c.5521.5495(5.21c/embedded)
AucUtilAskPrice, v5.21c.5521.5447(5.21c/embedded)
AucUtilAutoMagic, v5.21c.5521.5443(5.21c/embedded)
AucUtilCompactUI, v5.21c.5521.5496(5.21c/embedded)
AucUtilEasyBuyout, v5.21c.5521.5507(5.21c/embedded)
AucUtilFixAH, v5.21c.5521 (SanctimoniousSwamprat)
AucUtilItemSuggest, v5.21c.5521.5417(5.21c/embedded)
AucUtilPriceLevel, v5.21c.5521.5458(5.21c/embedded)
AucUtilScanButton, v5.21c.5521.5403(5.21c/embedded)
AucUtilScanFinish, v5.21c.5521.5515(5.21c/embedded)
AucUtilScanProgress, v5.21c.5521.4979(5.21c/embedded)
AucUtilScanStart, v5.21c.5521.5347(5.21c/embedded)
AucUtilSearchUI, v5.21c.5521.5515(5.21c/embedded)
AucUtilSimpleAuction, v5.21c.5521.5514(5.21c/embedded)
AucUtilVendMarkup, v5.21c.5521.4828(5.21c/embedded)
Auctionator, v3.2.3
AutoConfirmRoll, v1.0
Babylonian, v5.1.DEV.332(/embedded)
BagBrother, v
Bagnon, v6.1.5
BagnonAccountSearch, v1.7.0
BagnonScrap, v13
Bartender4, v4.6.7
BeanCounter, v5.21c.5521 (SanctimoniousSwamprat)
BittensSpellFlashHunter, v60100.201502241807
BittensSpellFlashLibrary, v60100.201502241807
ButtonForge, v0.9.39
Carbonite, v6.0.1
CollectMe, v2.7.1
Configator, v5.1.DEV.376(/embedded)
ConjuredAnnouncer, v2.2
DataStore, vr53
DataStoreAchievements, vr39
DataStoreAgenda, vr21
DataStoreAuctions, v6.0.001
DataStoreCharacters, vr31
DataStoreContainers, vr49
DataStoreCrafts, vr65
DataStoreCurrencies, vr28
DataStoreGarrisons, vr9
DataStoreInventory, vr42
DataStoreMails, vr42
DataStorePets, vr37
DataStoreQuests, vr34
DataStoreReputations, vr35
DataStoreSpells, vr25
DataStoreStats, vr24
DataStoreTalents, vr50
DBMCore, v
DBMDefaultSkin, v
DBMStatusBarTimers, v
DebugLib, v5.1.DEV.337(/embedded)
DropTheCheapestThing, vv60000
EquippedForager, v1.4.1
FishingBuddy, v1.4w
GatherMate2, v1.33.5
GTFO, v4.36
HandyNotes, vv1.3.3
HandyNotesCarbonite, vV0.0.1 BETA
HandyNotesDraenorTreasures, v1.09b
HandyNotesGuild, v1.8
HandyNotesHigherLearning, v6.1.0.3
HandyNotesLorewalkers, v1
HandyNotesLostAndFound, v1
HandyNotesPetTamers, v1
HandyNotesTreasureHunter, v1
HandyNotesWellRead, v6.1.0.4
HandyNotesWorldMapButton, v1.3
HearKitty, v1.6.2a
Informant, v5.21c.5521 (SanctimoniousSwamprat)
LeFollowers, v1.2
LibExtraTip, v5.12.DEV.363(/embedded)
LibSharedMedia30, v3.0-91
Overachiever, v0.82
OverachieverTrade, v0.82
Paste, v1.4.1
PetBattleAutoForfeit, v6.1.0.10
PetBattleTeams, v3.2.8
PetMarket, v1.3
PetTracker, v6.1.3
PetTrackerBreeds, v
PetTrackerConfig, v
PetTrackerJournal, v
PetTrackerSwitcher, v
PetTrackerUpgrades, v
Postal, v3.5.4
Prat30, v3.5.14
Prat30Libraries, v
RaidRoll, v6.0.0
Rarity, v1.0
RarityOptions, v
ReagentRestocker, v10.2
Recount, vv6.1.0a release
Scrap, v12.24
Skillet, v2.80
SpamageMeters, v1.8.6
SpellFlash, v6.21
SpellFlashCore, v2.0.5
Stubby, v5.21c.5521 (SanctimoniousSwamprat)
TeamBuildingExercise2014, v
TipHelper, v5.12.DEV.351(/embedded)
Titan, v5.5.3.60100
TitanBag, v5.5.3.60100
TitanClock, v5.5.3.60100
TitanGold, v5.5.3.60100
TitanLocation, v5.5.3.60100
TitanLootType, v5.5.3.60100
TitanPerformance, v5.5.3.60100
TitanRepair, v5.5.3.60100
TitanVolume, v5.5.3.60100
TitanXP, v5.5.3.60100
BlizRuntimeLib_enUS v6.1.0.60100 <none>
(ck=10fc)
Noticed you've done some work on this. Will it be pushed through to Curse soon?
i have a very dumb and nitpicky complaint/request
when displayed on elvui datatexts and there is no junk items its very ugly
i was hoping there would be a more elegent way to display it
haha sorry, love you work you can just ignore me :X
hah im gonna reply to myself cuz i just had a crazy good idea. how about just display the normal bag space info (like any other bag broker) and keep the trash info/values etc in the tooltip and keep the same click functionallity. then i wouldnt need to take up 2 data text spots :)
Hoping this will be updated for WoD. It's a great add on and simple to use and saves me alot of hassle if I outquest my bag space lol. Greatly appreciate the work you have done though.
Does this addon have the ability to auto drop the cheapest item when trying to pick up other items?
I love that the minimap icon shows me a list of what I have and what's the cheapest item to be dropped. I also love that I can choose to immediately drop it from my bag at any time as well, but it can be a tad annoying when I am running around trying to get things done and I have to stop to drop something when I get the "bags are full" message. Even if the icon at my minimap makes it easier and faster to determine what that item is.
For those wanting to update this for the merchant frame, I made the following modification: In the file button.lua, change line 47 (or whatever line looks closest to this already) to
button:SetPoint("TOPLEFT", MerchantFrame, "TOPLEFT", 75, -25)
That should move the 'sell' icon to a better location.
Is it possible to update this addon? It works fine and I love it a lot; you need only to move the icon in a merchant frame (now it overlays with new blizzard filter).
Update please your very usefull addon!
I've been using the addon for a few months, I think is a great addond. But since a few weeks, I'am not sure if related to latest patch, I've realized that when I open the bag or bank windows it take four or five seconds. Deactivating this addon anything works fine.
I don't know if is something related to another addon, I've tried unistalling more addons, but the only one that gave me that problem was DropTheCheapestThing.
Any idea how to handle this?
Except for that problem, a great tool!!
Hello!
Your Addon ist very great so far! I like it very much.
For my farming needs i would like to ask you for some improvements like:
Water: [ ] always sell [ ] only keep highest
Food: [ ] always sell [ ] only keep highest
Healpotions: [ ] always sell [ ] only keep highest
Manapotions: [ ] always sell [ ] only keep highest
[ ] sell BoP-Items not in Equipmentmanager sets
[ ] sell currencies (or badges for factions)
Kind Regards,
gO2
when did this include the the sell low level items? that was a suprise