Quantcast
Download
(272 Kb)
Download
Updated: 09/14/19 04:29 AM
Pictures
File Info
Compatibility:
Scalebreaker (5.1.5)
Elsweyr (5.0.5)
Wrathstone (4.3)
Murkmire (4.2)
Wolfhunter (4.1)
Summerset (4.0)
Updated:09/14/19 04:29 AM
Created:12/10/18 04:52 AM
Monthly downloads:139,463
Total downloads:243,030
Favorites:203
MD5:
Categories:Bags, Bank, Inventory, Plug-Ins & Patches
5.1.5
Advanced Filters - Updated  Updated this week!  Popular! (More than 5000 hits)
Version: 1.5.3.1
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 updated 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:
LibFilters-3.0
LibCustomMenu
LibAddonMenu
libCommonInventoryFilters
LibMotifCategories-1.0 -> NOT included anymore. Needs to be installed as standalone version! (buggy: Motif filters may not work!)


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 UPDATED (old name: BETA) v1.5.0.6 and higher

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


Information for developers
-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

local dropdownCallback = {
    {name = "All",                 filterResetAtStart=true,  filterResetAtStartDelay=delay, filterStartCallback=FilterStartCallbackFunc, filterCallback=GetFilterCallbackForThisFilterPlugin("all"),                filterEndCallback=FilterEndCallbackFunc},
    {name = "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 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.
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 = "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"

Known bugs:
-The addon "Multicraft" is breaking this addon's Enchanting table. Please disable Multicraft as the Vanilla UI now provides multicrafting.

-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

-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.
Renamed this addon to Advanced Filters - Updated (old name: BETA)

Changelog

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 (0)


Archived Files (25)
File Name
Version
Size
Uploader
Date
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
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2356
File comments: 2617
Uploads: 57
Please read this before posting a bug comment

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?
Standalone libraries, why that?
Donate for the work put into this addon
The subfilter icons are not shown: 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 aprent folder which will be the "live" folder). Login again (could take longer now as the ShaderCache get'S rebuild).

Needed libraries (not included):
LibFilters-3.0
LibCustomMenu
LibAddonMenu
libCommonInventoryFilters
LibMotifCategories-1.0 -> buggy: Motif filters (especially new ones) may not work!

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!

Known bugs:
  1. LibMotifCategories might not work properly and thus the motif filters will not work properly (especially for new motifs)
  2. Enchanting station lua error: user:/AddOns/AdvancedFilters/main.lua:327: attempt to index a nil value -> FIX: See "Known incompatibilities" -> "Multicraft" above
  3. 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
  4. 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 mail keybind. The correct craftbag filter will be shown but the subfilter bar is missing.
  5. 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 (filtesr are not re-applied on bank re-open).
Last edited by Baertram : 09/06/19 at 01:38 PM.
Report comment to moderator  
Reply With Quote
Unread 09/16/19, 06:23 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2356
File comments: 2617
Uploads: 57
Aye, AF plugins are only visible in the dropdown filter box and they won't add extra inventory filter buttons on top. That's why I was confused as well.
Thanks for the update.

Originally Posted by Efran
Originally Posted by Baertram
LibDebugLogger

If you say it was AF Stolen filter plugin it's a supported plugin. I'll have a look if I can reproduce it then.
Hmmm, that did not fix it, so I went looking and it seems somehow I have acquired the NTakLootNSteal add on along the way and as you said that was indeed the cause.

Sorry for the confusion
Report comment to moderator  
Reply With Quote
Unread 09/15/19, 04:46 PM  
Efran

Forum posts: 0
File comments: 10
Uploads: 0
Originally Posted by Baertram
LibDebugLogger

If you say it was AF Stolen filter plugin it's a supported plugin. I'll have a look if I can reproduce it then.
Hmmm, that did not fix it, so I went looking and it seems somehow I have acquired the NTakLootNSteal add on along the way and as you said that was indeed the cause.

Sorry for the confusion
__________________
Efran
Report comment to moderator  
Reply With Quote
Unread 09/15/19, 04:05 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2356
File comments: 2617
Uploads: 57
LibDebugLogger

If you say it was AF Stolen filter plugin it's a supported plugin. I'll have a look if I can reproduce it then.

Originally Posted by Efran
Absolutely a fair point, and I am sure us, your users, are very very grateful for the work that you are doing.

I did not realise it was a not a core feature. I guess its from this add on that I will now turn off
Advanced Filters - Stolen items filter
Having said all of that, is there any way to produce a list of current addons that are operating and their version numbers ? It would be a huge debug aid. Maybe something for the Addon writing community or ESO/Zenimax to consider.

Originally Posted by Baertram
There is no stolen tab at the vanilla UI!

So which addon are you using to add it? Check the comments of NTakLootNSteal or HarvensStolenFilter and install these versions which are compatible with AdvancedFilters.
If it's another addon, sorry, no plan to support more and more and more.
Report comment to moderator  
Reply With Quote
Unread 09/14/19, 03:26 PM  
Efran

Forum posts: 0
File comments: 10
Uploads: 0
Absolutely a fair point, and I am sure us, your users, are very very grateful for the work that you are doing.

I did not realise it was a not a core feature. I guess its from this add on that I will now turn off
Advanced Filters - Stolen items filter
Having said all of that, is there any way to produce a list of current addons that are operating and their version numbers ? It would be a huge debug aid. Maybe something for the Addon writing community or ESO/Zenimax to consider.

Originally Posted by Baertram
There is no stolen tab at the vanilla UI!

So which addon are you using to add it? Check the comments of NTakLootNSteal or HarvensStolenFilter and install these versions which are compatible with AdvancedFilters.
If it's another addon, sorry, no plan to support more and more and more.
__________________
Efran
Last edited by Efran : 09/14/19 at 05:46 PM.
Report comment to moderator  
Reply With Quote
Unread 09/14/19, 12:06 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2356
File comments: 2617
Uploads: 57
There is no stolen tab at the vanilla UI!

So which addon are you using to add it? Check the comments of NTakLootNSteal or HarvensStolenFilter and install these versions which are compatible with AdvancedFilters.
If it's another addon, sorry, no plan to support more and more and more.


Originally Posted by Efran
>====================================>
[AdvancedFilters - ERROR] ShowSubfilterBar - SubFilterBar missing

!> Please answer the following 4 questions and send the answers (and if given: the variables shown in the lines, starting with ->, after the questions) to the addon's comments of AdvancedFilters @www.esoui.com:
https://bit.ly/2lSbb2A

1) What did you do?
Activate personal bank / Deposit / Stolen

2)Where did you do it?
NA / Grahtwood / Elden Root ( upstairs ) / Elden Root Services / Amballicil

3)Did you test if the error happenes with only the addon AdvancedFilters UPDATED activated (please test this!)?
Sorry dont have time this time

4)If error happens with other addons active: Which other addons were you using as the error happened?
AGS + tons of others

-> InventoryType: 1, craftingType: 0/0, currentFilter: function: 000002149F8A2588, subFilterGroupMissing: false, subfilterBarMissing: false
Thank you very much for your invested time and the will to fix this addon!
<====================================<


NA Server > @ChanurOdindottir
Report comment to moderator  
Reply With Quote
Unread 09/14/19, 10:25 AM  
Efran

Forum posts: 0
File comments: 10
Uploads: 0
>====================================>
[AdvancedFilters - ERROR] ShowSubfilterBar - SubFilterBar missing

!> Please answer the following 4 questions and send the answers (and if given: the variables shown in the lines, starting with ->, after the questions) to the addon's comments of AdvancedFilters @www.esoui.com:
https://bit.ly/2lSbb2A

1) What did you do?
Activate personal bank / Deposit / Stolen

2)Where did you do it?
NA / Grahtwood / Elden Root ( upstairs ) / Elden Root Services / Amballicil

3)Did you test if the error happenes with only the addon AdvancedFilters UPDATED activated (please test this!)?
Sorry dont have time this time

4)If error happens with other addons active: Which other addons were you using as the error happened?
AGS + tons of others

-> InventoryType: 1, craftingType: 0/0, currentFilter: function: 000002149F8A2588, subFilterGroupMissing: false, subfilterBarMissing: false
Thank you very much for your invested time and the will to fix this addon!
<====================================<


NA Server > @ChanurOdindottir
__________________
Efran
Report comment to moderator  
Reply With Quote
Unread 09/14/19, 04:17 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2356
File comments: 2617
Uploads: 57
Re: strange debug message

Whoops, guess I forgot to remove a debit message.

Originally Posted by Tamelon
every time i open a deconstruct panel on any crafting station i get a message like this for every item in the deconstruct panel in the chat window:

[09:28:30] >[AF]RefreshSubFilterbar, externalAddonName: FCOCraftFilter_Jewelry_Deconstruction, result: true

As it says AF in front and its the only addon i updated in the last 24 hours i guess its not caused by fcocraftfilter.

the text _Jewelry_ changes for each crafting station of course.

i tried reinstall, delete config file and activate debug and deactivate it again. no changes.

Thanks for your time.
Report comment to moderator  
Reply With Quote
Unread 09/14/19, 01:49 AM  
Lokir

Forum posts: 0
File comments: 31
Uploads: 0
Re: strange debug message

me too in all craftingstations.
I go back to version 1.5.2.9 and it works without errors.

Originally Posted by Tamelon
every time i open a deconstruct panel on any crafting station i get a message like this for every item in the deconstruct panel in the chat window:

[09:28:30] >[AF]RefreshSubFilterbar, externalAddonName: FCOCraftFilter_Jewelry_Deconstruction, result: true

As it says AF in front and its the only addon i updated in the last 24 hours i guess its not caused by fcocraftfilter.

the text _Jewelry_ changes for each crafting station of course.

i tried reinstall, delete config file and activate debug and deactivate it again. no changes.

Thanks for your time.
Report comment to moderator  
Reply With Quote
Unread 09/14/19, 01:35 AM  
Tamelon

Forum posts: 0
File comments: 36
Uploads: 0
strange debug message

every time i open a deconstruct panel on any crafting station i get a message like this for every item in the deconstruct panel in the chat window:

[09:28:30] >[AF]RefreshSubFilterbar, externalAddonName: FCOCraftFilter_Jewelry_Deconstruction, result: true

As it says AF in front and its the only addon i updated in the last 24 hours i guess its not caused by fcocraftfilter.

the text _Jewelry_ changes for each crafting station of course.

i tried reinstall, delete config file and activate debug and deactivate it again. no changes.

Thanks for your time.
Report comment to moderator  
Reply With Quote
Unread 09/14/19, 01:32 AM  
iamtoksic

Forum posts: 0
File comments: 19
Uploads: 0
Thumbs up Re: Re: Re: Re: Re: Re: Re: Corrupted saved variables? (text chat error when using DLWC)

As with Pyr0xyrecuprotite below, I've just gone through all 8 of my crafters and NO ERRORS! I believe you have successfully squashed this particular bug.

Many thanks for the time and effort you've put into this addon!!


Originally Posted by Baertram
I'll see if I can move some needed items to the bank to see if I can rebuild it with your steps.
If not I'll come back to you. Please enable the possibility to send you private messages in your forum profile so I can send you more infos if needed, thanks.

Edit:
1st) Test was with only 1 banked item (a potion) and there was no error mesasge for me.
2nd) Test was with 1 glyph, 1 potion, 3 rings and there WAS error mesasge for me (even did a reloadui before opening the bank to auto retrieve the items).
So I'm able to reproduce it with more than 1 item as it seems. Tahnks, will have a deeper look now.
Unfortunately the error did not popup again if I tried to do the same again with debug messages. So this seems to be a timing issue. With the text output it's slow enough to abort properly. Without it will be too fast as it seems and the error appears.
And even without the chat output, my next attempt did work flawlessly So, hard to reproduce again

Edit2:
I think I found the problem. All my checks were around the INVENTORY_BANK but as the bank was closed that fast again the functions were already reading the actual inventory as INVENTORY_BACKPACK again. So all my checks were just saying "HEy you are not at the bank" and failed. Hopefully fixed this now so any inventory which is not actually opened anymore won't throw error messages for the INVENTORY_BACKPACK then.
Report comment to moderator  
Reply With Quote
Unread 09/13/19, 03:33 PM  
Pyr0xyrecuprotite

Forum posts: 1
File comments: 30
Uploads: 0
Re: Re: Re: Re: Re: Corrupted saved variables? (text chat error when using DLWC)

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

FYI, I did not see this "error" Sept 13 on any of my 12 crafters (with 1.5.3.0). Granted it's an intermittent and unpredictable issue so this might be a false positive... (Note that for me, the error used to occur regardless of whether using a proper bank or banker assistant.)

Update: unfortunately the error reappeared on my 3rd crafter on Sept 14. Will try 1.5.3.1 to see what happens.


Originally Posted by Baertram
This is driving me nuts This still happens for you as the bank is opened and closed automatically by Dolgubons Lazy Writ Creator? Or when does this happen?

As I'm not getting this error message could I provide you a version of AF with more debug message output at this error message so I can get more details?

Originally Posted by iamtoksic
Updated to 1.5.2.8 and I'm sorry to report that the error still occurs. The error message in the chat window is exactly the same as the one I posted below.

Code:
[AdvancedFilters]ERROR - FilterType was nil for 'AF_ButtonFilter' at button 'All', filterType: 'nil', groupName: 'All'
===========================================
[AdvancedFilters]AF_FilterBar: ActiveButton: All
>ERROR - filterPanelId is NIL!
===========================================
Last edited by Pyr0xyrecuprotite : 09/14/19 at 11:22 AM.
Report comment to moderator  
Reply With Quote
Unread 09/13/19, 12:37 PM  
Thrasher

Forum posts: 6
File comments: 84
Uploads: 0
The bank withdrawal panel.

Cheers!

Originally Posted by Baertram
Yes this should be added by AdvancedFilters (if your setting is enabled to do so).
You mean the bank withdraw panel or the deposit?
Will have a look at it.

Originally Posted by Thrasher
Not sure if this is functionality from this addon, but when you filter items from the bank, the count of the number of filtered items is listed in parenthesis at the bottom of the window.

It used to update as you switch categories and filters.

Now it seems to not be updating when you switch.

But if you close the bank and reopen the bank the count gets updated.

Please let me know if you have any ideas on how to make this work again.
Report comment to moderator  
Reply With Quote
Unread 09/13/19, 06:53 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2356
File comments: 2617
Uploads: 57
Re: Re: Re: Re: Re: Re: Corrupted saved variables? (text chat error when using DLWC)

I'll see if I can move some needed items to the bank to see if I can rebuild it with your steps.
If not I'll come back to you. Please enable the possibility to send you private messages in your forum profile so I can send you more infos if needed, thanks.

Edit:
1st) Test was with only 1 banked item (a potion) and there was no error mesasge for me.
2nd) Test was with 1 glyph, 1 potion, 3 rings and there WAS error mesasge for me (even did a reloadui before opening the bank to auto retrieve the items).
So I'm able to reproduce it with more than 1 item as it seems. Tahnks, will have a deeper look now.
Unfortunately the error did not popup again if I tried to do the same again with debug messages. So this seems to be a timing issue. With the text output it's slow enough to abort properly. Without it will be too fast as it seems and the error appears.
And even without the chat output, my next attempt did work flawlessly So, hard to reproduce again

Edit2:
I think I found the problem. All my checks were around the INVENTORY_BANK but as the bank was closed that fast again the functions were already reading the actual inventory as INVENTORY_BACKPACK again. So all my checks were just saying "HEy you are not at the bank" and failed. Hopefully fixed this now so any inventory which is not actually opened anymore won't throw error messages for the INVENTORY_BACKPACK then.

Originally Posted by iamtoksic
Yes, these are the exact steps I take, which triggers the error shown below:

1. Pick up all writ orders from the boards.
2. Summon the Banker.
3. DLWC automatically removes 3 items from the bank - 1 for alchemy, 2 for provisioning.
4. The banker is automatically dismissed by DLWC.
5. The ERROR appears as soon as the banker is gone.

A few minutes ago, I disabled all other addons, except for AF and DLWC (and the needed libraries). The error still happened on 1 toon.

I will be happy to test a special debug version of AF, if it will help you determine the cause of this error!


Originally Posted by Baertram
This is driving me nuts This still happens for you as the bank is opened and closed automatically by Dolgubons Lazy Writ Creator? Or when does this happen?

As I'm not getting this error message could I provide you a version of AF with more debug message output at this error message so I can get more details?

Originally Posted by iamtoksic
Updated to 1.5.2.8 and I'm sorry to report that the error still occurs. The error message in the chat window is exactly the same as the one I posted below.

Code:
[AdvancedFilters]ERROR - FilterType was nil for 'AF_ButtonFilter' at button 'All', filterType: 'nil', groupName: 'All'
===========================================
[AdvancedFilters]AF_FilterBar: ActiveButton: All
>ERROR - filterPanelId is NIL!
===========================================
Last edited by Baertram : 09/13/19 at 09:07 AM.
Report comment to moderator  
Reply With Quote
Unread 09/13/19, 05:10 AM  
iamtoksic

Forum posts: 0
File comments: 19
Uploads: 0
Re: Re: Re: Re: Re: Corrupted saved variables? (text chat error when using DLWC)

Yes, these are the exact steps I take, which triggers the error shown below:

1. Pick up all writ orders from the boards.
2. Summon the Banker.
3. DLWC automatically removes 3 items from the bank - 1 for alchemy, 2 for provisioning.
4. The banker is automatically dismissed by DLWC.
5. The ERROR appears as soon as the banker is gone.

A few minutes ago, I disabled all other addons, except for AF and DLWC (and the needed libraries). The error still happened on 1 toon.

I will be happy to test a special debug version of AF, if it will help you determine the cause of this error!


Originally Posted by Baertram
This is driving me nuts This still happens for you as the bank is opened and closed automatically by Dolgubons Lazy Writ Creator? Or when does this happen?

As I'm not getting this error message could I provide you a version of AF with more debug message output at this error message so I can get more details?

Originally Posted by iamtoksic
Updated to 1.5.2.8 and I'm sorry to report that the error still occurs. The error message in the chat window is exactly the same as the one I posted below.

Code:
[AdvancedFilters]ERROR - FilterType was nil for 'AF_ButtonFilter' at button 'All', filterType: 'nil', groupName: 'All'
===========================================
[AdvancedFilters]AF_FilterBar: ActiveButton: All
>ERROR - filterPanelId is NIL!
===========================================
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: