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:2,018
    Total downloads:16,207
    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: 5125

    File comments: 6214

    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)

    References

    Top Articles
    Week 10 Printable Nfl Schedule
    Fantasy Premier League 2020/21 Gameweek 10 Guide: Deadline Date And Time, Wildcard, Who To Captain, Fixture Difficulty, FPL Tips And Top Picks
    Bon plan – Le smartphone Motorola Edge 50 Fusion "4 étoiles" à 339,99 €
    Four Brothers 123Movies
    What to Do For Dog Upset Stomach
    Petco Clinic Hours
    Aflac on LinkedIn: Aflac Supplemental Insurance | 22 comments
    Deshaun Watson Timeline: What Has Occurred Since First Lawsuit Filed
    Craigs List High Rockies
    Iapd Lookup
    Pga Us Open Leaderboard Espn
    Tammi Light Obituary
    manhattan cars & trucks - by owner - craigslist
    Paperless Pay.talx/Nestle
    Sauce 423405
    Die 12 besten Chrome Video Downloader im Überblick
    Dallascowgirl Leaked Of
    Breakroom Bw
    Dovob222
    Craigslist Of Valdosta Georgia
    Osrs Toby
    Creigs List Maine
    Stafford Rotoworld
    Imperious Skyrim
    636-730-9503
    Boys golf: Back-nine surge clinches Ottumwa Invite title for DC-G
    Audarite
    Swag Codes: The Ultimate Guide to Boosting Your Swagbucks Earnings - Ricky Spears
    Fort Worth Star-Telegram from Fort Worth, Texas
    Stronghold Slayer Cave
    Myrtle Beach, South Carolina: Abwechslungsreicher Freizeitspaß unter der Südstaaten-Sonne
    Rate My Naughty.com
    Theater X Orange Heights Florida
    Amazon Ups Drop Off Locations Near Me
    Trailmaster Fahrwerk - nivatechnik.de
    Ups Near Me Open
    Recharging Iban Staff
    KOBALT K15CS-06AC MANUAL Pdf Download
    Mercantilism - Econlib
    Smarthistory – Leonardo da Vinci, “Vitruvian Man”
    Saw X Showtimes Near Regal Ronkonkoma
    Missing 2023 Showtimes Near Mjr Partridge Creek Digital Cinema 14
    Daniel And Gabriel Case Images
    Incident Manager (POS & Kiosk) job in Chicago, IL with McDonald's - Corporate
    Strange World Showtimes Near Harkins Theatres Christown 14
    Slmd Skincare Appointment
    Breitling ENDURANCE PRO X82310E51B1S1 für 2.885 € kaufen von einem Trusted Seller auf Chrono24
    Leslie Pool Supply Simi Valley
    Vcu Basketball Wiki
    Tia V15.1 Update
    High Balance Bins 2023
    10 Ways to Fix a Spacebar That's Not Working Properly
    Latest Posts
    Article information

    Author: Barbera Armstrong

    Last Updated:

    Views: 5877

    Rating: 4.9 / 5 (79 voted)

    Reviews: 86% of readers found this page helpful

    Author information

    Name: Barbera Armstrong

    Birthday: 1992-09-12

    Address: Suite 993 99852 Daugherty Causeway, Ritchiehaven, VT 49630

    Phone: +5026838435397

    Job: National Engineer

    Hobby: Listening to music, Board games, Photography, Ice skating, LARPing, Kite flying, Rugby

    Introduction: My name is Barbera Armstrong, I am a lovely, delightful, cooperative, funny, enchanting, vivacious, tender person who loves writing and wants to share my knowledge and understanding with you.