I'm sorry, but the in-game filter is a far cry from D2stats

Discuss Median XL!
Milkshake
Abomination
149 | 18
Common Popularity Badge
Has a thread with over 10.000 views
Just reinstalled d2stats on new PC and looking at my old notifier. How the hell do I convert hide rules to new MXL filter??

Some of my previous d2stats hide rules:

Code: Select all

hide normal superior magic sacred "(Short|War|Two-Handed|Giant|Bastard) Sword|Scimitar|Saber|Falchion|Claymore|Spatha|Backsword"
hide normal superior magic sacred "(Hand|Double|Large|Broad|Battle|Giant|Throwing|Balanced|Mammen) Axe|^Axe$|Ono|Valaska"
hide normal superior magic sacred "Club|Spiked Club|Mace|Morning Star|Flail|War Hammer|Maul|Great Maul|^Scepter|Grand Scepter|Bonebreaker|Goedendag|Angel Star"
hide normal superior magic sacred "^Javelin|Pilum|(Short|Throwing) Spear|Glaive|^Spear|Trident|Brandistock|Spetum|^Pike|^Scythe"
hide normal superior magic sacred "Dagger|Dirk|Kriss|(Throwing|Flying) Knife"
hide normal superior magic sacred "Wand|Eagle Orb|Sacred Globe|Smoked Sphere|Clasped Orb|Jared's Stone|(Short|Long|Gnarled|Battle|War) Staff"
hide normal superior magic sacred "Leather Armor|Mail|Studded Leather|(Breast|Field|Gothic) Plate"
hide normal superior magic sacred "Skull Cap|^Helm|^(Great|Full) Helm|Circlet|Coronet|Tiara|^Mask"
hide normal superior magic sacred "Buckler|(Small|Large|Kite|Tower|Bone) Shield"
hide normal superior magic sacred "(Light|Heavy) Belt|^Belt|(Heavy|Chain) Gloves|Light Gauntlets"
hide normal superior magic sacred "(Heavy|Chain|Light Plated) Boots"



Meanwhile, the code to hide sacred daggers on the in-game filter is:

Code: Select all

{
  "default_show_items": true,
  "name": "New Configuration 6984",
  "rules": [
    {
      "active": true,
      "automap": false,
      "ethereal": 0,
      "item_quality": -1,
      "max_clvl": 0,
      "max_ilvl": 0,
      "min_clvl": 0,
      "min_ilvl": 0,
      "notify": false,
      "params": {
        "code": 541078324
      },
      "rule_type": 1,
      "show_item": false
    }
  ]
}


I could use AI to create all the JSON key-value pairs, but each item has a UID rather than using the name. Is there a mapping of item names to ID somewhere? I'd rather not spend a year in-game or on the website adding a shit ton of individual hide rules.


Really wish the new filter didn't break d2stats' hide. I would uninstall the in-game filter if possible. Sorry to whoever made it, but it's not very useful IMO.
Azadi
Prowler
16 | 5
Not sure if that's what you are looking for but i've made earlier this year a list of all items along with their codes for my tool:
Website:
https://azadix.github.io/mxl-filter-editor/
List of all items:
https://github.com/azadix/mxl-filter-editor/blob/main/data/itemCode.json

Personally i'd recommend hiding category "Gear" in game and unhide all basetypes you need instead of the reverse that you had in D2Stats (i've noticed the list of hidden bases is giant) eg.

Show Item Ancient Armor (Sacred)
Hide Category Gear

or if you only want to hide tiered just add the 4 category rules to hide Tier 1, 2, 3 ,4.

imho it is much simpler than the approach you are trying to do right now, and i strongly belive the current ingame implementation is good enough for hiding large amount of stuff eg. gear, gems, runes etc
User avatar
Giu
Heretic
448 | 72
Great Popularity Badge
Has a thread with over 50.000 views
Common Love Badge
Earned over 20 cookies
Common Guide Badge
Created a complete character guide
Common Auction Badge
Won 50 auctions
Just default to hide and add shit that you need to show.

I recommend checking the filters in: https://tsw.vn.cz/filters/

For shit to add to show thar you may not know.