xanthics / PoE_Weighted_Search

Code to generate pathofexile.com/trade searches based on dps weights
MIT License
34 stars 2 forks source link

updated search restrictions #22

Closed xanthics closed 4 years ago

xanthics commented 4 years ago
{
  "query": {
    "filters_(1_point)": {
      "type_filters_(1_point)": {
        "filters": {
          "category_(1_point)": {
            "option": "jewel"
          }
        }
      }
    },
    "status_(1_point)": {
      "option": "online"
    },
    "stats_(1_point)": [
      {
        "type_(50_point)": "weight",
        "value": {
          "min": 0
        },
        "filters": [
          {
            "id_(5_point)": "explicit.stat_690707482",
            "value": {
              "weight": 0.92
            }
          },
          {
            "id_(5_point)": "explicit.stat_1244360317",
            "value": {
              "weight": 0.92
            }
          },
          {
            "id_(5_point)": "explicit.stat_967627487",
            "value": {
              "weight": 0.92
            }
          }
        ]
      },
      {
        "type_(1_point)": "not",
        "filters": [
          {
            "id_(1_point)": "explicit.stat_4181057577"
          },
          {
            "id_(1_point)": "explicit.stat_2135899247"
          },
          {
            "id_(1_point)": "explicit.stat_1964333391"
          }
        ]
      }
    ]
  }
}

What used to be a 42 point search is now 74 points. Max allowed is 200.

https://discordapp.com/channels/174993814845521922/175290321695932416/691779983584264212

xanthics commented 4 years ago

Need to write a preprocessor of available mods so that you choose the item slot on my site before going to trade site. New weights reduce max complexity to 29 mods.

xanthics commented 4 years ago

Mitigated as much as possible 7786556f0f6f5ff69d18495ab1c4738ac7e60992