arturino009 / poecluster Goto Github PK
View Code? Open in Web Editor NEWMake insane profits with this one simple trick! Just indexes all possible combinations for medium cluster jewels and their prices.
License: GNU General Public License v3.0
Make insane profits with this one simple trick! Just indexes all possible combinations for medium cluster jewels and their prices.
License: GNU General Public License v3.0
Cant run the program, after i choose clusters (small, medium, one notable etc) i get -1073740791 (0xC0000409) error
This project has no license. So technically/legally it's not allowed to use it. Please add something.
If you need guidance in pros/cons of specific licenses - I can help you with it.
Hi again! Great effort, I love what you've done with this.
However, it gets rate limited constantly after about two minutes of use. How would I go about avoiding this in the future?
There are tools like Awakened POE Trade that throttle themselves as to not trigger this limit.
Might there be a way to implement it into this program too so that it could be functional as there is truly significant value behind it.
Let me know what I can do to help.
Thank you.
The tool appears to be stuck while updating.
Probably, poedb.tw has changed and now needs to be parsed differently.
I get the following output:
python PoeCluster.py
Didn't find data for current league. Updating...
'option'
The code seems to hang on line 54 of updateClusterData.py:
for i in allStats['result'][4]['entries'][0]['option']['options']:
is it possible to add 3 notable large cluster jewels by any chance?
To my great regret the tool is stuk at updating:
py poecluster.py
Didn't find data for current league. Updating...
'option'
And then:
Traceback (most recent call last):
File "C:\Downloads\PoeCluster1.1\poecluster.py", line 119, in
updateClusterData()
File "C:\Downloads\PoeCluster1.1\updateClusterData.py", line 98, in updateClusterData
json.dump(get_data_poedb("Small"), outfile)
File "C:\Downloads\PoeCluster1.1\updateClusterData.py", line 58, in get_data_poedb
for i in allStats['result'][4]['entries'][1]['option']['options']:
KeyError: 'option'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Downloads\PoeCluster1.1\poecluster.py", line 226, in
stop = int(input())
ValueError: invalid literal for int() with base 10: ''
Hi @Artuino009,
Not sure if you're still supporting this, I noticed the update for 3.15 and decided to give it a shot.
When I run the program it tries to update the data for the new league but throws an error in updateCLusterData.py line 53, line 53, in get_data_poedb
for i in allStats['result'][4]['entries'][1]['option']['options']:
KeyError: 'option'
Didn't find data for current league. Updating...
'option'
Traceback (most recent call last):
File "C:\Users\kypes\Desktop\POEcluster-master\PoeCluster.py", line 32, in <module>
updateClusterData()
File "C:\Users\kypes\Desktop\POEcluster-master\updateClusterData.py", line 93, in updateClusterData
json.dump(get_data_poedb("Small"), outfile)
File "C:\Users\kypes\Desktop\POEcluster-master\updateClusterData.py", line 53, in get_data_poedb
for i in allStats['result'][4]['entries'][1]['option']['options']:
KeyError: 'option'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\kypes\Desktop\POEcluster-master\PoeCluster.py", line 105, in <module>
stop = int(input())
ValueError: invalid literal for int() with base 10: ''
>>>
I've tried looking at the other revisions to see if I could solve the problem but I've been unsuccessful.
Thanks!
Application is working like a charm, now! Thanks so much.
I was wondering if it is possible to export the results (to CSV or sth.)? I'd like to analyze them further and am too lazy to copy everything manually.
Gotta update all for 3.11. Mostly gotten from https://www.craftofexile.com/en/
Hi there, got enticed by your description of this tool and thought it would be the holy grail that I was searching for ๐
However, it seems to be missing a list. Would it be possible to share it so I can experience what this can do?
Thank you!
It just doesnt search for the selected cluster jewel type. It searches in all types. I mean i did a search for burning damage mediums. It shows there are 39 Flow of Life and Brewed for Potency listings. When i check website its only 5. Then if i remove burning damage filter on website, yes there are 39 listings in all medium clusters.
Tried to fix it but i am newbie.
Hey thanks for the change to Panda, it's really clean. I ended up needing to install Panda and PandaGUI as dependencies also. I am, however, running into a problem. Seems to affect the old TKtree version as well. Any ideas what this could be? I tried messing around with priceGetter to fix this but I'm not very experienced and couldn't figure it out. Thank you!
C:\E\poe\tools\POEcluster-master new>PoeCluster.py
Traceback (most recent call last):
File "C:\E\poe\tools\POEcluster-master new\PoeCluster.py", line 2, in <module>
import priceGetter
File "C:\E\poe\tools\POEcluster-master new\priceGetter.py", line 316, in <module>
current_league = getLeague()
File "C:\E\poe\tools\POEcluster-master new\priceGetter.py", line 11, in getLeague
leagues = leagues.json()
File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\models.py", line 898, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Users\User1\AppData\Local\Programs\Python\Python39\lib\json\__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Users\User1\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\User1\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Hey, not sure if you're still supporting this but I've been working on getting it installed. I got all of the dependencies set up and the program ran but it is running into an error on line 89:
Traceback (most recent call last):
File "C:\Cluster\apiM\apiMaybe.py", line 89, in
current_exa_price = round(float(res[0].contents[0])) #current exa price https://poe.ninja/challenge/currency/exalted-orb
IndexError: list index out of range
Thanks!
$ python PoeCluster.py
Input 1 for single notable prices, 2 for double notable prices.
1
Input 1 to check small cluster jewels, 2 for medium cluster jewels.
1
Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "PoeCluster.py", line 48, in <module>
all_lists = json.load(json_file)
File "C:\Users\Marcel\AppData\Local\Programs\Python\Python37\lib\json\__init__.py", line 296, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "C:\Users\Marcel\AppData\Local\Programs\Python\Python37\lib\json\__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "C:\Users\Marcel\AppData\Local\Programs\Python\Python37\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\Marcel\AppData\Local\Programs\Python\Python37\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "PoeCluster.py", line 93, in <module>
stop = int(input())
ValueError: invalid literal for int() with base 10: ''
del
Hey, I noticed that you're getting the rates for each currency individually through scraping. POE Ninja has a hidden api that you can use to request all the currency rates in one request. (Not necessary, but could help in cleaning up the code and improving performance)
With this endpoint, league_name
would be 'Heist'
and currency_type
would be 'Currency'
.
f'https://poe.ninja/api/data/currencyoverview?league={league_name}&type={currency_type}'
This returns a large JSON object. You can find the chaos equivalent of each currency by doing something like this:
from requests import get
from json import loads as load
response = get('https://poe.ninja/api/data/currencyoverview?league=Heist&type=Currency')
currencies = load(response.text)['lines']
rates = {
c['currencyTypeName']: c['chaosEquivalent'] for c in currencies
}
This would create a dictionary in the format of { 'Exalted Orb': 30, 'Orb of Alchemy': 0.2, ...
etc.
(The reason I didn't implement this myself and make a pull request is because I couldn't get TkinterTreectrl to work... still working on that lol)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.