Baggins_LibFilter
This is just the pieces of LibFilter-1.0 that are useful for baggins. It includes all the item and bag slot filters as well as the baggins adaptor. You do not need to have LibFilter-1.0 installed to use this addon.
Note: Older (non-libfilter) plugins will prevent the filters from this addon from being made available to Baggins in the case of a conflict.
Filters
- EquipSlot - Matches items based on the slot in goes into on the character sheet.
- EquipmentSets - Matches items based on 3.1's new Equipment Manager.
- ItemRack - Matches items based on being in a itemrack set
- Outfitter - Matches items based on being in an outfitter set.
- Professions - Matches items based on the professions you know or don't know. Supports matching for recipes, materials, crafted items, tools or gathered items.
- Soulbound - Filters on Soulbound, Account bound, bind on equip, bind on pickup, bind to account, etc.
- Usable - Provides filters for Usable, Consumable and Equippable items. Note: Usable and Consumable are based on Blizzard functions and may not be the same as you expect.
Obsolete Filters
- ClosetGnome - Matches items based on being in a closetgnome set, use the EquipmentSets filters instead.
Which version of baggins should this work with?
Mines telling me that the filters this addon provides are not compatible with baggins 2.0
Baggins r443 / r445. I'm assuming by Baggins 2 you mean the Ace3 fork? I no longer have an active WoW account so I can't really do any debugging myself.
If the Baggins addon is saying Baggins_LibFilter is not compatible it is possible that they manually disabled it from working. I had given information about how to merge in the filters provided by this addon into the fork directly at one point and welcome anyone that wants to do that.
There was a minor patch today to 5.0.5. Before the patch, lib filter worked perfectly with the new baggins ace 3 port. After the patch today, baggins refuses to open while I have lib_filter enabled. I am getting this error:
74x adapters\Baggins_LibFilter\Baggins_LibFilter-2012-09-07.lua:80: attempt to call method "NewSettings" (a nil value)
adapters\Baggins_LibFilter\Baggins_LibFilter-2012-09-07.lua:80: in function <adapters\Baggins_LibFilter\Baggins_LibFilter.lua:75>
adapters\Baggins_LibFilter\Baggins_LibFilter-2012-09-07.lua:126: in function "Matches"
Baggins-r548\Baggins-Filtering.lua:319: in function <Baggins\Baggins-Filtering.lua:290>
Baggins-r548\Baggins-Filtering.lua:369: in function "OnSlotChanged"
Baggins-r548\Baggins-Filtering.lua:280: in function "CheckSlotsChanged"
Baggins-r548\Baggins-Filtering.lua:432: in function "ForceFullUpdate"
adapters\Baggins_LibFilter\Baggins_LibFilter-2012-09-07.lua:164: in function "?"
Ace3-Release-r1061\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:147: in function <Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
<string>:"safecall Dispatcher[1]":4: in function <string>:"safecall Dispatcher[1]":4
<in C code>
<string>:"safecall Dispatcher[1]":13: in function "?"
Ace3-Release-r1061\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function "Fire"
...\modules\LibFilter_Outfitter\LibFilter_Outfitter.lua:248: in function "CacheSetsAndUpdate"
...\modules\LibFilter_Outfitter\LibFilter_Outfitter.lua:299: in function "UPDATE"
...\modules\LibFilter_Outfitter\LibFilter_Outfitter.lua:306: in function <...\modules\LibFilter_Outfitter\LibFilter_Outfitter.lua:306>
Locals:
nil
Thanks for all your work. Without this mod, baggins isn't half as amazing.
I've no longer have a WoW account to test, so had to fix blind ( hence upload as beta and not release. Let me know if 2012-09-12-beta fixes it and I'll tag it as release. Otherwise let me know the errors you get.
The change worked for me and I got baggins filtering functionality back. I did notice 2 more errors, on line 189 and 233, the lines involving fishing as a profession. I guess this is because in 5.0.5 they made fishing a spell, so I assume it's somehow changed how its referenced in the lua. I don't know what it should be changed TO, or how commenting out those lines affects the rest of the library, but it did remove the errors for me. This was in file LibFilter_Professions.lua. It was saying those lines had nil values.
Sounds like the spellid for Fishing changed. Try changing the line 150 to the following and let me know if it works.
local FISHING = (GetSpellInfo(7620)) or (GetSpellInfo(131474))
yay! that worked. Thanks!
Released as 2012-09-12
I was getting an error in the LibFilter_EquipSlot file after 5.0.4. Commenting out the ranged slot lines fixes it.
Thanks, I'll update with the fix. Note I no longer have an active WOW account so can't test myself.
Seems to be working great! Thanks!
Cool. Guess I should update the TOC ( to say that it's for 5.0.4 ) as well, that's the only real change between 2012-09-03 and 2012-09-07.
However, one bug regarding it: I'm a feral druid. Sometimes I bear tank, sometimes I do cat dps. I have two equipment sets: tank & dps... For certain slots, I own two of the same items, each enchanted/gemmed/forged differently. One for tanking and one for dps. This addon does not really properly filter the items. For example, when I have my tank set equipped, I will look in my bags and see my DPS gloves have been filtered into the tank section of my bags. They are the same gloves, but they have dps enchants/gems/forged instead of the tank stats that I have equipped at the time.
Does that make sense? Obviously, WoW's internal equipment manager is able to correctly see the difference between the two gloves, because it never equips my DPS gloves when I choose tank and vice versa. You have any clue how to fix your addon so it also filters them properly? Does your addon simply iterate through the equipment set items and use their item id only to filter them? If so, you might need to alter that so that it looks also at gems, enchants and reforging.
Other than that, great addon and keep up the good work.
Note: I've actually already done this in my copy, but I'd rather keep up with your updates.
Friikki, ClosetGnome filter has been disabled ( awhile back ), so shouldn't be causing issues.
Pchild, Install this as a stand alone addon.
attempt to index local 'vIcons' (a nil value)
Debug:
[C]: ?
...ules\LibFilter_ClosetGnome\LibFilter_ClosetGnome.lua:230:
...ules\LibFilter_ClosetGnome\LibFilter_ClosetGnome.lua:217
...ules\LibFilter_ClosetGnome\LibFilter_ClosetGnome.lua:319: CacheSetsAndUpdate()
...ules\LibFilter_ClosetGnome\LibFilter_ClosetGnome.lua:359: UPDATE()
...ules\LibFilter_ClosetGnome\LibFilter_ClosetGnome.lua:366:
...ules\LibFilter_ClosetGnome\LibFilter_ClosetGnome.lua:366
Baggins_LibFilter 2009-03-27
ClosetGnome filter no longer functions since ClosetGnome has changed to a LDB launcher for Blizzard's new EquipManager.
Tabards show as trash, even when I tell them they aren't. ECT.
Thanks.