Quantcast
Download
(261 Kb)
Download
Updated: 07/01/19 03:28 PM
Pictures
File Info
Compatibility:
Elsweyr (5.0.5)
Wrathstone (4.3)
Murkmire (4.2)
Wolfhunter (4.1)
Summerset (4.0)
Updated:07/01/19 03:28 PM
Created:12/10/18 04:52 AM
Monthly downloads:5,541
Total downloads:30,652
Favorites:131
MD5:
5.0.5
Advanced Filters - Updated (old Name: BETA)  Popular! (More than 5000 hits)
Version: 1.5.1.7
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".
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 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:
-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.
Changelog

Renamed this addon to Advanced Filters - Updated (old name: BETA)

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 (11)
File Name
Version
Size
Uploader
Date
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 Yesterday, 10:21 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2210
File comments: 2433
Uploads: 57
Re: PTS

Originally Posted by Thallassa
Hi Baertram,

I tried version 1.5.17 on the pts and while I got no errors, the new summerset master furnisher's documents are hidden even when I'm on the "all" tab. In fact advanced filters says that my Inventory space is at 170/200 but only 165 items are shown. I'm not actually sure what the other two hidden items are (I only had 3 of the documents). I didn't check if the clockwork city documents are hidden as I am not eligible to buy them.
Thanks for the info. Haven't found time to check addons on PTS yet.
And never heard of the master furnisher's documents so far
Where can I buy/get them on PTS to test why they don't show? Somehwere in the crown store?
Report comment to moderator  
Reply With Quote
Unread Yesterday, 10:14 AM  
Thallassa

Forum posts: 2
File comments: 13
Uploads: 0
PTS

Hi Baertram,

I tried version 1.5.17 on the pts and while I got no errors, the new summerset master furnisher's documents are hidden even when I'm on the "all" tab. In fact advanced filters says that my Inventory space is at 170/200 but only 165 items are shown. I'm not actually sure what the other two hidden items are (I only had 3 of the documents). I didn't check if the clockwork city documents are hidden as I am not eligible to buy them.
Report comment to moderator  
Reply With Quote
Unread Yesterday, 04:33 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2210
File comments: 2433
Uploads: 57
Re: Collecting Problem

Originally Posted by CatlinDenesha
Most of the time when I try to collect the stuff from my bags like coffers. It will not allow me to collect the items. It will just show up with a black box next to the item where it is suppose to show the item description. 99% of the time i have to log out and back in to be allowed to collect my items.
Hi, any chance you could tell me why this is a problem of AF?
Please note all active addons and then disable all except AF and the needed libraries. Test if this works well please. If not tell me please in steps how to rebuild the error (including the coffer name/type).

If you don't get the error with other addons disabled enable other addons one after another to check which one is the problem. Maybe there are any in your list which deal with coffers, then try them first.

And could you maybe show a Screenshot of the error? I think you mean you hover the mouse above a coffer and the tooltip is black? Are you able to open the coffer? Is the keybind missing to do so? Do you get any error message? If it's about the tooltip then check addons adding information to the tooltip (Master Merchant, TTC, others like recipes learned or traits researched etc.) too!
Last edited by Baertram : 07/21/19 at 04:35 AM.
Report comment to moderator  
Reply With Quote
Unread Yesterday, 06:34 PM  
CatlinDenesha

Forum posts: 0
File comments: 1
Uploads: 0
Collecting Problem

Most of the time when I try to collect the stuff from my bags like coffers. It will not allow me to collect the items. It will just show up with a black box next to the item where it is suppose to show the item description. 99% of the time i have to log out and back in to be allowed to collect my items.
Report comment to moderator  
Reply With Quote
Unread 07/03/19, 12:25 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2210
File comments: 2433
Uploads: 57
Re: Advanced Filters 1.5.1.7 - Does Not Load

Originally Posted by Shadowshire
Version 1.5.1.7 does not load. The ESC > Addons list shows the add-on present, but the checkbox is empty. The tooltip for it in the update column (far right) lists three libraries which are required. All of them are, in fact, present and loaded, as far as I can determine from looking at the library list that follows the add-on list. I checked the ESO /Addons folder and the most recent versions of all of them are installed.

I replaced version 1.5.1.7 with the previous version which I had installed, 1.5.1.5. It loads and works without any evident problem. I have never used version 1.5.1.6 (didn't know that it had been released).
Read the changelog 1.5.1.6 and/or the description for needed libraries please.
There are more then three libraries, in case there are 5 and the changelog + the description even states which library got added as standalone need
If not all of the libraries are shown in the dependencies tooltip (Votans Adon List) or the expanded dependencies text (ESO vanilla UI) and you are using Votans Addon List (which I suppose as you wrote "the tooltip in the column far right): I've mentioned this to the author already and a fix should be coming.
Last edited by Baertram : 07/03/19 at 03:39 AM.
Report comment to moderator  
Reply With Quote
Unread 07/02/19, 11:03 PM  
Shadowshire

Forum posts: 1
File comments: 267
Uploads: 0
Arrow Advanced Filters 1.5.1.7 - Does Not Load

Version 1.5.1.7 does not load. The ESC > Addons list shows the add-on present, but the checkbox is empty. The tooltip for it in the update column (far right) lists three libraries which are required. All of them are, in fact, present and loaded, as far as I can determine from looking at the library list that follows the add-on list. I checked the ESO /Addons folder and the most recent versions of all of them are installed.

I replaced version 1.5.1.7 with the previous version which I had installed, 1.5.1.5. It loads and works without any evident problem. I have never used version 1.5.1.6 (didn't know that it had been released).
__________________
---- Shadowshire ..... nil carborundum illegitimi
Report comment to moderator  
Reply With Quote
Unread 07/01/19, 01:16 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2210
File comments: 2433
Uploads: 57
Thanks, my vacations were great

v1.5.1.6 is still under review and not relased.
After checking version 1.5.1.5 again I saw there might be another problem that even if you got LibStub enabled AdvancedFilters will be loaded before LiBStub gets loaded (as AdvancedFilters.txt is missing the DependsOn: LIbStub in the verison 1.5.1.5).

So I hope 1.5.1.6 will be accepted soon.

Originally Posted by makadus
Thank you for responding and for taking the time to help out! I hope you had a great vacation!

Originally Posted by Baertram
Version 1.5.1.6
Removed bundled/included library libCommonInventoryFilters.
-> Please download and install as standalone version: libCommonInventoryFilters

Library LibStub is not needed for this addon anymore!
and

Originally Posted by Baertram
If the error is in line 2 of LibMotifCategories, which ships with this addon "AdvancedFilters UPDATED" in the subfolder "libs", it's due to missing or no enabled other library "LibStub"!
Please download and enable this library "LibStub"

Please delete the folder "AddOns/AdvancedFilters" and re-download the addon with version 1.5.1.6.
Please download the library libCommonInventoryFilters as well as version 1.5.1.6 needs this as standalone version.

It should solve your problem.
I have both libCommonInventoryFilters and LibStub in my addons folder. I believe they are the most recent versions, but I will verify and reinstall regardless.
Report comment to moderator  
Reply With Quote
Unread 07/01/19, 01:02 PM  
makadus

Forum posts: 0
File comments: 2
Uploads: 0
Thank you for responding and for taking the time to help out! I hope you had a great vacation!

Originally Posted by Baertram
Version 1.5.1.6
Removed bundled/included library libCommonInventoryFilters.
-> Please download and install as standalone version: libCommonInventoryFilters

Library LibStub is not needed for this addon anymore!
and

Originally Posted by Baertram
If the error is in line 2 of LibMotifCategories, which ships with this addon "AdvancedFilters UPDATED" in the subfolder "libs", it's due to missing or no enabled other library "LibStub"!
Please download and enable this library "LibStub"

Please delete the folder "AddOns/AdvancedFilters" and re-download the addon with version 1.5.1.6.
Please download the library libCommonInventoryFilters as well as version 1.5.1.6 needs this as standalone version.

It should solve your problem.
I have both libCommonInventoryFilters and LibStub in my addons folder. I believe they are the most recent versions, but I will verify and reinstall regardless.
Last edited by makadus : 07/01/19 at 01:03 PM.
Report comment to moderator  
Reply With Quote
Unread 07/01/19, 12:40 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2210
File comments: 2433
Uploads: 57
-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


Library LibStub is not needed for this addon anymore!
Last edited by Baertram : 07/01/19 at 01:39 PM.
Report comment to moderator  
Reply With Quote
Unread 07/01/19, 12:26 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2210
File comments: 2433
Uploads: 57
If the error is in line 2 of LibMotifCategories, which ships with this addon "AdvancedFilters UPDATED" in the subfolder "libs", it's due to missing or no enabled other library "LibStub"!
Please download and enable this library "LibStub"

Please delete the folder "AddOns/AdvancedFilters" and re-download the addon with version 1.5.1.6.
Please download the library libCommonInventoryFilters as well as version 1.5.1.6 needs this as standalone version.
Also please download the library LibMotifCategoriesas well as version 1.5.1.6 needs this as standalone version.


It should solve your problem.
Last edited by Baertram : 07/01/19 at 01:39 PM.
Report comment to moderator  
Reply With Quote
Unread 07/01/19, 11:15 AM  
makadus

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by Baertram
Originally Posted by mlq88
Wanted to switch from the old filters, but I get this error

user:/AddOns/AdvancedFilters/main.lua:12: attempt to index a nil value
stack traceback:
user:/AddOns/AdvancedFilters/main.lua:12: in function '(main chunk)'
|caaaaaa<Locals> AF = tbl </Locals>|r

No idea where to start with getting it to work, but I don't even see a single filter in game.
Read some posts below please. Same error message. Delete complete folder AdvancedFilters and reinstall new please.

Edit, that is the post I meant:



I'm currently not able to Chek why this error might happen for you as I'm on vacations but the addon works flawlessly so it might be a bad installation for you or outdated libraries or other addons interfering here.
Hello I am getting a similar error as user mlq88. I followed the the above suggested steps to no avail... Is there any info I can provide that may help? As for outdated addons I have downloaded the latest versions from this site. Also, I currently only have this addon and it's dependencies active.

Here is the error:
user:/AddOns/AdvancedFilters/lib/LibMotifCategories-1.0/LibMotifCategories-1.0.lua:2: attempt to index a nil value
stack traceback:
user:/AddOns/AdvancedFilters/lib/LibMotifCategories-1.0/LibMotifCategories-1.0.lua:2: in function '(main chunk)'
Locals> MAJOR = "LibMotifCategories-1.0", MINOR = 1 </Locals>
I have read the thread and saw this is seen as an issue with Minion. Thing is, I do not use Minion and never have. I install manually.

Also, if I am reading this correctly, it found the LibMotifCategories-1.0.lua and is referring to the local variables for MAJOR and MINOR? This would suggest to me that it is not an issue of a missing lib?
Last edited by makadus : 07/01/19 at 12:06 PM.
Report comment to moderator  
Reply With Quote
Unread 06/18/19, 08:21 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2210
File comments: 2433
Uploads: 57
Originally Posted by M-ree
Miscellaneous - Disguise filter doesn't seem to work. It is always greyed out, even when the disguise type items are in inventory.
Hey M-ree,

just checked this after my vacations and it is working fine for me.
Here are 2 screenshots as a proof:
https://ibb.co/9pbzSzw
https://ibb.co/ZXTWpQY

Please test if this works if you only got AdvancedFilters UPDATED enabled (+needed libraries).
Report comment to moderator  
Reply With Quote
Unread 06/16/19, 08:15 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2210
File comments: 2433
Uploads: 57
Originally Posted by mlq88
Wanted to switch from the old filters, but I get this error

user:/AddOns/AdvancedFilters/main.lua:12: attempt to index a nil value
stack traceback:
user:/AddOns/AdvancedFilters/main.lua:12: in function '(main chunk)'
|caaaaaa<Locals> AF = tbl </Locals>|r

No idea where to start with getting it to work, but I don't even see a single filter in game.
Read some posts below please. Same error message. Delete complete folder AdvancedFilters and reinstall new please.

Edit, that is the post I meant:
Originally Posted by Ghashul
I have been using the original version until today, but it conflicted endlessly with AGS. So today I learned about this new version, but I can't get it to work.

I removed the old version, and installed this one and the libs required. When I reload UI it gives a UI error:

user:/AddOns/AdvancedFilters/main.lua:12: attempt to index a nil value
stack traceback:
user:/AddOns/AdvancedFilters/main.lua:12: in function '(main chunk)'

<Locals> AF = tbl </Locals>

Any clues as to how to fix this?
Could you please try to completely delete the folder AdvancedFilters and then reinstall this updated version please.
Please try to ONLY activate AF inGame + needed libraries. No other addons enabled. Does it work then?

I'm currently not able to Chek why this error might happen for you as I'm on vacations but the addon works flawlessly so it might be a bad installation for you or outdated libraries or other addons interfering here.
Last edited by Baertram : 06/18/19 at 07:01 AM.
Report comment to moderator  
Reply With Quote
Unread 06/15/19, 02:52 AM  
mlq88

Forum posts: 0
File comments: 2
Uploads: 0
Wanted to switch from the old filters, but I get this error

user:/AddOns/AdvancedFilters/main.lua:12: attempt to index a nil value
stack traceback:
user:/AddOns/AdvancedFilters/main.lua:12: in function '(main chunk)'
|caaaaaa<Locals> AF = tbl </Locals>|r

No idea where to start with getting it to work, but I don't even see a single filter in game.
Report comment to moderator  
Reply With Quote
Unread 06/14/19, 02:57 PM  
Mandragorane

Forum posts: 0
File comments: 53
Uploads: 0
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Error Message

Originally Posted by Baertram
Originally Posted by KLISK
@Baertram Perhaps, but the error is only at the entrance to the world, in the future this error does not exist.
Then this is an error of the ESO engine ...
Correct, will ask around after vacations if and how one can suppress or skip it then.
Just disabled "pre-create lists" and it works !!!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: