Quantcast
Download
(13 Kb)
Download
Updated: 06/01/21 05:58 AM
Compatibility:
Blackwood (7.0.5)
Flames of Ambition (6.3.5)
Markarth (6.2.5)
Stonethorn (6.1.5)
Greymoor (6.0.5)
Updated:06/01/21 05:58 AM
Created:05/04/19 08:28 AM
Monthly downloads:16,769
Total downloads:673,686
Favorites:412
MD5:
7.0.5
LibFilters-3.0  Popular! (More than 5000 hits)
Version: 3.0r2.1
by: Baertram, Randactyl
LibFilters-3.0
This version of LibFilters does NOT need any dependency to other libraries anymore (e.g. no LibStub needed).
You simply reference it by using the global Variable
Code:
LibFilters3
Other libraries
This libray optionally supports the use of LibDebugLogger to log messages to the addon log instead of the normal chat.


Attention - PLEASE READ
If you also use LibFilters-2.0:
Please update your addons to NOT use LibFilters-2.0 anymore, instead use LibFilters-3.0!
Change your addons manifest TXT file to ## DependsOn: LibFilters-3.0 and be sure to update the call of your addon to LibFilters-3.0 global variable "LibFilters3" instead of the old one!
LibStub is NOT supported anymore/is obsolete, so please remove and LibStub usage from your addons as well!

If LibFilters-3.0 and LibFilters-2.0 are loaded at the same time you'll see this information in your chat and should contact the authors of your addons which still use LibFilters-2.0 to update to LibFilters-3.0 please:
Code:
[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!"

Welcome to LibFilters-3.0!

The goal of LibFilters is to provide an easy interface for applying custom sorting rules to different lists of items found in the game. At the moment, you can filter the inventory, bank withdrawal, bank deposits, guild bank withdrawal, guild bank deposits, vendor buying, vendor selling, buyback, repair, guild store selling, mail sending, trading, smithing (refinement, deconstruction, improvement, research), alchemy creation, enchanting creation, enchanting extraction, fence selling, fence laundering, the craftbag, and the quickslot inventory.

To use LibFilters in your addon, you simply assign a reference to it's global variable LibFilters3.
Yo do NOT need any call to LibStub for it anymore. In your manifest you need to add LibFilters-3.0 to the ##DependsOn tag:
Code:
##DependsOn: LibFilters-3.0
In your addon, you need to invoke LibFilters with the global LibFilters3 variable and then initialize LibFilters:

Lua Code:
  1. local LibFilters = LibFilters3
  2. LibFilters:InitializeLibFilters()

This is the list of available filterType constants:
Code:
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
The filterTypes will pass information from the bag & slotIndex, or the inventorySlot, to a filterCallback function registered to that filterType.
For the slots, these are the keys available in the passed table:

Code:
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
This library uses the inventory/fragment/dialog's attribute "additionalFilters" to register the filter callbackFunction, so it will run in addition to the original filter functions of the ZOs code.

LibFilters has the following functions available:

Code:
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)

GitHub
LibFilters 3.0 at GitHub
LibFilters 3.0 for the PTS "Blackwood"!
[v3.0 r2.1]
-Updated API for Blackwood
-Fixed CraftBag filters as Blackwood will always apply the layoutData.additionalFilters to the craftbag
-Added support for the Companion inventory: LF_INVENTORY_COMPANION

[v3.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

[v3.0 r1.9]
-Reverted back to 3.0 r1.7 as 1.8 somehow got broken in the inventory filters (not always, sometimes after opening a bank)

[v3.0 r1.8]
-Updated APIversion
-Fixed quickslots search (thanks to Scootworks)
-Fixed enchanting filterType detection, and thus also fixed the quest checkbox at enchanting creation

[v3.0 r1.7]
-Updated APIversion
-Fixed inventory filters to be compatible with ZOs vanilla inventory UI changes
-Added new filter panel LF_INVENTORY_QUEST
-Fixed constant LF_FILTER_MAX

[v3.0 r1.6]
-Updated APIversion
-Fixed new ZOs checkbox "Include banked items" at crafting panels (deconstruction, research) filtering correctly
-Added optional LibDebugLogger support
-Added API function LibFilters3:GetMinFilter()
-Added global LF_FILTER_MIN

[v3.0 r1.5]
Fixed jewelry research & jewelry research dialog filter updater names

[v3.0 r1.4]
Added: Function to filter (skip) researchLine indices at the research panel
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)

[v3.0 r1.3]
Fixed/Updated: helper functions for the smithing & jewelry research panels

[v3.0 r1.2]
Fixed: Removed LibFilters2_filterType and exchanged them with LibFilters3_filterType in the inventory/layout data

[v3.0 r1.1]
-Removed optional dependency and chat message to inform about LibFilters-2.0 removal
-Fixed helper
Optional Files (0)


Archived Files (11)
File Name
Version
Size
Uploader
Date
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


Post A Reply Comment Options
Unread 03/10/21, 04:48 AM  
mkadan

Forum posts: 0
File comments: 6
Uploads: 0
awww, sorry
Report comment to moderator  
Reply With Quote
Unread 03/10/21, 04:10 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3597
File comments: 4409
Uploads: 68
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.


Originally Posted by mkadan
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
It results in inventory not being refreshed after selling an item, so it is still displayed there though you already got gold and can't sell it anymore. Only reload UI helps.
Last edited by Baertram : 03/10/21 at 04:16 AM.
Report comment to moderator  
Reply With Quote
Unread 03/10/21, 02:49 AM  
mkadan

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
It results in inventory not being refreshed after selling an item, so it is still displayed there though you already got gold and can't sell it anymore. Only reload UI helps.
Last edited by mkadan : 03/10/21 at 02:50 AM.
Report comment to moderator  
Reply With Quote
Unread 02/16/21, 01:53 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3597
File comments: 4409
Uploads: 68
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

Originally Posted by code65536
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'
Looks like the code that's specific to the repair window is being executed outside of that context?
Last edited by Baertram : 02/18/21 at 06:54 PM.
Report comment to moderator  
Reply With Quote
Unread 02/15/21, 04:53 AM  
code65536
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 236
Uploads: 29
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'
Looks like the code that's specific to the repair window is being executed outside of that context?
Last edited by code65536 : 02/15/21 at 04:57 AM.
Report comment to moderator  
Reply With Quote
Unread 01/25/21, 04:06 PM  
Thrasher

Forum posts: 6
File comments: 115
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
There is no subfolder.

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.
Report comment to moderator  
Reply With Quote
Unread 01/25/21, 03:59 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3597
File comments: 4409
Uploads: 68
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
Report comment to moderator  
Reply With Quote
Unread 01/25/21, 03:11 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3597
File comments: 4409
Uploads: 68
Originally Posted by Thrasher
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.
I'm using this as well and it works fine for me. I just redownloaded AF 1.6.0.4 to test, all okay.
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.
Report comment to moderator  
Reply With Quote
Unread 01/25/21, 03:02 PM  
Thrasher

Forum posts: 6
File comments: 115
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.
Report comment to moderator  
Reply With Quote
Unread 01/25/21, 02:51 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3597
File comments: 4409
Uploads: 68
Originally Posted by Thrasher
Thanks for this Addon!

With the latest update, all filters in my inventory have stopped working.
Which addons do not work anymore that you are using with LibFilters?
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.
Report comment to moderator  
Reply With Quote
Unread 01/25/21, 02:49 PM  
Thrasher

Forum posts: 6
File comments: 115
Uploads: 0
Thanks for this Addon!

With the latest update, all filters in my inventory have stopped working.
Report comment to moderator  
Reply With Quote
Unread 08/24/20, 04:00 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3597
File comments: 4409
Uploads: 68
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.
Report comment to moderator  
Reply With Quote
Unread 06/19/20, 03:31 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3597
File comments: 4409
Uploads: 68
Originally Posted by rumple9
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
Show me the complete and expanded, showing the variables, error message here.
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.
Report comment to moderator  
Reply With Quote
Unread 06/19/20, 12:36 PM  
rumple9

Forum posts: 0
File comments: 70
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
Report comment to moderator  
Reply With Quote
Unread 04/14/20, 10:55 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3597
File comments: 4409
Uploads: 68
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.


Originally Posted by heaven13
Was this ever fixed? I get the same error, only on jewelry, and should have the latest version.

Originally Posted by Baertram
Originally Posted by cag_dk
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'
This is *only* on jewelry research
Thanks for the info, found the problem, will fix it.
Last edited by Baertram : 04/15/20 at 03:48 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: