Go to Page... |
Compatibility: | Gold Road (10.0.0) Scions of Ithelia (9.3.0) Endless Archive (9.2.5) base-game patch (9.1.5) Necrom (9.0.0) Scribes of Fate (8.3.5) |
Updated: | 06/03/24 06:39 AM |
Created: | 05/04/19 08:28 AM |
Monthly downloads: | 9,041 |
Total downloads: | 1,701,057 |
Favorites: | 581 |
MD5: |
LibFilters3
##DependsOn: LibFilters-3.0>=339
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, noInUseError) 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. noInUseError boolean: Do not show an error message if the filterTag was already registered function LibFilters3:RegisterFilterIfUnregistered(filterTag, filterType, filterCallback, noInUseError) Same as RegisterFilter function but only registers the filter if it currently was unregistered 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, delay) 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:RequestUpdateForResearchFilters(delay) Request an update for the carfting table research panel, including normal LF_*_RESEARCH filters and the horizontal scrollBar filters registered with the functions RegisterResearchHorizontalScrollbarFilter function LibFilters3:RegisterResearchHorizontalScrollbarFilter(filterTag, craftingType, skipTable, fromResearchLineIndex, toResearchLineIndex, noInUseError) Register a filter by help of a researchLineIndex "skipTable" for a craftingType Parameter tyble skipTable contains key = researchLineIndex and value = boolean where "true" means: filter/skip (hide) this researchLineIndex at the horizontal scroll list. Parameter number fromResearchLineIndex sets the researchLineIndex to start the output of the horizontal scrollbar: It filters (hides) the possibe entries "in total". Parameter number toResearchLineIndex sets the researchLineIndex to stop the output of the horizontal scrollbar: It filters (hides) the possible entries "in total". Parameter boolean noInUseError: if set to true there will be no error message if the filterTag+filterType was registered already -> Silent fail. Return value will be false then! Returns true if filter table skipTable was registered, else nil in case of parameter errors, or false if same tag+type was already registered If different addons register skipTables for the same crafting type, these skipTables will be combined! ->The combined entries of the skipTable are added, directly upon registering such filter, to they researchPanel table, with entry LibFilters3_HorizontalScrollbarFilters ->You need to manually call libFilters:RequestUpdateForResearchFilters(delay) to update the horizontal scrollbar (and the normal research filters) via researchPanel:Refresh() function LibFilters3:UnregisterResearchHorizontalScrollbarFilter(filterTag, craftingType) Unregister a filter by help of a researchLineIndex "skipTable" for a craftingType, which will show the entries at the horizontal scroll list again. If different addons have registered skipTables for the same crafting type, these skipTables will be combined, and thus unregistering 1 filterTag might still have any other registered which hides the entry at the horizontal scrollbar ->The combined entries of the skipTable are added, directly upon unregistering such filter, to they researchPanel table, with entry LibFilters3_HorizontalScrollbarFilters ->You need to manually call libFilters:RequestUpdateForResearchFilters(delay) to update the horizontal scrollbar (and the normal research filters) via researchPanel:Refresh() function LibFilters3:ApplyCraftingResearchHorizontalScrollbarFilters(craftingType, noRefresh) Use API function libFilters.ApplyCraftingResearchHorizontalScrollbarFilters(craftingType, noRefresh) to apply the combined skiptables to the researchPanel table LibFilters3_HorizontalScrollbarFilters
callbackName String The callbackName of the callback just raised, filterType LF* constant, stateStr SCENE_SHOWN or SCENE_HIDDEN, isInGamepadMode true (gamepad or false (keyboard), fragmentOrSceneOrControl fragmentOrSceneOrControlOrUserdata reference variable, lReferencesToFilterType table with all references to that filterType, universalDeconSelectedTabNow nilable:String currently selected universal deconstruction tab "all", "armor", "weapons," "jewelry", "enchantments"
--Create the callbackname for a libFilters filterPanel shown/hidden callback ----It will add an entry in table LibFilters3.mapping.callbacks.registeredCallbacks[inputType][yourAddonName][universalDeconActiveTab][filterType][isShown] ----number filterType needs to be a valid LF_* filterType constant ----boolean isShown true means SCENE_SHOWN will be used, and false means SCENE_HIDDEN will be used for the callbackname ----boolean inputType true = Gamepad, false= keyboard callback, leave empty for both! ----nilable:String universalDeconActiveTab The active tab at the universal deconstruction panel that this callback should be raised for, e.g. "all", "armor", "weapons", "jewelry" or "enchanting" ----nilable:String raiseBeforeOtherAddonsCallbackName If this callbackName (of another addon) is given the callback should be raised after this callback was raised. The callbackName provided here must match the ----> other parameters like filterType, isShown, inputType, universalDeconActiveTab! ----Returns String callbackNameGenerated ---->e.g. "LibFilters3-<yourAddonName>-shown-1" for SCENE_SHOWN and filterType LF_INVENTORY of addon <yourAddonName> function libFilters:RegisterCallbackName(yourAddonName, filterType, isShown, inputType, universalDeconActiveTab, raiseBeforeOtherAddonsCallbackName) function libFilters:UnregisterCallbackName(yourAddonName, filterType, isShown, inputType, universalDeconActiveTab)
/lftestfilters
File Name |
Version |
Size |
Uploader |
Date |
3.0r4.2 |
116kB |
Baertram |
02/14/24 10:37 AM |
|
3.0r4.1 |
116kB |
Baertram |
09/01/23 08:21 AM |
|
3.0r4.0 |
116kB |
Baertram |
03/14/23 06:29 AM |
|
3.0r3.9 |
116kB |
Baertram |
01/02/23 11:48 AM |
|
3.0r3.8 |
111kB |
Baertram |
11/11/22 06:42 AM |
|
3.0r3.7 |
102kB |
Baertram |
11/01/22 01:03 PM |
|
3.0r3.6 |
101kB |
Baertram |
11/01/22 07:26 AM |
|
3.0r3.5 |
96kB |
Baertram |
06/18/22 04:36 PM |
|
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 |
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 |
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 |
01/25/21, 03:59 PM | |
|
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 |
01/25/21, 04:06 PM | |
Forum posts: 8
File comments: 222
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 |
02/15/21, 04:53 AM | |
|
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 |
Send email to code65536 |
Find More Posts by code65536 |
Add code65536 to Your Buddy List |
02/16/21, 01:53 AM | ||
|
Thanks for the info, I'll have a look.
Edit: Got the error now, seems to have to do with the new search stuff,which triggers the update of the scroll lists even if the controls are not yet given/shown. There were added some checks like if not self.control:IsControlHidden() then which were missing in LibFilters3 now Code:
LibFilters 3.0 r2.0 -Compatible with live and PTS -Fixed buyback window -Added buyback window text search -Added repair window text search -Fixed quickslots search -Fixed enchanting quest items checkbox -Fixed enchanting panel detection
Last edited by Baertram : 02/18/21 at 06:54 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 |
03/10/21, 02:49 AM | |
Forum posts: 0
File comments: 6
Uploads: 0
|
The bug is still present in 3.0 r2.0, reproduable when you e.g. try to sell any ornate item to a vendor:
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' <Locals> self = [table:1]{LibFilters2_filterType = 8, sortOrder = T, sortKey = "name", LibFilters3_filterType = 8}, control = ud, data = [table:2]{name = "Apostle Auto-Stamper", meetsRequirements = T, quality = 3, stack = 1, slotIndex = 1, price = 250, stackBuyPrice = 250, icon = "/esoui/art/icons/justice_stole..."}, statusControl = ud, slotControl = ud, nameControl = ud, priceControl = ud </Locals> EsoUI/Ingame/StoreWindow/Keyboard/BuyBack_Keyboard.lua:25: in function 'setupCallback' <Locals> control = ud, data = [table:2] </Locals> EsoUI/Libraries/ZO_Templates/ScrollTemplates.lua:2372: in function 'ZO_ScrollList_UpdateScroll' <Locals> self = ud, windowHeight = 533.77270507813, activeControls = [table:3]{}, offset = 0, IS_REAL_NUMBER = F, activeIndex = 1, numActive = 0, allData = [table:4]{}, visibleDataIndices = [table:5]{1 = 1}, mode = 1, firstInViewVisibleIndex = 1, nextCandidateVisibleIndex = 1, currentDataIndex = 1, dataEntry = [table:6]{typeId = 1}, bottomEdge = 533.77270507813, controlTop = 0, uniformControlHeight = 52, dataType = [table:7]{height = 52, selectable = T}, controlPool = [table:8]{m_NextControlId = 1, m_NextFree = 2}, control = ud </Locals> EsoUI/Libraries/ZO_Templates/ScrollTemplates.lua:2128: in function 'ZO_ScrollList_Commit' <Locals> self = ud, windowHeight = 533.77270507813, selectionsEnabled = F, scrollableDistance = 90.227294921875, foundSelected = F, i = 0 </Locals> (tail call): ? EsoUI/Ingame/StoreWindow/Keyboard/BuyBack_Keyboard.lua:226: in function 'BuyBack:ApplySort' <Locals> self = [table:1], Comparator = EsoUI/Ingame/StoreWindow/Keyboard/BuyBack_Keyboard.lua:220, scrollData = [table:4] </Locals> user:/AddOns/ItemSaver/lib/LibFilters-2.0/helper.lua:71: in function 'UpdateList' <Locals> self = [table:1], DATA_TYPE_BUY_BACK_ITEM = 1, scrollData = [table:4] </Locals> EsoUI/Ingame/StoreWindow/Keyboard/BuyBack_Keyboard.lua:86: in function 'OnListTextFilterComplete' EsoUI/Libraries/Utility/ZO_CallbackObject.lua:107: in function 'ZO_CallbackObjectMixin:FireCallbacks' <Locals> self = [table:9]{fireCallbackDepth = 1}, eventName = "UpdateSearchResults", registry = [table:10]{}, callbackInfoIndex = 3, callbackInfo = [table:11]{3 = F}, callback = EsoUI/Ingame/StoreWindow/Keyboard/BuyBack_Keyboard.lua:84, deleted = F </Locals> EsoUI/Ingame/Utility/TextSearchManager.lua:212: in function 'ZO_TextSearchManager:ExecuteSearch' <Locals> self = [table:9], context = "storeTextSearch", contextSearch = [table:12]{isDirty = F, searchText = "", isActive = T} </Locals> EsoUI/Ingame/Utility/TextSearchManager.lua:159: in function 'ZO_TextSearchManager:CleanSearch' <Locals> self = [table:9], context = "storeTextSearch", contextSearch = [table:12] </Locals> EsoUI/Ingame/Utility/TextSearchManager.lua:85: in function 'ZO_TextSe
Last edited by mkadan : 03/10/21 at 02:50 AM.
|
|
mkadan |
View Public Profile |
Send a private message to mkadan |
Send email to mkadan |
Find More Posts by mkadan |
Add mkadan to Your Buddy List |
03/10/21, 04:10 AM | ||
|
user:/AddOns/ItemSaver/lib/LibFilters-2.0/helper.lua:71: in function 'UpdateList'
???????? You see the problem? Maybe disable outdated AND discontinued addons and libraries before telling me something is not working ItemSaver & Libfilters-2.0 are dead since months. And included libraries in subfolders, like ItmSaver/libs/, is also a way old and outdated versions of libraries get loaded which will cause such issues. You need to strip the libs/ subfolder and ONLY install the libraries into live/AddOns to make sure the newest versions will be loaded, and not any version from 2014 is used by the addon. Please deinstall the library and the addon as the library is telling you to do since months, thank you. From LF2.0's description : This librray is not supported anymore. If you are still using this in your addon switch to LibFilters 3.0 NOW! Was not big enough as it seems As ItemSaver is not maintained anymore and was never switched to LibFilters-3.0 I can only say: Sorry, but the addon seems to be dead then. Switch to either FCOItemSaver, or use the standard vanilla UI's lock please.
Last edited by Baertram : 03/10/21 at 04:16 AM.
|
|
|
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 |
03/10/21, 04:48 AM | |
Forum posts: 0
File comments: 6
Uploads: 0
|
awww, sorry
|
|
mkadan |
View Public Profile |
Send a private message to mkadan |
Send email to mkadan |
Find More Posts by mkadan |
Add mkadan to Your Buddy List |
03/12/22, 12:40 PM | |
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 |
03/12/22, 01:02 PM | ||
|
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 |
03/12/22, 04:52 PM | ||||
Forum posts: 1
File comments: 133
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 |
03/12/22, 05:38 PM | ||
|
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 |
03/12/22, 06:26 PM | |
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 |
03/12/22, 06:53 PM | ||
|
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 |