Go to Page... |
Compatibility: | Markarth (6.2.5) Stonethorn (6.1.5) Greymoor (6.0.5) |
Updated: | 11/02/20 06:39 AM |
Created: | 05/04/19 08:28 AM |
Monthly downloads: | 15,498 |
Total downloads: | 420,854 |
Favorites: | 375 |
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
LibFilters:GetMinFilter() Returns the minimum filterType available LibFilters:GetMaxFilter() Returns the maximum filterType available LibFilters:HookAdditionalFilter(filterType, inventory) FilterType is one of the provided "LF_" prefixed constants. Inventory needs to be some construct which can make use of an additionalFilter to determine if an item is shown or not. Look in LibFilters:InitializeLibFilters and/or helper.lua for examples. LibFilters:InitializeLibFilters() Must be called after you've assigned LibFilters-3.0 to your local variable. LibFilters:GetCurrentFilterTypeForInventory(inventoryType) Returns the filterType currently affecting the provided inventoryType. LibFilters: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. 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. LibFilters: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. LibFilters: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. LibFilters: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. LibFilters: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.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 |
![]() |
||
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 |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
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 |
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 |
![]() |
|
Forum posts: 0
File comments: 61
Uploads: 0
|
since yesterdays patch can no longer deposit anything in bank - if libfilters3.0 is disabled I can deposit things
Last edited by rumple9 : 10/22/19 at 12:08 PM.
|
![]() |
![]() |
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: error on research
|
||
![]() |
![]() |
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: 21
File comments: 111
Uploads: 0
|
error on research
when selecting "research" -tab, I'm getting this error
Code:
user:/AddOns/LibFilters-3.0/LibFilters-3.0/LibFilters-3.0.lua:396: function expected instead of nil stack traceback: user:/AddOns/LibFilters-3.0/LibFilters-3.0/LibFilters-3.0.lua:396: in function 'Update' |
![]() |
![]() |
cag_dk |
View Public Profile |
Send a private message to cag_dk |
Send email to cag_dk |
Find More Posts by cag_dk |
Add cag_dk to Your Buddy List |
![]() |
|||
Re: Re: Lua Error
![]() |
|||
![]() |
![]() |
Eldorhaan |
View Public Profile |
Send a private message to Eldorhaan |
Send email to Eldorhaan |
Find More Posts by Eldorhaan |
Add Eldorhaan to Your Buddy List |
![]() |
||
Re: Lua Error
LibFilters and LibFilterIt are not the same
![]()
|
||
![]() |
![]() |
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 |
![]() |
|
Lua Error
Hello there,
I have install FCO item saver and as requested, it advise to install this lib, but after that I get this error message Code:
user:/AddOns/LibFilterIt-1.0/LibFilterIt-1.0.lua:8: attempt to index a nil value stack traceback: user:/AddOns/LibFilterIt-1.0/LibFilterIt-1.0.lua:8: in function '(main chunk)' EDIT: I find what was happening, I had an old folder LibFilterIt 1.0, I just delete it and now it's fine. Sorry for the inconvenience.
Last edited by Eldorhaan : 08/03/19 at 02:53 AM.
|
|
![]() |
![]() |
Eldorhaan |
View Public Profile |
Send a private message to Eldorhaan |
Send email to Eldorhaan |
Find More Posts by Eldorhaan |
Add Eldorhaan to Your Buddy List |
![]() |