Advanced Filters - Crafted Set plugin (2024)

Elder Scrolls Online AddOns» Stand-Alone Addons» Bags, Bank, Inventory» Advanced Filters - Crafted Set plugin

<![endif]- ->

  • Addon Info.
  • Change Log
  • Other Files (3)
  • Comments (5)
  • Addon for:
    Advanced Filters - Updated.

    Add Favorite

    Install Help

    Pictures

    File Info

    Compatibility:

    Homestead (2.7)

    Updated:04/21/17 12:19 AM
    Created:03/31/17 10:18 PM
    Monthly downloads:575
    Total downloads:14,075
    Favorites:13
    MD5:
    Categories:Bags, Bank, Inventory,

    Advanced Filters - Crafted Set plugin Advanced Filters - Crafted Set plugin (3)

    Version: 2.0.1

    by: Marsouin [More]

    Crafted set filter plugin for Advanced Filters

    This is a filter plugin for the dynamic filters of the "Advanced Filters" addon.
    You are able to filter the crafted weapons and armor by their name from the dropdown box.

    v2.0.1 : submenu "all crafted sets" + sort by name, by Baertram
    v2.0.0 : Many thanks to Baertram, for the idea and his help in rewriting the code

    TODO :
    russian translation
    sub sub menus

    - Sort the set names by name
    - All Crafted Set entry
    - translation fixed

    Optional Files (0)

    Archived Files (3)

    File Name

    Version

    Size

    Uploader

    Date

    Advanced Filters - Crafted Set plugin (4)Advanced Filters - Crafted Set plugin

    2.0.0

    3kB

    Marsouin

    04/13/17 10:29 PM

    Advanced Filters - Crafted Set plugin (5)Advanced Filters - Crafted Set plugin

    1.0.1

    6kB

    Marsouin

    04/02/17 12:49 AM

    Advanced Filters - Crafted Set plugin (6)Advanced Filters - Crafted Set plugin

    1.0

    5kB

    03/31/17 10:18 PM

    Comment Options
    Advanced Filters - Crafted Set plugin (8)12/15/19, 01:36 AM

    MadDragon


    Forum posts: 3

    File comments: 40

    Uploads: 0

    Error when filtering by crafted set

    So, first time I used the feature, and... got the following. Is this an issue with this addon, or another? It also required a UI reload to fix.

    Code:

    user:/AddOns/AF_SNUSetsFiltersCraftedSet/AF_SNUSetsFiltersCraftedSet.lua:73: attempt to index a number valuestack traceback:user:/AddOns/AF_SNUSetsFiltersCraftedSet/AF_SNUSetsFiltersCraftedSet.lua:73: in function 'filter'|caaaaaa<Locals> slot = 1, setFound = F </Locals>|ruser:/AddOns/LibFilters-3.0/LibFilters-3.0/LibFilters-3.0.lua:234: in function 'runFilters'|caaaaaa<Locals> filterType = 17, tag = "AF_DropdownFilter", filter = user:/AddOns/AF_SNUSetsFiltersCraftedSet/AF_SNUSetsFiltersCraftedSet.lua:70 </Locals>|r(tail call): ?user:/AddOns/LibFilters-3.0/LibFilters-3.0/LibFilters-3.0.lua:250: in function 'additionalFilter'user:/AddOns/LibFilters-3.0/LibFilters-3.0/helper.lua:195: in function 'optFilterFunction'|caaaaaa<Locals> itemData = [table:1]{uid = "4815065171003250813", slotIndex = 1, stackSellPrice = 320, isJunk = F, stackCount = 64, requiredChampionPoints = 0, isPlaceableFurniture = F, bagId = 1, meetsUsageRequirement = T, stackLaunderPrice = 0, isFromCrownStore = F, sellInformationSortOrder = 1, traitInformation = 0, stolen = F, requiredLevel = 50, bestGamepadItemCategoryName = "Soul Gem", statValue = 0, lnk = "|H0:item:33265:30:50:0:0:0:0:0...", specializedItemType = 900, rawName = "Soul Gem (Empty)", equipType = 0, age = 0, name = "Soul Gem (Empty)", customSortOrder = 1, storeGroup = 6, uniqueId = 81574515180642, launderPrice = 0, meetsRequirementsToBuy = T, isEquipped = F, itemType = 19, statusSortOrder = 0, isPlayerLocked = F, isGemmable = F, sellInformation = 0, traitInformationSortOrder = 1, isBoPTradeable = F, condition = 100, quality = 1, sellPrice = 5, iconFile = "/esoui/art/icons/soulgem_006_e...", itemInstanceId = 2200604764, locked = F}, result = T </Locals>|rEsoUI/Ingame/Inventory/SharedInventory.lua:281: in function 'ZO_SharedInventoryManager:GenerateFullSlotData'|caaaaaa<Locals> self = [table:2]{fireCallbackDepth = 0}, optFilterFunction = user:/AddOns/LibFilters-3.0/LibFilters-3.0/helper.lua:191, filteredItems = [table:3]{}, i = 1, bagId = 1, bagCache = [table:4]{}, slotIndex = 1, itemData = [table:1] </Locals>|ruser:/AddOns/LibFilters-3.0/LibFilters-3.0/helper.lua:204: in function 'GetIndividualInventorySlotsAndAddToScrollData'|caaaaaa<Locals> self = [table:5]{sortKey = "name", dirty = F, filterType = 4, currentFilter = 38, performingFullRefresh = T, sortOrder = T, LibFilters3_filterType = 34}, predicate = user:/AddOns/LibFilters-3.0/LibFilters-3.0/helper.lua:191, filterFunction = EsoUI/Ingame/Crafting/SmithingImprovement_Shared.lua:384, filterType = 4, data = [table:6]{}, useWornBag = T, oldPredicate = EsoUI/Ingame/Crafting/SmithingImprovement_Shared.lua:380, bagsToUse = [table:7]{1 = 1} </Locals>|rEsoUI/Ingame/Crafting/Keyboard/SmithingImprovement_Keyboard.lua:200: in function 'ZO_SmithingImprovementInventory:Refresh'|caaaaaa<Locals> self = [table:5], data = [table:6], USE_WORN_BAG = T </Locals>|rEsoUI/Ingame/Crafting/Keyboard/CraftingInventory.lua:132: in function 'ZO_CraftingInventory:PerformFullRefresh'|caaaaaa<Locals> self = [table:5] </Locals>|rEsoUI/Ingame/Crafting/SharedCraftingInventory.lua:67: in function 'ZO_SharedCraftingInventory:HandleDirtyEvent'|caaaaaa<Locals> self = [table:5] </Locals>|ruser:/AddOns/LibFilters-3.0/LibFilters-3.0/LibFilters-3.0.lua:196: in function '(anonymous)'user:/AddOns/LibFilters-3.0/LibFilters-3.0/LibFilters-3.0.lua:396: in function 'Update'

    Last edited by MadDragon : 12/15/19 at 01:39 AM.

    Advanced Filters - Crafted Set plugin (11)06/07/18, 05:16 PM

    LordRhys


    Forum posts: 0

    File comments: 17

    Uploads: 0

    Gives InventoryUI error after latest patch

    After latest pacth 4.0.8 having this plugin enabled causes an InventoryUI error every time you loot something, I'm guessing this has to due with Summerset crafted sets being added into game and since I have some items with them this addon causes errors

    Advanced Filters - Crafted Set plugin (14)04/08/17, 03:12 AM

    Marsouin


    Forum posts: 0

    File comments: 3

    Uploads: 2

    I started working on your code.

    The problem with working with Ids is that we can not access with itemId; There is one by piece and by line.

    For example, you give me the itemId 76106 :

    the itemId 76106 is for the Pelinal's chest,
    but the Infused Pelinal's chest have the itemId 76141, and so on...

    Advanced Filters - Crafted Set plugin (18)04/03/17, 11:49 AM

    Marsouin


    Forum posts: 0

    File comments: 3

    Uploads: 2

    Thx a lot Baertram, I'll have a big look at your code.

    As you can see, the skelet of my plugin come from your work Advanced Filters - Crafted Set plugin (20)

    Advanced Filters - Crafted Set plugin (23)04/02/17, 05:13 AM

    Baertram

    Super Moderator



    Forum posts: 5092

    File comments: 6163

    Uploads: 78

    Thanks for the plugin.

    Maybe this helps you to get the set names dynamically by help of their itemId.
    You won't need to build localized EN.lua, FR.lua, DE.lua files anymore then:

    Lua Code:

    1. --The itemIds of the craftable sets

    2. local SetIds = {

    3. [49575] = true, -- Aschengriff

    4. [43805] = true, -- Todeswind

    5. [47279] = true, -- Stille der Nacht

    6. [43808] = true, -- Zwielicht

    7. [48042] = true, -- Verführung

    8. [43979] = true, -- Torugs Pakt

    9. [69942] = true, -- Prüfungen

    10. [51105] = true, -- Histrinde

    11. [47663] = true, -- Weißplanke

    12. [43849] = true, -- Magnus

    13. [48425] = true, -- Kuss des Vampirs

    14. [52243] = true, -- Lied der Lamien

    15. [52624] = true, -- Alessias Bollwerk

    16. [60280] = true, -- Adelssieg

    17. [71806] = true, -- Tavas Gunst

    18. [75406] = true, -- DB:Kwatch Gladiator

    19. [51486] = true, -- Weidenpfad

    20. [51864] = true, -- Hundings Zorn

    21. [49195] = true, -- Mutter der Nacht

    22. [69592] = true, -- Julianos

    23. [60630] = true, -- Umverteilung

    24. [72156] = true, -- Schlauer Alchemist

    25. [75756] = true, -- DB:Varen's Legacy

    26. [43968] = true, -- Erinnerung

    27. [43972] = true, -- Schemenauge

    28. [44053] = true, -- Augen von Mara

    29. [54149] = true, -- Shalidor's Fluch

    30. [53772] = true, -- Karegnas Hoffnung

    31. [53006] = true, -- Ogrumms Schuppen

    32. [54963] = true, -- Arena

    33. [58174] = true, -- Doppelstern

    34. [60980] = true, -- Rüstungsmeister

    35. [70642] = true, -- Morkuldin

    36. [72506] = true, -- Ewige Jagd

    37. [76106] = true, -- DB:Pelinal's Aptitude

    38. }

    39. local fullLevelDropdownSetsCallbacks = {}

    40. local setNames = {}

    41. --Get the name of the sets

    42. for setItemId, _ in pairs(SetIds) do

    43. local link = '|H1:item:'..setItemId..':370:50:0:370:50:0:0:0:0:0:0:0:0:0:28:0:0:0:10000:0|h|h'

    44. local _,setName = GetItemLinkSetInfo(link, false)

    45. --Put the id and name in a table

    46. setNames[setId] = setName

    47. table.insert(fullLevelDropdownSetsCallbacks, { name = setName, filterCallback = GetFilterCallbackForSets(setId) })

    48. end

    You need to adjust your function GetfilterCallbackForSets(setNames) so it uses the setId as parameter instead.
    Maybe you can also strip the itemId from the itemlink and compare just the itemId instead of the name?

    Lua Code:

    1. local function GetFilterCallbackForSets( setId )

    2. -- equalsBonus = equalsBonus or false

    3. return function( slot )

    4. --get the item link

    5. local itemLink = GetItemLink(slot.bagId, slot.slotIndex)

    6. --Get the set item information

    7. local _, setName, _, _, _ = GetItemLinkSetInfo(itemLink)

    8. -- local lFlavor = GetItemId(slot.bagId, slot.slotIndex)

    9. -- df("%s %s %s",setName, lFlavor, setNames)

    10. return false or (string.find(setName, setNames[setId]))

    11. end

    12. end

    And then put this table into the localized tables like this:

    Lua Code:

    1. --Loop over the standard set names and add them to the returnTable

    2. local function getSetNames(returnTable)

    3. if returnTable == nil then return end

    4. for setKey, setName in pairs(setNames) do

    5. returnTable[setKey] = setName

    6. end

    7. end

    8. local stringsEN = {

    9. ["SNUSetFiltersSubmenuCraftedSet"] = "Sets - crafted",

    10. }

    11. getSetNames(stringsEN)

    12. local stringsDE = {

    13. ["SNUSetFiltersSubmenuCraftedSet"] = "Sets - hergestellt",

    14. }

    15. getSetNames(stringsDE )

    16. ...

    I hope it works!

    Baertram

    Last edited by Baertram : 04/02/17 at 05:42 AM.


    Advanced Filters - Crafted Set plugin (2024)
    Top Articles
    1171 Sagamore Ave #6, Portsmouth, NH 03801 - MLS 5003700 - Coldwell Banker
    Without Chestnut, Bertoletti wins hot dog eating contest
    Craigslist Niles Ohio
    Craigslist Vans
    Miss Carramello
    Arrests reported by Yuba County Sheriff
    J Prince Steps Over Takeoff
    Best Restaurants In Seaside Heights Nj
    Lost Pizza Nutrition
    Valentina Gonzalez Leaked Videos And Images - EroThots
    Whitley County Ky Mugshots Busted
    The Weather Channel Facebook
    Pro Groom Prices – The Pet Centre
    Shuiby aslam - ForeverMissed.com Online Memorials
    People Portal Loma Linda
    Moparts Com Forum
    D10 Wrestling Facebook
    Fool’s Paradise movie review (2023) | Roger Ebert
    New Stores Coming To Canton Ohio 2022
    Ukc Message Board
    Libinick
    Ubg98.Github.io Unblocked
    Uconn Health Outlook
    Ahn Waterworks Urgent Care
    Between Friends Comic Strip Today
    Chase Bank Pensacola Fl
    Egizi Funeral Home Turnersville Nj
    Shreveport City Warrants Lookup
    Ihub Fnma Message Board
    4 Times Rihanna Showed Solidarity for Social Movements Around the World
    1773x / >
    Coindraw App
    3 Ways to Drive Employee Engagement with Recognition Programs | UKG
    Rs3 Bring Leela To The Tomb
    Ipcam Telegram Group
    Delta Rastrear Vuelo
    6465319333
    Fox And Friends Mega Morning Deals July 2022
    Metro 72 Hour Extension 2022
    Covalen hiring Ai Annotator - Dutch , Finnish, Japanese , Polish , Swedish in Dublin, County Dublin, Ireland | LinkedIn
    Indiefoxx Deepfake
    Arcadia Lesson Plan | Day 4: Crossword Puzzle | GradeSaver
    Rochester Ny Missed Connections
    The Transformation Of Vanessa Ray From Childhood To Blue Bloods - Looper
    Sabrina Scharf Net Worth
    Obituaries in Hagerstown, MD | The Herald-Mail
    Uc Davis Tech Management Minor
    Jammiah Broomfield Ig
    Borat: An Iconic Character Who Became More than Just a Film
    Tom Kha Gai Soup Near Me
    Erespassrider Ual
    How to Do a Photoshoot in BitLife - Playbite
    Latest Posts
    Article information

    Author: Rubie Ullrich

    Last Updated:

    Views: 5983

    Rating: 4.1 / 5 (52 voted)

    Reviews: 91% of readers found this page helpful

    Author information

    Name: Rubie Ullrich

    Birthday: 1998-02-02

    Address: 743 Stoltenberg Center, Genovevaville, NJ 59925-3119

    Phone: +2202978377583

    Job: Administration Engineer

    Hobby: Surfing, Sailing, Listening to music, Web surfing, Kitesurfing, Geocaching, Backpacking

    Introduction: My name is Rubie Ullrich, I am a enthusiastic, perfect, tender, vivacious, talented, famous, delightful person who loves writing and wants to share my knowledge and understanding with you.