Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(15 Kb)
Download
Updated: 09-10-12 09:54 PM
Pictures
File Info
Updated:09-10-12 09:54 PM
Created:07-18-10 11:49 PM
Downloads:2,473
Favorites:22
MD5:

JunkDrop

Version: v0.8
by: DesertDwarf [More]

Description

Drops the cheapest junk item including calculating stack totals. For example, if you have a slot with a single 10 copper item and another slot with six 2 copper items totaling 12 coppers, then the 10 copper item is the cheaper of the two slots in total and JunkDrop will drop that item. If there are multiple items in that single slot, it will drop them all.

It will scan your inventory one item at a time, finding the lowest-priced junk (grey) item.

Note: When I explained this addon to my cousin, he thought I was talking about selling the junk items. This addon does not sell or vendor items. It deletes them.

Usage

Type /junkdrop or /jd in chat window.

If you have a LibDataBroker (LDB) addon installed, you can left-click JunkDrop in your LDB and it will drop a single item or stack of items.

To Do

  1. After I create options panel, allow /jd to be disabled in case it conflicts with another addon.
  2. Create mini-map button for user to click instead of having to type in /junkdrop.
  3. Add configurable history of last 'x' number of items dropped.
  4. Add options panel via Interface -> Addons. This will be used to toggle debug output on/off, toggle mini-map button on/off, and toggle history as well as number of items to show in history.
  5. Add option to have JunkDrop drop one or more items after looting if total free slots is below a certain threshold. For example, if this feature is enabled, the default would be if no free slots available after loot, drop one item.
  6. Add ability to specify number of items to drop. (Completed command-line processing of this as of r3, just need to build logic for this option.
(Done in r15 / v0.8 - 2012-09-10)
  1. Updated TOC.
(Done in r5 - 2010-07-25)
  1. Brought JunkDrop-LDB in instead of keeping it in its own addon project.
(Done in r3 - 2010-07-18)
  1. Added option to drop all junk items.
  2. Made output optional with a debug parameter.
  3. Added /jd alias.
Help Me

If you have a problem with this addon, please post a bug report.
If you'd like me to implement a new idea for this addon, please post a feature request.

------------------------------------------------------------------------
r16 | desertdwarf | 2012-09-11 03:41:31 +0000 (Tue, 11 Sep 2012) | 1 line
Changed paths:
A /tags/v0.8 (from /trunk:15)

tagging for release with new TOC
------------------------------------------------------------------------
r15 | desertdwarf | 2012-09-11 03:27:01 +0000 (Tue, 11 Sep 2012) | 2 lines
Changed paths:
M /trunk/JunkDrop.toc

Verified working well with WoW version 5.0.4.
Update TOC to version 5.0.4.
------------------------------------------------------------------------
r14 | desertdwarf | 2011-05-23 21:13:25 +0000 (Mon, 23 May 2011) | 1 line
Changed paths:
A /tags/v0.7 (from /trunk:13)

toc update - submitted v0.6 incorrectly.
------------------------------------------------------------------------
r13 | desertdwarf | 2011-05-23 21:08:49 +0000 (Mon, 23 May 2011) | 1 line
Changed paths:
M /trunk/JunkDrop.toc

toc update - v0.6-corrected
------------------------------------------------------------------------
r12 | desertdwarf | 2011-05-23 17:22:07 +0000 (Mon, 23 May 2011) | 1 line
Changed paths:
A /tags/v0.6 (from /trunk:11)

TOC update.
------------------------------------------------------------------------
r11 | desertdwarf | 2010-11-28 07:54:44 +0000 (Sun, 28 Nov 2010) | 1 line
Changed paths:
A /tags/v0.5 (from /trunk:10)

Update toc
------------------------------------------------------------------------
r10 | desertdwarf | 2010-11-28 07:28:01 +0000 (Sun, 28 Nov 2010) | 1 line
Changed paths:
M /trunk/JunkDrop.toc

toc update
------------------------------------------------------------------------
r9 | desertdwarf | 2010-07-28 07:05:49 +0000 (Wed, 28 Jul 2010) | 1 line
Changed paths:
A /tags/v0.4 (from /trunk:8)

Tagging as release.
------------------------------------------------------------------------
r8 | desertdwarf | 2010-07-28 07:05:13 +0000 (Wed, 28 Jul 2010) | 2 lines
Changed paths:
M /trunk/JunkDrop.lua
M /trunk/JunkDrop.toc

Fixed conflict with Tekkub's TourGuide (and possibly other addons).
------------------------------------------------------------------------
r7 | torhal | 2010-07-26 05:17:53 +0000 (Mon, 26 Jul 2010) | 1 line
Changed paths:
M /trunk/JunkDrop.toc

Removed several unused ToC tags and added LibStub/CallbackHandler within a nolib-strip block.
------------------------------------------------------------------------
r5 | desertdwarf | 2010-07-26 03:20:17 +0000 (Mon, 26 Jul 2010) | 2 lines
Changed paths:
A /trunk/.pkgmeta
A /trunk/JunkDrop-LDB-icon.tga
A /trunk/JunkDrop-LDB.lua
M /trunk/JunkDrop.lua
M /trunk/JunkDrop.toc
A /trunk/libs
A /trunk/libs/LibDataBroker-1.1
A /trunk/libs/LibDataBroker-1.1/LibDataBroker-1.1.lua

Brought JunkDrop-LDB in instead of keeping it in its own addon project.
------------------------------------------------------------------------
r3 | desertdwarf | 2010-07-19 05:29:25 +0000 (Mon, 19 Jul 2010) | 10 lines
Changed paths:
M /trunk/JunkDrop.lua
M /trunk/JunkDrop.toc

Added "debug" option to command line. Normal print messages suppressed unless "debug" is specified.
Added /jd alias.
Lightened text output color a bit.
Added "all" option to command line. This will drop all grey items regardless of value.
Changed all references to items from plain-text names into real item links.
Allowed command line to handle three options:
debug - turns on reporting of items found for (potential) dropping.
all - drops all junk items. No confirmation is asked for, so be sure you want to drop all of them.
# - where '#' is how many items you want to drop. This is only on the command line and is not yet handled.
------------------------------------------------------------------------
r2 | desertdwarf | 2010-07-18 05:23:56 +0000 (Sun, 18 Jul 2010) | 3 lines
Changed paths:
A /trunk/JunkDrop.lua
A /trunk/JunkDrop.toc

Initial working version.
Debug comments forced.
Use /junkdrop to drop cheapest grey (junk) item.
------------------------------------------------------------------------
r1 | root | 2010-07-18 03:44:56 +0000 (Sun, 18 Jul 2010) | 1 line
Changed paths:
A /branches
A /tags
A /trunk

"junkdrop/mainline: Initial Import"
------------------------------------------------------------------------
Archived Files (3)
File Name
Version
Size
Author
Date
v0.7
15kB
DesertDwarf
05-23-11 03:23 PM
v0.6
15kB
DesertDwarf
05-23-11 11:28 AM
v0.2
2kB
DesertDwarf
07-18-10 11:49 PM


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

Forum posts: 1
File comments: 50
Uploads: 0
Very nice addon!

One suggestion:
Why not create a button on vendors that allows us to SELL all the grays at once if we are at a vendor, besides all that it already does?
Something similar to what "Drop the Cheapest Thing" does.

Thanks!
bill_med87 is offline Report comment to moderator  
Reply With Quote
Unread 05-29-11, 09:08 AM  
jlrm365
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 85
Uploads: 3
Addons like this are essential for those Stratholme runs and the like.

I don't know where you'll take this, but keep it simple.

It's great.

jlrm365 is offline Report comment to moderator  
Reply With Quote
Unread 08-03-10, 11:39 AM  
Juddr
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Nice idea, really useful addon. Good work

FYI we linked to it on MMO Melting Pot (link goes to the post) yesterday to let players know about it.
Juddr is offline Report comment to moderator  
Reply With Quote
Unread 07-26-10, 07:57 AM  
DesertDwarf
Largely Short
 
DesertDwarf's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 62
File comments: 11
Uploads: 1
Originally posted by DesertDwarf
I've created an LDB addon. When you left-click on it, it will call the JunkDrop addon to delete one item (or stack of items).
JunkDrop is now a LibDataBroker (LDB) module. I rolled the separate LDB addon into this one and the WoWInterface admin deleted the other project for me.

If you have a separate JunkDrop-LDB addon, please delete it.
__________________
DesertDwarf
"I could be taller, but why?"
DesertDwarf is offline Report comment to moderator  
Reply With Quote
Unread 07-23-10, 07:08 PM  
DesertDwarf
Largely Short
 
DesertDwarf's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 62
File comments: 11
Uploads: 1
Originally posted by DesertDwarf
Right now, you have to type /junkdrop to free up a slot. You can macro that and stick it in a button to make it easier. I'll be adding a minimap button and an LDB broker to it so you can click one of those instead.
I've created an LDB addon. When you left-click on it, it will call the JunkDrop addon to delete one item (or stack of items).
__________________
DesertDwarf
"I could be taller, but why?"
Last edited by DesertDwarf : 07-23-10 at 07:08 PM.
DesertDwarf is offline Report comment to moderator  
Reply With Quote
Unread 07-19-10, 07:55 AM  
DesertDwarf
Largely Short
 
DesertDwarf's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 62
File comments: 11
Uploads: 1
Right now, you have to type /junkdrop to free up a slot. You can macro that and stick it in a button to make it easier. I'll be adding a minimap button and an LDB broker to it so you can click one of those instead.

If WoW griped at you that you don't have enough room when looting, you can even use the command while your loot frame is open so you drop an item and then click the item in your loot frame to get it.

My main thrust with this addon was to find the cheapest grey item and delete (drop) that particular item instead of just any old grey.

On my to do list, I have this:
  • Add option to have JunkDrop drop one or more items after looting if total free slots is below a certain threshold. For example, if this feature is enabled, the default would be if no free slots available after loot, drop one item.

But that's in a future version. I've been working on JunkDrop bit by bit over the past few days since I started it 5 days ago.
__________________
DesertDwarf
"I could be taller, but why?"
DesertDwarf is offline Report comment to moderator  
Reply With Quote
Unread 07-19-10, 03:09 AM  
tinyu
A Molten Giant
 
tinyu's Avatar
AddOn Author - Click to view AddOns

Forum posts: 816
File comments: 334
Uploads: 16
so with this mod i will always have at least 1 free bag slot.
__________________


"There's no such thing as too many addons."
Lothaer
Titan Dev Team Member.
tinyu 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.