Go to Page... |
Compatibility: | High Isle (8.0.0) Ascending Tide (7.3.5) Deadlands (7.2.5) Waking Flame (7.1.5) Blackwood (7.0.5) Flames of Ambition (6.3.5) Markarth (6.2.5) Stonethorn (6.1.5) Greymoor (6.0.5) |
Updated: | 06/18/22 04:36 PM |
Created: | 05/04/19 08:28 AM |
Monthly downloads: | 69,368 |
Total downloads: | 1,059,914 |
Favorites: | 476 |
MD5: |
LibFilters3
##DependsOn: LibFilters-3.0>=330
local libFilters = LibFilters3 --!!! Add LibFilters-3.0 to your ## DependsOn: or ## OptionalDependsOn: to assure the lib is loaded before your addon's EVENT_ADD_ON_LOADED fires!!! libFilters:InitializeLibFilters() -- Must be called ONCE at/After EVENT_ADD_ON_LOADED of your addon to make sure the LibFilters functions exists and everything is ready! Without calling this you won't see any filters applied/working!
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_INVENTORY_COMPANION = 39 LF_FILTER_MIN = LF_INVENTORY LF_FILTER_MAX = LF_INVENTORY_COMPANION
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
local function FilterSavedItemsForSlot(inventorySlot) return true -- show the item in the list / false = hide item end local function FilterSavedItemsForBagIdAndSlotIndex(bagId, slotIndex) return true -- show the item in the list / false = hide item end
--Filter function with inventorySlot All LF_ except the ones named below, e.g. LF_INVENTORY, LF_CRAFTBAG, LF_VENDOR_SELL --Filter function with bagId and slotIndex (most of them are crafting related ones) [LF_SMITHING_REFINE] = FilterSavedItemsForBagIdAndSlotIndex, [LF_SMITHING_DECONSTRUCT] = FilterSavedItemsForBagIdAndSlotIndex, [LF_SMITHING_IMPROVEMENT] = FilterSavedItemsForBagIdAndSlotIndex, [LF_SMITHING_RESEARCH] = FilterSavedItemsForBagIdAndSlotIndex, [LF_SMITHING_RESEARCH_DIALOG] = FilterSavedItemsForBagIdAndSlotIndex, [LF_JEWELRY_REFINE] = FilterSavedItemsForBagIdAndSlotIndex, [LF_JEWELRY_DECONSTRUCT] = FilterSavedItemsForBagIdAndSlotIndex, [LF_JEWELRY_IMPROVEMENT] = FilterSavedItemsForBagIdAndSlotIndex, [LF_JEWELRY_RESEARCH] = FilterSavedItemsForBagIdAndSlotIndex, [LF_JEWELRY_RESEARCH_DIALOG] = FilterSavedItemsForBagIdAndSlotIndex, [LF_ENCHANTING_CREATION] = FilterSavedItemsForBagIdAndSlotIndex, [LF_ENCHANTING_EXTRACTION] = FilterSavedItemsForBagIdAndSlotIndex, [LF_RETRAIT] = FilterSavedItemsForBagIdAndSlotIndex, [LF_ALCHEMY_CREATION] = FilterSavedItemsForBagIdAndSlotIndex,
function LibFilters3: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 LibFilters3: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)
/lftestfilters
File Name |
Version |
Size |
Uploader |
Date |
3.0r3.4 |
96kB |
Baertram |
05/22/22 09:52 AM |
|
3.0r3.3 |
96kB |
Baertram |
05/09/22 01:44 AM |
|
3.0r3.2 |
96kB |
Baertram |
03/16/22 11:06 AM |
|
3.0r3.1 |
95kB |
Baertram |
03/12/22 07:34 PM |
|
3.0r3.0 |
95kB |
Baertram |
03/12/22 11:27 AM |
|
3.0r2.2 |
13kB |
Baertram |
08/13/21 06:29 AM |
|
3.0r2.1 |
13kB |
Baertram |
06/01/21 05:58 AM |
|
3.0r2.0 |
13kB |
Baertram |
02/18/21 06:55 PM |
|
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 |
remosito |
View Public Profile |
Send a private message to remosito |
Find More Posts by remosito |
Add remosito to Your Buddy List |
![]() |
||
|
Re: PTS
Download the most current github beta file(s) please. |
|
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
|
|
PTS
Howdie,
LibFilter3 throws errors on pts. Looks like they are related to the quickslot workover ZOS is putting in... cheers |
![]() |
![]() |
remosito |
View Public Profile |
Send a private message to remosito |
Find More Posts by remosito |
Add remosito to Your Buddy List |
![]() |
|
|
Yes, it's not supported officially as the Changelog says and thus will throw error messages.
Last edited by Baertram : 04/01/22 at 10:17 AM.
|
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
|
Forum posts: 0
File comments: 1
Uploads: 0
|
gamepad
Hello I have an error when I use the new Giladil the Ragpicker, in mode gamepad:
user:/Addons/Libfilters-3.0/helper.lua:859: function expected instead of nil stack traceback: user:/Addons/Libfilters-3.0/helper.lua:859: in function 'filterFuction'/EsoUI/Ingame/Crafting/Gamepad/GamepadCraftingInventory.lua:173:infuction'ZO_GamepadCraftingInventory:GetIndividualInventorySlotsAddToScrollData'/EsoUI/Ingame/Crafting/Gamepad/UniversalDeconstructionPanel_Gamepad.lua:550 etc..... Sorry it is my first post and I don't know how to attach an image |
![]() |
![]() |
Lucxius |
View Public Profile |
Send a private message to Lucxius |
Find More Posts by Lucxius |
Add Lucxius to Your Buddy List |
![]() |
|
|
Thanks for the update! Enchant Maker works again thankyou!
|
![]() |
![]() |
Zulunia |
View Public Profile |
Send a private message to Zulunia |
Send email to Zulunia |
Find More Posts by Zulunia |
Add Zulunia to Your Buddy List |
![]() |
|
Forum posts: 1
File comments: 125
Uploads: 0
|
Thank you Baertram! installed the latest updates and all is well
![]() |
![]() |
![]() |
[Daniel] |
View Public Profile |
Send a private message to [Daniel] |
Send email to [Daniel] |
Find More Posts by [Daniel] |
Add [Daniel] to Your Buddy List |
![]() |
|
|
CBE -> Optional AGS -> Optional LibFilters -> Optional CBE.
If AF is also used it will jump in there too: CBE -> Optional AGS -> Optional LibFilters -> AdvancedFilters -> Optional CBE So I need to fix the optional dependency at LibFilters as it seems.
Last edited by Baertram : 03/12/22 at 07:31 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: 125
Uploads: 0
|
![]() This got me curious... what if I left the AGS optional depends inside AF.txt and instead removed its CBE reference (knowing LF3.txt still contained it; after I reverted the earlier change)? and the circular message remains...
Last edited by [Daniel] : 03/12/22 at 07:32 PM.
|
|||
![]() |
![]() |
[Daniel] |
View Public Profile |
Send a private message to [Daniel] |
Send email to [Daniel] |
Find More Posts by [Daniel] |
Add [Daniel] to Your Buddy List |
![]() |
||
|
I'll check the files of LibFilters and AF again.
Last edited by Baertram : 03/12/22 at 07:02 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 |
![]() |
|
Had a similar issue, along with a few other users for AwesomeGuildStore and Craft Bag Extended.
This circular dependency was caused by AGS and CraftBagExtended - following your logic for this recent bug with LF and AGS : Removed LibFilters3.0.txt -> ## OptionalDependsOn: CraftBagExtended No more dependency loop. Likely cause AF calls on CBE, and is already using LF3.0. Confirmed all filter menus working. |
|
![]() |
![]() |
karmapharmacy |
View Public Profile |
Send a private message to karmapharmacy |
Send email to karmapharmacy |
Find More Posts by karmapharmacy |
Add karmapharmacy to Your Buddy List |
![]() |
||
|
I wonder why this causes a circular dependency as both use LibFilters (Awesome Guild Store and Advanced Filters), and AF adds AGS as an optional dependency -> 1st LibFilters, 2nd AGS, 3rd AF
Weird, let my see what we can do here. AF added AGS as optional dependency cuz there was a bug in the past but I cannot remember which one. Maybe it's fixed meanwhile. Try to remove from AdvancedFilters.txt -> ## OptionalDependsOn: AwesomeGuldStore Test version of AdvancedFilters having that entry at the txt removed: https://github.com/Baertram/Advanced...ads/master.zip Logout! Else the changed txt files may not be recognized. That should fix it for you, and see if everything works well. Especially the AF subFilterbars at the guild store vendors!
Last edited by Baertram : 03/12/22 at 05:51 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: 125
Uploads: 0
|
I'm getting an error on game launch after updating this library...
Using a GREP (find in files) tool, the only reference I can find (containing string = "libfilters") in AGS to the library is in the txt file where it lists this library as an optional depends...
|
|||
![]() |
![]() |
[Daniel] |
View Public Profile |
Send a private message to [Daniel] |
Send email to [Daniel] |
Find More Posts by [Daniel] |
Add [Daniel] to Your Buddy List |
![]() |
||
|
Re: UI Error
Thanks, I got an AF version for next update (PTS) prepared.
Let me see if I can add a quickfix for AF until Monday. Edit: Yep, should work, chanegd one PTS check line and its updated now.
Last edited by Baertram : 03/12/22 at 01:08 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 |
![]() |
|
UI Error
Error message encountered with today's update for crafting enchanting, glyph mining
------------ user:/AddOns/AdvancedFilters/files/util.lua:2128: attempt to index a nil value stack traceback: user:/AddOns/AdvancedFilters/files/util.lua:2128: in function 'util.GetCraftingTablePanelIncludeBankedCheckbox' |caaaaaa<Locals> filterPanelId = 11, ZOsControlNames = [table:1]{searchFilters = "SearchFilters", questItemsOnly = "QuestItemsOnly", includeBankedCheckbox = "IncludeBanked", active = "Active", subTabs = "SubTabs", filterDivider = "FilterDivider", tabs = "Tabs", buttonDivider = "ButtonDivider", title = "Title", searchDivider = "SearchDivider", textSearch = "TextSearch"}, includeBankedCBoxName = "IncludeBanked" </Locals>|r user:/AddOns/AdvancedFilters/files/util.lua:1175: in function 'util.RefreshSubfilterBar' |caaaaaa<Locals> subfilterBar = [table:2]{inventoryType = 1, name = "PlayerInventory_All", libFilters_filterType = 1}, calledFromExternalAddonName = "", settings = [table:3]{}, debugSpam = F, debugSpamExcludeRefreshSubfilterBar = T, inventoryType = 1, craftingType = 3, isNoCrafting = F, realInvTypes = [table:4]{1 = 1}, grayOutSubFiltersWithNoItems = T, abortSubfilterBarRefresh = F, onlyEnableAllSubfilterBarButtons = F, isVendorBuyInv = F, isCompanionInv = F, hideCharBound = F, subFilterBarFilterInfo = [table:5]{isFencePanel = F, isCompanionInvButtonActive = F, isJunkButtonActive = F, isVendorPanel = F, isCompanionInv = F, isVendorBuy = F, isBankDepositPanel = F, isTrade = F, isJunkInvButtonActive = F, isRetraitStation = F, isGuildBankDepositPanel = F, isGuildStoreSellPanel = F, libFiltersPanelId = 11, isHouseBankDepositPanel = F, isLaunderPanel = F, isMailSendPanel = F}, libFiltersPanelId = 11, isMailSendPanel = F, isVendorBuy = F, isVendorPanel = F </Locals>|r user:/AddOns/AdvancedFilters/files/util.lua:72: in function 'Update' -------------------------------------------------------------------------- |
|
![]() |
![]() |
Schrappe |
View Public Profile |
Send a private message to Schrappe |
Send email to Schrappe |
Find More Posts by Schrappe |
Add Schrappe to Your Buddy List |
![]() |