Quantcast
Download
(280 Kb)
Download
Updated: 03/21/20 12:09 PM
Pictures
File Info
Compatibility:
Harrowstorm (5.3.4)
Dragonhold (5.2.5)
Scalebreaker (5.1.5)
Elsweyr (5.0.5)
Updated:03/21/20 12:09 PM
Created:12/10/18 04:52 AM
Monthly downloads:85,618
Total downloads:526,645
Favorites:330
MD5:
Categories:Bags, Bank, Inventory, Plug-Ins & Patches
5.3.4
Advanced Filters - Updated  Popular! (More than 5000 hits)
Version: 1.5.3.9
by: Baertram [More]
Please read the description and check screenshots at the original addon page:
Original addon: AdvancedFilters

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

Features:
Subfilters to find exactly what you're looking for!
Main inventory, personal bank, guild bank, guild store, vendors, and craft bag support!
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!
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 filter system for authors to create additional dropdown filters! (See included documentation for details)
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:
Check the addon's comment section, first "sticky" post -> Known bugs
Renamed this addon to Advanced Filters - Updated (old name: BETA)

Changelog

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


Archived Files (33)
File Name
Version
Size
Uploader
Date
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 02/02/20, 12:48 PM  
Durnik

Forum posts: 2
File comments: 114
Uploads: 0
Re: Re: Trash filter

Sorry. When searching in guild stores there is no option to search for "trash". Also, the trash items do not show up under "Miscellaneous ->All" in guild stores. Top[ is when doing a search at a guild store.


https://imgur.com/a/vkkOpfl

Originally Posted by Baertram
You are lucky, one of my toons got one in the bag.
It shows below the following filters->subfilters:
All->All
Miscellaneous->All
Miscellaneous->Trash

What do you mean you cannot search for it?
Are you using the search bar, and what do you enter there?
If you use the search bar at e.g. the weapons panel it can only show weapons! This is a game restriction and the addon cannot change this.
So be sure to either activate the All panel or the miscellaneous panel at least to find it.
Both work fine for me if I e.g. enter "root"

Originally Posted by Durnik
I'm unable to search for "Supple Root". It is a "Trash" item.

|H1:item:54388:177:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
Last edited by Durnik : 02/02/20 at 12:51 PM.
Report comment to moderator  
Reply With Quote
Unread 02/01/20, 07:04 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2711
File comments: 3243
Uploads: 57
Re: Trash filter

You are lucky, one of my toons got one in the bag.
It shows below the following filters->subfilters:
All->All
Miscellaneous->All
Miscellaneous->Trash

What do you mean you cannot search for it?
Are you using the search bar, and what do you enter there?
If you use the search bar at e.g. the weapons panel it can only show weapons! This is a game restriction and the addon cannot change this.
So be sure to either activate the All panel or the miscellaneous panel at least to find it.
Both work fine for me if I e.g. enter "root"

Originally Posted by Durnik
I'm unable to search for "Supple Root". It is a "Trash" item.

|H1:item:54388:177:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
Last edited by Baertram : 02/01/20 at 07:04 AM.
Report comment to moderator  
Reply With Quote
Unread 01/31/20, 07:21 PM  
Durnik

Forum posts: 2
File comments: 114
Uploads: 0
Trash filter

I'm unable to search for "Supple Root". It is a "Trash" item.

|H1:item:54388:177:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
Report comment to moderator  
Reply With Quote
Unread 01/29/20, 04:17 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2711
File comments: 3243
Uploads: 57
Originally Posted by rodneyregis
Hi. Not sure it's your addon, but if I disable it it goes away.

There's a big ESO icon - white wyverns on black square, right in the middle of my reticule. I can't move it. Do you know where it's coming from?
Nope and this definately is no icon AdcancedFilters uses.
AF alone cannot be the problem.

Maybe enable ONLY AdvancedFilters please and disable all plugins of AF, check if it's gone than?
Then enable the plugins of AF one after another and check which plugin shows this texture.

If this does not raise the error anymore then enable all addons together like before and disable others, except AdvancedFilters.
Is the texture than gone again?
Report comment to moderator  
Reply With Quote
Unread 01/28/20, 03:58 PM  
rodneyregis

Forum posts: 0
File comments: 12
Uploads: 0
Hi. Not sure it's your addon, but if I disable it it goes away.

There's a big ESO icon - white wyverns on black square, right in the middle of my reticule. I can't move it. Do you know where it's coming from?
Report comment to moderator  
Reply With Quote
Unread 01/16/20, 10:37 PM  
kebabman

Forum posts: 0
File comments: 10
Uploads: 0
Bugs

Yeah I will keep an eye out and let you know if something pops up. I just don't play as much at the moment to test around a lot.

Thanks for the awesome addon, has made my and the life of many others a lot easer
Report comment to moderator  
Reply With Quote
Unread 01/16/20, 11:58 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2711
File comments: 3243
Uploads: 57
Re: Re: Re: Bugs since the latest update

Thanks, I guess it was the bank closing. But will try to rebuild that error.
If you happen to get it again and notice what to do to get it feel free to share that info with me here, thanks.

Originally Posted by kebabman
After a clean reinstall I have not encountered these anymore. I got this one when either closing the bank or blacksmithing station I can't recall as my banker was standing next to it.

Code:
user:/AddOns/AdvancedFilters/main.lua:304: attempt to index a nil valuedw
stack traceback:
user:/AddOns/AdvancedFilters/main.lua:304: in function 'UpdateListAnchors'
<Locals> self = [table:1]{selectedTabType = 1, itemsLockedDueToDeath = F}, shiftY = 40, p_subFilterBar = [table:2]{name = "SmithingRefine_BLACKSMITH_Refi...", inventoryType = 14}, layoutData = [table:3]{useSearchBar = T, LibFilters3_filterType = 3, backpackOffsetY = 96, inventoryTopOffsetY = 45, emptyLabelOffsetY = 100, width = 565, sortByNameWidth = 241, hideBankInfo = F, hideCurrencyInfo = F, inventoryBottomOffsetY = -30, sortByOffsetY = 63, sortByHeaderWidth = 576, inventoryFilterDividerTopOffsetY = 105}, invTypeUpdateListAnchor = 14 </Locals>
user:/AddOns/AdvancedFilters/main.lua:477: in function 'ShowSubfilterBar'
<Locals> currentFilter = 40, craftingType = 1, UpdateListAnchors = user:/AddOns/AdvancedFilters/main.lua:298, invType = 14, currentFilterToUse = 40, doDebugOutput = F, subfilterGroupMissingForInvType = F, subfilterBarMissing = F, subfilterGroup = [table:4]{}, subfilterBarBase = [table:5]{}, subfilterBar = [table:2], isCraftingInventoryType = F, isCraftingPanel = F </Locals>
user:/AddOns/AdvancedFilters/util.lua:69: in function 'Update'
Originally Posted by Baertram
Please try to logout, deinstall this addon, completely delete the folder AdvancedFilters in the addons folder (read here how to find the addons folder: https://www.esoui.com/forums/faq.php..._howto_install). Then install AdvancedFilters again.
Does this solve the problem?

Which one happens at login?
And when do the others occur? I need more details how to reproduce them please.

Edit:
Please disable ALL plugins you are using for AdvancedFilters. Are the errors gone then? If so: Please enable the plugins again one after another and tell me which one causes the errors to appear again!

Originally Posted by kebabman
With the most recent update I keep having a few errors at least one of them usually on login:

Code:
user:/AddOns/AdvancedFilters/main.lua:1169: function expected instead of nil
stack traceback:
user:/AddOns/AdvancedFilters/main.lua:1169: in function 'onCraftingComplete'
<Locals> eventCode = 131531 </Locals>

Code:
user:/AddOns/AdvancedFilters/data.lua:1807: function expected instead of nil
stack traceback:
user:/AddOns/AdvancedFilters/data.lua:1807: in function 'parseFilterInformation'
<Locals> filterInformation = [table:1]{submenuName = "LevelFilters", filterType = 0}, addonInformation = [table:2]{submenuName = "LevelFilters"}, groupName = "All", addStrings = user:/AddOns/AdvancedFilters/data.lua:1802 </Locals>
user:/AddOns/AdvancedFilters/data.lua:1825: in function 'AdvancedFilters_RegisterFilter'
<Locals> filterInformationTable = [table:3]{submenuName = "LevelFilters"}, parseFilterInformation = user:/AddOns/AdvancedFilters/data.lua:1777, filterTypes = [table:4]{1 = 0}, filterInformationForEachFilterType = [table:1], _ = 1, filterInformationFilterType = 0 </Locals>
user:/AddOns/AdvancedFilters/extrafilters/LevelFilters.lua:121: in function '(main chunk)'
<Locals> util = [table:5]{}, checkCraftingStationSlot = user:/AddOns/AdvancedFilters/data.lua:35, cpIcon = "|t18:18:/esoui/art/menubar/gam...", GetFilterCallbackForLevel = user:/AddOns/AdvancedFilters/extrafilters/LevelFilters.lua:17, fullLevelDropdownCallbacks = [table:6]{}, strings = [table:7]{cp130-140 = "|t18:18:/esoui/art/menubar/gam...", cp10-20 = "|t18:18:/esoui/art/menubar/gam...", 31-40 = "31-40", 11-20 = "11-20", LevelFilters = "Level Filters", cp30-40 = "|t18:18:/esoui/art/menubar/gam...", cp150-160 = "|t18:18:/esoui/art/menubar/gam...", cp10-160 = "|t18:18:/esoui/art/menubar/gam...", cp110-120 = "|t18:18:/esoui/art/menubar/gam...", 41-50 = "41-50", 21-30 = "21-30", cp50-60 = "|t18:18:/esoui/art/menubar/gam...", cp70-80 = "|t18:18:/esoui/art/menubar/gam...", 1-10 = "1-10", cp90-100 = "|t18:18:/esoui/art/menubar/gam...", 1-49 = "1-49"}, stringsDE = [table:8]{LevelFilters = "Level Filter"}, filterInformation = [table:3] </Locals>
Code:
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:241: attempt to index a nil value
stack traceback:
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:241: in function 'AF_FilterBar:AddSubfilter'
<Locals> self = [table:1]{name = "PlayerInventory_All"}, groupName = "All", subfilterName = "All" </Locals>
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:234: in function 'AF_FilterBar:Initialize'
<Locals> self = [table:1], inventoryName = "PlayerInventory", tradeSkillname = "_", groupName = "All", subfilterNames = [table:2]{1 = "All"}, _ = T, _ = 9, _ = ud, _ = 9, _ = 0, offsetY = 63, parents = [table:3]{}, parent = ud, allText = "All", DropdownOnMouseUpHandler = user:/AddOns/AdvancedFilters/AF_FilterBar.lua:60, comboBox = [table:4]{m_isDropdownVisible = F, m_sortOrder = T, m_spacing = 0, m_sortsItems = F, m_name = "AF_FilterBarPlayerInventory_Al..."}, DropdownOnMouseEnterHandler = user:/AddOns/AdvancedFilters/AF_FilterBar.lua:145, DropdownOnMouseExitHandler = user:/AddOns/AdvancedFilters/AF_FilterBar.lua:152, _ = 1, subfilterName = "All" </Locals>
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:14: in function 'AF_FilterBar:New'
<Locals> self = [table:5]{}, inventoryName = "PlayerInventory", tradeSkillname = "_", groupName = "All", subfilterNames = [table:2], obj = [table:1] </Locals>
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:511: in function 'AF.CreateSubfilterBars'
<Locals> doDebugOutput = F, inventoryNames = [table:6]{32 = "JewelryCraftingCreate"}, tradeSkillNames = [table:7]{0 = "_"}, filterTypeNames = [table:8]{0 = "All"}, subfilterGroups = [table:9]{}, subfilterButtonNames = [table:10]{}, inventoryType = 1, tradeSkillTypeSubFilterGroup = [table:11]{}, tradeSkillType = 0, subfilterGroup = [table:12]{}, itemFilterType = 0, _ = [table:13]{} </Locals>
user:/AddOns/AdvancedFilters/main.lua:1294: in function 'AdvancedFilters_Loaded'
<Locals> eventCode = 65536, addonName = "AdvancedFilters" </Locals>
Code:
user:/AddOns/AdvancedFilters/main.lua:1226: function expected instead of nil
stack traceback:
user:/AddOns/AdvancedFilters/main.lua:1226: in function 'SetBankEventVariable'
<Locals> bankType = "b", opened = F, bankInvType = 3 </Locals>
user:/AddOns/AdvancedFilters/main.lua:1283: in function '(anonymous)'
Report comment to moderator  
Reply With Quote
Unread 01/16/20, 11:35 AM  
kebabman

Forum posts: 0
File comments: 10
Uploads: 0
Re: Re: Bugs since the latest update

After a clean reinstall I have not encountered these anymore. I got this one when either closing the bank or blacksmithing station I can't recall as my banker was standing next to it.

Code:
user:/AddOns/AdvancedFilters/main.lua:304: attempt to index a nil valuedw
stack traceback:
user:/AddOns/AdvancedFilters/main.lua:304: in function 'UpdateListAnchors'
<Locals> self = [table:1]{selectedTabType = 1, itemsLockedDueToDeath = F}, shiftY = 40, p_subFilterBar = [table:2]{name = "SmithingRefine_BLACKSMITH_Refi...", inventoryType = 14}, layoutData = [table:3]{useSearchBar = T, LibFilters3_filterType = 3, backpackOffsetY = 96, inventoryTopOffsetY = 45, emptyLabelOffsetY = 100, width = 565, sortByNameWidth = 241, hideBankInfo = F, hideCurrencyInfo = F, inventoryBottomOffsetY = -30, sortByOffsetY = 63, sortByHeaderWidth = 576, inventoryFilterDividerTopOffsetY = 105}, invTypeUpdateListAnchor = 14 </Locals>
user:/AddOns/AdvancedFilters/main.lua:477: in function 'ShowSubfilterBar'
<Locals> currentFilter = 40, craftingType = 1, UpdateListAnchors = user:/AddOns/AdvancedFilters/main.lua:298, invType = 14, currentFilterToUse = 40, doDebugOutput = F, subfilterGroupMissingForInvType = F, subfilterBarMissing = F, subfilterGroup = [table:4]{}, subfilterBarBase = [table:5]{}, subfilterBar = [table:2], isCraftingInventoryType = F, isCraftingPanel = F </Locals>
user:/AddOns/AdvancedFilters/util.lua:69: in function 'Update'
Originally Posted by Baertram
Please try to logout, deinstall this addon, completely delete the folder AdvancedFilters in the addons folder (read here how to find the addons folder: https://www.esoui.com/forums/faq.php..._howto_install). Then install AdvancedFilters again.
Does this solve the problem?

Which one happens at login?
And when do the others occur? I need more details how to reproduce them please.

Edit:
Please disable ALL plugins you are using for AdvancedFilters. Are the errors gone then? If so: Please enable the plugins again one after another and tell me which one causes the errors to appear again!

Originally Posted by kebabman
With the most recent update I keep having a few errors at least one of them usually on login:

Code:
user:/AddOns/AdvancedFilters/main.lua:1169: function expected instead of nil
stack traceback:
user:/AddOns/AdvancedFilters/main.lua:1169: in function 'onCraftingComplete'
<Locals> eventCode = 131531 </Locals>

Code:
user:/AddOns/AdvancedFilters/data.lua:1807: function expected instead of nil
stack traceback:
user:/AddOns/AdvancedFilters/data.lua:1807: in function 'parseFilterInformation'
<Locals> filterInformation = [table:1]{submenuName = "LevelFilters", filterType = 0}, addonInformation = [table:2]{submenuName = "LevelFilters"}, groupName = "All", addStrings = user:/AddOns/AdvancedFilters/data.lua:1802 </Locals>
user:/AddOns/AdvancedFilters/data.lua:1825: in function 'AdvancedFilters_RegisterFilter'
<Locals> filterInformationTable = [table:3]{submenuName = "LevelFilters"}, parseFilterInformation = user:/AddOns/AdvancedFilters/data.lua:1777, filterTypes = [table:4]{1 = 0}, filterInformationForEachFilterType = [table:1], _ = 1, filterInformationFilterType = 0 </Locals>
user:/AddOns/AdvancedFilters/extrafilters/LevelFilters.lua:121: in function '(main chunk)'
<Locals> util = [table:5]{}, checkCraftingStationSlot = user:/AddOns/AdvancedFilters/data.lua:35, cpIcon = "|t18:18:/esoui/art/menubar/gam...", GetFilterCallbackForLevel = user:/AddOns/AdvancedFilters/extrafilters/LevelFilters.lua:17, fullLevelDropdownCallbacks = [table:6]{}, strings = [table:7]{cp130-140 = "|t18:18:/esoui/art/menubar/gam...", cp10-20 = "|t18:18:/esoui/art/menubar/gam...", 31-40 = "31-40", 11-20 = "11-20", LevelFilters = "Level Filters", cp30-40 = "|t18:18:/esoui/art/menubar/gam...", cp150-160 = "|t18:18:/esoui/art/menubar/gam...", cp10-160 = "|t18:18:/esoui/art/menubar/gam...", cp110-120 = "|t18:18:/esoui/art/menubar/gam...", 41-50 = "41-50", 21-30 = "21-30", cp50-60 = "|t18:18:/esoui/art/menubar/gam...", cp70-80 = "|t18:18:/esoui/art/menubar/gam...", 1-10 = "1-10", cp90-100 = "|t18:18:/esoui/art/menubar/gam...", 1-49 = "1-49"}, stringsDE = [table:8]{LevelFilters = "Level Filter"}, filterInformation = [table:3] </Locals>
Code:
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:241: attempt to index a nil value
stack traceback:
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:241: in function 'AF_FilterBar:AddSubfilter'
<Locals> self = [table:1]{name = "PlayerInventory_All"}, groupName = "All", subfilterName = "All" </Locals>
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:234: in function 'AF_FilterBar:Initialize'
<Locals> self = [table:1], inventoryName = "PlayerInventory", tradeSkillname = "_", groupName = "All", subfilterNames = [table:2]{1 = "All"}, _ = T, _ = 9, _ = ud, _ = 9, _ = 0, offsetY = 63, parents = [table:3]{}, parent = ud, allText = "All", DropdownOnMouseUpHandler = user:/AddOns/AdvancedFilters/AF_FilterBar.lua:60, comboBox = [table:4]{m_isDropdownVisible = F, m_sortOrder = T, m_spacing = 0, m_sortsItems = F, m_name = "AF_FilterBarPlayerInventory_Al..."}, DropdownOnMouseEnterHandler = user:/AddOns/AdvancedFilters/AF_FilterBar.lua:145, DropdownOnMouseExitHandler = user:/AddOns/AdvancedFilters/AF_FilterBar.lua:152, _ = 1, subfilterName = "All" </Locals>
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:14: in function 'AF_FilterBar:New'
<Locals> self = [table:5]{}, inventoryName = "PlayerInventory", tradeSkillname = "_", groupName = "All", subfilterNames = [table:2], obj = [table:1] </Locals>
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:511: in function 'AF.CreateSubfilterBars'
<Locals> doDebugOutput = F, inventoryNames = [table:6]{32 = "JewelryCraftingCreate"}, tradeSkillNames = [table:7]{0 = "_"}, filterTypeNames = [table:8]{0 = "All"}, subfilterGroups = [table:9]{}, subfilterButtonNames = [table:10]{}, inventoryType = 1, tradeSkillTypeSubFilterGroup = [table:11]{}, tradeSkillType = 0, subfilterGroup = [table:12]{}, itemFilterType = 0, _ = [table:13]{} </Locals>
user:/AddOns/AdvancedFilters/main.lua:1294: in function 'AdvancedFilters_Loaded'
<Locals> eventCode = 65536, addonName = "AdvancedFilters" </Locals>
Code:
user:/AddOns/AdvancedFilters/main.lua:1226: function expected instead of nil
stack traceback:
user:/AddOns/AdvancedFilters/main.lua:1226: in function 'SetBankEventVariable'
<Locals> bankType = "b", opened = F, bankInvType = 3 </Locals>
user:/AddOns/AdvancedFilters/main.lua:1283: in function '(anonymous)'
Report comment to moderator  
Reply With Quote
Unread 01/13/20, 09:15 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2711
File comments: 3243
Uploads: 57
Re: Bugs since the latest update

Please try to logout, deinstall this addon, completely delete the folder AdvancedFilters in the addons folder (read here how to find the addons folder: https://www.esoui.com/forums/faq.php?faq=install#faq_howto_install). Then install AdvancedFilters again.
Does this solve the problem?

Which one happens at login?
And when do the others occur? I need more details how to reproduce them please.

Edit:
Please disable ALL plugins you are using for AdvancedFilters. Are the errors gone then? If so: Please enable the plugins again one after another and tell me which one causes the errors to appear again!

Originally Posted by kebabman
With the most recent update I keep having a few errors at least one of them usually on login:

Code:
user:/AddOns/AdvancedFilters/main.lua:1169: function expected instead of nil
stack traceback:
user:/AddOns/AdvancedFilters/main.lua:1169: in function 'onCraftingComplete'
<Locals> eventCode = 131531 </Locals>

Code:
user:/AddOns/AdvancedFilters/data.lua:1807: function expected instead of nil
stack traceback:
user:/AddOns/AdvancedFilters/data.lua:1807: in function 'parseFilterInformation'
<Locals> filterInformation = [table:1]{submenuName = "LevelFilters", filterType = 0}, addonInformation = [table:2]{submenuName = "LevelFilters"}, groupName = "All", addStrings = user:/AddOns/AdvancedFilters/data.lua:1802 </Locals>
user:/AddOns/AdvancedFilters/data.lua:1825: in function 'AdvancedFilters_RegisterFilter'
<Locals> filterInformationTable = [table:3]{submenuName = "LevelFilters"}, parseFilterInformation = user:/AddOns/AdvancedFilters/data.lua:1777, filterTypes = [table:4]{1 = 0}, filterInformationForEachFilterType = [table:1], _ = 1, filterInformationFilterType = 0 </Locals>
user:/AddOns/AdvancedFilters/extrafilters/LevelFilters.lua:121: in function '(main chunk)'
<Locals> util = [table:5]{}, checkCraftingStationSlot = user:/AddOns/AdvancedFilters/data.lua:35, cpIcon = "|t18:18:/esoui/art/menubar/gam...", GetFilterCallbackForLevel = user:/AddOns/AdvancedFilters/extrafilters/LevelFilters.lua:17, fullLevelDropdownCallbacks = [table:6]{}, strings = [table:7]{cp130-140 = "|t18:18:/esoui/art/menubar/gam...", cp10-20 = "|t18:18:/esoui/art/menubar/gam...", 31-40 = "31-40", 11-20 = "11-20", LevelFilters = "Level Filters", cp30-40 = "|t18:18:/esoui/art/menubar/gam...", cp150-160 = "|t18:18:/esoui/art/menubar/gam...", cp10-160 = "|t18:18:/esoui/art/menubar/gam...", cp110-120 = "|t18:18:/esoui/art/menubar/gam...", 41-50 = "41-50", 21-30 = "21-30", cp50-60 = "|t18:18:/esoui/art/menubar/gam...", cp70-80 = "|t18:18:/esoui/art/menubar/gam...", 1-10 = "1-10", cp90-100 = "|t18:18:/esoui/art/menubar/gam...", 1-49 = "1-49"}, stringsDE = [table:8]{LevelFilters = "Level Filter"}, filterInformation = [table:3] </Locals>
Code:
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:241: attempt to index a nil value
stack traceback:
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:241: in function 'AF_FilterBar:AddSubfilter'
<Locals> self = [table:1]{name = "PlayerInventory_All"}, groupName = "All", subfilterName = "All" </Locals>
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:234: in function 'AF_FilterBar:Initialize'
<Locals> self = [table:1], inventoryName = "PlayerInventory", tradeSkillname = "_", groupName = "All", subfilterNames = [table:2]{1 = "All"}, _ = T, _ = 9, _ = ud, _ = 9, _ = 0, offsetY = 63, parents = [table:3]{}, parent = ud, allText = "All", DropdownOnMouseUpHandler = user:/AddOns/AdvancedFilters/AF_FilterBar.lua:60, comboBox = [table:4]{m_isDropdownVisible = F, m_sortOrder = T, m_spacing = 0, m_sortsItems = F, m_name = "AF_FilterBarPlayerInventory_Al..."}, DropdownOnMouseEnterHandler = user:/AddOns/AdvancedFilters/AF_FilterBar.lua:145, DropdownOnMouseExitHandler = user:/AddOns/AdvancedFilters/AF_FilterBar.lua:152, _ = 1, subfilterName = "All" </Locals>
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:14: in function 'AF_FilterBar:New'
<Locals> self = [table:5]{}, inventoryName = "PlayerInventory", tradeSkillname = "_", groupName = "All", subfilterNames = [table:2], obj = [table:1] </Locals>
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:511: in function 'AF.CreateSubfilterBars'
<Locals> doDebugOutput = F, inventoryNames = [table:6]{32 = "JewelryCraftingCreate"}, tradeSkillNames = [table:7]{0 = "_"}, filterTypeNames = [table:8]{0 = "All"}, subfilterGroups = [table:9]{}, subfilterButtonNames = [table:10]{}, inventoryType = 1, tradeSkillTypeSubFilterGroup = [table:11]{}, tradeSkillType = 0, subfilterGroup = [table:12]{}, itemFilterType = 0, _ = [table:13]{} </Locals>
user:/AddOns/AdvancedFilters/main.lua:1294: in function 'AdvancedFilters_Loaded'
<Locals> eventCode = 65536, addonName = "AdvancedFilters" </Locals>
Code:
user:/AddOns/AdvancedFilters/main.lua:1226: function expected instead of nil
stack traceback:
user:/AddOns/AdvancedFilters/main.lua:1226: in function 'SetBankEventVariable'
<Locals> bankType = "b", opened = F, bankInvType = 3 </Locals>
user:/AddOns/AdvancedFilters/main.lua:1283: in function '(anonymous)'
Last edited by Baertram : 01/16/20 at 07:57 AM.
Report comment to moderator  
Reply With Quote
Unread 01/13/20, 08:50 AM  
kebabman

Forum posts: 0
File comments: 10
Uploads: 0
Bugs since the latest update

With the most recent update I keep having a few errors at least one of them usually on login:

Code:
user:/AddOns/AdvancedFilters/main.lua:1169: function expected instead of nil
stack traceback:
user:/AddOns/AdvancedFilters/main.lua:1169: in function 'onCraftingComplete'
<Locals> eventCode = 131531 </Locals>

Code:
user:/AddOns/AdvancedFilters/data.lua:1807: function expected instead of nil
stack traceback:
user:/AddOns/AdvancedFilters/data.lua:1807: in function 'parseFilterInformation'
<Locals> filterInformation = [table:1]{submenuName = "LevelFilters", filterType = 0}, addonInformation = [table:2]{submenuName = "LevelFilters"}, groupName = "All", addStrings = user:/AddOns/AdvancedFilters/data.lua:1802 </Locals>
user:/AddOns/AdvancedFilters/data.lua:1825: in function 'AdvancedFilters_RegisterFilter'
<Locals> filterInformationTable = [table:3]{submenuName = "LevelFilters"}, parseFilterInformation = user:/AddOns/AdvancedFilters/data.lua:1777, filterTypes = [table:4]{1 = 0}, filterInformationForEachFilterType = [table:1], _ = 1, filterInformationFilterType = 0 </Locals>
user:/AddOns/AdvancedFilters/extrafilters/LevelFilters.lua:121: in function '(main chunk)'
<Locals> util = [table:5]{}, checkCraftingStationSlot = user:/AddOns/AdvancedFilters/data.lua:35, cpIcon = "|t18:18:/esoui/art/menubar/gam...", GetFilterCallbackForLevel = user:/AddOns/AdvancedFilters/extrafilters/LevelFilters.lua:17, fullLevelDropdownCallbacks = [table:6]{}, strings = [table:7]{cp130-140 = "|t18:18:/esoui/art/menubar/gam...", cp10-20 = "|t18:18:/esoui/art/menubar/gam...", 31-40 = "31-40", 11-20 = "11-20", LevelFilters = "Level Filters", cp30-40 = "|t18:18:/esoui/art/menubar/gam...", cp150-160 = "|t18:18:/esoui/art/menubar/gam...", cp10-160 = "|t18:18:/esoui/art/menubar/gam...", cp110-120 = "|t18:18:/esoui/art/menubar/gam...", 41-50 = "41-50", 21-30 = "21-30", cp50-60 = "|t18:18:/esoui/art/menubar/gam...", cp70-80 = "|t18:18:/esoui/art/menubar/gam...", 1-10 = "1-10", cp90-100 = "|t18:18:/esoui/art/menubar/gam...", 1-49 = "1-49"}, stringsDE = [table:8]{LevelFilters = "Level Filter"}, filterInformation = [table:3] </Locals>
Code:
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:241: attempt to index a nil value
stack traceback:
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:241: in function 'AF_FilterBar:AddSubfilter'
<Locals> self = [table:1]{name = "PlayerInventory_All"}, groupName = "All", subfilterName = "All" </Locals>
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:234: in function 'AF_FilterBar:Initialize'
<Locals> self = [table:1], inventoryName = "PlayerInventory", tradeSkillname = "_", groupName = "All", subfilterNames = [table:2]{1 = "All"}, _ = T, _ = 9, _ = ud, _ = 9, _ = 0, offsetY = 63, parents = [table:3]{}, parent = ud, allText = "All", DropdownOnMouseUpHandler = user:/AddOns/AdvancedFilters/AF_FilterBar.lua:60, comboBox = [table:4]{m_isDropdownVisible = F, m_sortOrder = T, m_spacing = 0, m_sortsItems = F, m_name = "AF_FilterBarPlayerInventory_Al..."}, DropdownOnMouseEnterHandler = user:/AddOns/AdvancedFilters/AF_FilterBar.lua:145, DropdownOnMouseExitHandler = user:/AddOns/AdvancedFilters/AF_FilterBar.lua:152, _ = 1, subfilterName = "All" </Locals>
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:14: in function 'AF_FilterBar:New'
<Locals> self = [table:5]{}, inventoryName = "PlayerInventory", tradeSkillname = "_", groupName = "All", subfilterNames = [table:2], obj = [table:1] </Locals>
user:/AddOns/AdvancedFilters/AF_FilterBar.lua:511: in function 'AF.CreateSubfilterBars'
<Locals> doDebugOutput = F, inventoryNames = [table:6]{32 = "JewelryCraftingCreate"}, tradeSkillNames = [table:7]{0 = "_"}, filterTypeNames = [table:8]{0 = "All"}, subfilterGroups = [table:9]{}, subfilterButtonNames = [table:10]{}, inventoryType = 1, tradeSkillTypeSubFilterGroup = [table:11]{}, tradeSkillType = 0, subfilterGroup = [table:12]{}, itemFilterType = 0, _ = [table:13]{} </Locals>
user:/AddOns/AdvancedFilters/main.lua:1294: in function 'AdvancedFilters_Loaded'
<Locals> eventCode = 65536, addonName = "AdvancedFilters" </Locals>
Code:
user:/AddOns/AdvancedFilters/main.lua:1226: function expected instead of nil
stack traceback:
user:/AddOns/AdvancedFilters/main.lua:1226: in function 'SetBankEventVariable'
<Locals> bankType = "b", opened = F, bankInvType = 3 </Locals>
user:/AddOns/AdvancedFilters/main.lua:1283: in function '(anonymous)'
Report comment to moderator  
Reply With Quote
Unread 01/10/20, 08:20 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2711
File comments: 3243
Uploads: 57
What I need to know is
What are your Dolgubons Lazy Writ Crafter settings?
Do you auto withdraw items needed for writs from the bank?
Do you auto close the bank afterwards?

I had implemented a kind of fix for DLWC here to not try to apply AdvancedFilters subfilter if the bank get's closed too fast due to other addons. But this was only tested with DolgubonsLazyWritCrafter and not others like Cookery Wiz, Bank Manager etc.

So maybe you could try the following for me with your addons
As you go to the banks, where the items needed for writs get automatically withdrawn:
Could you try to disable the other addons one after another, only always keep Dolgubons Lazy Writ Crafter enabled.
Does the AF message to chat still occur then?
Can you try to find out which of the other addons you use there interfere and create the error message?

And could you try to "create a steps list" how to reproduce it then with the other addons enabled, and which settings these addon's are setup with.
I know this is a big favor I'm asking you for but the only way to reproduce and fix it then

You could try to just put the items back into the bank after you got the message and re-run it several times.
I did this during the tests for DLWC and it worked fine, so one could get the same error message in chat several times after another.
You just needed to get the message, put items back to the bank. Do a reloadui (here you could change the active addons e.g.) and try again.

Originally Posted by Onigar
Thanks Baertram for the reply.

This message is only seen when I do a DOUBLE WRIT cycle. That is I pick up the writs on one day and then do them the next day with the next days writs. For me it makes sense to do this as I get days with no writs and it is more time effective.

I do this on 8 characters but I will now note which character and detail the settings I use with steps as you suggest.

In brief I have auto craft on and use relevant addons,
Lazy Writ Crafter
Cookery Wiz
Bank Manager
Personal Assistant

I always do writs in Vvardenfell and in the same order, Clothing, Blacksmith, Bank to collect Alchemy, Provis, Woodwork, Jewelry, Enchant then hand in items. Pick up the next writs and do the same.


Originally Posted by Baertram
This is something which happens because the other addon DLWC closes the bank again before AF even was able to apply the filters properly to the bank layout.
We had this several times and I do not got any particular steps top reproduce this, so I'm not able to fix this for now.

Sadly you need to live with the message to the chat I guess.
Or maybe you can share some detailed steps how to reproduce this, or at least try to note down in detail what you did and when you get the chat message next time you do the double/saved writs + today's writs?

I mean something like:
1. Opened craft station smithing
2. Auto crafted the writs from yesterday as DLWC settings was set to auto craft / Manually clicked the craft now button on DLWC popup
3. Closed station automatically by DLWC helper functions
4. Went to clothier station
...
10. Went to NPC and got today's writ quests. DLWC accepted the quests via helper fucntions automatically.
11. Went to smithing station...

If I get such details I would be able to reproduce it somehow I guess. Thanks


Originally Posted by Onigar
This is an intermittent bug but does not seem to have any detrimental effect.

From the 8 chars I do writs on there are days when I do double writs with ones saved from the prev day.

This bug happens on random chars and only when I am doing the second writ cycle.

I complete 1 set of writs and then start the second set without any intermediate NPC or bank interaction.

At the bank interface Dolgubons Lazy Writ opens and closes the interface to withdraw items.

This is when I see the message in the chat window,



As I said, it does not seem to do anything bad, I am just advising you in case it is useful down the line
Last edited by Baertram : 01/10/20 at 08:23 AM.
Report comment to moderator  
Reply With Quote
Unread 01/10/20, 12:10 AM  
Onigar
 
Onigar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 214
Uploads: 3
Thanks Baertram for the reply.

This message is only seen when I do a DOUBLE WRIT cycle. That is I pick up the writs on one day and then do them the next day with the next days writs. For me it makes sense to do this as I get days with no writs and it is more time effective.

I do this on 8 characters but I will now note which character and detail the settings I use with steps as you suggest.

In brief I have auto craft on and use relevant addons,
Lazy Writ Crafter
Cookery Wiz
Bank Manager
Personal Assistant

I always do writs in Vvardenfell and in the same order, Clothing, Blacksmith, Bank to collect Alchemy, Provis, Woodwork, Jewelry, Enchant then hand in items. Pick up the next writs and do the same.


Originally Posted by Baertram
This is something which happens because the other addon DLWC closes the bank again before AF even was able to apply the filters properly to the bank layout.
We had this several times and I do not got any particular steps top reproduce this, so I'm not able to fix this for now.

Sadly you need to live with the message to the chat I guess.
Or maybe you can share some detailed steps how to reproduce this, or at least try to note down in detail what you did and when you get the chat message next time you do the double/saved writs + today's writs?

I mean something like:
1. Opened craft station smithing
2. Auto crafted the writs from yesterday as DLWC settings was set to auto craft / Manually clicked the craft now button on DLWC popup
3. Closed station automatically by DLWC helper functions
4. Went to clothier station
...
10. Went to NPC and got today's writ quests. DLWC accepted the quests via helper fucntions automatically.
11. Went to smithing station...

If I get such details I would be able to reproduce it somehow I guess. Thanks


Originally Posted by Onigar
This is an intermittent bug but does not seem to have any detrimental effect.

From the 8 chars I do writs on there are days when I do double writs with ones saved from the prev day.

This bug happens on random chars and only when I am doing the second writ cycle.

I complete 1 set of writs and then start the second set without any intermediate NPC or bank interaction.

At the bank interface Dolgubons Lazy Writ opens and closes the interface to withdraw items.

This is when I see the message in the chat window,



As I said, it does not seem to do anything bad, I am just advising you in case it is useful down the line
Report comment to moderator  
Reply With Quote
Unread 01/01/20, 04:41 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2711
File comments: 3243
Uploads: 57
Mounts: No. You cannot even slot them to the quickslots so why should one add them there?
Just for the ability to see and "use" them? Press the 1 button for collections and use the search box or mounts at left, search box. Should be easy enough.

There already exist quickslot subfilter addons like Merlight's one.
Currently not planned to add any subfilters to the quickslots, not even sure if this would be possible.
If I find the time I can have a look but for now I'm not really interested in it.
Please use Merlight's Quickslot filters + Votans search box.

Originally Posted by Marazota
1) Request feature

Appearance at Collections getting bigger and bigger with each patch and its harder to navigate and pick what you need at Inventory - Quick slots - Appearance

can you add some subfilters into it? divided to categories like at Collections - Appearance menu?

2) its possible to add MOUNTS to Inventory - Quick slots?
Last edited by Baertram : 01/01/20 at 04:42 PM.
Report comment to moderator  
Reply With Quote
Unread 01/01/20, 05:24 AM  
Marazota

Forum posts: 159
File comments: 1188
Uploads: 0
1) Request feature

Appearance at Collections getting bigger and bigger with each patch and its harder to navigate and pick what you need at Inventory - Quick slots - Appearance

can you add some subfilters into it? divided to categories like at Collections - Appearance menu?

2) its possible to add MOUNTS to Inventory - Quick slots?
Last edited by Marazota : 01/01/20 at 05:25 AM.
Report comment to moderator  
Reply With Quote
Unread 12/28/19, 09:14 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2711
File comments: 3243
Uploads: 57
This is something which happens because the other addon DLWC closes the bank again before AF even was able to apply the filters properly to the bank layout.
We had this several times and I do not got any particular steps top reproduce this, so I'm not able to fix this for now.

Sadly you need to live with the message to the chat I guess.
Or maybe you can share some detailed steps how to reproduce this, or at least try to note down in detail what you did and when you get the chat message next time you do the double/saved writs + today's writs?

I mean something like:
1. Opened craft station smithing
2. Auto crafted the writs from yesterday as DLWC settings was set to auto craft / Manually clicked the craft now button on DLWC popup
3. Closed station automatically by DLWC helper functions
4. Went to clothier station
...
10. Went to NPC and got today's writ quests. DLWC accepted the quests via helper fucntions automatically.
11. Went to smithing station...

If I get such details I would be able to reproduce it somehow I guess. Thanks


Originally Posted by Onigar
This is an intermittent bug but does not seem to have any detrimental effect.

From the 8 chars I do writs on there are days when I do double writs with ones saved from the prev day.

This bug happens on random chars and only when I am doing the second writ cycle.

I complete 1 set of writs and then start the second set without any intermediate NPC or bank interaction.

At the bank interface Dolgubons Lazy Writ opens and closes the interface to withdraw items.

This is when I see the message in the chat window,



As I said, it does not seem to do anything bad, I am just advising you in case it is useful down the line
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: