Titan Panel [Itemized Deductions]

'''Description'''
----
This addon helps you to manage free space in your bags. If you ever searched through your inventory to find cheap junk to drop in favor of new loot or tired of manually stacking items that would take much less space, you will instantly understand how you can benefit from Itemized Deductions, because it does it all for you automatically.

Features:
- List of items in your bags sorted by price, allowing you to drop cheapest item or sell it if you happen to talk to vendor at the moment.
- Titan Panel integration: cheapest item and, optionally, its price and total price of all items matching your filter will be displayed on Titan Panel. Howering over will show you full list of items, sorted by price, while right-clicking on it will give you access to most of Itemized Deductions' functions.
- Filters to specify what items you want to consider for drop/sale: you can filter items by quality, item type (quest, consumable, etc), or soulbound status.
- Custom prices: you can set any item to use price other than vendor sell price. Right now Auctioneer buyout price is only option, but any number of those can be added on request.
- Mass selling options: with just a single click you can sell to vendor either all the poor quality items or all items that match your filter.
- Stacks combining: you can automatically combine all incomplete stacks of same items either in bags or in bank.
- Mass mailbox operation: a command available to get mass quantites of same item from your mailbox automatically. Additionally, if those items can be stacked, they'll be automatically stacked together. Just try it after you get back dozens of expired enchanting reagents from autction.

Interface:
- Titan Panel:
Most of the functions and options are available from Titan Panel Itemized Deductions' button right-click menu. Some of those options only appear when necessary: for example selling commands only show when you're talking to vendor. Additionally you can click on Itemized Deductions to open all your bags, shift-click do destroy or sell cheapest item, alt-click to ignore cheapest item for this session and alt-doubleclick to ignore it completely.
- Slash commands:
All slash commads start with /itemded, /tpid, or /tid - all those are just aliases and do exactly the same.
* alwaysdrop (alias: ad) / alwaysignore (alias: ai): add or remove item from 'always drop' or 'always ignore list'. This command is followed by word 'add' for adding and 'del' or 'remove' or 'delete' for removing for list, with item link or ID comming last. For example this command will make Ice Cold Milk always droppable, even if you've selected to drop only poor items or filtered consumables: /itemded ad add [Ice Cold Milk]. As another command this command will remove previously ignored Tough Hunk of Bread from list using its ID: /tid ai del 4540.
* combine (aliases: combineall, combineallinv, combineinv) - combines all incomplete stacks in your bags, just like same function in menu.
* combinebank (alias: combineallbank) - combines all incomplete stacks in your bank, just like same function in menu. Does nothing if you don't have bank window open, obviously.
* getmail [ItemLink] (alias: gm) - retrieves all the selected items from mailbox, stacking them together in process. Does nothing if you don't have mailbox window open. In addition to item links you can also use item IDs if you want to put this command in macro or if you're just good at remembering them, as this can save your from finding item link every time. This command, for example, will pull all the Strange Dust out of your mailbox: /itemded gm 10940

I would love if this was a a general broker and not reliant solely on Titan. I cannot even use Titan any more because it causes the Blizzard bar to constantly pop up in front of my UI but I do still use a broker bar.

This doesn't affect functionality, but there's a glitch in the display of the items on the list. Specifically, the hex code for the rarity color of the item precedes the item name, and all items are listed the same color.

If this isn't a problem with TPID itself, but with where it's grabbing its information, if you could let me know where that is, I'd appreciate it. I've updated all the usual suspects to no avail.

Originally posted by Pennet Starting on my second 80-85 run and setting up that toon. Threshold is set to Poor; I want to change it to Common, as it is on my first toon. Select Common from the threshold menu, and receive the following error.

Starting on my second 80-85 run and setting up that toon. Threshold is set to Poor; I want to change it to Common, as it is on my first toon. Select Common from the threshold menu, and receive the following error. Ended up deleting and reinstalling the addon from scratch, and now both toons are throwing the same error if I attempt to change from Poor to anything else. Has worked flawlessly until now on the first toon. Running latest version as of this date. Any help appreciated.

<Edit> Following another fresh install, I went into TitanItemDed.lua and edited the line

TitanItemDed_InitSettingsVar("Threshold", 1)

to a "2" so it would default to Common, but it would still be nice if the menu actually worked.

Thanks for your work on this, still one of my favorite, most useful addons.

Originally posted by TomasDR If there is a grey item in the default Backpack the addon works. It will only list the items in the Backpack but it will sell all your greys to the vendor when you choose "Sell all..."

Originally posted by kernighan I do want to note that Itemized Deductions is no longer a requirement for TPID, so if you have it installed, it is not for this module.

Yeah, I thought about editing again to change all my ID to TPID, but I figured the message was the same.

Another thing I just noticed tonight. When I pulled some Potion of Wild Magic from the mailbox, they showed up on TPID, as they should have. When I alt-rightclicked them to always ignore, I got the "always ignored" message, but it also opened my bags, so it seems to be confusing the modified click with the single bag opening click.

I'm having a problem similar (perhaps the same) as what TomasDR describes below. When I first log in to some toons, ID is displaying correctly, but as soon as anything changes in my bags, looting, selling, anything, it breaks. On other toons, it's broken from login.

Example #1: Shaman -- My threshold is set at Common, and I've perma-ignored the few white items I want to keep. I log in, and have 12 empty slots and 2 gray items in her bag. ID correctly shows the cheapest of those two items and (12). I go to a vendor, and sell those two items, and ID now displays "No item (1)."

Example #2: Mage -- Again, threshold is Common, and items I want to keep are perma-ignored. I have 31 empty slots, but ID reads "No item (4)." I see in my bags a couple of [Honeymint Tea], which should not be on my ignore list, because I vendor them. They don't appear on ID, so I type both commands (/tid ai delete <link> AND /tid ad add <link>). [Honeymint Tea] still doesn't appear on ID. I reset my "always ignore" list, and ~10 items show up on ID, but [Honeymint Tea] is not one of them. I'm not using the "Ignore Item Class" options, since they haven't worked in ~2 years anyway, heh. Also, although all those Common items are now listed, my free bag space is still listed as (4) when it should be (31).

I was about to hit submit, and tried something else. I purchased some random fruit from a vendor, and it immediately appeared on my ID (because it's Common) and my bag space counter dropped to (3). I perma-ignored the other ~10 items on the list, leaving only that fruit, and then told ID to "sell all listed items." It sold the fruit correctly, but also sold ~10 other things that were not shown on the list, but are Common items, such as Runic Mana Potion, Guild Tabard, Frostweave Cloth, and the Honeymint Tea (!). None of those items had appeared on the list when I cleared my "always ignore list" earlier. So, there seems to be a disconnect between what is actually ignored, and what is displayed.

This has always been one of my most useful addons, and it'd be great to see its issues worked out. Thanks!

Sometimes it works fine and I can sell the items, other times it reports nothing to sell eventhough I have greys in my bag. I cannot find a pattern. Most of the time it will work when starting the game (90% of the time) and having a grey item(s) in my bags but as soon as I loot one item it stops working again.

I only get an error if I try to change the Threshold, which normally I don't do. BTW Nothing happens and the Threshold doesn't change, also the sub-menu "Ignore Item Class" doesn't work either. But the other menu items do work such as "Show Item Price in Panel" and will show the item price if the "roll of the dice" is lucky and it is working at that time.

Originally posted by jgore9000 Below is what I posted to the Titan Panel group and the author pointed me toward Itemized Deductions being the Issue:

//Sometimes on login, the space for the bars shows up, but not the bars themselves, nothing to click on to at least use the load feature. Only logging out and logging back in cures this but leaves the bars empty (leading to having to load a particular player setting).