Download
(171 Kb)
Download
Updated: 12-14-06 04:15 PM
Addon for:
FuBar 3.6.5.
Pictures
File Info
Updated:12-14-06 04:15 PM
Created:unknown
Downloads:36,697
Favorites:313
MD5:
FuBar - GarbageFu  Popular! (More than 5000 hits)
Version: 2.0.20634
by: wmrojer [More]
New beta version available at http://files.wowace.com/FuBar_GarbageFu/

Short Description:

FuBar - GarbageFu is a plugin to FuBar 2.0 that helps you clean your bags of Garbage by letting you drop the least valuable item/s. Or if you are at a merchant you can simply select to sell all your Garbage to him by pressing a button.

Feedback and feature requests are needed.

Features:

Drop least valuable item.
Shows all items that can be dropped along with there total value in a tooltip.
Sell all that are shown in the tooltip or all grey items to a vendor with the press of a button.
Select what to drop and what to keep by Sets, Type, Items and Quality threshold.
Supports several addons for retrieval of price information, including it's own.
Select sets of items to use auction price for instead of vendor price.
Select item quality threshold for when to use auction price instead of vendor price.
Supports Autioneer, KC_Items and WoWEcon for Auction prices.
Display total/free/used bag slots on the toolbar.
Toggle bags display.

Long Description:

Selection of what items to drop are made in the following way. (By decreasing priority)
  • Keep Items List.
    Select to keep an item that would otherwise be dropped.
  • Drop Items List.
    Select to drop an item that would otherwise not be dropped.
  • Keep Type list.
    Select types of items to keep.
  • Keep Sets List.
    Select sets of items to keep.
  • Drop Type List.
    Select types of items to drop.
  • Drop Sets List.
    Select sets of items to drop.
  • Quality Drop Threshold.
    Set the default quality threshold for what items to drop. Default is poor quality item.s

Types are based on WoW internal item types. (From GetItemInfo)
Examples:
Armor
Weapons
Bag
Key
Recipie
Quest

Some type also have subtypes.
Armor has
Cloth, Leather, Mail, Plate, Shield....
Weapons as
Dagger, 1H Sword, 2H Sword, 1H Axe........

Included in type are also Bind types.
Soulbound, Quest, Bind on Pickup, Bind on Equip/Use.

Sets are made up of different types of items.
Examples:
Food, Water, Tradeskill, Gathered, Bandages, Scrolls .......

Several sets also have subsets that you can select if you need greater detail
Examples:
Food has
Normal Food, Bonus Food, Stat Food, Conjured Bread, Raw Food, Bread, Fish....
Water has
Normal Water, Percent Water, Conjured Water.

Tooltip that shows all the items in your inventory that can be dropped with the current selections.

By Left Clicking the mouse while holding down shift on the toolbar will drop the item on the top of the list, or sell it if you have a merchant window open. You can also left click the mouse while holding down shift on the Tooltip to drop or sell a specific item in the list.

By left clicking the mouse while holding down control on the toolbar or the tooltip will add that item to the keep items list, those preventing that item from being dropped or sold.

When you have a merchant window open you also have the ability to sell all the items that are shown in the tooltip by either selecting 'Sell All Garbage Items' in the drop down menu, or by clicking the 'Sell All Garbage Item' button on the merchant window. Button on the merchant window can be turned off. You can also select to only sell grey items.

Item values are collected from Auctioneer/Informat, KC_Items, PriceMaster, Ludwig_SellValue (courtesy of Kergoth), WoWEcon, ItemSync (courtesy of kirson), ColaLight and it's own GarbageFu - Prices. Currently GarbageFu will NOT drop any items above grey(poor) quality without price information.

Auction values are collected from Auctioneer, KC_Items or WoWEcon. For Auctioneer you have two way, either directly or cached. Directly requires that Auctioneer is loaded at all time, while cached only requires Auctioneer to be loaded when you want to update what items you want auction values for or when have scanned the auction house to update with updated values. GarbageFu will automaticaly update item values after you scanned the auction house. (WoWEcon don't have a auction house scan. Personal opinion on WoWEcon is that it sucks big time)

You can select what items to use auction prices for by Sets, per item and by quality threshold. If there is no auction value available the vendor price will be used.

You can change in which order GarbageFu will ask both the vendor price addons and auction house addons. Example: You have both Auctineer/Informat and KC_Items loaded and you want vendor prices from KC_Items but auction prices from Auctioneer, just set it up so KC_Items is higher in the list for 'Vendor Addons' option and Auctioneer is higher then in the 'Auction Addons' options. It will then get vendor prices first from KC_Items, and only if it dosn't exist there it will look in Informat/Auctioneer. You can also select to not use a vendor/auction addon by setting it below 'Don't use addons below' in the 'Vendor Addons'/'Auction Addons' in the options. Only addons loaded will be shown in the options. Addons are added when they are loaded (even on demand).

You also have the ability to enter your own price for an item. That price will then override any price gotten from other sources. Price overrides are stored per account, so you only need to enter them once.

Settings are store per profile, so you can choose to have different settings for different chars/classes.

Optional information in the tooltip about where the price came from.
VI = Informat vendor price.
VK = KC_Items vendor price.
VW = WoWEcon vendor price.
VL = Ludwig_SellValue vendor price.
VS = ItemSync vendor price.
VT = GarbageFU_Prices vendor price.
VP = PriceMaster vendor price.
VC = ColaLight vendor price.
AA = Auctioneer auction price.
AC = Cached Auctioneer auction price.
AK = KC_Items auction price.
AW = WoWEcon auction price.

Optional display of Total/Free/Used bag slots. Does not include any ignored special bags. (Ammo, herb soulstone, enchanting).

Double-click to toggle bags. (Does not toggle any ignored special bags)

Sets functionality uses PeriodicTable by Tekkub.
Some code borrowed from ItemizedDeduction by Tekkub.

There are currently no Auto-drop functionality. If it is requested it will be added later.

Installation:

Just unpack in your Interface/AddOns/ folder. No dependancies, all required libraries are embeded.

In the works:
Nothing. Working on some new projects

Know issues:

Auction quailty threshold dosn't work for caching auctioneer.

Patch notes:

2.0.20634
More debug code to try and catch the wrong item error. Warning, special debug build. Will do a complete item check every 60 seconds. May cause lag.
Added check to "Sell All Buttom" that I had missed the last time.

2.0.20111
Hopefully fixed the problem with GarbageFu getting out of sync with what's actually in your inventory. Extra checks still in place.

2.0.19988
Added extra checks that it's the right item that is dropped/sold. Will warn if it detects an inconsistancy in it's data and refuse to drop/sell the item if it dosn't match what it thinks should be in that bagslot.
Fixed the nil,nil,nil prints. (Was an api change in AceConsole-2.0)

2.0.19420
Removed the use of Compost. Not needed since we have lua 5.1.
Fixed a small typo that showed up when Compost was no longer functional.

2.0.19164
Updated toc for WoW 2.0

2.0.16966
Upgraded to AceLocal-2.2 and AceHook-2.1. Fixed TBC compatibility.
Note: You need to remove the embeded Ace2 libs and install the Ace2 TBC standalone version and update the .toc to interface 20000 to get it to work in the TBC beta

2.0.16125
Minor bug fix. (sorry, no Bagnon support)

2.0.14033
Fixed nil error on reloadui. (tekkub)
Now properly updates auction prices OnFullyInitialized (tekkub)
Shorter German translation of 'No items to drop'.

2.0.13718
Fixed problem with vendor and auction price addons loading after GarbageFu. Checking is now done after AceEvent_FullyInitialized.
Added French translation by Culhag.

2.0.13301
Fixed bug where sell grey items sold grey items that is marked to keep.
Added Auction quality threshold.

2.0.11917
Fixed nil error in call to Abacus.

2.0.11684
Changed startup sequence. Addons wasn't always initialized.
Downgraded Ace2 lib's to 10851.

2.0.11635
Added recipes as auction set.
Removed Ammo from drop/keep set since it's available in keep/drop type (that is faster to check).
Updated for lua 5.1
Added bag slots display (Total/Used/Free).
Double-click to open bags.
Fixed issue with settings not being saved in the right profile. (Was an issue with FuBar not setting the profile for a new addon)
Added German translation. German translation by Dermott <Azeroths Plage>

2.0.11023
Added support for Auction prices. Supported addons Auctioneer, KC_Items and WoWEcon.
Added Item types base on information from GetItemInfo itemType and itemSubType. (return param 5 and 6)
Vendor price and Auction price addon priority changable.
Price addons detected even when loaded on demand.

1.0.10349
Added support for ItemSync.
Fixed Sell All Items button to only show when there are items to sell.
Added total value of items to sell to the tooltip of sell all items button.

1.0.9990 First non beta release.
Support for more vendor price addons. Including it's own.
Use of Item icon on the toolbar instead of recycle bin.
Option to only autosell grey items to vendor.
Reverted back to AceLocal-2.0 (Since it appears to be faster now)

0.1.9690 First public beta version.
Post A Reply Comment Options
Old 03-25-07, 05:54 AM  
Vulcanus
A Kobold Labourer

Forum posts: 0
File comments: 21
Uploads: 0
Originally posted by wmrojer
This is the way GarbageFu is working, as most other pure FuBar plugins. And I'm not going to change it.
Alright then, worth a try anyways
Originally posted by wmrojer
PS.
I find it very strange that you have the exact same plugins enabled for all your characters.
AmmoFu for a mage? ReagentFu for a Warrior? PetFu for a Priest?
I disable class-specific addons (I say "addons" because I don't run any of those two even on my Hunter/Priest) in WoW's own addon config screen
__________________
Nefarium of EU-Bronzebeard (Alliance)
Vulcanus is offline Report comment to moderator  
Reply With Quote
Old 03-24-07, 08:15 PM  
Vulcanus
A Kobold Labourer

Forum posts: 0
File comments: 21
Uploads: 0
Originally posted by wmrojer
Since GarbageFu is a pure FuBar plugin it follows FuBar's profile in the recomended way. When you change profile in FuBar, GarbageFu will also change. I have no idea what addon's you are running, but all of ckknight's own plugins work this way.
Looking through the code, I find the following comment present:
Code:
-- We want the profile to be the same as in FuBar. I will be if it is changed in FuBar, but on first load it is not. Bug?
What I'm saying is that I would like to be able to set GarbageFu profile independent on the FuBar profile.

Say that I use the profile "Default" in FuBar. That way, if say I shift position on any FuBar item, every single one of my characters also gets this updated.
But if I have to create a FuBar profile for every one of my characters, then I will have to do that change many times.
That is one reason why I would like to be able to change GarbageFu profile independent of FuBar profile.
__________________
Nefarium of EU-Bronzebeard (Alliance)
Vulcanus is offline Report comment to moderator  
Reply With Quote
Old 03-24-07, 08:34 AM  
Vulcanus
A Kobold Labourer

Forum posts: 0
File comments: 21
Uploads: 0
Originally posted by wmrojer
You set it in FuBar.
Well, the Right Click menu doesn't have any Profile option like most other FuBar plugins do.
Unless I'm mistaken, FuBar's own Profile setting is different from this addon's, or at least that's how it is for the other plugins that allow Profile settings to be changed.
__________________
Nefarium of EU-Bronzebeard (Alliance)
Vulcanus is offline Report comment to moderator  
Reply With Quote
Old 03-23-07, 03:21 PM  
Vulcanus
A Kobold Labourer

Forum posts: 0
File comments: 21
Uploads: 0
Where do you change the profile of this addon?
I want to be able to drop different kinds of items based on what class I am playing, but I can't find anywhere to set the profile.

Please make this possible.
__________________
Nefarium of EU-Bronzebeard (Alliance)
Vulcanus is offline Report comment to moderator  
Reply With Quote
Old 03-16-07, 12:32 AM  
Namsar
A Kobold Labourer

Forum posts: 0
File comments: 25
Uploads: 0
Ok found the problem, the existing code is...

Code:
-- ItemSync
function GarbageFu:GetItemSyncVendorPrice(item)
	if ItemSync then
		local r = ItemSync:_split(ItemSync.db.account[ItemSync.realm]["items"][item.id], "");
		if r and r[2] then 
			local price = tonumber(r[2]);
			return price, "|cff0077ffVIS|r";
		end
	end
end
You need to add curly brackets around the local r = line... so it becomes

Code:
 local r = {ItemSync:_split(ItemSync.db.account[ItemSync.realm]["items"][item.id], "")};
After that, all good!
Namsar is offline Report comment to moderator  
Reply With Quote
Old 03-15-07, 04:17 PM  
wmrojer
A Deviate Faerie Dragon
 
wmrojer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 73
Uploads: 5
Originally posted by Namsar
Ok managed to incorporate the changes listed below in my local garbageFu and it seems to be working just dandy now.

Thanks Kirson for these changes, just hope it hits the trunk someday
All the changes Kirson have posted here should be in the SVN version. (It may not look exactly like he has written it since I have added some fail-safes.)
I haven't tested it since I don't run ItemSync or LootLink. So any info on what is wrong would be appriciated.
wmrojer is offline Report comment to moderator  
Reply With Quote
Old 03-15-07, 03:47 PM  
Namsar
A Kobold Labourer

Forum posts: 0
File comments: 25
Uploads: 0
Ok managed to incorporate the changes listed below in my local garbageFu and it seems to be working just dandy now.

Thanks Kirson for these changes, just hope it hits the trunk someday
Namsar is offline Report comment to moderator  
Reply With Quote
Old 03-12-07, 12:00 AM  
Namsar
A Kobold Labourer

Forum posts: 0
File comments: 25
Uploads: 0
Originally posted by wmrojer
They are implemented in the SVN version, not in the version here at wowi.
Sorry I should have mentioned I update to the latest SVN every night .

Still no values listed.

Itemsync appears in the "use this mods prices" list but it doesn't show any values at all in the actual garbagefu.

Using the latest SVN of GarbageFu and ItemSync.

If there is anything I can do to help test it just let me know.
Namsar is offline Report comment to moderator  
Reply With Quote
Old 03-11-07, 03:25 AM  
wmrojer
A Deviate Faerie Dragon
 
wmrojer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 73
Uploads: 5
Originally posted by Namsar
I take it the changes listed a few posts down by Kirson, have not been implimented ?

ItemSync support has been broken for me for atleast a month or more, contemplating how much effort it would be to get a svn account and just fix it myself lol
They are implemented in the SVN version, not in the version here at wowi.
wmrojer is offline Report comment to moderator  
Reply With Quote
Old 03-10-07, 05:01 PM  
Namsar
A Kobold Labourer

Forum posts: 0
File comments: 25
Uploads: 0
I take it the changes listed a few posts down by Kirson, have not been implimented ?

ItemSync support has been broken for me for atleast a month or more, contemplating how much effort it would be to get a svn account and just fix it myself lol
Namsar is offline Report comment to moderator  
Reply With Quote
Old 03-09-07, 12:45 PM  
kirson
A Murloc Raider
AddOn Compiler - Click to view compilations

Forum posts: 4
File comments: 12
Uploads: 3
seems I should have added another check in there ... you will receive an error occasionally when you interact with a new item and GarbageFu is trying to place it in the list.

Code:
-- LootLink
function GarbageFu:GetLootLinkVendorPrice(item)
	if LootLink and LootLink.Database[tonumber(item.id)] then
		local linkTable = LootLink.Database[tonumber(item.id)];
		local price = linkTable[6];
		return price, "|cff0077ffVLL|r";
	end
end
kirson is offline Report comment to moderator  
Reply With Quote
Old 03-08-07, 03:31 AM  
kirson
A Murloc Raider
AddOn Compiler - Click to view compilations

Forum posts: 4
File comments: 12
Uploads: 3
Lootlink support

LootLink support lines follow. We of course need to add "lootlink", to the vendoraddonsorder variable too.

Code:
	["lootlink"] = {name="LootLink", func="GetLootLinkVendorPrice", check="LootLink" },

-- LootLink
function GarbageFu:GetLootLinkVendorPrice(item)
	if LootLink then
		local linkTable = LootLink.Database[tonumber(item.id)];
		local price = linkTable[6];
		return price, "|cff0077ffVLL|r";
	end
end
kirson is offline Report comment to moderator  
Reply With Quote
Old 02-20-07, 03:46 PM  
kirson
A Murloc Raider
AddOn Compiler - Click to view compilations

Forum posts: 4
File comments: 12
Uploads: 3
Updated code snipets

Had some updates for you to include in the working version:

ItemSync has changed its master object name so we need a couple changes.

Here is the new check line for ItemSync:
Code:
	["itemsync"] = {name="ItemSync", func="GetItemSyncVendorPrice", check="ItemSync" },
Heres the current function to pull prices from ItemSync:

Code:
-- ItemSync
function GarbageFu:GetItemSyncVendorPrice(item)
	local r = {ItemSync:_split(ItemSync.db.account[ItemSync.realm]["items"][item.id], "")}
	local price = tonumber(r[2]);
	if price and price > 0 then return price, "|cff0077ffVIS|r" end
end
And lastly, the SellAll Button in garbagefu isnt behaving according to the check variable with the current release code, however when i replaced:
Code:
	self:ShowSellAllButton();
on line 13 with:
Code:
	if self.db.profile.sellallbutton then
		MerchantFrame.sellAllButton:Show();
	else
		MerchantFrame.sellAllButton:Hide();
	end
all was right with its behavior. I'm not sure where the break down in the code was, I didn't feel it was worth chasing down at the time.
kirson is offline Report comment to moderator  
Reply With Quote
Old 02-19-07, 12:34 AM  
conspirator23
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Error since I upgraded

Since this most recent release of GarbageFu, I have received the following error each time I first log into the game. After that GarbageFu is no longer available, though I don't know if that is directly because of the error or because of Swatter:

Date: 2007-02-18 23:30:04
ID: 51
Error occured in: Global
Count: 1
Message: ...s\FuBar_GarbageFu\libs\Gratuity-2.0\Gratuity-2.0.lua line 45:
<unnamed>:SetOwner(): Can't set owner to self
Debug:
...nterface\AddOns\FuBar\libs\AceLibrary\AceLibrary.lua:29:
...nterface\AddOns\FuBar\libs\AceLibrary\AceLibrary.lua:27
...nterface\AddOns\FuBar\libs\AceLibrary\AceLibrary.lua:527: Register()
...s\FuBar_GarbageFu\libs\Gratuity-2.0\Gratuity-2.0.lua:212: in main chunk

Sounds like other people are not experiencing this. Any idea why I've got it?
conspirator23 is offline Report comment to moderator  
Reply With Quote
Old 02-18-07, 11:51 AM  
wmrojer
A Deviate Faerie Dragon
 
wmrojer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 73
Uploads: 5
Originally posted by Lywellyn
I posted a bug, but I thought I"d post it here too. I'm using GarbageFu r28000 and it's telling me this:

Interface\Addons\FuBar_GarbageFu\GarbageFu.lua:6: Cannot find a library instance of PeriodicTable-3.0.

The PeriodicTable-3.0 folder and LUA file are existant in the GarbageFu Addon folder, but it won't let me use it. Thought I'd post it here to see if anyone else had this problem and was able to fix it.
I'm aware of it. PT3 support is still kinda experimental. I'm still working on the include stuff. Install PeriodicTable-3.0 as a seperat addon for now to get it to work.
wmrojer is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: