Quantcast
Download
(257 Kb)
Download
Updated: 01/14/19 04:13 AM
Pictures
File Info
Compatibility:
Murkmire (4.2)
Wolfhunter (4.1)
Summerset (4.0)
Updated:01/14/19 04:13 AM
Created:12/10/18 04:52 AM
Monthly downloads:2,464
Total downloads:3,356
Favorites:17
MD5:
4.2
Advanced Filters - BETA  Updated this week!
Version: 1.5.0.8
by: Baertram [More]
Original addon: https://www.esoui.com/downloads/info245-AdvancedFilters.html
Idea and base code were done by ingeniousclown and Randactyl.

I'm just fixing bugs within this beta version.
Please do not ask for new features, thank you.

Removed some libraries from the addon. You need the following libraries in order to make this addon worK:
LibStub, LibFilters-2.0, LibCustomMenu, LibAddonMenu-2.0

Other adopted addons (beta versions):
1) Fix for CraftCompare (see comments for a changelog here)
Updated version of CraftCompare v1.17, which should be compatible with AdvancedFilters BETA v1.5.0.6 now

2) Updated version of FCO CraftFilter to support the item count update within AdvancedFilters.
FCOCraftFilter (supported since version 0.2.2)


Changes to the official AdvancedFilters

-> SavedVars were changed to Server dependent + Character ID (not name anymore). They reset automatically and need to be set new please!


Edit - 04th November 2018
Changed:
-LibFilters updated to v3.8!

Added:
-CraftBagExtended will show the filtered item count next to the inventory space label now.

-Filtering items with FCOCraftFilter (bank, inventory, both) at crafting stations do affect the "currently shown and filtered item count" now.
-> See a download link at the top of this description


Fixed:
-Switching to any inventory tab except "Quest", afterwards to the "Quest" tab in inventory and then to the CraftBag, then back to "Quest" in inventory showed the wrong subfilterbar of the filter opened before the quest tab in inventory. Now it will be empty again (Quest got no subfilter bar!).
Item count for filtered items should be fixed at quest too this way.
-Switching to a filter where no subfilterbars are given should work properly now
-Debug messages for missing subfilter bars only shown for subfilter bars where there should be any subfilters, and not for the ones where no subfilters exists (quest, vendor buy).

Edit - 21th October 2018
Updated to support filter plugins which use the "onlyGroups" parameter "Armor", "Weapons" and "Jewelry" filters:
They will automatically add themselves to crafting table filters "ArmorSmithing", "ArmorWoodworking", "ArmorClothier", "WeaponsSmithing", "WeaponsWoodworking", "JewelryCraftingStation" as well now.


Edit - 7th October 2018
-Fixed: Some subfilter panel refresh functions respecting the correct filter functions now to hide (grey out) the filter buttons.
-Fixed: Worn items are repected at the improvement panels too now
-Added: Support for other addons which also filter the inventory/crafting stations. Other addons can register their filter function so the refresh of the subfilter buttons will recognize these functions as well and hide (grey out) the subfilter button if the other addon has filtered the items (e.g. at a crafting station FCOCraftFilter will hide all bank items. This will make AdvancedFilters recognize the change of the shown items according to FCOCraftFilter settings and also grey out the subfilter buttons if no items are shown in this subcategory).
Addons need to
Code:
##OptionallyDependOn: AdvancedFilters
and inject some code via a function just like the dropdown filter plugins do.
Lua Code:
  1. AdvancedFilters_RegisterSubfilterbarRefreshFilter(filterInformationTable)
filterInformationTable is a table and got the following contents:
Lua Code:
  1. if AdvancedFilters ~= nil and AdvancedFilters_RegisterSubfilterbarRefreshFilter ~= nil then
  2.             --Deconstruction
  3.             local subfilterRefreshFilterInformationTable = {
  4.                 inventoryType       = {INVENTORY_BACKPACK, INVENTORY_BANK}, --The inventory constants where the subfilter refresh plugin should be registered. Table with n entries. Each combination of inventoryType and craftingType will be registered at the one filterPanelId!
  5.                 craftingType        = {CRAFTING_TYPE_CLOTHIER, CRAFTING_TYPE_BLACKSMITHING, CRAFTING_TYPE_WOODWORKING}, --The crafting type constants where the subfilter refresh plugin should be registered. Table with n entries. Each combination of inventoryType and craftingType will be registered at the one filterPanelId!
  6.                 filterPanelId       = LF_SMITHING_DECONSTRUCT, -- The LibFilters-2.0 filterPanelId where the registration of this subfilter refresh plugin should be done. No table here! Only 1 entry possible for each call of AdvancedFilters_RegisterSubfilterbarRefreshFilter!
  7.                 filterName          = "FCOCraftFilter_Deconstruction", --The unique identifier which shoiuld be used for the subfilter refresh plugin
  8.                 callbackFunction    = function(slotData) -- The callback "filter" function having 1 parameter slotData, which basically contains the inventorySlot.dataEntry.data stuff (bnagId, slotIndex, itemType, filterTypes, etc.)
  9.                     return FCOCraftFilter_FilterCallbackFunctionDeconstruction(slotData.bagId, slotData.slotIndex)
  10.                 end,
  11.             }
  12.             --If just some parameters like the LibFilters-2.0 filterPanlId change you can redefine the needed values and re-apply it with the slightly changed parameters. Everything else will be kept from the call before.
  13.             AdvancedFilters_RegisterSubfilterbarRefreshFilter(subfilterRefreshFilterInformationTable)
  14.             --Improvement
  15.             subfilterRefreshFilterInformationTable.filterPanelId = LF_SMITHING_IMPROVEMENT
  16.             subfilterRefreshFilterInformationTable.filterName    = "FCOCraftFilter_Improvement"
  17.             AdvancedFilters_RegisterSubfilterbarRefreshFilter(subfilterRefreshFilterInformationTable)
  18.         end

Check the link to the updated FCOCraftFilter version on top of this description text to download a version containing this code so together with AdvancedFilters the changing of the shown items at a crafting panel (bag, bank, both) will change the subfilter buttons enabled/disabled state as well.
-Fixed: Issue #7 from AdvancedFilters github issues: Opening the craftbag in inventory once, selecting a subfilter like smithing->material, opening the Guilstore, jumping from Guildstore to CraftBag via keybind, subfilterbar for smithing->material was missing nad only the all button was there -> Should be fixed now.
Even jumping from GuildStore to mail, or from inventory to mail or from mai lto inventory (craftbag or not) should be fixed now and show the subfilter bar buttons from before.


Edit - 4th October 2018
-Fixed: Vendor panel showing active subfilter buttons if items were stolen and could not be sold
-Fixed: Items which are stolen are shown below the usable trophys now



Edit - 2nd October 2018
Fixed:
-Moved disguise/costume/tabbard stuff from "Armor" to "Miscelaneous" as ZOs had moved the itemtypes there and they were never shown at the "Armor" button anymore (cannot re-enable this as the filtering is given by the vanilla base game. I can just add additional filters to them, like the subfilters do).
-Bank, Guildbank deposit / Inventory: subfilter buttons were not greyed out properly if there were items which could not be depositted (bound, BoPTradeable, stolen, junk)
-"Quest item" count shown properly if enabled

-lua error upon talking to the stable master should be fixed now. If not: Please enable "Debug" in the settings and follow the chat output: Answer the 4 questions and tell me the values from the chat please!

Added:
-Re-Enabled the junk filters, added/changed missing/worng entries and enabled the greyed out subfilter buttons there too


Edit - Before
Fixed:
-Level filters show on crafting stations again
-LibFilters updated to v3.7

Changed:
-Localization

Added:
-DropdownCallBacks can use a new entry "addString = <string>" now. The <string> will be added to the name of the dropdownentry. The localization files need the entries for them too! This way you can easily add a suffix like "(medium)" or "(light)" or "(ring)" or "(neck)" to the armor/jewelry stuff to distinguish the traits/body parts of different armor classes.
-The plugin filterInformation accepts a table for "filterType" now! you can specify it like this in 1 filterInformation and do not need to repeat the same filter information + call to AdvancedFilters_RegisterFilter over and over again:
Lua Code:
  1. local filterInformation = {
  2.     submenuName = "LevelFilters",
  3.     callbackTable = fullLevelDropdownCallbacks,
  4.     filterType = {
  5.         ITEMFILTERTYPE_ALL,
  6.         ITEMFILTERTYPE_WEAPONS, ITEMFILTERTYPE_ARMOR,
  7.         ITEMFILTERTYPE_JEWELRY,
  8.     },
  9.     subfilters = {"All",},
  10.     enStrings = strings,
  11.     deStrings = stringsDE,
  12.     frStrings = strings,
  13.     ruStrings = strings,
  14.     esStrings = strings,
  15. }

ALL other entries of the filterInformation table will be used exactly the same for each of the filterType entries! If you need to use other parameters within filterInformation for each filterType you need to call it like today, split up into own tables + eacht ime a call to AdvancedFilter_RegisterFilter!

-Changed dropdown filter loading a bit to reduce duplicate filter entries
-Added settings menu

a) Choose to disable the subfilter panel label (showing the "All", "Recipe", ... ) texts
b) Choose to disable the item count which was added at the inventory bottom's row
c) Choose the color of the item count addition text

Changes for unofficial version AdvancedFilters v.1.5.0.5
Added:
-Show the currently visible/filtered item count at the inventory's bottom info line. Where the inventory bag current space / total bag space is shown there is another dark orange (currently shown itemcount) entry now.
This works with AdvancedFilters filtered items (menu buttons, submenu buttons, dropdown filters).
FCOItemSaver and FCOCraftfilter support is on the way.
-Added crfting stations refine tab to Advancedfilters. Especially the jewelry refine tab got 2 subfilters now: Raw material, raw booster and raw trait material.
And the dropdownboxes for e.g. level and quality filters can be used at the refinement panels too now.

Fixed:
-libFilters increased to version 3.7 -> Fixed research panel for jewelry crafting support
-Subfilter buttons gray out again if no items are below
-> Including fix for "Junk" items, which kept the buttons visible but no items were below the subfilter (cuz they were in the junk tab).
-2h weapons not showing in dropdown filters
-bow/destruction/heal staffs showing on smithing/clothing crafting stations & vice versa for heavy armor etc. showing at other stations.
-"ALL" entries in dropdown boxes showing too much entries sometimes
-Overlapping submenus in "Materials" was shrinked to use "Trait stones" as one submenu entry now in order to get the needed space. Use th dropdown box to filter for armor, weapon or jewelry please.
Craftbag is still using 3 different trait stone entries for armor, weapon, jewelry.



Known bugs:
-Sometimes the guild bank withdraw panel does not show any subfilter buttons enabled even if there are items. Not quite sure how and when this happens. ONly had it once today, maybe it's already fixed. If you find out how to reproduce this, please tell me so I can fix it (if it's still there as an error). Thanks

-Craftbag -> Jewelry materials: Subfilters all grey out

-Using CraftBagExtended: First open mail and select the craftbag so the last opened panel at mail sent was the craftbag. Then go to the inventory and open the craftbag in inventory and select a subfilter, select the inventory afterwards again! Then directly switch between inventory ->mail craftbag (last opened before was CBE panel) by using the mal keybind. The correct craftbag filter will be shown but the subfilter bar is missing.

Untested:
-Retrait stations
Changelog

Version 1.5.0.8
-Corrected version displayed
-removed debug messages

Version 1.5.0.7
-Removed some libraries from the addon. You need the following libraries in order to make this addon worK:
LibStub, LibFilters-2.0, LibCustomMenu, LibAddonMenu-2.0

-Added setting to disable the disabled subfilter buttons if there are no items below this filter.
-Fixed ## DependsOn
-Fixed CraftBag JewelryCrafting subfilter buttons all disabled
-Fixed Junk filters to show jewelry crafting and other materials + furnishings
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Uploader
Date
1.5.0.7
259kB
Baertram
01/13/19 06:57 PM
1.5.0.6
289kB
Baertram
12/10/18 11:12 AM


Post A Reply Comment Options
Unread 01/14/19, 06:45 PM  
Elsys
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 14
Uploads: 1
well its not error-ing out on libs anymore that must have fixed it.
Report comment to moderator  
Reply With Quote
Unread 01/14/19, 03:58 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1832
File comments: 2027
Uploads: 49
Originally Posted by budist
Hello,

After update i keep getting my chat spammed with messages like Button name: all, etc
Whoops, forgot to disable some debug messages.

Edit:
Should be fixed now. Update is still pending though.
Last edited by Baertram : 01/14/19 at 06:27 AM.
Report comment to moderator  
Reply With Quote
Unread 01/14/19, 02:52 AM  
budist

Forum posts: 0
File comments: 9
Uploads: 0
Hello,

After update i keep getting my chat spammed with messages like Button name: all, etc
Report comment to moderator  
Reply With Quote
Unread 01/13/19, 06:57 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1832
File comments: 2027
Uploads: 49
Oh, please
1) Logout
2) edit the following file with a text editor:
c:\users\your windows username\documents\Elder Scrolls Online\AddOns\AdvancedFilters\AdvancedFilters.txt
3) Change this line from:
Code:
## DependsOn LibStub LibFilters-2.0 LibCustomMenu
to:
Code:
## DependsOn: LibStub LibFilters-2.0 LibCustomMenu
-> Add the : after ## DependsOn
4)SAve the file
5) Login

Test if this fixes your problem please.
Thanks!

Originally Posted by Elsys
Originally Posted by Baertram
Did you enable the library in the addons of the game?
Download the library as standalone version and be sure it is enabled.

Originally Posted by Elsys
Every time I load it says it cannot find an instance of libfilters even though its installed

user:/AddOns/AdvancedFilters/util.lua:7: Cannot find a library instance of "LibFilters-2.0".
stack traceback:
user:/AddOns/LibStub/LibStub/LibStub.lua:29: in function 'LibStub:GetLibrary'
user:/AddOns/AdvancedFilters/util.lua:7: in function '(main chunk)'
Did this its enabled error doesn't resolve used this one
https://www.esoui.com/downloads/info437-LibFilters.html
Report comment to moderator  
Reply With Quote
Unread 01/12/19, 05:58 PM  
Elsys
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 14
Uploads: 1
Originally Posted by Baertram
Did you enable the library in the addons of the game?
Download the library as standalone version and be sure it is enabled.

Originally Posted by Elsys
Every time I load it says it cannot find an instance of libfilters even though its installed

user:/AddOns/AdvancedFilters/util.lua:7: Cannot find a library instance of "LibFilters-2.0".
stack traceback:
user:/AddOns/LibStub/LibStub/LibStub.lua:29: in function 'LibStub:GetLibrary'
user:/AddOns/AdvancedFilters/util.lua:7: in function '(main chunk)'
Did this its enabled error doesn't resolve used this one
https://www.esoui.com/downloads/info437-LibFilters.html
Report comment to moderator  
Reply With Quote
Unread 01/12/19, 05:25 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1832
File comments: 2027
Uploads: 49
Did you enable the library in the addons of the game?
Download the library as standalone version and be sure it is enabled.

Originally Posted by Elsys
Every time I load it says it cannot find an instance of libfilters even though its installed

user:/AddOns/AdvancedFilters/util.lua:7: Cannot find a library instance of "LibFilters-2.0".
stack traceback:
user:/AddOns/LibStub/LibStub/LibStub.lua:29: in function 'LibStub:GetLibrary'
user:/AddOns/AdvancedFilters/util.lua:7: in function '(main chunk)'
Report comment to moderator  
Reply With Quote
Unread 01/12/19, 04:59 PM  
Elsys
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 14
Uploads: 1
Every time I load it says it cannot find an instance of libfilters even though its installed

user:/AddOns/AdvancedFilters/util.lua:7: Cannot find a library instance of "LibFilters-2.0".
stack traceback:
user:/AddOns/LibStub/LibStub/LibStub.lua:29: in function 'LibStub:GetLibrary'
user:/AddOns/AdvancedFilters/util.lua:7: in function '(main chunk)'
Last edited by Elsys : 01/12/19 at 05:00 PM.
Report comment to moderator  
Reply With Quote
Unread 12/30/18, 12:04 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1832
File comments: 2027
Uploads: 49
Please post the beta related error messages into this addon's comments and not into the main addons comments.
I'm not able to reproduce this error so far

Please enable the "DEBUG" messages in the AF settings menu and do a reloadui. Are you getting any debug output to chat as the error message happens? Please send it to me here, thanks.

Did you read the beta addon description and downloaded the mentioned other "fixed" addons like CraftCompare and/or FCO CraftFilter already?

Please disable all other addons and test if it still appears.
If not enable the crafting related addons one after another and try to find out which one was the one causing the error message.

Thank you.

Originally Posted by Baertram
Originally Posted by Tonyleila
Every time I talk to a crafting table it shows this error:

Also tested the beta version there it shows this error:

Code:
user:/AddOns/AdvancedFilters/main.lua:477: attempt to index a nil value
stack traceback:
user:/AddOns/AdvancedFilters/main.lua:477: in function 'ShowSubfilterBar'
|caaaaaa<Locals> craftingType = 6, UpdateListAnchors = user:/AddOns/AdvancedFilters/main.lua:435, doDebugOutput = false, subfilterGroup = tbl </Locals>|r
user:/AddOns/AdvancedFilters/util.lua:789: in function 'Update'
Last edited by Baertram : 12/30/18 at 12:11 PM.
Report comment to moderator  
Reply With Quote
Unread 12/30/18, 12:02 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1832
File comments: 2027
Uploads: 49
Originally Posted by Tonyleila
Every time I talk to a crafting table it shows this error:

Also tested the beta version there it shows this error:

Code:
user:/AddOns/AdvancedFilters/main.lua:477: attempt to index a nil value
stack traceback:
user:/AddOns/AdvancedFilters/main.lua:477: in function 'ShowSubfilterBar'
|caaaaaa<Locals> craftingType = 6, UpdateListAnchors = user:/AddOns/AdvancedFilters/main.lua:435, doDebugOutput = false, subfilterGroup = tbl </Locals>|r
user:/AddOns/AdvancedFilters/util.lua:789: in function 'Update'
Report comment to moderator  
Reply With Quote
Unread 12/21/18, 08:21 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1832
File comments: 2027
Uploads: 49
Originally Posted by RavenMind
This is great! Thanks for the new pages for your adopted childr.. er, addons. Finally convinced another person to try AF + Plugins who was too nervous about downloading from someone's Dropbox.
Either Dropbox or from esoui.com, the files are the same So no need to be nervous, I'm not spreading any virus etc. It's simply lua code.
Report comment to moderator  
Reply With Quote
Unread 12/20/18, 05:19 PM  
RavenMind
 
RavenMind's Avatar

Forum posts: 0
File comments: 307
Uploads: 0
This is great! Thanks for the new pages for your adopted childr.. er, addons. Finally convinced another person to try AF + Plugins who was too nervous about downloading from someone's Dropbox.
Report comment to moderator  
Reply With Quote
Unread 12/10/18, 09:19 PM  
kindredspirit

Forum posts: 2
File comments: 33
Uploads: 0
Thank You

I've really missed this addon. Thank you so much for the fix!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: