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
    Obituaries in Fond du Lac, WI | Fond du Lac Reporter
    The Fond du Lac Reporter Memorials and Obituaries | We Remember
    Joi Databas
    Main Moon Ilion Menu
    Cumberland Maryland Craigslist
    Encore Atlanta Cheer Competition
    Beds From Rent-A-Center
    Craigslist Cars And Trucks Buffalo Ny
    Morgan Wallen Pnc Park Seating Chart
    Housing Intranet Unt
    The Murdoch succession drama kicks off this week. Here's everything you need to know
    Mary Kay Lipstick Conversion Chart PDF Form - FormsPal
    Red Devil 9664D Snowblower Manual
    Accident On May River Road Today
    Edicts Of The Prime Designate
    Mahpeople Com Login
    Mail.zsthost Change Password
    Aol News Weather Entertainment Local Lifestyle
    Raw Manga 1000
    Il Speedtest Rcn Net
    Student Portal Stvt
    Table To Formula Calculator
    lol Did he score on me ?
    R/Mp5
    Ehome America Coupon Code
    Plasma Donation Racine Wi
    Rugged Gentleman Barber Shop Martinsburg Wv
    Rocketpult Infinite Fuel
    How to Destroy Rule 34
    Build-A-Team: Putting together the best Cathedral basketball team
    Case Funeral Home Obituaries
    My.lifeway.come/Redeem
    Mohave County Jobs Craigslist
    Trizzle Aarp
    Restored Republic May 14 2023
    Vocabulary Workshop Level B Unit 13 Choosing The Right Word
    Dispensaries Open On Christmas 2022
    Discover Things To Do In Lubbock
    Tattoo Shops In Ocean City Nj
    Busted Newspaper Mcpherson Kansas
    Ghareeb Nawaz Texas Menu
    Senior Houses For Sale Near Me
    Florida Lottery Powerball Double Play
    Dyi Urban Dictionary
    Pickwick Electric Power Outage
    Market Place Tulsa Ok
    Canonnier Beachcomber Golf Resort & Spa (Pointe aux Canonniers): Alle Infos zum Hotel
    The Jazz Scene: Queen Clarinet: Interview with Doreen Ketchens – International Clarinet Association
    Laura Houston Wbap
    Arnold Swansinger Family
    Hy-Vee, Inc. hiring Market Grille Express Assistant Department Manager in New Hope, MN | LinkedIn
    All Obituaries | Roberts Funeral Home | Logan OH funeral home and cremation
    Latest Posts
    Article information

    Author: Rueben Jacobs

    Last Updated:

    Views: 5873

    Rating: 4.7 / 5 (77 voted)

    Reviews: 84% of readers found this page helpful

    Author information

    Name: Rueben Jacobs

    Birthday: 1999-03-14

    Address: 951 Caterina Walk, Schambergerside, CA 67667-0896

    Phone: +6881806848632

    Job: Internal Education Planner

    Hobby: Candle making, Cabaret, Poi, Gambling, Rock climbing, Wood carving, Computer programming

    Introduction: My name is Rueben Jacobs, I am a cooperative, beautiful, kind, comfortable, glamorous, open, magnificent person who loves writing and wants to share my knowledge and understanding with you.