Quantcast
Download
(257 Kb)
Download
Updated: 01/14/19 04:13 AM
Pictures
File Info
Compatibility:
Murkmire (4.2)
Wolfhunter (4.1)
Summerset (4.0)
Updated:01/14/19 04:13 AM
Created:12/10/18 04:52 AM
Monthly downloads:3,456
Total downloads:4,445
Favorites:18
MD5:
4.2
Advanced Filters - BETA
Version: 1.5.0.8
by: Baertram [More]
Original addon: https://www.esoui.com/downloads/info245-AdvancedFilters.html
Idea and base code were done by ingeniousclown and Randactyl.

I'm just fixing bugs within this beta version.
Please do not ask for new features, thank you.

Removed some libraries from the addon. You need the following libraries in order to make this addon worK:
LibStub, LibFilters-2.0, LibCustomMenu, LibAddonMenu-2.0

Other adopted addons (beta versions):
1) Fix for CraftCompare (see comments for a changelog here)
Updated version of CraftCompare v1.17, which should be compatible with AdvancedFilters BETA v1.5.0.6 now

2) Updated version of FCO CraftFilter to support the item count update within AdvancedFilters.
FCOCraftFilter (supported since version 0.2.2)


Changes to the official AdvancedFilters

-> SavedVars were changed to Server dependent + Character ID (not name anymore). They reset automatically and need to be set new please!


Edit - 04th November 2018
Changed:
-LibFilters updated to v3.8!

Added:
-CraftBagExtended will show the filtered item count next to the inventory space label now.

-Filtering items with FCOCraftFilter (bank, inventory, both) at crafting stations do affect the "currently shown and filtered item count" now.
-> See a download link at the top of this description


Fixed:
-Switching to any inventory tab except "Quest", afterwards to the "Quest" tab in inventory and then to the CraftBag, then back to "Quest" in inventory showed the wrong subfilterbar of the filter opened before the quest tab in inventory. Now it will be empty again (Quest got no subfilter bar!).
Item count for filtered items should be fixed at quest too this way.
-Switching to a filter where no subfilterbars are given should work properly now
-Debug messages for missing subfilter bars only shown for subfilter bars where there should be any subfilters, and not for the ones where no subfilters exists (quest, vendor buy).

Edit - 21th October 2018
Updated to support filter plugins which use the "onlyGroups" parameter "Armor", "Weapons" and "Jewelry" filters:
They will automatically add themselves to crafting table filters "ArmorSmithing", "ArmorWoodworking", "ArmorClothier", "WeaponsSmithing", "WeaponsWoodworking", "JewelryCraftingStation" as well now.


Edit - 7th October 2018
-Fixed: Some subfilter panel refresh functions respecting the correct filter functions now to hide (grey out) the filter buttons.
-Fixed: Worn items are repected at the improvement panels too now
-Added: Support for other addons which also filter the inventory/crafting stations. Other addons can register their filter function so the refresh of the subfilter buttons will recognize these functions as well and hide (grey out) the subfilter button if the other addon has filtered the items (e.g. at a crafting station FCOCraftFilter will hide all bank items. This will make AdvancedFilters recognize the change of the shown items according to FCOCraftFilter settings and also grey out the subfilter buttons if no items are shown in this subcategory).
Addons need to
Code:
##OptionallyDependOn: AdvancedFilters
and inject some code via a function just like the dropdown filter plugins do.
Lua Code:
  1. AdvancedFilters_RegisterSubfilterbarRefreshFilter(filterInformationTable)
filterInformationTable is a table and got the following contents:
Lua Code:
  1. if AdvancedFilters ~= nil and AdvancedFilters_RegisterSubfilterbarRefreshFilter ~= nil then
  2.             --Deconstruction
  3.             local subfilterRefreshFilterInformationTable = {
  4.                 inventoryType       = {INVENTORY_BACKPACK, INVENTORY_BANK}, --The inventory constants where the subfilter refresh plugin should be registered. Table with n entries. Each combination of inventoryType and craftingType will be registered at the one filterPanelId!
  5.                 craftingType        = {CRAFTING_TYPE_CLOTHIER, CRAFTING_TYPE_BLACKSMITHING, CRAFTING_TYPE_WOODWORKING}, --The crafting type constants where the subfilter refresh plugin should be registered. Table with n entries. Each combination of inventoryType and craftingType will be registered at the one filterPanelId!
  6.                 filterPanelId       = LF_SMITHING_DECONSTRUCT, -- The LibFilters-2.0 filterPanelId where the registration of this subfilter refresh plugin should be done. No table here! Only 1 entry possible for each call of AdvancedFilters_RegisterSubfilterbarRefreshFilter!
  7.                 filterName          = "FCOCraftFilter_Deconstruction", --The unique identifier which shoiuld be used for the subfilter refresh plugin
  8.                 callbackFunction    = function(slotData) -- The callback "filter" function having 1 parameter slotData, which basically contains the inventorySlot.dataEntry.data stuff (bnagId, slotIndex, itemType, filterTypes, etc.)
  9.                     return FCOCraftFilter_FilterCallbackFunctionDeconstruction(slotData.bagId, slotData.slotIndex)
  10.                 end,
  11.             }
  12.             --If just some parameters like the LibFilters-2.0 filterPanlId change you can redefine the needed values and re-apply it with the slightly changed parameters. Everything else will be kept from the call before.
  13.             AdvancedFilters_RegisterSubfilterbarRefreshFilter(subfilterRefreshFilterInformationTable)
  14.             --Improvement
  15.             subfilterRefreshFilterInformationTable.filterPanelId = LF_SMITHING_IMPROVEMENT
  16.             subfilterRefreshFilterInformationTable.filterName    = "FCOCraftFilter_Improvement"
  17.             AdvancedFilters_RegisterSubfilterbarRefreshFilter(subfilterRefreshFilterInformationTable)
  18.         end

Check the link to the updated FCOCraftFilter version on top of this description text to download a version containing this code so together with AdvancedFilters the changing of the shown items at a crafting panel (bag, bank, both) will change the subfilter buttons enabled/disabled state as well.
-Fixed: Issue #7 from AdvancedFilters github issues: Opening the craftbag in inventory once, selecting a subfilter like smithing->material, opening the Guilstore, jumping from Guildstore to CraftBag via keybind, subfilterbar for smithing->material was missing nad only the all button was there -> Should be fixed now.
Even jumping from GuildStore to mail, or from inventory to mail or from mai lto inventory (craftbag or not) should be fixed now and show the subfilter bar buttons from before.


Edit - 4th October 2018
-Fixed: Vendor panel showing active subfilter buttons if items were stolen and could not be sold
-Fixed: Items which are stolen are shown below the usable trophys now



Edit - 2nd October 2018
Fixed:
-Moved disguise/costume/tabbard stuff from "Armor" to "Miscelaneous" as ZOs had moved the itemtypes there and they were never shown at the "Armor" button anymore (cannot re-enable this as the filtering is given by the vanilla base game. I can just add additional filters to them, like the subfilters do).
-Bank, Guildbank deposit / Inventory: subfilter buttons were not greyed out properly if there were items which could not be depositted (bound, BoPTradeable, stolen, junk)
-"Quest item" count shown properly if enabled

-lua error upon talking to the stable master should be fixed now. If not: Please enable "Debug" in the settings and follow the chat output: Answer the 4 questions and tell me the values from the chat please!

Added:
-Re-Enabled the junk filters, added/changed missing/worng entries and enabled the greyed out subfilter buttons there too


Edit - Before
Fixed:
-Level filters show on crafting stations again
-LibFilters updated to v3.7

Changed:
-Localization

Added:
-DropdownCallBacks can use a new entry "addString = <string>" now. The <string> will be added to the name of the dropdownentry. The localization files need the entries for them too! This way you can easily add a suffix like "(medium)" or "(light)" or "(ring)" or "(neck)" to the armor/jewelry stuff to distinguish the traits/body parts of different armor classes.
-The plugin filterInformation accepts a table for "filterType" now! you can specify it like this in 1 filterInformation and do not need to repeat the same filter information + call to AdvancedFilters_RegisterFilter over and over again:
Lua Code:
  1. local filterInformation = {
  2.     submenuName = "LevelFilters",
  3.     callbackTable = fullLevelDropdownCallbacks,
  4.     filterType = {
  5.         ITEMFILTERTYPE_ALL,
  6.         ITEMFILTERTYPE_WEAPONS, ITEMFILTERTYPE_ARMOR,
  7.         ITEMFILTERTYPE_JEWELRY,
  8.     },
  9.     subfilters = {"All",},
  10.     enStrings = strings,
  11.     deStrings = stringsDE,
  12.     frStrings = strings,
  13.     ruStrings = strings,
  14.     esStrings = strings,
  15. }

ALL other entries of the filterInformation table will be used exactly the same for each of the filterType entries! If you need to use other parameters within filterInformation for each filterType you need to call it like today, split up into own tables + eacht ime a call to AdvancedFilter_RegisterFilter!

-Changed dropdown filter loading a bit to reduce duplicate filter entries
-Added settings menu

a) Choose to disable the subfilter panel label (showing the "All", "Recipe", ... ) texts
b) Choose to disable the item count which was added at the inventory bottom's row
c) Choose the color of the item count addition text

Changes for unofficial version AdvancedFilters v.1.5.0.5
Added:
-Show the currently visible/filtered item count at the inventory's bottom info line. Where the inventory bag current space / total bag space is shown there is another dark orange (currently shown itemcount) entry now.
This works with AdvancedFilters filtered items (menu buttons, submenu buttons, dropdown filters).
FCOItemSaver and FCOCraftfilter support is on the way.
-Added crfting stations refine tab to Advancedfilters. Especially the jewelry refine tab got 2 subfilters now: Raw material, raw booster and raw trait material.
And the dropdownboxes for e.g. level and quality filters can be used at the refinement panels too now.

Fixed:
-libFilters increased to version 3.7 -> Fixed research panel for jewelry crafting support
-Subfilter buttons gray out again if no items are below
-> Including fix for "Junk" items, which kept the buttons visible but no items were below the subfilter (cuz they were in the junk tab).
-2h weapons not showing in dropdown filters
-bow/destruction/heal staffs showing on smithing/clothing crafting stations & vice versa for heavy armor etc. showing at other stations.
-"ALL" entries in dropdown boxes showing too much entries sometimes
-Overlapping submenus in "Materials" was shrinked to use "Trait stones" as one submenu entry now in order to get the needed space. Use th dropdown box to filter for armor, weapon or jewelry please.
Craftbag is still using 3 different trait stone entries for armor, weapon, jewelry.



Known bugs:
-Sometimes the guild bank withdraw panel does not show any subfilter buttons enabled even if there are items. Not quite sure how and when this happens. ONly had it once today, maybe it's already fixed. If you find out how to reproduce this, please tell me so I can fix it (if it's still there as an error). Thanks

-Craftbag -> Jewelry materials: Subfilters all grey out

-Using CraftBagExtended: First open mail and select the craftbag so the last opened panel at mail sent was the craftbag. Then go to the inventory and open the craftbag in inventory and select a subfilter, select the inventory afterwards again! Then directly switch between inventory ->mail craftbag (last opened before was CBE panel) by using the mal keybind. The correct craftbag filter will be shown but the subfilter bar is missing.

Untested:
-Retrait stations
Changelog

Version 1.5.0.8
-Corrected version displayed
-removed debug messages

Version 1.5.0.7
-Removed some libraries from the addon. You need the following libraries in order to make this addon worK:
LibStub, LibFilters-2.0, LibCustomMenu, LibAddonMenu-2.0

-Added setting to disable the disabled subfilter buttons if there are no items below this filter.
-Fixed ## DependsOn
-Fixed CraftBag JewelryCrafting subfilter buttons all disabled
-Fixed Junk filters to show jewelry crafting and other materials + furnishings
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Uploader
Date
1.5.0.7
259kB
Baertram
01/13/19 06:57 PM
1.5.0.6
289kB
Baertram
12/10/18 11:12 AM


Post A Reply Comment Options
Unread Yesterday, 08:54 AM  
Marazota

Forum posts: 90
File comments: 802
Uploads: 0
found a way to reproduce

go to any stablemaster
speak with him and choose to feed horse
no need to feed it actually

speak to any vendor after this
Report comment to moderator  
Reply With Quote
Unread Yesterday, 01:06 AM  
Marazota

Forum posts: 90
File comments: 802
Uploads: 0
Originally Posted by Baertram
Originally Posted by Marazota
i just installed latest version and very often inventories of vendors just empty now
by default it opens All filter, to fix this i need to switch between internal filters of that vendor and then back to All

its definitely because of this addon
Which vendor are you refering to please? Are you talking about the "sell" tab at the vendor, or the "buy" tab? Which vendor in detail got this bug then? How to reproduce it?
I'm not quite sure what you mean by

You mean talk to the woodworking vendor, go to the buy tab, the "ALL" subfilter is selected but no items are shown?
You switch to "Materials" subfilter and back to all and then you are able to see the items to buy?
yes so far i meet this with vendor at undaunted enclave and vendors in cyrodiil
i dont know yet how to reproduce this 100%
will test
Report comment to moderator  
Reply With Quote
Unread 01/21/19, 01:35 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1850
File comments: 2037
Uploads: 52
Re: Re: Re: bug

Try this addon, it should contain all sets.
You need LiBSets downloaded as standalone library!

https://www.esoui.com/downloads/info...terplugin.html

Originally Posted by Marazota
Originally Posted by Baertram
Originally Posted by Marazota
craft bags - style materials - all - i have (49)
when i count by sum of all subfilters - only 33

means alot exotic style materials not added to exotic filter yet
you need gather all of them and add to right filter
This is because of the used library LibMotifCategories. I did not update it as I do not understand it so far and got no time to do so.
I guess there are missing many motif styles from the last patches so sorry, this will be fixed some day as I find the time to understand and work on this library.
by the way i updated manually Advanced filter plugin for monster sets, its too outdated without new sets too
but you not an author, afaik author missed
Report comment to moderator  
Reply With Quote
Unread 01/21/19, 12:47 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1850
File comments: 2037
Uploads: 52
Originally Posted by Marazota
i just installed latest version and very often inventories of vendors just empty now
by default it opens All filter, to fix this i need to switch between internal filters of that vendor and then back to All

its definitely because of this addon
Which vendor are you refering to please? Are you talking about the "sell" tab at the vendor, or the "buy" tab? Which vendor in detail got this bug then? How to reproduce it?
I'm not quite sure what you mean by
to fix this i need to switch between internal filters of that vendor and then back to All
You mean talk to the woodworking vendor, go to the buy tab, the "ALL" subfilter is selected but no items are shown?
You switch to "Materials" subfilter and back to all and then you are able to see the items to buy?

Just played around with vendors and couldn't rebuild this bug. Are you able to rebuild this with only AF enabled? Or is it maybe another addon causing the bug?
Last edited by Baertram : 01/21/19 at 12:51 PM.
Report comment to moderator  
Reply With Quote
Unread 01/21/19, 11:42 AM  
Marazota

Forum posts: 90
File comments: 802
Uploads: 0
i just installed latest version and very often inventories of vendors just empty now
by default it opens All filter, to fix this i need to switch between internal filters of that vendor and then back to All

its definitely because of this addon
Last edited by Marazota : 01/21/19 at 11:43 AM.
Report comment to moderator  
Reply With Quote
Unread 01/21/19, 04:56 AM  
ovinnik

Forum posts: 18
File comments: 77
Uploads: 0
Thanks for working on this, Baertram!
Report comment to moderator  
Reply With Quote
Unread 01/21/19, 04:21 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1850
File comments: 2037
Uploads: 52
Re: Re: Re: bug

Originally Posted by Marazota
Originally Posted by Baertram
Originally Posted by Marazota
craft bags - style materials - all - i have (49)
when i count by sum of all subfilters - only 33

means alot exotic style materials not added to exotic filter yet
you need gather all of them and add to right filter
This is because of the used library LibMotifCategories. I did not update it as I do not understand it so far and got no time to do so.
I guess there are missing many motif styles from the last patches so sorry, this will be fixed some day as I find the time to understand and work on this library.
by the way i updated manually Advanced filter plugin for monster sets, its too outdated without new sets too
but you not an author, afaik author missed
Search the set ids and add them to the file. Check the addon comments how to do it:
https://www.esoui.com/downloads/file...=1659#comments

Or rebuild the addon so it once scans ALL itemIds if they are a set and add them dynamically each time the API version changes (like WishList does).
But this would contain ALL setnames then and no difference between crafted or monster set!
Last edited by Baertram : 01/21/19 at 04:24 AM.
Report comment to moderator  
Reply With Quote
Unread 01/21/19, 01:57 AM  
Marazota

Forum posts: 90
File comments: 802
Uploads: 0
Re: Re: bug

Originally Posted by Baertram
Originally Posted by Marazota
craft bags - style materials - all - i have (49)
when i count by sum of all subfilters - only 33

means alot exotic style materials not added to exotic filter yet
you need gather all of them and add to right filter
This is because of the used library LibMotifCategories. I did not update it as I do not understand it so far and got no time to do so.
I guess there are missing many motif styles from the last patches so sorry, this will be fixed some day as I find the time to understand and work on this library.
by the way i updated manually Advanced filter plugin for monster sets, its too outdated without new sets too
but you not an author, afaik author missed
Report comment to moderator  
Reply With Quote
Unread 01/20/19, 05:59 PM  
Arctic90x

Forum posts: 0
File comments: 13
Uploads: 0
Originally Posted by Arctic90x
Originally Posted by Baertram
LibMotifCategory is included into the addon. If it was not loaded for you, you should re-download the addon files and check if this fixes it for you. It is no standalone library and it's inside the folder and AdvancedFilters/libs/.
Please check if it is there.

The other message is not clear for me. When did it happen, directly after login? Or at any crafting station? Or when?
What other addons do you use?
Please disable all other addons and check if the error is gone. If so enable the other one from before one after another and tell me which one causes the error. Thanks
Both Errors happened as I logged in after installing this addon everything else I have works fine together so I am thinking maybe it is because of other addons I am using and they just don't like this addon or something? But I am not coder or understand this stuff so that is a wild guess on my end, I'll try to re-download it now and keep you posted.
Update I got everything working now just fine no errors or anything.
Report comment to moderator  
Reply With Quote
Unread 01/20/19, 04:00 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1850
File comments: 2037
Uploads: 52
Re: bug

Originally Posted by Marazota
craft bags - style materials - all - i have (49)
when i count by sum of all subfilters - only 33

means alot exotic style materials not added to exotic filter yet
you need gather all of them and add to right filter
This is because of the used library LibMotifCategories. I did not update it as I do not understand it so far and got no time to do so.
I guess there are missing many motif styles from the last patches so sorry, this will be fixed some day as I find the time to understand and work on this library.
Report comment to moderator  
Reply With Quote
Unread 01/20/19, 02:14 PM  
Marazota

Forum posts: 90
File comments: 802
Uploads: 0
bug

craft bags - style materials - all - i have (49)
when i count by sum of all subfilters - only 33

means alot exotic style materials not added to exotic filter yet
you need gather all of them and add to right filter
Report comment to moderator  
Reply With Quote
Unread 01/20/19, 01:00 PM  
Arctic90x

Forum posts: 0
File comments: 13
Uploads: 0
Originally Posted by Baertram
LibMotifCategory is included into the addon. If it was not loaded for you, you should re-download the addon files and check if this fixes it for you. It is no standalone library and it's inside the folder and AdvancedFilters/libs/.
Please check if it is there.

The other message is not clear for me. When did it happen, directly after login? Or at any crafting station? Or when?
What other addons do you use?
Please disable all other addons and check if the error is gone. If so enable the other one from before one after another and tell me which one causes the error. Thanks
Both Errors happened as I logged in after installing this addon everything else I have works fine together so I am thinking maybe it is because of other addons I am using and they just don't like this addon or something? But I am not coder or understand this stuff so that is a wild guess on my end, I'll try to re-download it now and keep you posted.
Report comment to moderator  
Reply With Quote
Unread 01/19/19, 05:30 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1850
File comments: 2037
Uploads: 52
LibMotifCategory is included into the addon. If it was not loaded for you, you should re-download the addon files and check if this fixes it for you. It is no standalone library and it's inside the folder and AdvancedFilters/libs/.
Please check if it is there.

The other message is not clear for me. When did it happen, directly after login? Or at any crafting station? Or when?
What other addons do you use?
Please disable all other addons and check if the error is gone. If so enable the other one from before one after another and tell me which one causes the error. Thanks
Report comment to moderator  
Reply With Quote
Unread 01/19/19, 02:36 PM  
Arctic90x

Forum posts: 0
File comments: 13
Uploads: 0
Help Plz

I just downloaded this addon and I love how it looks from your screenshots but I am getting two errors, I know this is in bate but I hope maybe you can help me.

Error 1

user:/AddOns/AdvancedFilters/util.lua:8: Cannot find a library instance of "LibMotifCategories-1.0".
stack traceback:
user:/AddOns/VotansKeybinder/libs/LibStub/LibStub/LibStub.lua:29: in function 'LibStub:GetLibrary'
|caaaaaa<Locals> self = tbl, major = "LibMotifCategories-1.0" </Locals>|r
user:/AddOns/AdvancedFilters/util.lua:8: in function '(main chunk)'
|caaaaaa<Locals> AF = tbl </Locals>|r

Error 2

user:/AddOns/AdvancedFilters/AF_FilterBar.lua:24: operator .. is not supported for string .. nil
stack traceback:
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:24: in function 'AF_FilterBar:Initialize'
|caaaaaa<Locals> self = tbl, inventoryName = "SmithingDeconstruction", tradeSkillname = "_BLACKSMITH_", subfilterNames = tbl, _ = true, _ = 9, _ = ud, _ = 9, _ = 0, offsetY = 63, parents = tbl, parent = ud </Locals>|r
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:7: in function 'AF_FilterBar:New'
|caaaaaa<Locals> self = tbl, inventoryName = "SmithingDeconstruction", tradeSkillname = "_BLACKSMITH_", subfilterNames = tbl, obj = tbl </Locals>|r
user:/AddOns/AdvancedFilters/main.lua:1179: in function 'CreateSubfilterBars'
|caaaaaa<Locals> subfilterButtonNames = tbl, inventoryType = 16, tradeSkillTypeSubFilterGroup = tbl, tradeSkillType = 1, subfilterGroup = tbl, itemFilterType = 0, _ = tbl </Locals>|r
user:/AddOns/AdvancedFilters/main.lua:1283: in function 'AdvancedFilters_Loaded'
|caaaaaa<Locals> eventCode = 65536, addonName = "AdvancedFilters" </Locals>|r
Last edited by Arctic90x : 01/19/19 at 02:38 PM.
Report comment to moderator  
Reply With Quote
Unread 01/14/19, 06:45 PM  
Elsys
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 14
Uploads: 1
well its not error-ing out on libs anymore that must have fixed it.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: