Note the 4:60, I have made 4 tab requests in 60 seconds, 41 more and I get throttled for 4 minutes (for each request over), this is per account, not per site / application.
How tabs are refreshed
First the application creates a 60 second window. (GGG Rate limit window for tabs)
Each tab (unique per league) gets an evenly spaced slot of time.
Up to 40 tabs per 60s window. (40 to avoid going over)
Each minute currency-cop updates up to 40 tracked tabs, anything over increases that interval. 80 tabs? 2 minutes for a full cycle, the more tabs the longer the cycle takes.
This is why there is no refresh button, because your tabs are constantly updated in the background.
The future, there will be a pause/update-period dropdown for choosing how long the app should wait to update a portfolio. Some people do hour runs and then want to check stats, so things like that would just suspend updates going to a portfolio until a hour is passed but the tab refreshing would still happen in the background.
Add all button
A design solution for this going forward would be, to allow a button, but add a large warning over 15-25 tabs that points to this post, to ensure people doing this action know the ramifications.
Created CurrencyCop and PoeBuddy.
Check out my Item Filters: https://www.pathofexile.com/forum/view-thread/3510357
Last edited by ComfyGangsta#5968 on Jun 23, 2018, 7:08:45 PM
To add some real references for the post above, just discovered a user who was rate-limited, implementing some features to better handle those situations.
This is why the post above suggests limited fetching of tabs and why there is no refresh button. It is very easy to be rate-limited. The results of that, aren't great.
Created CurrencyCop and PoeBuddy.
Check out my Item Filters: https://www.pathofexile.com/forum/view-thread/3510357
Last edited by ComfyGangsta#5968 on Jun 23, 2018, 9:10:38 PM
✨ Add rate-limit checks on application load
✨ New rate-limited view on application load
🔌 Check for internet connection before making requests in queue system
🤦♂ Implement rate-limit debouncing in request queue
🤦♂ Properly throw status codes for bad requests
🤦♂ Encode error before passing to views
🤦♂ Use `e` instead of `error` when catching
🐛 Fix issue where rate-limited accounts fetches returned empty results
🐛 Fix issue where rate-limited accounts corrupted league data
🐛 Fix issue where rate-limited accounts corrupted tab data
If you're having troubles with the second version please post an issue on the Github Repository. You can also ping me on the Reddit PoE Discord. I will respond faster, but it is easier for me to track on Github.
Created CurrencyCop and PoeBuddy.
Check out my Item Filters: https://www.pathofexile.com/forum/view-thread/3510357
Last edited by ComfyGangsta#5968 on Jun 23, 2018, 11:37:10 PM
How do we show a graph? Or see hourly earnings? I only see the dropdown showing history for the last few updates which only is only the last 10 minutes or so.
This is currently the only way to obtain your private stashes. Make a lot of noise to GGG to create an official API.
I followed the instructions, but can't find my POESESSIONID!
Make sure that you are logged in to the Path of Exile website before following the instructions!
I don't want to give you my POESESSIONID! I don't know you!
Perfectly reasonable response. The application only stores the session on your local machine and only makes requests using your Session ID to https://www.pathofexile.com. Check the source code if you don't trust me!
Why am I getting a message about too many requests?
Oohwee! Looks like you found out that GGG doesn't really like you doing that many requests to view your own private stashes! Complain to GGG about it, nothing I can do!
You can only do 45 requests per minute (60 seconds) Jerry. GGG said. Ooh we're tryin!
How do I update Currency Cop?
Download the latest version, install, and you're good to go!
Downloaded a new version and got an error!
Logout (upper right hand corner), and log back in!
If you don't see a logout button:
Uninstall Currency Cop
Delete this folder (use file explorer): %APPDATA%/currency-cop
Re-install Currency Cop
This will be addressed in the future, but for now... please bear with me 🙏
at first, thanks for your great tool! i really love it.
but im missing a feature i would really like to see in a future release:
a currency history.
I think about it like a chart of when you had how much currency. it would be a really cool feature.
there is already a history you implemented, but it only shows the last few minutes, but it would need to save it to a file and show all the entrys as a graph.
Hope you can implement something like this :)
Leoguy77
Last edited by Stacey_GGG#0000 on Jul 24, 2018, 8:31:05 PM
Next bug hunt release will be fixing an issue where tab worker processes were not properly drained and removed on updates / deletes, or properly added when updating. See an image below for the adding issue, note the length differences (7) unique tab worker processes there should be - (6) the number of tab worker processes there are.
This is the first step to enabling a "pause" on a portfolio. Paused portfolio tabs will be drained from the tab worker pool.
Here is an image of the after:
Note they are equal.
Created CurrencyCop and PoeBuddy.
Check out my Item Filters: https://www.pathofexile.com/forum/view-thread/3510357
Last edited by ComfyGangsta#5968 on Jun 24, 2018, 9:42:00 PM