Download
(349 Kb)
Download
Updated: 06/08/24 06:18 AM
Pictures
File Info
Compatibility:
Gold Road (10.0.0)
Scions of Ithelia (9.3.0)
Endless Archive (9.2.5)
base-game patch (9.1.5)
Necrom (9.0.0)
Scribes of Fate (8.3.5)
Updated:06/08/24 06:18 AM
Created:12/10/18 04:52 AM
Monthly downloads:13,688
Total downloads:2,275,938
Favorites:779
MD5:
Categories:Bags, Bank, Inventory, Plug-Ins & Patches
10.0.0
Advanced Filters - Updated  Popular! (More than 5000 hits)
Version: 1.6.4.5
by: Baertram [More]
Please read the description and check screenshots at the original addon page:
Original addon: AdvancedFilters

Finally, Advanced Filters! The default inventory has type filters, but they're still WAY too broad. This add-on fixes that!

Features:
Main inventory, junk, bank, guild bank, guild store, vendors, craft bag and crafting tables support!
Subfilters to find exactly what you're looking for!
(Shift+)Right click the filter buttons/subfilter butons to show the dropdown filter context menu
Custom icon work that makes the add-on feel like it came with the game!
Empty subfilters are greyed out and inaccessible to help save you time searching! (settings to change that)
Shortens the time you need to find an item in your inventory!
German, French, Russian, and Spanish localization! (some are partial, PM me for corrections/additions)
Extensible dropdown box filtersystem for authors ("plugins") to create additional dropdown filters! (See included documentation for details)
Right click the dropdown box to show a context menu (invert filters, select all).

Idea and base code were done by ingeniousclown and Randactyl.


AdvancedFilters does not support the gamepad mode!

Removed some libraries from the addon. You need the following libraries in order to make this addon work:
LibFilters-3.0
LibCustomMenu
[Attention]New dependency 2023-10-30: LibScrollableMenu
LibAddonMenu
LibMotifCategories-1.0 -> NOT included anymore. Needs to be installed as standalone version! (buggy: Motif filters may not work!)


Compatible inventory addons
Protect your items before they get sold/deconstructed/traded + many more features: FCO ItemSaver
Only show bank/inventory/both items at crafting tables: FCO CraftFilter


Other adopted addons:
1) Fix for CraftCompare


Information
-> SavedVars were changed to Server dependent + Character ID (not name anymore).

If your icons are missing, logout, open your live/AddOns folder (described here how to find it: https://www.esoui.com/forums/showthread.php?t=8858), switch to the /live folder, delete the file "ShaderCache.cooked". This will rebuild the texture cache on next login.
Also: Delete the folder live/AddOns/AdvancedFilters and then redownload it "manually" (not using Minion) and extract all properly to live/AddOns/AdvancedFilters again. Check the assets folder is provided in there properly withall of it's *.dds files. Allow Minion in your AntiVirus and AntiMalware tools the access to the live/ folder so it will extract the files and folders of AF properly.



Information for developers
ATTENTION: Please ALWAYS add the stringsEN, stringsXX keys, and the callbackTable name keys
with your UNIQUE adon/plugin identifier!!!
-> ALL texts will be stored inside AdvancedFilters.strings table and having the same key twice will overwrite existing ones of other plugins/AdvancedFilters!


AdvancedFilters supports your "Dropdown box filter plugins":
See the "AF FCO CraftedSets" plugin as a reference how to add a submenu to the dropdown box, having a nested submenu (1 for each crafted set name's 1st letter).
Check the "Other files" section of "AdvancedFilters - Updated" to find more dropdown filter plugin files.


-Updated the filterInformation for the plugins so it can only be shown at some of the filterGroups. The tag is named "onlyGroups".
-> The possible filterGroups can be found here: AdvancedFilters/constants.lua -> table "subfilterButtonNames".
-> The table contains subtables with the filtertype as the key (e.g. ITEMFILTERTYPE_WEAPONS) and the possible subfilterGroups as entries in these subtables (e.g.
"HealStaff", "DestructionStaff", "Bow", "TwoHand", "OneHand", AF_CONST_ALL). AF_CONST_ALL is a constant for the "All" entries.
Code:
local filterInformation = {
	filterType = {ITEMFILTERTYPE_ALL},
        subfilters = {"All",},
        onlyGroups = {"Armor", "Junk"}
    },
-Updated the filterInformation for the plugins so it can exclude some of the LibFilters filterPanelIds. e.g. to hide the dropdown filter entries at the enchating panels. The tag is named "excludeFilterPanels".
Code:
local filterInformation = {
	filterType = {ITEMFILTERTYPE_ALL},
        subfilters = {"All",},
        excludeFilterPanels = {
           LF_ENCHANTING_CREATION,
           LF_ENCHANTING_EXTRACTION
        },
    },
-Updated the filterInformation for the plugins so it can exclude some of the subFilterss e.g. to hide the dropdown filter entries at the Alchemy and RefinedMaterial subfilters. The tag is named "excludeSubfilters".
Code:
local filterInformation = {
	filterType = {ITEMFILTERTYPE_ALL},
        subfilters = {"All",},
        excludeSubfilters = {"Alchemy", "Enchanting", "Provisioning",
                         "Style", "WeaponTrait", "ArmorTrait",
                         "RawMaterial", "RefinedMaterial", "Temper", "Resin", "Tannin",
                         "FurnishingMat"},
    },
-Updated the filterInformation for the plugins so it can use some more parameters in the "callbackTable".
-> Example filter plugin: AF_FCODuplicateItemsFilters

Possible parameters:
name: The unique name of your callback table entry, used for the Strings table to translate it
filterResetAtStart: Reset the filter at the current subfilterPanel to "All" before applying the new filters from this callback table entry
filterResetAtStartDelay: Delay the execution of the function filterStartCallback and filterCallback by this milliseconds. The delay will happen AFTER the filter was reset to "All" (if enabled).
filterStartCallback: This function is called before the new filters are applied. Can be used to rebuild needed internal tables e.g.
filterCallback: The normal callback function to be applied to the items
filterEndCallback: This function will be called after the filterCallback function applied the filters. Can be used to reset internal tables or do stuff with the now shown items.

Code:
local delay = 50
local FilterStartCallbackFunc = function()
 --e.g. if you only want to use the currently visible (pre-filtered) items in the inventory you can build an internal coimparison table here once which can be used in your function GetFilterCallbackForThisFilterPlugin for the comparison of items
 myAddon.prepareInternalStuff()
end
local FilterEndCallbackFunc = function()
 --Clear the internal table again so it will be build new in your FilterStartCallbackFunc 
 myAddon.clearInternalStuff()
end

--!!!Remember to use "unique" keys for the callback table's name key AND the relating stringsEN, stringsXX keys!!!
local dropdownCallback = {
    {name = "MyUniqueAddonPluginName_All",                 filterResetAtStart=true,  filterResetAtStartDelay=delay, filterStartCallback=FilterStartCallbackFunc, filterCallback=GetFilterCallbackForThisFilterPlugin("all"),                filterEndCallback=FilterEndCallbackFunc},
    {name = "MyUniqueAddonPluginName_Name",                filterResetAtStart=true,  filterResetAtStartDelay=delay, filterStartCallback=FilterStartCallbackFunc, filterCallback=GetFilterCallbackForThisFilterPlugin("name"),               filterEndCallback=FilterEndCallbackFunc},
end

local filterInformation = {
	filterType = {ITEMFILTERTYPE_ALL},
callbackTable = dropdownCallback ,
	filterType = {ITEMFILTERTYPE_ALL},
    subfilters = {"All",},
	enStrings = enStrings,
	deStrings = deStrings,
	frStrings = enStrings, },


-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.

-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 code of FCOCraftFilter 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.

-DropdownCallback entries can use a new entry "addString = <string>" now. The <string> will be added to the name of the dropdown entry. 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.
Example for ArmorClothier:
Code:
ArmorClothier = {
        addonDropdownCallbacks = {},
        All = {
            filterCallback = GetFilterCallback(nil),
            dropdownCallbacks = {},
        },
        LightArmor = {
            filterCallback = GetFilterCallbackForArmorType({ARMORTYPE_LIGHT}),
            dropdownCallbacks = {
                {name = "Head", showIcon=true, addString="Light", filterCallback = GetFilterCallbackForGear({EQUIP_TYPE_HEAD}, {ARMORTYPE_LIGHT})},
                {name = "Chest", showIcon=true, addString="Light", filterCallback = GetFilterCallbackForGear({EQUIP_TYPE_CHEST}, {ARMORTYPE_LIGHT})},
                {name = "Shoulders", showIcon=true, addString="Light", filterCallback = GetFilterCallbackForGear({EQUIP_TYPE_SHOULDERS}, {ARMORTYPE_LIGHT})},
                {name = "Hand", showIcon=true, addString="Light", filterCallback = GetFilterCallbackForGear({EQUIP_TYPE_HAND}, {ARMORTYPE_LIGHT})},
                {name = "Waist", showIcon=true, addString="Light", filterCallback = GetFilterCallbackForGear({EQUIP_TYPE_WAIST}, {ARMORTYPE_LIGHT})},
                {name = "Legs", showIcon=true, addString="Light", filterCallback = GetFilterCallbackForGear({EQUIP_TYPE_LEGS}, {ARMORTYPE_LIGHT})},
                {name = "Feet", showIcon=true, addString="Light", filterCallback = GetFilterCallbackForGear({EQUIP_TYPE_FEET}, {ARMORTYPE_LIGHT})},
            },
        },
        Medium = {
            filterCallback = GetFilterCallbackForArmorType({ARMORTYPE_MEDIUM}),
            dropdownCallbacks = {
                {name = "Head", showIcon=true, addString="Medium", filterCallback = GetFilterCallbackForGear({EQUIP_TYPE_HEAD}, {ARMORTYPE_MEDIUM})},
                {name = "Chest", showIcon=true, addString="Medium", filterCallback = GetFilterCallbackForGear({EQUIP_TYPE_CHEST}, {ARMORTYPE_MEDIUM})},
                {name = "Shoulders", showIcon=true, addString="Medium", filterCallback = GetFilterCallbackForGear({EQUIP_TYPE_SHOULDERS}, {ARMORTYPE_MEDIUM})},
                {name = "Hand", showIcon=true, addString="Medium", filterCallback = GetFilterCallbackForGear({EQUIP_TYPE_HAND}, {ARMORTYPE_MEDIUM})},
                {name = "Waist", showIcon=true, addString="Medium", filterCallback = GetFilterCallbackForGear({EQUIP_TYPE_WAIST}, {ARMORTYPE_MEDIUM})},
                {name = "Legs", showIcon=true, addString="Medium", filterCallback = GetFilterCallbackForGear({EQUIP_TYPE_LEGS}, {ARMORTYPE_MEDIUM})},
                {name = "Feet", showIcon=true, addString="Medium", filterCallback = GetFilterCallbackForGear({EQUIP_TYPE_FEET}, {ARMORTYPE_MEDIUM})},
            },
        },
    },
-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 = "MyUniqueAddonPluginName_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!

-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 are supported.

If you want your filter addon to upodate the AdvancedFilters filtered itemCount as well you can use the following function:
Code:
AdvancedFilters.util.UpdateCraftingInventoryFilteredCount(invType)
invType is the inventory type of the inventory to update.
The following inventory types can be used, or leave it empty so AdvancedFilters automatically determines the current inventoryType for you.
Code:
    [INVENTORY_BACKPACK]        = "PlayerInventory",
    [INVENTORY_BANK]            = "PlayerBank",
    [INVENTORY_GUILD_BANK]      = "GuildBank",
    [INVENTORY_CRAFT_BAG]       = "CraftBag",
    [INVENTORY_TYPE_VENDOR_BUY] = "VendorBuy",
    --[LF_SMITHING_CREATION]      = "SmithingCreate",
    [LF_SMITHING_REFINE]        = "SmithingRefine",
    [LF_SMITHING_DECONSTRUCT]   = "SmithingDeconstruction",
    [LF_SMITHING_IMPROVEMENT]   = "SmithingImprovement",
    --[LF_JEWELRY_CREATION]       = "JewelryCraftingCreate",
    [LF_JEWELRY_REFINE]         = "JewelryCraftingRefine",
    [LF_JEWELRY_DECONSTRUCT]    = "JewelryCraftingDeconstruction",
    [LF_JEWELRY_IMPROVEMENT]    = "JewelryCraftingImprovement",
    [LF_ENCHANTING_CREATION]    = "EnchantingCreation",
    [LF_ENCHANTING_EXTRACTION]  = "EnchantingExtraction",
    [INVENTORY_HOUSE_BANK]      = "HouseBankWithdraw",
    [LF_RETRAIT]                = "Retrait"
Added universal deconstruction panels (filterTypes!) and groups, for the plugins:
Code:
    filterType = {ITEMFILTERTYPE_ALL,
        ITEMFILTERTYPE_AF_UNIVERSAL_DECON_ALL,
        ITEMFILTERTYPE_AF_UNIVERSAL_DECON_ARMOR,
        ITEMFILTERTYPE_AF_UNIVERSAL_DECON_WEAPONS,
        ITEMFILTERTYPE_AF_UNIVERSAL_DECON_JEWELRY,
        ITEMFILTERTYPE_AF_UNIVERSAL_DECON_GLYPHS,
    },

Code:
local universalDeconStr = "UniversalDecon"
    onlyGroups = { "All" ..universalDeconStr, 
                           "Armor"..universalDeconStr, 
                          "Weapon"..universalDeconStr,
                          "Jewelry"..universalDeconStr,
                          "Glyphs"..universalDeconStr,
},
-> These are stored in AdvancedFilters.filterTypeNames:
Code:
AdvancedFilters.filterTypeNames = {
...
    [ITEMFILTERTYPE_AF_UNIVERSAL_DECON_ALL]         = "All" ..universalDeconStr,
    [ITEMFILTERTYPE_AF_UNIVERSAL_DECON_WEAPONS]     = "Weapons" ..universalDeconStr,
    [ITEMFILTERTYPE_AF_UNIVERSAL_DECON_ARMOR]       = "Armor" ..universalDeconStr,
    [ITEMFILTERTYPE_AF_UNIVERSAL_DECON_JEWELRY]     = "Jewelry" ..universalDeconStr,
    [ITEMFILTERTYPE_AF_UNIVERSAL_DECON_GLYPHS]      = "Glyphs" ..universalDeconStr,
}



Known bugs:
Check the addon's comment section, first "sticky" post -> Known bugs
Renamed this addon to Advanced Filters - Updated

Changelog

Version 1.6.4.5 2024-06-07
Added:
Scribing scripts to trophy filters & dropdown

Version 1.6.4.4 2024-06-07
Fixed:
--#79 Opening 2nd Crafting table (e.g. smithing, then woodworking) produces error
--#80 Some fixes for old code, global leaking variables, translations, nil checks (thanks to dakjaniels)

Version 1.6.4.3 2024-06-06
-Updated API version and dependencies
-Fixed scribing materials at Misc. tab Maerialst & Craftbag

Version 1.6.4.2 2024-04-01
-Harmonized some redundant code

Fixed:
-#74 Fix "Unbound & unknown set item collections" to show any companion items
-#77 Fix entries in filter dropdowns being clickable if they should only open a submenu

Added upon request:
-#75 Added nested submenu support via LibScrollableMenu to filter plugins. Currently only 1 level of depth is supported for nested submenus (Means: menu -> submenu -> submenu).
Use nestedSubmenuEntries = yourNestedSubmenuCallbackTable in your plugins filterInformation.callbackTable to add the table of nested submenus. Your filterInformation.submenuName must be specified too.
enStrings must contain each's "name" entry of the table yourNestedSubmenuCallbackTable, and the table yourNestedSubmenuCallbackTable must contain entries with name = String and filterCallback = filterFunction.
See as one example: "AF FCO CraftedSets" https://www.esoui.com/downloads/info2240.html

Version 1.6.4.1 2024-03-21
-Updated API versions
-Updated dependency versions
-Updated LibScrollableMenu to use the correct font, and do not sort submenus

Version 1.6.4.0 2023-10-30
[Attention]New dependency 2023-10-30: LibScrollableMenu
-Updated API versions
-Fixed some translations and textures
-Made compatible with combobox changes of API101040

Version 1.6.3.4 2023-09-24
Fixed filter plugin's string names: Use client language again

Version 1.6.3.3 2023-08-06
Fixed Craftbag/Material provisioner ingredient filters (thanks to Maxxermax)

Version 1.6.3.2 2023-07-18
Added support for zh language within plugins: zhStrings

Version 1.6.3.1 2023-06-13
-Fixed "FCO CraftFilter" default crafting tab related errors for "Create" or "Recipe" tabs at crafting tables, where AF does not provide any subfilter groups/bars
-Changed functions for filter stuff at universal deconstruction so that other addons can hook into teh AF function and add custom tabs at the crafting station/universal decon (IsJusta* addons e.g.)

Version 1.6.3.0 2023-05-24
-Fixed dye stamps not showing below crown store items
-Added "Crafted" to dropdown filter entries

Version 1.6.2.9 2023-02-08
Added support for FCOCompanion's new "Junk" tab at the companion equipment inventory

Version 1.6.2.8 2023-02-06
Fixed website (link at the settings menu top line) to open the correct version of the addon

Version 1.6.2.7 2023-01-08
Fixed CraftBag subfilters for provisioner ingredients

Version 1.6.2.6 2023-01-02
Important: Please update LibFiltes-3.0! And FCO CraftFilter (if you use that addon).

Updated support for the horizontal scrollBar filters at the crafting research panel.
LibFilters-3.0 was changed to support multiple addon's filters at this scrollbar.

Version 1.6.2.5 2022-10-03
-Updated API for Firesong
-Removed non needed UnievrsalDecon checks
-Fixed universal decon vanilla dropdown filter to reset to no filters once the universal decon panel is opened the first time
so that the items are not pre-filtered anymore to e.g. Enchanting and then AF tries to add other filters like "armor" on top (which obviously wont work :-) ).
-Updated LibFilters 3 compatibility

Version 1.6.2.4 2022-10-03
-Upated API
-Compatible with live "High Isle" and PTS
-Added on request: dropdown filter for Miscelaneous -> Treasure (items to sell).
Check the "coins" icon at the dropdown filter. Remember: You can right click the dropdown to invert the selection.
And the settings even provide you to enable the right click at the subfilter bar button ("Trophy" in this example).

Version 1.6.2.3 2022-06-18
-Fixed shields not showing at junk->armor subfilter
-Added support for propery "All" subfilterbars at added quickslot filter buttons of addon "merQuickslotFilters"

Version 1.6.2.2 2022-06-14
Fixed faded out filter buttons (with Perfect Pixel enabled, for example)
Fixed error message at quickslots

Version 1.6.2.1 2022-06-13
Updated API for High Isle
Updated dependencies
Fixed quickslots
Fixed inventories
Fixed crafting tables
Fixed research popup

Version 1.6.2.0 2022-03-16
Fixed proper hooks to ZO* classes instead of the objects, aligned with LibFilters 3 v3.2
Please update the lib!

Version 1.6.1.9 2022-03-13
Removed left over debug messages

Version 1.6.1.8 2022-03-13
Removed the optional dependency to AwesomeGuildStore to remove a circular dependency with AGS and LibFilters and CraftBagExtended

Version 1.6.1.7 2022-03-12
Re-uploaded the correct file for live & PTS (1.6.1.6 was for PTS only)

Version 1.6.1.6 2022-03-12
-APIversion update
-Added Unievrsal Deconstruction subfilter bars
-Fixed several bugs (automatic disable of subfilter buttons, wrong order of subfilter buttons, etc.)

Version 1.6.1.5 2022-01-18
-Restructured and renamed the files and folders
-Created own API file
-Fixed #66 Bank junk filter did not enable subfilter buttons properly
-Fixed #72 Treasure itemType was shown below Consumables at the Junk tab
-Worked on junk item filters showing items at misc, consumables properly
-Updated French translations, thanks to Jakez31

Version 1.6.1.4 2021-11-17
Updated API version
Removed ZOs fix for the text search box after stack split: Was fixed in the vanilla game meanwhile

Version 1.6.1.3 2021-08-07
Updated API version
Added
--#67 Added support for LibCustomMenu's itemType (main menu or submenu) to filter plugins
--#69: Added setting: Right click a subfilter button to show the dropdown filters menu. SHIFT + right click the subfilter
--button to show the "Select all" / "Invert selection" dropdown filter plugin context menu
--#72: SHIFT + left click the dropdown filter plugin box to select the "Select all" entry

Changed
--#70: Dropdown filter box tooltip only shows for selected entries which got truncated

Fixed
--#65: Bank deposit shows subfilters enabled for normal weapons/armor if they are belonging to companion
--#68: Companion shields filter below weapons instead of armor
--#71: ZOs BUG! Using the text search and splitting a stack does not update the inventories afterwards. AF will now try
--to circumvent this and run a text search update, if pending searches are given, after the stack split dialog closes.


Version 1.6.1.2 2021-06-28
-Added companion traits to jewelry filters

Version 1.6.1.1 2021-06-15
--#63: House bank companion item filter shows error message
--#64: Bank companion item filter always greys out even if items are banked

Version 1.6.1.0
Uploaded the correct file with the removed debug messages

Version 1.6.0.9
Fixed:
--#60: AwesomeGuildStore's CraftBag -> Switch from buy to sell inventory (with selected CraftBag) tab -> Error
--#61: Crafting inventory shows subfilter buttons enabled for companion items
--#62: Crafting inventory shows subfilter buttons enabled for items at the bank (if the "include banked items" checkbox is disabled)
Changed:
--FCOCraftFilter integration was improved to use it for the crafting panels: Disable subfilter buttons (e.g. if no banked items should be shown)

Version 1.6.0.8
Fixed guild bank withdraw tab to support companion gear filters

Version 1.6.0.7
Fixed bank withdraw tab to support companion gear filters

Version 1.6.0.6
Updated API number
Added companion inventory support

Fixes:
Pat1487 for the info and fix)
--#58 Inventory shows subfilter buttons enabled for companion items (where there are no player items below)
--#59 Un-equipping an item to the companion/normal inventory does not update the subfilter bars of AF to hide/show subfilters enabled now

Version 1.6.0.5
Updated API number

Added on demand:
--#54 If PerfectPixel is enabled the search box won't be shown off-place in the main menu anymore (thanks to Pat1487 for the info and fix)

Fixed:
--Mail send subfilter buttons will disable if only bound items e.g. are below that subfilter (and are thus not shown)
--#50 Opening the bank withdraw tab directly after reloadui/login will not hide the searchDivider control line
--#56: AwesomeGuildStore's CraftBag sell / List tab does not filter the subfilters properly anymore -> Was fixed within AGS after informing the dev -> Thanks sirinsidiator

Version 1.6.0.4
--#53: Layouts of crafting tables deconstruction and improvement were fixed
--Removed debug messages
--Changed dropdown filter's "Level filters" to split cp150 and cp160 (new entries were added. Most bottom is CP160 now and not cp10-160 anymore!)

Version 1.6.0.3
--#51: Layouts of e.g. quickslot, guild store fixed (only was wrong after you had interacted with a crafting table e.g.)
--#52: Fence / Launder will not show an error anymore if you had the quest tab last opened in your invenory as you talk to the fence

Version 1.6.0.2
-Fixed Y offset layout of inventories
-Fixed crafting table layouts
-Fixed remembering of last opened inventory filter (workaround provided by code65536, thanks)

Version 1.6.0.1
-Fixed votans search box support
-Added icons for quickslot collectible filters

Version 1.6.0.0
--Updated API version and depenencies. Please update LibFilters3 !
--Removed libCommonInventoryFilters! You should delete it if no other addon uses it anymore. AwesomeGuildStore will also strip it soon.

Additions:
-- -Quest tab got a sub filter bar now (like the vanilla UI only showing "All" as button), but enables the dropdown box for filter plugins for the panel "Quest".
-- -Quickslots got subfilter bar and dropdown filters now. Collectible group names are dynamically generated Strings starting with
-- QS (for quickslot) and then 3 numbers seperated by _: QS<CategoryId>_<CategoryIndex>_<categorySpecialization>. If you want to add dropdown filters you can spy
-- the generated strings of the quickslot subfilterbuttons in the table AdvancedFilters.subfilterGroups[27][0] via e.g. merTorchbug or zgoo
-- -Added several more subfilterBar buttons for the quickslot usable items
-- -Added several more subfilterBar buttons for the quickslot collectibles

Fixes:
--#34 Make AF compatible with ZOs PTS 100033 changes: Inventory filters were added to the vanilla UI.
-- Unfortunately Vendor Buy is currently not supported as ZOs did not change the menu bar buttons to use their new
-- constants yet, and the valus would not fit in the exisitng AF tables (would overwrite given ones of the normal
-- inventories). Building 2 tables and using them would be too much effort and error causing, so this is disabled
-- until ZOs updates the vendor buy panelt o their new constants as well.
--#35 Support the crafting table filters again and reanchor the needed controls
--#36 The subfilter bar buttons get disabled even if there are items in the subfilter's ALL tab
--#37 Enchanting panel, create: Move the "Quests only" checkbox up
--#38 Bank withdraw filters are not working, always shows all items
--#39 At crafting panels: Use checkbox "Include banked items" will not update the currently filtered counters
--#40 Quest inventory rows are hidden after opening the junk filter and going back to quests
--#41 CraftBag -> Provisioner: subfilter buttons of materials (food, drink, none) are disabled even if items are given + changed the filters from old itemIds to specialized_item_types
--#42 Switching from CraftBag/Mail/Player trade to inventory/the other way around (where the quest tab was the last active one) will show the quest subfilterbar / not show the quest subfilterbar
--#43 (Guild)Bank panel: Deposit panel, if opened after last inventory filter was the "quest" button, will throw an error as there is no quest filter at banks
--#44 Inverting the dropdown filters sometimes left the normal filters in the dropdown boxes unfunctional behind
--#46 Dropdown filter callback functions working at quickslot's collectible category buttons (e.g. helpers, animals, etc.)
--#47 Fix searchDivider line control showing if you directly open the mail/player2player trade panel before opening the normal inventory before
--#48 Fix subfilter bars at guild shop "sell" with and w/o LibCommonInventoryFilters (e.g. AwesomeGuildStore)
--#49 Fixed trading house sell panel trying to open a quest subfilterBar if the last active inventory bar was quests and AwesomeGuildStore is active and setup to automatically open the sell tab at the trading house


Version 1.5.4.7
-Updated API
-Updated needed library versions
-Fixed new checkbox "Include banked items" at deconstruction/research crafting panels: Moved to the top and repositioned anchored controls.
Hint: If FCOCraftFilter will be used the checkbox will be hidden in total as FCOCraftFilter provides even more flexibility and options than this ZOs checkbox
-Fixed spanish translations (thnaks to Inval1d)

Version 1.5.4.6
-Show an light blue animated rectangle around the filter dropdown box if the selected entry in the box is ~= "All", so users more easily recognize a filter is still enabled, if the setting to remember the last used dropdown filter at each filter panel is enabled.
Also added a setting to enable/disable the animated rectangle (standard setting: On)
-Updated ES translations (Thanks to Inval1d)


Version 1.5.4.5
Fixed:
--#28 Vendor buy panels behave properly again if you change between vendors who got different filter buttons (e.g. 1st got furniture, 2nd didn't. All items were hidden)

Added:
--#31 Vendor buy panel uses subfilter buttons now for existing inventory subfilters (e.g. armor, weapons, furniture, misc., consumables)
--#32 Vendor buy panel subfilter buttons will grey out if there ar enot items to buy at this vendor (and the grey out setting is enabled)

Added upon request:
--#30 AvA keep recall stones were added to Consumables -> Trophies (ITEMTYPE_RECALL_STONE)

Version 1.5.4.4
Fixed zip file contents

Version 1.5.4.3
Updated extra filter translations Spanish (thanks to Inval1d and sorry I forgot about them!) and French

Version 1.5.4.2
-Added Impressaria event group repair kit and itemId of it to repair tools

Version 1.5.4.1
-Fixed wrong version of LibMotifCategories (3- > 2)
-Removed debug message

Version 1.5.4.0
-Updated API
-Added support for dropdown subMenu filters within AF stnadrd filters
-Added support for icons in the subMenus of dropdown entries. Use the tag showIcon=true. The texture must be known in the table "textures" in the file textures.lua of AF!
-Fixed jewelry trait filters at retrait station
-Moved jewelry neck/ring trait filters to submenus to split them
-Several other small fixes and improvements

Version 1.5.3.9
-Corrected typo in library error translation variable
-Added error causing Spanish translations and fixed others -> Many thanks to Inval1d

Version 1.5.3.8
-Added new dropdown filters for some fragments and collectible items, and (rare)fish at miscellaneous/consumables

Version 1.5.3.7
Fixed:
-Version in settings
-#26: Bows not only showing bows at woodworking station

Version 1.5.3.6
-Fixed problem that filter plugins of dropdownboxes did not reapply properly sometimes
-Added API functions for other addons to get the active filterbar, button, dropdown filter box, reapply the dropdown's filter etc.

Version 1.5.3.5
Updated:
API to Harrowstorm

Fixed:
-Made compatiblw with live and Harrowstorm
-Fixed error at vendor buy (subfilterbar for furnishing items)
-Fixed non-sellable items not enabling the subfilter bar buttons

Version 1.5.3.4
Fixed:
-#22: Error messages multi language support
-#23: User kebabman: Bank closing raised an error "user:/AddOns/AdvancedFilters/main.lua:304: attempt to index a nil value"
-#24: Compatibility with CraftStoreFixedAndImproved rune chanes to show subfilter bars properly if vanilla UI and CS UI is mixed
-#25: Unsupported filterBar recipes at enchanting table will not show an error message to the chat anymore

Version 1.5.3.3
Added on request:
--#18 User MadDragon: Added level filters for "1-49" (for toon levelling) and "CP10-160" to the level filter dropdown box entries

Fixed:
--#13 Changed PostHook overwrite to Smithing/Enchanting to use SecurePostHook ZOs functions!
--#15 User Durnik: Golden vendor "Adhazabi Aba-daro" at Cyrodiil threw error to chat if jewelry was selected
--#16 User Marazota: Impressario assistance vendor threw error ion chat with collectibles
--#17 User Maelynn: lua error at crafting station after deconstructing items (related to the item count filtered)
--#20 User Illutian: Opening JewelryCrafting station and then another crafting station's research tab showed the JC icons there overlayed
--#21 Bank withdraw panel does not show subfilterbar anymore (only "All" items shown) after chosing one, change to deposit tab, close and re-open bank.


Version 1.5.3.2
Updated API for Dragonhold.
Changed crafting table PreHooks to SecurePostHook.

Version 1.5.3.1
Removed debug message

Version 1.5.3.0
-Fixed refine panels chat error message
-Fixed bank auto close chat error message (last try)

Version 1.5.2.9
Fixed filtered item count showing at bank, guild bank etc. again

Version 1.5.2.8
-Some more changes to the bank auto-close checks
-Added support for NtakLootAndSteal custom addon added inventory tab "Stolen items"

Version 1.5.2.7
-Fixed bank auto-close
-Fixed Harven's Stolen Filter error message for subfilterbar
-Prepared for other addons adding menuBar buttons
-Fixed dropdown box filter functions

Version 1.5.2.6
Fixed typo...

Version 1.5.2.5
-Removed chat debug message
-Fixed lua error message after create of crafted items

Version 1.5.2.4
-Fixed error at bank withdraw, if bank get's closed again before AdvancedFilters can apply the subfilter bar properly
-Added research/jewelry research at crafting station filters:
-show a subfilter bar containing the same buttons like e.g. deconstruction or improvement panel at the same crafting station
-change the amount of items resaerchable in the lists if you filter something
-react on the dropdown box filters as well
e.g. the dropdown box filter chooses "Level 1-10" the item count researchable should only reflect the items with that level
-If you click the subfilterbar button e.g. "Armor" and then choose "Head" from the dropdown filters the horizontal list only should show the head entry selected (e.g. light or medium)
-If you click on the all subfilterbar button and then choose "Head" from the drodpwon filters the horizontal list only should show the head entry (e.g. light or medium)
-If you click the subfilterbar button e.g. "Ring" and then choose e.g. "Arcane" from the dropdown filters and afterwards select the "All" entry from the dropdown box (or right click the dropdown box and choose "Select all") the horizontal scroll list recognizes the currently active subfilterBar button ("Ring") and ONLY show the items of this type (rings) then (and not ring AND neck items like clicking the "All" subfilter bar button).
-Works in combination with FCOCraftFilter (only bank items, only bag items, both)
-Fixed fence sell & launder subfilter bars to only show the button if there are stolen items
-Fixed some subfilter bar buttons to show proper items below at teh junk tab

Version 1.5.2.3
-Fixed consumables->containers subfilters to show all types of containers again + junk->containers (dropdown box filter) as well.
Bug was introduced by adding the provisioning containers for recipe.
-Updated description and API for filterPlugins.
-Updated the filterInformation for the plugins so it can use some more parameters in the "callbackTable".
Check the descriotion for further details

Version 1.5.2.2
-Drodpown filter can now reset the filters to "All" before the chosen dropdown filter gets called, via the parameter "filterResetAtStart".
If you are using e.g the filterStartCallback function this can come in handy to reset the visible inventory list rows to all before you apply the filter of the dropdownbox.
The parameter "filterResetAtStartDelay" defines how many milliseconds the chosen dropdown filter will wait until it gets applied after the reste to "All". The standrd value is 25ms.

You need to register the parameters in the dropdownCallbackTable with the following names:
filterResetAtStart= Boolean (true/false)
filterResetAtStartDelay= number (milliseconds to delay)


Version 1.5.2.1
Fixed:
Changed debugMessage to not show for a subfilterGroup which wasn't missing

Changed:
Dropdown filters will remember the last active filter for each filterPanel (Inventory, mail send, player trade, etc.) differently now.

Added:
-Setting to remember the last chosen dropdown filter for each filter panel
-Drodpown filter can now run a function before the filters start and after the filters finished as well.
You need to register the functions in the dropdownCallbackTable with the following names:
filterStartCallback = function() end -- runs before filters are applied
filterEndCallback = function() end --runs after filters got applied

Version 1.5.2.0
Changed:
-If you are using the addon "MultiCraft" AdvancedFilters will now stop to work. It will show an onscreen message about the chat and show the information to disable MultiCraft into the chat.
-Chat error messages will be shown if a translation text is missing. PLease report the error message !and the information given in them! to me via the addon comments.
-An on screen message will be shown now if an AdvancedFilters related error message was written to the chat

Fixed:
-Containers for events and stylepages wil lbe shown below consumables->containers again
-Added error messages if some of the translation strings related lua error messages occur. The addon will continue to work but texts wil lbe shown as "ERROR: n/a" then. Please check the chat message then and provide me the information.

Version 1.5.1.9
Added a quick and dirty nil check to suppress error message in line 38 of AF_FilterBar.lua

Version 1.5.1.8
Made compatible with Scalebreaker patch.

Added
-Dropdown filter context menu shows tooltip if text inside is to long to show completely
-Dropdown filter context menu right click menu will show the name of the active filter inside the "Invert" option now
-Dropdown filter invert option will show a "≠" sign in front of the filter name if the inverted filter is currently active

Fixed
Several bugs:
#3. Error message upon loading of the game on live (User: darkedone02)
#5. Error upon opening vendor BUY panel
#6. Guild store sell tab shows subcategories enabled where there are no items in there to sell (maybe bound items exist, or stolen ones)
#7. Junk in inventory: "jewelry" will show as armor AND jewelry, but should only be shown below jewelry
#8. Dropdown filter will re-apply the inverted filter properly if you reopen this subfilter group

Tried to fix:
#1. Error message on PTS if opening the Enchanting table: Not reproducable. Added more checks and added a debug message which will be shown instead of the error if you enable the debug mdoe in the settings!

#4 new summerset master furnisher's documents are hidden: Not reproducable as achievement/writ vouchers are missing. Added a new function to add itemfiltertype_provisioning and specializedfiltertype_container to the consumables->container items

#2. Error message upon doing something at crafting station (User: Phuein)
Not reproducable. Added more checks and added a debug message which will be shown instead of the error if you enable the debug mdoe in the settings!


Version 1.5.1.7
-Fixed update function for itemCount from external addons.
This function will update the itemCount label at the freeSlots inventory label if you filter your inventory.
It's currently used within addons FCOCraftFilter and FCOItemSaver.

Code:
AdvancedFilters.util.UpdateCraftingInventoryFilteredCount(invType)
invType can be left empty and will be filled in automatically.
If not left empty it needs to be the inventoryType which AdvancedFilters should update.

You can use the following inventory types for the inventories (left= inventory variable to use, right=description what inventory it relates to)
[INVENTORY_BACKPACK] = "PlayerInventory",
[INVENTORY_BANK] = "PlayerBank",
[INVENTORY_GUILD_BANK] = "GuildBank",
[INVENTORY_CRAFT_BAG] = "CraftBag",
[INVENTORY_TYPE_VENDOR_BUY] = "VendorBuy",
--[LF_SMITHING_CREATION] = "SmithingCreate",
[LF_SMITHING_REFINE] = "SmithingRefine",
[LF_SMITHING_DECONSTRUCT] = "SmithingDeconstruction",
[LF_SMITHING_IMPROVEMENT] = "SmithingImprovement",
--[LF_JEWELRY_CREATION] = "JewelryCraftingCreate",
[LF_JEWELRY_REFINE] = "JewelryCraftingRefine",
[LF_JEWELRY_DECONSTRUCT] = "JewelryCraftingDeconstruction",
[LF_JEWELRY_IMPROVEMENT] = "JewelryCraftingImprovement",
[LF_ENCHANTING_CREATION] = "EnchantingCreation",
[LF_ENCHANTING_EXTRACTION] = "EnchantingExtraction",
[INVENTORY_HOUSE_BANK] = "HouseBankWithdraw",
[LF_RETRAIT] = "Retrait"


Version 1.5.1.6
-Removed bundled/included library libCommonInventoryFilters.
-> Please download and install as standalone version: libCommonInventoryFilters
-Removed bundled/included library LibMotifCategories.
-> Please download and install as standalone version: LibMotifCategories


Version 1.5.1.5
Added new functions to util part, to be used in filter plugins like AF_FCODuplicateItemFilters

Version 1.5.1.4
Added container_currency itemtype to the subfilters of containers

Version 1.5.1.3
Updated: API to Elsweyr
Fixed: Made compatible with libraries using LibStub and without
New library: LibFilters-3.0
Removed library: LibFilters-2.0
Added: Retrait stations
Fixed: Filtered itemcount fix for search boxes

Version 1.5.1.2
Fixed librray line in txt file (removed) to assure dependencies in ##DependsOn works properly now

Version 1.5.1.1
-Updated API
-Fixed control names and changes with Wrathstone
-Fixed other bugs mentioned ingame or in comments

Version 1.5.1.0
-Fixed typo in JewelryCrafting refine tab which caused a lua error at the jewelry crafting station

Version 1.5.0.9
-Fixed vendors not showing items below "All" filter after visitting the stable master
-Changed internal code to re-use given strings and values instead of redefining them (e.g. the keys for dropdown filters)

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 (35)
File Name
Version
Size
Author
Date
Type
0.0.9
6kB
04/01/24 05:40 PM
Addon
2.2
3kB
04/01/24 05:04 PM
Addon
0.0.5
5kB
04/01/24 04:37 PM
Addon
1.25
4kB
03/30/24 04:44 PM
Addon
2.0
1kB
03/06/24 12:51 PM
Addon
6
5kB
07/17/23 12:18 PM
Addon
1.1.1
6kB
06/03/23 11:51 PM
Addon
1.1.1
6kB
06/03/23 11:50 PM
Addon
1.1.1
6kB
06/03/23 11:49 PM
Addon
1.0.6
2kB
06/05/22 05:37 PM
Addon
2.1.1
2kB
05/17/22 08:15 AM
Addon
0.5
5kB
11/01/21 06:29 PM
Addon
1.0
2kB
05/22/21 04:40 PM
Addon
1.01
1kB
09/28/20 08:23 AM
Addon
1
2kB
06/30/20 10:38 AM
Addon
1.2.0
2kB
04/22/20 09:49 PM
Addon
1.93
7kB
03/15/20 02:43 PM
Addon
2.1
3kB
07/22/19 08:32 AM
Addon
1.0.0.0
1kB
01/24/19 08:00 AM
Addon
2.0
3kB
12/10/18 11:28 AM
Addon
1.0
2kB
09/09/18 07:52 AM
Addon
1.1.0.5
2kB
08/05/18 06:51 PM
Addon
1.9
3kB
08/05/18 05:55 PM
Addon
1.9
3kB
08/05/18 05:54 PM
Addon
1.9
2kB
08/05/18 05:51 PM
Addon
1.9
3kB
08/05/18 05:48 PM
Addon
1.9
3kB
08/05/18 05:46 PM
Addon
1.2
2kB
08/04/18 03:02 PM
Addon
1.5
4kB
06/17/18 10:10 PM
Addon
1.0
3kB
06/16/18 11:59 PM
Addon
1.0.0
3kB
05/27/18 04:44 AM
Addon
1.1
4kB
05/22/18 11:54 PM
Addon
1.0
3kB
09/25/17 10:29 AM
Addon
2.0.0
4kB
04/21/17 03:27 AM
Addon
2.0.1
4kB
04/21/17 12:19 AM
Addon


Archived Files (82)
File Name
Version
Size
Uploader
Date
1.6.4.4
349kB
Baertram
06/08/24 04:30 AM
1.6.4.3
349kB
Baertram
06/06/24 03:15 PM
1.6.4.2
348kB
Baertram
04/01/24 04:35 PM
1.6.4.1
345kB
Baertram
03/21/24 03:15 PM
1.6.4.0
345kB
Baertram
10/30/23 04:10 AM
1.6.3.4
339kB
Baertram
09/24/23 11:10 AM
1.6.3.3
339kB
Baertram
08/06/23 06:59 AM
1.6.3.2
339kB
Baertram
07/17/23 04:25 PM
1.6.3.1
338kB
Baertram
06/13/23 10:37 AM
1.6.3.0
338kB
Baertram
05/24/23 12:34 PM
1.6.2.9
338kB
Baertram
02/08/23 03:17 PM
1.6.2.8
337kB
Baertram
02/06/23 06:58 AM
1.6.2.7
336kB
Baertram
01/08/23 02:46 PM
1.6.2.6
336kB
Baertram
01/02/23 11:59 AM
1.6.2.5
335kB
Baertram
11/01/22 07:27 AM
1.6.2.4
335kB
Baertram
10/03/22 01:27 PM
1.6.2.3
335kB
Baertram
06/18/22 03:57 PM
1.6.2.2
335kB
Baertram
06/13/22 09:09 PM
1.6.2.1
335kB
Baertram
06/13/22 08:08 AM
1.6.2.0
335kB
Baertram
03/16/22 11:08 AM
1.6.1.9
335kB
Baertram
03/13/22 04:24 PM
1.6.1.8
335kB
Baertram
03/12/22 07:36 PM
1.6.1.7
335kB
Baertram
03/12/22 02:33 PM
1.6.1.6
335kB
Baertram
03/12/22 01:07 PM
1.6.1.5
328kB
Baertram
01/18/22 02:18 PM
1.6.1.4
325kB
Baertram
11/17/21 03:43 PM
1.6.1.3
325kB
Baertram
08/06/21 08:36 PM
1.6.1.2
322kB
Baertram
06/28/21 11:04 AM
1.6.1.1
321kB
Baertram
06/15/21 04:04 AM
1.6.1.0
326kB
Baertram
06/13/21 07:45 AM
1.6.0.9
322kB
Baertram
06/12/21 05:33 PM
1.6.0.8
321kB
Baertram
06/02/21 11:02 AM
1.6.0.7
321kB
Baertram
06/02/21 08:51 AM
1.6.0.6
321kB
Baertram
06/01/21 06:16 AM
1.6.0.5
318kB
Baertram
03/30/21 01:22 AM
1.6.0.4
316kB
Baertram
11/29/20 12:29 PM
1.6.0.3
315kB
Baertram
11/27/20 04:40 PM
1.6.0.2
315kB
Baertram
11/23/20 11:16 AM
1.6.0.1
315kB
Baertram
11/03/20 04:37 PM
1.6.0.0
299kB
Baertram
11/02/20 09:24 AM
1.5.4.7
288kB
Baertram
08/24/20 07:21 PM
1.5.4.6
287kB
Baertram
07/19/20 01:13 PM
1.5.4.5
283kB
Baertram
07/03/20 05:04 PM
1.5.4.4
282kB
Baertram
05/31/20 10:23 AM
1.5.4.3
282kB
Baertram
05/31/20 10:21 AM
1.5.4.2
281kB
Baertram
05/27/20 02:13 PM
1.5.4.1
281kB
Baertram
05/25/20 03:06 AM
1.5.4.0
281kB
Baertram
05/24/20 06:15 PM
1.5.3.9
280kB
Baertram
03/21/20 12:09 PM
1.5.3.8
278kB
Baertram
03/20/20 04:35 PM
1.5.3.7
277kB
Baertram
03/15/20 09:48 AM
1.5.3.6
283kB
Baertram
03/14/20 04:01 PM
1.5.3.5
277kB
Baertram
02/23/20 07:01 PM
1.5.3.4
277kB
Baertram
01/16/20 05:11 PM
1.5.3.3
274kB
Baertram
01/08/20 08:57 AM
1.5.3.2
272kB
Baertram
10/21/19 08:26 AM
1.5.3.1
272kB
Baertram
09/14/19 04:29 AM
1.5.3.0
272kB
Baertram
09/13/19 09:05 AM
1.5.2.9
271kB
Baertram
09/13/19 06:51 AM
1.5.2.8
271kB
Baertram
09/12/19 04:44 AM
1.5.2.7
271kB
Baertram
09/09/19 09:15 AM
1.5.2.6
267kB
Baertram
09/06/19 05:05 PM
1.5.2.5
267kB
Baertram
09/06/19 04:01 PM
1.5.2.5
267kB
Baertram
09/06/19 01:36 PM
1.5.2.3
259kB
Baertram
08/23/19 08:46 AM
1.5.2.2
259kB
Baertram
08/18/19 08:22 PM
1.5.2.1
258kB
Baertram
08/16/19 04:18 PM
1.5.2.0
257kB
Baertram
08/15/19 11:31 AM
1.5.1.9
256kB
Baertram
08/13/19 10:21 AM
1.5.1.8
257kB
Baertram
08/11/19 06:38 PM
1.5.1.7
261kB
Baertram
07/01/19 03:28 PM
1.5.1.6
261kB
Baertram
07/01/19 12:40 PM
1.5.1.5
264kB
Baertram
05/26/19 05:31 PM
1.5.1.4
263kB
Baertram
05/26/19 12:39 PM
1.5.1.3
263kB
Baertram
05/20/19 01:06 PM
1.5.1.2
258kB
Baertram
02/27/19 03:17 AM
1.5.1.1
259kB
Baertram
02/25/19 09:54 AM
1.5.1.0
278kB
Baertram
01/26/19 03:46 PM
1.5.0.9
262kB
Baertram
01/25/19 12:07 PM
1.5.0.8
257kB
Baertram
01/14/19 04:13 AM
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 08/15/19, 09:49 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 5104
File comments: 6190
Uploads: 78
Please inform yourself before posting comments:
FAQ / Frequently asked questions / Questions fréquemment posées / Oft gefragte Frage

Before posting error messages or bugs:
Read this first: [Troubleshooting AddOn install/find & reporting errors]
Especially the sections "lua error messages" and "How to report a lua error message/a bug to the developers"

How to report an error
If you got problems report the error message here please, including information like:
  • -Was this addon enabled alone (+needed libraries), or were other addons involved (find out which other addon causes this if the error does not happen with only AF enabled)?
  • -Steps how to reproduce the error in detail (from login/reloadui -> to the error message)


AdvancedFilters does not support the gamepad mode!
AdvancedFilters does not provide any sort enhancements!
Please refrain from asking for sort related features. Use the addon search and search for sort related addons instead.



HowTo:
How to install an addon/library manually
Installing and updating addons/libraries with a helping tool: Minion (I recommand the 32bit version even on a 64bit operating system)
What are libraries?
How to install libraries?
Standalone libraries, why that?
Donate for the work put into this addon

Needed libraries (not included):
LibFilters-3.0
LibCustomMenu
[Attention]New dependency 2023-10-30: LibScrollableMenu
LibAddonMenu
LibMotifCategories-1.0 -> buggy: Motif filters in the dropdown filter box (especially new ones) may not work properly! ALL OTHER FUNCTIONALITY IS NOT AFFECTED BY THIS LIBRARY AND WILL WORK!

Please deinstall libCommonInventoryFilters!

Known incompatibilities:
  1. Addon "Multicraft": Please disable this addon as it is breaking other addons now and is not compatible with the game anymore. The Vanilla UI multicrafting, added by ZOs with Scalebreaker, is able to multicraft for you now!
  2. Harven's Stolen Filter. An updated version exists but maybe still buggy sometimes

Known bugs:
  1. The subfilter icons are not shown: This is no real bug by the addon but a game's problem with cached textures.
    Logout, delete the file shader_cache.cooked (or similar) in the live folder (see above at How to install an addon/library manually to find the AddOns folder, then navigate to it's parent folder which will be the "live" folder). Login again (could take longer now as the ShaderCache get's rebuild).
  2. LibMotifCategories will not work properly for any newer motifs (~ Summerset and newer) and thus the motif filters will not work properly.As this is just a dropdown filter you do not need to use, it shouldn't be a problem
  3. Enchanting station lua error: user:/AddOns/AdvancedFilters/main.lua:327: attempt to index a nil value -> FIX: See "Known incompatibilities" -> "Multicraft" above
  4. Open bank, change filter to e.g. consumables, choose subfilterbar button e.g. potions.
    Switch to deposit panel.
    Close bank.
    Open bank.
    Withdraw panel is shown at consumbales with the subfilter bar button potions enabled, but the items shown reflect to the "All" filter (filters are not re-applied on bank re-open).

Current BETA version:
Attention: Please RENAME the folder AdvancedFilters-master or AdvancedFilters-PTS after extracting the ZIP file to AdvancedFilters (strip the -master / -PTS) and do not only extract the contents! It must be users/live/AddOns/AdvancedFilters/AdvancedFilters.txt etc. afterwards, not users/live/AddOns/AdvancedFilters-master/AdvancedFilters.txt !

PTS:
No PTS beta version available

Click on the top right side at code, then download.
Please change the folder name of the extracted files to AdvancedFilters (from AdvancedFilters-PTS*)!
Last edited by Baertram : 11/01/23 at 08:43 AM.
Report comment to moderator  
Reply With Quote
Unread 07/14/24, 03:58 PM  
mccalli
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 12
Uploads: 6
Re: Re: Addon Author: How do I stop filter appearing in irrelevant menus?

Thanks - that's helped a lot. New versions incoming.
Report comment to moderator  
Reply With Quote
Unread 07/14/24, 11:50 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 5104
File comments: 6190
Uploads: 78
Re: Addon Author: How do I stop filter appearing in irrelevant menus?

Originally Posted by mccalli
I've written a few filters, such as eg. Survey Filters. I'd like to stop the filter appearing in irrelevant sections, e.g. there's no point have a survey filter if I'm only looking at armour.

I've read through the page a lot and tried adding excludeSubFilters values and also just onlygroups = {"All",},, but still getting the menu item appearing.

Could you please let me know what I'm doing wrong, and where to add the code to ensure things only appear on the 'All' panel and not in armour, weapon, jewellery etc.

Thanks.

To only show at the consumables main filter, and subfilter of recipes do it like this for example:
Code:
local filterInformation = {
    callbackTable = dropdownCallbacks,
    filterType = ITEMFILTERTYPE_CONSUMABLE,
    subfilters = {"Recipe",},
    enStrings = stringsEN,
    deStrings = stringsDE,
    frStrings = stringsFR,
}
To only show it at the crafting tables, at the "All" subfilter group, but not show it at
enchanting create, extract, smithing refine, smithing create, alchemy create, provisioning bew or cook or quickslots (so only at deconstruction and improvement and research) do it like this:

Code:
local filterInformation = {
	submenuName = "FCOMaterialLevelFiltersSubmenu",
	callbackTable = fullLevelDropdownMaterialsCallbacks,
	filterType = ITEMFILTERTYPE_CRAFTING,
    subfilters = {"All",},
    excludeFilterPanels = {
        LF_ENCHANTING_CREATION, LF_ENCHANTING_EXTRACTION,
        LF_SMITHING_REFINE, LF_SMITHING_CREATION,
        LF_ALCHEMY_CREATION,
        LF_PROVISIONING_BREW, LF_PROVISIONING_COOK,
        LF_QUICKSLOT
    },
	enStrings = stringsEN,
	deStrings = stringsDE,
	frStrings = stringsFR,
	ruStrings = stringsRU,
	esStrings = stringsES,
}

Could be that if you use
filterType = ITEMFILTERTYPE_ALL,
it will just be added at every main filter!

So you'd have to use excludeGroups and subfilter = {"All"} to make it work the way you want to, check the level filters included in AdvancedFilters:

These wil show at the ALL itemtype, weapons, armor and jewelry (filterType).
At the subfilter "All" too.
But it excludes the subfilter groups "Quests" so it does not show there.
Code:
local filterInformation = {
    pluginName = "AF_LevelFilters",
    submenuName = "LevelFilters",
    callbackTable = fullLevelDropdownCallbacks,
    filterType = {
        ITEMFILTERTYPE_ALL,
        ITEMFILTERTYPE_WEAPONS, ITEMFILTERTYPE_ARMOR,
        ITEMFILTERTYPE_JEWELRY,
    },
    subfilters = {"All",},
    excludeGroups = {"Quest"},
    enStrings = strings,
    deStrings = stringsDE,
    frStrings = strings,
    ruStrings = strings,
    esStrings = stringsES,
}

So your filterInformation maybe has to look something like this then:
Code:
local filterInformation = {
	submenuName = "Survey Filter",
	callbackTable = AFSurveyFilterCallBacks,
	filterType = { ITEMFILTERTYPE_ALL, }
        subfilters = {"All",},
        excludeGroups = {"Armor", "Weapons", "Jewelry, },
}
You won't get ALL filters into 1 filterInformation I bet.

So register a 2nd filterInformation table (use the same as before and just change the filterType, subfilters etc.) at any other filterType that you need, as an example only add that at the consumables for food, drink, potion and poison:
Code:
filterInformation.filterType = ITEMFILTERTYPE_CONSUMABLE
filterInformation.subfilters = {"Food", "Drink", "Potion", "Poison",}
--[[----------------------------------------------------------------------------
    Again, register your filters by passing your new filter information to this
        function.
--]]----------------------------------------------------------------------------
AdvancedFilters_RegisterFilter(filterInformation)


The following possible values can be in the filterInformation table (not all at the same time! You will get error messages if you specify multiple that to not match, e.g. include and exclude at the same time, e.g. d("[AdvancedFilters_RegisterFilter]Plugin: \'"..tostring(pluginName).."\'-Parameters \'onlyGroups\' and \'excludeGroups\' cannot be used together. Please specify only 1 of them!") :

Code:
        subfilters          = filterInformation.subfilters,
        excludeSubfilters   = filterInformation.excludeSubfilters,
        excludeFilterPanels = filterInformation.excludeFilterPanels,
        onlyGroups          = filterInformation.onlyGroups,
        excludeGroups       = filterInformation.excludeGroups,
Check the file AdvancedFilters/constants,lua, table "filterTypeNames" for the filterTypes.
Attention: ZOs switched those to e.g. ITEM_TYPE_DISPLAY_CATEGORY_ALL from ITEMFILTERTYPE_ALL. There value often matches but in the end
you should also use the newer ITEM_TYPE_DISPLAY_CATEGORY_* constants meanwhile.
I someday need to write a proper documentation for the filterPlugins I guess...

Check file AdvancedFilters/files/FilterCallbacks.lua, table "subfilterCallbacks" for the groups e.g. "Weapons", "Armor", "Jewelry", ...
And below them the subGroups like "Crown" or "OneHand" or "Ring", etc.
Last edited by Baertram : 07/14/24 at 12:09 PM.
Report comment to moderator  
Reply With Quote
Unread 07/14/24, 11:00 AM  
mccalli
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 12
Uploads: 6
Addon Author: How do I stop filter appearing in irrelevant menus?

I've written a few filters, such as eg. Survey Filters. I'd like to stop the filter appearing in irrelevant sections, e.g. there's no point have a survey filter if I'm only looking at armour.

I've read through the page a lot and tried adding excludeSubFilters values and also just onlygroups = {"All",},, but still getting the menu item appearing.

Could you please let me know what I'm doing wrong, and where to add the code to ensure things only appear on the 'All' panel and not in armour, weapon, jewellery etc.

Thanks.
Report comment to moderator  
Reply With Quote
Unread 06/24/24, 10:16 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 5104
File comments: 6190
Uploads: 78
Re: Today got BUG

Originally Posted by ozveryashka
The bug also asks you in the chat to provide additional information!
Please provide me that info or I cannot help you.

e.g. what did you do as the error happened?
What panel was opened (inventory, smithing crafting table, ...)?
What filter did you click on (e.g. materials, or consumables, ...)?

Most important: Did you test this with ALL other addons disabled?
If the bug is gone then, you need to find out with your local enabled addons which one in combination with AF is causing this.
Last edited by Baertram : 06/24/24 at 10:32 AM.
Report comment to moderator  
Reply With Quote
Unread 06/24/24, 09:33 AM  
ozveryashka

Forum posts: 0
File comments: 13
Uploads: 0
Today got BUG

Report comment to moderator  
Reply With Quote
Unread 06/21/24, 06:43 PM  
tdc-nl

Forum posts: 9
File comments: 22
Uploads: 0
Originally Posted by Baertram
A fix was released already, please update AUI and your errors hopefully should be solved then.
Indeed its fixed, thank you for looking so much into it!
Report comment to moderator  
Reply With Quote
Unread 06/19/24, 12:36 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 5104
File comments: 6190
Uploads: 78
A fix was released already, please update AUI and your errors hopefully should be solved then.


Originally Posted by tdc-nl
At first thank you for the issue solving!
Just wanted to post a error log but seems you found the issue!
Still in case needed;

https://sir.insidi.at/or/logviewer/Yn4zSS

this happened before i readed a possible solution.
Going to change now and hope AUI creator makes a fix for it
Report comment to moderator  
Reply With Quote
Unread 06/19/24, 08:26 AM  
tdc-nl

Forum posts: 9
File comments: 22
Uploads: 0
At first thank you for the issue solving!
Just wanted to post a error log but seems you found the issue!
Still in case needed;

https://sir.insidi.at/or/logviewer/Yn4zSS

this happened before i readed a possible solution.
Going to change now and hope AUI creator makes a fix for it
Last edited by tdc-nl : 06/19/24 at 08:50 AM.
Report comment to moderator  
Reply With Quote
Unread 06/19/24, 03:14 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 5104
File comments: 6190
Uploads: 78
It's definately AUI causing this, thanks for findig it! !

Code:
_, windowData.default_anchor.point, GuiRoot, windowData.default_anchor.relativePoint, windowData.default_anchor.offsetX, windowData.default_anchor.offsetY = windowData.originalControl:GetAnchor()
!! Here GuiRoot get's overwritten !!
As expected...

We have contacted Sensi, the addon dev, and provided som info and other leaking global variables.
So he needs to fix this now.


Thanks again for all your testing, we never would have found it without you guys!
Report comment to moderator  
Reply With Quote
Unread 06/18/24, 05:09 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 5104
File comments: 6190
Uploads: 78
Just a hint:
In LibScrollableMenu comments another user did some tests and he said AUI might be the one causing that as it was the only addon enabled that lead to the error (after some reload UIs and character switches).
But it's not happening all the time... So again. Only a guess.

Please try to do the followng as I found a maybe relating issue in
live/AddOns/AUI/modules/FrameMover/framemover.lua

Change this:
Code:
local function CreateWindows()
	windows = {
To this:
Lua Code:
  1. local function CreateWindows()
  2.     local windows = {

Hope it was related and fixes the error messages.

Originally Posted by tdc-nl
Originally Posted by Baertram
Hm that log file does not contain ANY error message, so all went good?
Or did you upload the file before doing a reload UI after an error? You always have to logout or at least /reloadui to save data to the disk, after you did something ingame.

Originally Posted by tdc-nl
Originally Posted by Baertram
Thank you, very appreciated!

Another user tested on his end and he was not using Azurah adddon so we do not think this is actually an issue.
It could be any other, maybe even more common one. Or even a bug with LSM in combination with ZOs vanilla code, which only triggers in very rare circumstances (character relog e.g.). But we rather assume it's happening with one or many enabled addons which are enabled on the character you login with.

Maybe if I see your LibDebugLogger file with errors I can compare it and see addons that are the same.
https://sir.insidi.at/or/logviewer/5CU5IP
*sorry misread the error thing about the log...
No errors anymore so far, uploaded file after closing game.
Still no clue what caused is, relogged a ton of times (close game open it up, tried to replicate the error)
Tough nothing popped up back again.

If it pops up again ill repost a new log
So far all works perfect again!
Last edited by Baertram : 06/18/24 at 05:25 PM.
Report comment to moderator  
Reply With Quote
Unread 06/18/24, 03:19 PM  
tdc-nl

Forum posts: 9
File comments: 22
Uploads: 0
Originally Posted by Baertram
Hm that log file does not contain ANY error message, so all went good?
Or did you upload the file before doing a reload UI after an error? You always have to logout or at least /reloadui to save data to the disk, after you did something ingame.

Originally Posted by tdc-nl
Originally Posted by Baertram
Thank you, very appreciated!

Another user tested on his end and he was not using Azurah adddon so we do not think this is actually an issue.
It could be any other, maybe even more common one. Or even a bug with LSM in combination with ZOs vanilla code, which only triggers in very rare circumstances (character relog e.g.). But we rather assume it's happening with one or many enabled addons which are enabled on the character you login with.

Maybe if I see your LibDebugLogger file with errors I can compare it and see addons that are the same.
https://sir.insidi.at/or/logviewer/5CU5IP
*sorry misread the error thing about the log...
No errors anymore so far, uploaded file after closing game.
Still no clue what caused is, relogged a ton of times (close game open it up, tried to replicate the error)
Tough nothing popped up back again.

If it pops up again ill repost a new log
So far all works perfect again!
Report comment to moderator  
Reply With Quote
Unread 06/18/24, 03:07 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 5104
File comments: 6190
Uploads: 78
Hm that log file does not contain ANY error message, so all went good?
Or did you upload the file before doing a reload UI after an error? You always have to logout or at least /reloadui to save data to the disk, after you did something ingame.

Originally Posted by tdc-nl
Originally Posted by Baertram
Thank you, very appreciated!

Another user tested on his end and he was not using Azurah adddon so we do not think this is actually an issue.
It could be any other, maybe even more common one. Or even a bug with LSM in combination with ZOs vanilla code, which only triggers in very rare circumstances (character relog e.g.). But we rather assume it's happening with one or many enabled addons which are enabled on the character you login with.

Maybe if I see your LibDebugLogger file with errors I can compare it and see addons that are the same.
https://sir.insidi.at/or/logviewer/5CU5IP
Report comment to moderator  
Reply With Quote
Unread 06/18/24, 01:54 PM  
tdc-nl

Forum posts: 9
File comments: 22
Uploads: 0
Originally Posted by Baertram
Thank you, very appreciated!

Another user tested on his end and he was not using Azurah adddon so we do not think this is actually an issue.
It could be any other, maybe even more common one. Or even a bug with LSM in combination with ZOs vanilla code, which only triggers in very rare circumstances (character relog e.g.). But we rather assume it's happening with one or many enabled addons which are enabled on the character you login with.

Maybe if I see your LibDebugLogger file with errors I can compare it and see addons that are the same.
https://sir.insidi.at/or/logviewer/5CU5IP
Report comment to moderator  
Reply With Quote
Unread 06/18/24, 09:50 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 5104
File comments: 6190
Uploads: 78
Thank you, very appreciated!

Another user tested on his end and he was not using Azurah adddon so we do not think this is actually an issue.
It could be any other, maybe even more common one. Or even a bug with LSM in combination with ZOs vanilla code, which only triggers in very rare circumstances (character relog e.g.). But we rather assume it's happening with one or many enabled addons which are enabled on the character you login with.

Maybe if I see your LibDebugLogger file with errors I can compare it and see addons that are the same.

Originally Posted by tdc-nl
Ok so....
Things i did:
- Disabled all other Addons (except AF + depends)
Started the debuglogger stack
No crash/errors.

So i repeated this:
toggling some bit by bit on (addons)
Relogging to 2 characters (Cause the crash/errors started/popped up when i sometimes switched a char)

Only did not enabled "Azurah" and so far so good...
Ill keep on testing some more...
If it gets back ill report here (with ofcourse correct way by logging etc )
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.