benjaminjackman / looty

Looty! A tool for Path of Exile that makes inventory searching fun!
GNU General Public License v2.0
61 stars 21 forks source link

Socket Search #65

Open synicasm opened 1 year ago

synicasm commented 1 year ago

Cant figure out how to search for a item socket colors with or with out links.

For example I have an item G B-G-R

How would you enter this in the column field to find any item with 2G , 1R, 1B sockets.

piotrszymaniec commented 1 year ago

Sockets are displayed by largest linked group first, then in alphabetical order. In your example it would be B-G-R G

For example item with 2 red sockets, 1 blue socket, and link of three sockets: blue red and green would look like B-R-G B R R

Also entering .-.-.-. in the sockets column will match all four link+ socketed items. Dot is equivalent of any link or gem letter such as R, G, B or W.
Which means that .-B is everything that includes at least one link to blue socket. Even though B is at the end it does not mean that it will list items with links ending with blue socket, sadly it is not clever enough ;)

If you have some doubts, do not hesitate to ask :)

synicasm commented 1 year ago

Thanks for the info. How would search for items with or with out links however ?

For example an item with B G G R ( no links, or with Links). Is there a "any link or no link" wildcard possible ?

something like BGG*R meaning any item with a Blue , two Green and one Red sockets with out without links in any order.

piotrszymaniec commented 1 year ago

Hmm, for no links with max sockets possible you could do something like this. For 4 socketed items like helms/boots/gloves . . . . adding dots for any gem socket and spaces that exclude link.

How would search for items with or with out links however ?

For example an item with B G G R ( no links, or with Links). Is there a "any link or no link" wildcard possible ?

something like BGG*R meaning any item with a Blue , two Green and one Red sockets with out without links in any order.

Could you describe a use case a bit more? I'm not sure if i understood. :)

synicasm commented 1 year ago

I guess what i'm looking for is a straight up socket color search regardless of links.

Looking for an item with 4 socket of the color pattern Im looking for or the next best thing.

I need an item with 2 green, 1 red, 1 blues, Linked

Using poe trade site https://www.pathofexile.com/trade/search/Ancestor/O62noruE only shows me items that are 4 links with the proper colors.

This is easy to replicate in looty with "b-g-g-r" (Which from my understanding will find the item in any pattern , b-g-r-g for example as looty sorts them by links and alpha color.

Now lets say I did not have the 4 link item "b-g-g-r" and wanted to see item that had sockets with all those colors and links did not matter ?

Using the poe trade site this https://www.pathofexile.com/trade/search/Ancestor/LJpOolCn Will show any item that has at least 2 green , 1 red and 1 blue sockets regardless if they are linked.

I cant figure out a search pattern that will replicate this result in looty.

Thanks for all your help !

synicasm commented 1 year ago

Ok here is a good example I have an item that is B-B G B

In looty "B B B G" it does not show. "B.B.B.G" it does not show. Im looking for a search pattern that will show an item with 3 Blue and 1 Green socket in any order with or without links.

piotrszymaniec commented 1 year ago

Sadly It is impossible 😢

synicasm commented 1 year ago

I think I figured it out.. Super cumbersome but easier than looking through a bunch of loot tabs.

Using this site I generated a CSV of every possible combo of BBGB

https://numbergenerator.org/permutations-and-combinations/list#!numbers=4&lines=5&low=0&high=100&range=B,B,B,G&unique=true&order_matters=true&csv=csv&oddeven=&oddqty=0&sorted=false&sets=&addfilters=

Copied that list in to notepad, replaced the commas with periods and made it a one lines with | or's

B,B,B,G B,B,G,B B,G,B,B G,B,B,B

Became .....

B.B.B.G|B.B.G.B|B.G.B.B|G.B.B.B

Copied that back into looty filter and it seems to work.