The Guide to Loot Filters

In case you don't follow neversink's Filter thread, or if you've experienced the issue with a filter not neversink's (please tell me which one) I've posted the test information here also on the general guide to loot filters:

UPDATE (7/12/2016): Find FOUR test versions here (be sure to get release 1.1):

Hellcat5's Neversink Test Filters

You'll find four filters in this set:

1. nsf_full_font size test.filter - this version only changes font sizes to standard font sizes.

2. nsf_full_no trans test.filter - this version only removes the transparency from font, border, and backgrounds.

3. nsf_full_script size test.filter - this version only reduces line count from 3814 down to 3073

4. nsf_full_refactor.filter - this version includes refactoring (code improvements) along with the three combined tests above

I've found issues where Neversink overwrites default property definitions that should be inherited and don't need explicit re-statement. Example - default transparency setting is 255, so stating:

SetBackgroundColor 0 0 0 255

is redundant when the transparency for background is already 255, and default background color is also 0 0 0. I'll include these changes with the 4th version also, removing redundant script. (apologies, I feel asleep last night much earlier than I expected, in my chair also)

Note - I spoke with neversink during his stream today (possibly a few hours ago). He stated that he's had his own three test scripts ready for a few days but hasn't posted them yet. I'm not sure why, maybe he's not comfortable with the testing he's done for the test scripts before releasing? I'm not sure why he's not been communicative with me to trouble shoot this together. Perhaps he's just too busy.

Anyways, I look forward to gathering some information that can lead to both short and long term resolution for this issue by gathering system specs from pcs with the issue and by possible temporary resolution through modified filter scripts that adapt a work-around if you, the tester, and I can find one.

1. Please grab these test filter scripts and run each one for 2-3 hours(or as long as it took before to generate the issue), or until you experience an issue with rendering. If you find an issue while running one of these test filter scripts, please note which one you're running, and provide screenshot.

2. Please send your full system specs to: support@grindinggear.com along with operating system. Set subject to: Font Rendering Trouble.

If you have questions, please ask.

FURTHER NOTES:

Added refactor 1.0 of neversink's full version to the test scripts along with readme_neversink.md that documents the refactor

Some notes about the refactor:

1. I extracted all the non-essential code comments into a seperate file - readme_neversink.md

2. I've reduced the file size from 91k to 74k

3. I've removed many instances where alomst duplicate block definitions could be fixed with a simple change to one condition such as Rarity <= Magic

4. I've removed all explicit property definitions that duplicated the implicit default definitions thereby using the inherited values (why say the same thing twice? argument of course could be "to maintain consistency of the filter if GGG changes the default values. This is easily restored, but the point here is to test the issue at hand, not to argue about what could happen in the future, and this would go towards a UI redesign situation for GGG, which I give minimal probability toward at this point)

https://github.com/hellcat5/hellcat5_neversink_test/releases/tag/1.1

YOUTUBE - http://www.youtube.com/richardbmiller2
TWITCH - http://www.twitch.tv/hellcat5gaming
Last edited by Hellcat5#1740 on Jul 12, 2016, 7:35:11 PM
Was doing some testing, and thought I'd share:

(video showing test)


Argument:
When setting up gear value tiers in your filter, it's best to use the name of the gear you want instead of the DropLevel because:

1. GGG can change the item's drop level in future patches

2. An item can fall outside the normal droplevel due to rare monster drops, magic monsters drops, or chest +5 etc.

Counter Arguement:
1. Dropped item in video has ItemLevel 79, required level 57, but the BaseType DropLevel is 53. Result - Nothing changes the item's DropLevel.

Therefore, in setting up value tier sets, instead of using things like:

Show
Class Claw Dagger Wand One Hand Thrusting Sword Axe Mace Bow Stave Two Hand Gloves Boots Body Armour Helmet Shield Currency Sceptre Map Fragment Jewel Divination Card
BaseType "Imperial Bow" "Harbinger Bow" "Maraketh Bow" "Imperial Staff" "Judgement Staff" "Eclipse Staff" "Despot Axe" "Void Axe" "Fleshripper" "Imperial Maul" "Terror Maul" "Coronal Maul" "Lion Sword" "Infernal Sword" "Exquisite Blade" "Imperial Claw" "Terror Claw" "Gemini Claw" "Imperial Skean" "Demon Dagger" "Sai" "Royal Axe" "Infernal Axe" "Runic Hatchet" "Auric Mace" "Nightmare Mace" "Behemoth Mace" "Legion Sword" "Vaal Blade" "Eternal Sword" "Midnight Blade" "Tiger Hook" "Carnal Sceptre" "Void Sceptre" "Sambar Sceptre" "Spiraled Foil" "Vaal Rapier" "Jewelled Foil" "Harpy Rapier" "Dragoon Sword" "Tornado Wand" "Prophecy Wand" "Profane Wand" "Astral Plate" "Gladiator Plate" "Glorious Plate" "Exquisite Leather" "Zodiac Leather" "Assassin's Garb" "Occultist's Vestment" "Widowsilk Robe" "Vaal Regalia" "Full Dragonscale" "General's Brigandine" "Triumphant Lamellar" "Elegant Ringmail" "Saint's Hauberk" "Saintly Chainmail" "Blood Raiment" "Sadist Garb" "Carnal Armour" "Sacrificial Garb" "Titan Greaves" "Slink Boots" "Sorcerer Boots" "Dragonscale Boots" "Crusader Boots" "Murder Boots" "Titan Gauntlets" "Slink Gloves" "Sorcerer Gloves" "Dragonscale Gauntlets" "Crusader Gloves" "Murder Mitts" "Eternal Burgonet" "Lion Pelt" "Hubris Circlet" "Nightmare Bascinet" "Praetor Crown" "Deicide Mask" "Colossal Tower Shield" "Pinnacle Tower Shield" "Crusader Buckler" "Imperial Buckler" "Harmonic Spirit Shield" "Titanium Spirit Shield" "Fossilised Spirit Shield" "Cardinal Round Shield" "Teak Round Shield" "Elegant Round Shield" "Champion Kite Shield" "Mosaic Kite Shield" "Archon Kite Shield" "Mirrored Spiked Shield" "Supreme Spiked Shield" "Pig-Faced Bascinet" "Prophet Crown" "Vaal Mask" "Assassin's Boots" "Vaal Buckler" "Vaal Spirit Shield" "Spiny Round Shield" "Branded Kite Shield" "Alder Spiked Shield"
Rarity Rare
ItemLevel >= 75
SetFontSize 45
SetTextColor 0 0 0
SetBorderColor 47 91 244
SetBackgroundColor 47 91 244

We can instead use the DropLevel of the lowest item from the group to filter out all the lower tier gear:

Show
DropLevel >= 62
Rarity Rare
ItemLevel >= 75
SetFontSize 45
SetTextColor 0 0 0
SetBorderColor 47 91 244
SetBackgroundColor 47 91 244

The DropLevel condition is 2% of the BaseType condition in characters. 587 characters for the BaseType, 14 characters for the DropLevel condition. We can also remove the Class condition in this scenario.

2. GGG can change the names of items in a future release.

Limitations of Counter Premise:
If you wish to not see all items from the Lowest BaseType DropLevel, then you'd have to create a separate hide block directly above the block containing the DropLevel Block for Value Tier Filter Scripting.

Validation:
Check which is true: do you want to hide fewer items or show fewer items?

1. If you want to show fewer items, then the best solution is explicit name declaration as in the original block.

2. If you want to hide fewer items, then the best solution is to use the DropLevel condition with a hide block above it.

3. If you want to see all items above a certain BaseType droplevel, then the DropLevel condition is the way to go.
YOUTUBE - http://www.youtube.com/richardbmiller2
TWITCH - http://www.twitch.tv/hellcat5gaming
Last edited by Hellcat5#1740 on Jul 18, 2016, 2:00:09 AM
Did some more testing, and thought I'd share:

(video showing test)

When accounting for "Offering to the Goddess" and "Map Fragments" you can cover both with:

Show
Class Map


Instead of:

Show
BaseType "Offering to the Goddess"

or

Show
BaseType Offering

or
Show
Class "Map Fragments"

To cut down on number of characters and to cover any possible types like Offering to the Goddess.
YOUTUBE - http://www.youtube.com/richardbmiller2
TWITCH - http://www.twitch.tv/hellcat5gaming
Last edited by Hellcat5#1740 on Jul 19, 2016, 8:52:35 PM
Davros,

The Download link for GreenDude's Item Filter doesn't work any longer, and the filter seems very outdated. I've tried to locate the filter, but no success.

https://docs.google.com/document/d/1HmvwbAbcvOhDVQIjLjGrr9kEpHoObzKh95TjzSLKeOs/pub

Also, I sent message to both of the below today asking for confirmation that these tools work with the latest poe patch, and include the new items.

https://www.pathofexile.com/forum/view-thread/1287447

https://www.pathofexile.com/forum/view-thread/1287522
YOUTUBE - http://www.youtube.com/richardbmiller2
TWITCH - http://www.twitch.tv/hellcat5gaming
Question:
Let's say I want quality items with a white border, and regal recipe items with a yellow background. But I also want items that are quality AND regal recipe, to have white border AND yellow background. Would I need to write down a block for all the different cases in the item filter?
"
Linck wrote:
Question:
Let's say I want quality items with a white border, and regal recipe items with a yellow background. But I also want items that are quality AND regal recipe, to have white border AND yellow background. Would I need to write down a block for all the different cases in the item filter?


There are a few ways to maybe make this happen without using 3 blocks. I'll do some testing tomorrow for you after I get some sleep, then post back here. Sorry for the delay.
YOUTUBE - http://www.youtube.com/richardbmiller2
TWITCH - http://www.twitch.tv/hellcat5gaming
Well, I wanted to have chaos and regal recipes with gold background, quality items with white border, and socketed / linked items with a pink border. So I ended up doing this:
Spoiler

# ------------------------------------------------------
# 0600 # VENDOR RECIPES / LINKED & SOCKETED / QUALITY
# ------------------------------------------------------


#_______________________________________________________
# 0601 # (regal recipe) + (quality / socket / link combinations)


# regal + 6 links
Show
ItemLevel >= 75
Rarity Rare
LinkedSockets 6

SetBackgroundColor 254 170 0 150 #regal bg
#6 link font size
SetFontSize 40
SetBorderColor 255 0 200 255 #6 link border


# regal + 5 links
Show
ItemLevel >= 75
Rarity Rare
LinkedSockets 5

SetBackgroundColor 254 170 0 150 #regal bg
SetBorderColor 255 0 200 200 #5 link border


# regal + 6 socket
Show
ItemLevel >= 75
Rarity Rare
Sockets 6

SetBackgroundColor 254 170 0 150 #regal bg
SetBorderColor 255 0 200 180 #6 socket border

# regal + 20 quality
Show
ItemLevel >= 75
Rarity Rare
Quality = 20

SetBackgroundColor 254 170 0 150 #regal bg
SetBorderColor 255 255 255 255 #20 quality border

# regal + 4 link 2x2
Show
ItemLevel >= 75
Rarity Rare
LinkedSockets 4
Width 2
Height 2

SetBackgroundColor 254 170 0 150 #regal bg
SetBorderColor 255 0 200 150 #4 link 2x2 border

# regal + quality 15
Show
ItemLevel >= 75
Rarity Rare
Quality >= 15

SetBackgroundColor 254 170 0 150 #regal bg
SetBorderColor 255 255 255 175 #15 quality border

# regal + quality 10
Show
ItemLevel >= 75
Rarity Rare
Quality >= 10

SetBackgroundColor 254 170 0 150 #regal bg
SetBorderColor 255 255 255 100 #10 quality border







#_______________________________________________________
# 0602 # (chaos recipe) + (quality / socket / link) combinations


# chaos + 6 links
Show
ItemLevel >= 60
ItemLevel <= 74
Rarity Rare
LinkedSockets 6

SetBackgroundColor 254 170 0 75 #chaos bg
#6 link font size
SetFontSize 40
SetBorderColor 255 0 200 255 #6 link border


# chaos + 5 links
Show
ItemLevel >= 60
ItemLevel <= 74
Rarity Rare
LinkedSockets 5

SetBackgroundColor 254 170 0 75 #chaos bg
SetBorderColor 255 0 200 200 #5 link border


# chaos + 6 socket
Show
ItemLevel >= 60
ItemLevel <= 74
Rarity Rare
Sockets 6

SetBackgroundColor 254 170 0 75 #chaos bg
SetBorderColor 255 0 200 180 #6 socket border

# chaos + 20 quality
Show
ItemLevel >= 60
ItemLevel <= 74
Rarity Rare
Quality = 20

SetBackgroundColor 254 170 0 75 #chaos bg
SetBorderColor 255 255 255 255 #20 quality border

# chaos + 4 link 2x2
Show
ItemLevel >= 60
ItemLevel <= 74
Rarity Rare
LinkedSockets 4
Width 2
Height 2

SetBackgroundColor 254 170 0 75 #chaos bg
SetBorderColor 255 0 200 150 #4 link 2x2 border

# chaos + quality 15
Show
ItemLevel >= 60
ItemLevel <= 74
Rarity Rare
Quality >= 15

SetBackgroundColor 254 170 0 75 #chaos bg
SetBorderColor 255 255 255 175 #15 quality border

# chaos + quality 10
Show
ItemLevel >= 60
ItemLevel <= 74
Rarity Rare
Quality >= 10

SetBackgroundColor 254 170 0 75 #chaos bg
SetBorderColor 255 255 255 100 #10 quality border




#_______________________________________________________
# 0603 # vendor recipes



# regal
Show
ItemLevel >= 75
Rarity Rare
SetBackgroundColor 254 170 0 150 #regal bg

# chaos
Show
ItemLevel >= 60
ItemLevel <= 74
Rarity Rare
SetBackgroundColor 254 170 0 75 #chaos bg


# chrome
Show
SocketGroup RGB
SetBackgroundColor 0 130 75 75
SetTextColor 255 255 255 170
SetBorderColor 0 255 0 80





#_______________________________________________________
# 0604 # good sockets / links


Show
LinkedSockets 6
#6 link font size
SetFontSize 40
SetBorderColor 255 0 200 255 #6 link border

Show
LinkedSockets 5
SetBorderColor 255 0 200 200 #5 link border

Show
Sockets 6
SetBorderColor 255 0 200 180 #6 socket border

Show
LinkedSockets 4
SetBorderColor 255 0 200 150 #4 link 2x2 border
Width 2
Height 2


#_______________________________________________________
# 0605 # quality


Show
Quality = 20
SetBorderColor 255 255 255 255 #20 quality border

Show
Quality >= 15
SetBorderColor 255 255 255 175 #15 quality border

Show
Quality >= 10
SetBorderColor 255 255 255 100 #10 quality border


Pretty long, huh... =|
Added section for new base items added in Atlas of Worlds, link to original post and a generalized list of new things.
Beta Member Since 0.9.0 | Current Character : ExExCorpse
Creator of Prismatic Rings AND Unique Thief's Torment Prismatic Ring
----------------------------------------------------------------------------------
The Guide to Loot Filters - Here
need a help pls

is it possible to filter maps base on their tiers?

example:

Show
Class "Map"
Tier >= 10
SetBorderColor 255 0 0

ive tried but failed, said unknown rule type Tier

or maybe any other way?

ty
Use "DropLevel":

"

#Maps - DropLevel 79+
Show
Class "Maps"
DropLevel >= 79
SetBorderColor 150 0 0
SetFontSize 45
PlayAlertSound 6 250

#Maps - DropLevel 74 - 78
Show
Class "Maps"
DropLevel >= 74
DropLevel <= 78
PlayAlertSound 2 200
SetFontSize 38

#Maps - DropLevel <= 73
Show
Class "Maps"
DropLevel <= 73

One Filter to Rule Them All: https://www.pathofexile.com/forum/view-thread/1259059

Report Forum Post

Report Account:

Report Type

Additional Info