Go to Page... |
Compatibility: | Flames of Ambition (6.3.5) Markarth (6.2.5) Stonethorn (6.1.5) Greymoor (6.0.5) |
Updated: | 02/18/21 06:55 PM |
Created: | 05/04/19 08:28 AM |
Monthly downloads: | 58,035 |
Total downloads: | 520,318 |
Favorites: | 382 |
MD5: |
LibFilters3
[LibFilters-3.0]An older version of this library is loaded too: LibFilters-2.0. Please check which addons use this old Library in the ingame AddOn Manager and inform their authors to switch to LibFilters-3.0. Otherwise addons using the different versions might conflict at some filter panels!"
##DependsOn: LibFilters-3.0
local LibFilters = LibFilters3 LibFilters:InitializeLibFilters()
LF_INVENTORY = 1 LF_BANK_WITHDRAW = 2 LF_BANK_DEPOSIT = 3 LF_GUILDBANK_WITHDRAW = 4 LF_GUILDBANK_DEPOSIT = 5 LF_VENDOR_BUY = 6 LF_VENDOR_SELL = 7 LF_VENDOR_BUYBACK = 8 LF_VENDOR_REPAIR = 9 LF_GUILDSTORE_BROWSE = 10 LF_GUILDSTORE_SELL = 11 LF_MAIL_SEND = 12 LF_TRADE = 13 LF_SMITHING_REFINE = 14 LF_SMITHING_CREATION = 15 LF_SMITHING_DECONSTRUCT = 16 LF_SMITHING_IMPROVEMENT = 17 LF_SMITHING_RESEARCH = 18 LF_ALCHEMY_CREATION = 19 LF_ENCHANTING_CREATION = 20 LF_ENCHANTING_EXTRACTION = 21 LF_PROVISIONING_COOK = 22 LF_PROVISIONING_BREW = 23 LF_FENCE_SELL = 24 LF_FENCE_LAUNDER = 25 LF_CRAFTBAG = 26 LF_QUICKSLOT = 27 LF_RETRAIT = 28 LF_HOUSE_BANK_WITHDRAW = 29 LF_HOUSE_BANK_DEPOSIT = 30 LF_JEWELRY_REFINE = 31 LF_JEWELRY_CREATION = 32 LF_JEWELRY_DECONSTRUCT = 33 LF_JEWELRY_IMPROVEMENT = 34 LF_JEWELRY_RESEARCH = 35 LF_SMITHING_RESEARCH_DIALOG = 36 LF_JEWELRY_RESEARCH_DIALOG = 37 LF_INVENTORY_QUEST = 38 LF_FILTER_MIN = LF_INVENTORY LF_FILTER_MAX = LF_INVENTORY_QUEST
inventory slot: age, bagId, condition, dataEntry, equipType, filterData, iconFile, inventory, isJunk, isPlayerLocked, itemInstanceId, itemType, launderPrice, locked, meetsUsageRequirement, name, quality, rawName, requiredLevel, searchData, sellPrice, slotControl, slotIndex, specializedItemType, stackCount, stackLaunderPrice, statValue, stolen, uniqueId store slot: currencyQuantity1, currencyQuantity2, currencyType1, currencyType2, dataEntry, entryType, filterData, icon, isUnique, meetsRequirementsToBuy, meetsRequirementsToEquip, name, price, quality, questNameColor, sellPrice, slotIndex, stack, stackBuyPrice, stackBuyPriceCurrency1, stackBuyPriceCurrency2, statValue buyback slot: icon, meetsRequirements, name, price, quality, slotIndex, stack, stackBuyPrice repair slot: bagId, condition, dataEntry, icon, name, quality, repairCost, slotIndex, stackCount quickslot slot: age, bagId, filterData, iconFile, locked, meetsUsageRequirement, name, quality, sellPrice, slotIndex, slotType, stackCount, stackSellPrice, stolen
function LibFilters:InitializeLibFilters() Must be called after you've assigned LibFilters-3.0 to your local variable, to start the initialization of the library, and to make it work. function LibFilters3:GetMinFilterType() Returns the minimum filterType available function LibFilters3:GetMaxFilterType() Returns the maximum filterType available function LibFilters3:GetFilterTypes() Returns the LibFilters LF* filterType connstants table: value = "name" function LibFilters3:GetFilterTypeName(libFiltersFilterType) Returns the LibFilters LF* filterType connstant's name function LibFilters3:GetCurrentFilterTypeForInventory(inventoryType) Returns the filterType currently affecting the provided inventoryType. function LibFilters3:GetFilterCallback(filterTag, filterType) filterTag is the unique string that identifies your filter. filterType is the provided "LF_" prefixed constants your filter was registered for. Returns the filterCallback registered for the provided filterTag and filterType; returns nil otherwise. function LibFilters:IsFilterRegistered(filterTag, filterType) filterTag is the unique string that identifies your filter. filterType is the provided "LF_" prefixed constants your filter was registered for. Returns true if there is a filter registered with the provided filterTag. Returns false if there is not a filter registered with the provided filterTag. filterType is optional. If a filterType is provided, will only return true if a filter is registered to that filterType under the provided filterTag. function LibFilters3:RegisterFilter(filterTag, filterType, filterCallback) filterTag is a unique string to identify your filter. filterType is one of the provided "LF_" prefixed constants. filterCallback is a function which accepts either one or two arguments; this is determined by the filterType. filterCallback should return true if an item is to be shown. filterCallback should return false if an item should not be shown. function LibFilters3:UnregisterFilter(filterTag, filterType) filterTag is the unique string that identifies your filter. filterType the provided "LF_" prefixed constants your filter was registered for. filterType is optional. If a filterType is not provided, all filters registered with the provided filterTag will be unregistered. function LibFilters3:RequestUpdate(filterType) filterType is one of the provided "LF_" prefixed constants. Runs the updater appropriate for the provided filter type to pick up any filtering changes. function LibFilters3:SetResearchLineLoopValues(fromResearchLineIndex, toResearchLineIndex, skipTable) number fromResearchLineIndex: Start the loop here number toResearchLineIndex: End the loop here table skipTable: A table containing the researchLine indices to skip in the loop (theyx won't be added to the horizontal scroll list)
File Name |
Version |
Size |
Uploader |
Date |
3.0r1.9 |
11kB |
Baertram |
01/25/21 04:05 PM |
|
3.0r1.8 |
11kB |
Baertram |
01/25/21 02:05 PM |
|
3.0r1.7 |
11kB |
Baertram |
11/02/20 06:39 AM |
|
3.0r1.6 |
10kB |
Baertram |
08/24/20 07:09 PM |
|
3.0r1.5 |
9kB |
Baertram |
08/31/19 12:50 PM |
|
3.0r1.4 |
9kB |
Baertram |
08/30/19 11:08 PM |
|
3.0r1.3 |
8kB |
Baertram |
08/30/19 03:12 PM |
|
3.0r1.2 |
8kB |
Baertram |
05/26/19 01:50 PM |
|
3.0r1.1 |
8kB |
Baertram |
05/11/19 04:51 PM |
|
3.0r1.0 |
8kB |
05/04/19 08:28 AM |
![]() |
Comment Options |
Baertram |
View Public Profile |
Send a private message to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
|
|
Currently on the Update 29 PTS, LibFilters is causing an error when interacting with a merchant.
Code:
EsoUI/Ingame/StoreWindow/Keyboard/BuyBack_Keyboard.lua:209: operator < is not supported for nil < number stack traceback: EsoUI/Ingame/StoreWindow/Keyboard/BuyBack_Keyboard.lua:209: in function 'BuyBack:SetupBuyBackSlot' EsoUI/Ingame/StoreWindow/Keyboard/BuyBack_Keyboard.lua:25: in function '(anonymous)' [C]: in function 'PostHookFunction' EsoUI/Libraries/ZO_Templates/ScrollTemplates.lua:2372: in function 'ZO_ScrollList_UpdateScroll' EsoUI/Libraries/ZO_Templates/ScrollTemplates.lua:2128: in function 'ZO_ScrollList_Commit' EsoUI/Ingame/StoreWindow/Keyboard/BuyBack_Keyboard.lua:226: in function 'BuyBack:ApplySort' user:/AddOns/LibFilters-3.0/LibFilters-3.0/helper.lua:73: in function 'UpdateList' EsoUI/Ingame/StoreWindow/Keyboard/BuyBack_Keyboard.lua:86: in function 'OnListTextFilterComplete' EsoUI/Libraries/Utility/ZO_CallbackObject.lua:107: in function 'ZO_CallbackObjectMixin:FireCallbacks' EsoUI/Ingame/Utility/TextSearchManager.lua:212: in function 'ZO_TextSearchManager:ExecuteSearch' EsoUI/Ingame/Utility/TextSearchManager.lua:159: in function 'ZO_TextSearchManager:CleanSearch' EsoUI/Ingame/Utility/TextSearchManager.lua:85: in function 'ZO_TextSearchManager:ActivateTextSearch' EsoUI/Ingame/StoreWindow/Keyboard/StoreWindow_Keyboard.lua:184: in function 'ShowStoreWindow'
Last edited by code65536 : 02/15/21 at 04:57 AM.
|
![]() |
![]() |
code65536 |
View Public Profile |
Send a private message to code65536 |
Find More Posts by code65536 |
Add code65536 to Your Buddy List |
![]() |
|
Forum posts: 6
File comments: 106
Uploads: 0
|
Ok, I installed it manually after logging out without using minion (deleted the folder, manually downloaded, and copied it into the addons folder). Version in the addon text file is:
Code:
## Version: 3.0r1.8 ## AddOnVersion: 318 I mispoke, the filters work fine in my inventory. But none of the filters worked in the bank deposit interface. For example, all the armor type filters didn't filter anything from armor. The filters worked fine on the bank withdrawal interface. I disabled all my other addons, did a reloadui, and the problem persists. Cheers!
Last edited by Thrasher : 01/25/21 at 04:06 PM.
|
![]() |
![]() |
Thrasher |
View Public Profile |
Send a private message to Thrasher |
Send email to Thrasher |
Find More Posts by Thrasher |
Add Thrasher to Your Buddy List |
![]() |
|
Now I found the bug, it does not happen all the time but only after opening the bank e.g. as it seems.
reverting to r17 |
|
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
||
What exactly is not working in the inventory? Did you test with ONLY AF and LibFilters-3.0 enabled? Did you check that LibFilters-3.0 is enabled properly in the addon manager ingame? Did you check that the version is the correct 3.0 318 shown in the addon manager's tooltip? ![]() Did you reinstall LibFilters-3.0 as I have described below? Did you logout before reinstalling it? Logout! Check the folder, there should be no subfolder anymore in live/Addons/LibFilters-3.0, just 4 files. ![]() Delete the complete folder, redownload, extract, then login back again and try if this fixed it. Please do this before further doing other stuff, thanks.
Last edited by Baertram : 01/25/21 at 03:16 PM.
|
||
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
|
Forum posts: 6
File comments: 106
Uploads: 0
|
Hi!
I am using Advanced Filters - Updated. When I reverted to the previous version of LibFilters-3.0, my filters started working again. Maybe I am not using the right version of Advanced FIlters? I am using 1.6.0.4. |
![]() |
![]() |
Thrasher |
View Public Profile |
Send a private message to Thrasher |
Send email to Thrasher |
Find More Posts by Thrasher |
Add Thrasher to Your Buddy List |
![]() |
||
I've tested it with FCOItemSaver, AdvancedFilters, FCOCraftFilter and all work fine for me. Do you mean the vanilla UI inventory subfilters? -> LibFilters does not change them. Did you logout BEFORE updating the addons? Always LOGOUT first please. Please logout, delete the whole folder live/Addons/LibFilters-3.0 Redownload it via Minion then or manually. If your inventory filters still do not work anymore tell em the addon you are using LibFilters-3.0 with please, so I can test with that addon. And disable ALL other addons to make sure not other addon is interfering!
Last edited by Baertram : 01/25/21 at 02:55 PM.
|
||
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
|
Forum posts: 6
File comments: 106
Uploads: 0
|
Thanks for this Addon!
With the latest update, all filters in my inventory have stopped working. |
![]() |
![]() |
Thrasher |
View Public Profile |
Send a private message to Thrasher |
Send email to Thrasher |
Find More Posts by Thrasher |
Add Thrasher to Your Buddy List |
![]() |
|
Working on a fix for the new checkbox at deconstruction / research "Include banked items" if LibFilters-3.0 is enabled (checkbox will not work then).
If you get any error message at the research panel of crafting tables please logout, delete LibFilters-3.0 AND re-install the newest library version: Current: v3.0 r1.6
Last edited by Baertram : 10/19/20 at 01:01 PM.
|
|
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
||
Without I cannot see why it should be related to LibFilters-3.0? It was not updated since months neither any addons using it so it might be other addons you have updated recently! Which addons using LibFilters-3.0 are you using? Do you happen to use "Ntak Loot and Steal" or "Harvens Stolen Filter"? Disable the used on, if you use it, and check if it works then. I only know of NTak Loot and Steal being updated recently using LibFilters-3.0. ELSE: Check which addons are active as you get the error message! Disable them one after another, starting witht he ones you have updated recently. AND: ALWAYS LOGOUT BEFORE UPDATING ADDONS AND LIBRARIES! As additional info you might check first: Minion got some problems in the past. If you use it check your addons and libraries, they could be missing files! So reinstall them, maybe manually to be sure: https://www.esoui.com/forums/faq.php..._howto_install https://www.esoui.com/forums/showthread.php?t=8858 https://www.esoui.com/forums/showthread.php?t=9149
Last edited by Baertram : 06/19/20 at 03:32 PM.
|
||
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
|
Forum posts: 0
File comments: 61
Uploads: 0
|
for last couple of days im getting errors when accessing my bank and whole interface gets screwed up. It's also showing everything in my inventory as being the Mastic temper
|
![]() |
![]() |
rumple9 |
View Public Profile |
Send a private message to rumple9 |
Send email to rumple9 |
Find More Posts by rumple9 |
Add rumple9 to Your Buddy List |
![]() |
||||
Re: Re: Re: error on research
The cause was fixed in the last version, right.
So with only these 2 lines I cannot help you here, I need the total error message with all lines of the error, expanded so I can see the variables. And please provide me the steps after a login/reloadui how to reproduce this with which addons enabled please! At best install LibDebugLogger and DebugLogViewer addon, go to the settings of DebugLogViewer -> LibDebugLogger -> Enable "watch stack" setting and do a reloadui. Then ONLY enable the addon/s needed to get the error message and ONLY do the steps after reloadui to raise the error message! After you got it please logout and upload (https://sir.insidi.at/or/logviewer/ -> At the top choose "Share" after the uplaod and provide me the link) the LibDebugLogger.lua file from your SavedVariables here so I can have a look what is causing it.
Last edited by Baertram : 04/15/20 at 03:48 PM.
|
||||
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
|||
Forum posts: 1
File comments: 38
Uploads: 0
|
Re: Re: error on research
Was this ever fixed? I get the same error, only on jewelry, and should have the latest version.
|
||
![]() |
![]() |
heaven13 |
View Public Profile |
Send a private message to heaven13 |
Send email to heaven13 |
Find More Posts by heaven13 |
Add heaven13 to Your Buddy List |
![]() |
|
Got an info from ZOs about the "insecure code" error messages:
Code:
It's because the security of the handlers comes from the security of the function plus the security level when they are set (this second part is new). So when an addon tells the inventory to build a bunch of inventory slots, all those handlers are insecure and cannot call private functions. The next patch will change that so those handlers will be secure which will make these errors go away. Code:
Things that change the bag that is shown by calling UpdateList on the inventory for example. If you open the inventory first then the stock UI will make all the slots securely. Then when the addon does it they'll already be there to use. As the addons, and especially filter addons using LibFilters, use an update function to show/update the inventory rows this shoudl relate to all of the addons like AdvancedFilters, FCOItemSaver, Inventory Grid List and others which add marker icons to the inventory rows (maybe even Craftstore or Alphagear). I hope this will fix all the cannot pickup/deposit stuff as well or we need to see further after that patch then. |
|
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
||
Forum posts: 0
File comments: 8
Uploads: 0
|
Last edited by dan55304 : 10/22/19 at 05:40 PM.
|
|
![]() |
![]() |
dan55304 |
View Public Profile |
Send a private message to dan55304 |
Send email to dan55304 |
Find More Posts by dan55304 |
Add dan55304 to Your Buddy List |
![]() |