Skip to content

A simple tool for scanning Stash tabs to find combinations valid for Quality Vendor recipes

License

Notifications You must be signed in to change notification settings

TehGM/PoE-QualityRecipesCalculator

Repository files navigation

Quality Recipes Calculator for Path of Exile

GitHub release (latest SemVer) GitHub top language GitHub GitHub Workflow Status GitHub issues

This is a simple terminal application that will scan Stash tabs, and output a list of possible combinations for quality vendor recipes.

I made this application mostly for myself - I tend to hoard quality flasks and gems for vendor recipes, but only sell if I can get exact 40% quality sum. And I got tired of looking at my tab and trying to do math in my head. And I can program, so decided to make use of that.

This tool uses PoE API to get stash data.

Currently supported Vendor Recipes

I do not intend to support all quality recipes, but I might add new in the future. Currently supported recipes:

Note: The tool only cares about the "sum of multiple items qualities is at least 40%" vendor recipe. Single item of 20% quality recipe is ignored.

Usage

Download the tool from here.

After downloading the app, run it through your CMD/Terminal.

QualityRecipesCalculator -s <POESESSID> -a <AccountName> -l <League> -r <Platform>

There are a few arguments to provide to the application:

  • -s <POESESSIID> - Required - Your PoE Session ID.
  • -a <AccountName> - Required - Your PoE Account Name
  • -l <League> - Optional - The League to check stashes for, like Ritual, SSF Ritual, Hardcore Ritual, Standard etc. Defaults to Standard.
  • -r <Platform> - Optional - The platform you play on. Valid values are pc, xbox and sony. Defaults to pc.
  • --only-exact - Optional - By default, the app outputs combinations that have total 40% quality or more. Adding this flag makes the app output only the combinations that have total quality equal exactly 40%.
  • --show-invalid - Optional - By default, the app will not output combinations that have total quality below 40%. Adding this flag makes the app output them as well.
  • --item-names - Optional - By default, the app will only show only the quality of each item in combination. Adding this flag will output the example item names as well for easier finding. Warning: it might make the app output less readable.
  • --large <Count> - Optional - Defines the count of items to consider a large batch and display a performance warning. Defaults to 20.
  • --debug - Optional - Makes the app output debug logs.
Tip!

You can also run QualityRecipesCalculator --help to list all supported switches and their default values.

Known Issues

Current algorithm isn't very performant when a large amount of valid items is found in a single stash tab. I am still looking at ways to improve its perfromance - any contributions or suggestions are most welcome.

License

Copyright (c) 2021 TehGM

Licensed under Mozilla Public License 2.0.