Git Product home page Git Product logo

currency-cop's Introduction

Currency Cop for Path of Exile

Basically takes your private / public stashes and tells you how much chaos you have.

To get started:

  • Run npm install
Development
  • Run npm run dev to start webpack-dev-server. Electron will launch automatically after compilation.

currency-cop's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

currency-cop's Issues

Suggestion: Add A Button To Refresh A Report

AFAICT there's no way to refresh a report easily. Every time i want to see my currency tab net worth on HHC, i have to create a new report. I only run the program once in a while.

currency cop goes white

after using currency cop with auto refresh for a while it goes white and if you close it via taskmanager it looses all reports you did setup using 1.2.5b1 x64

Items still not recognized by new version

Here's a few I tested:

  • Essences (tried both in the special tab and in the regular tab);
  • Maps (any rarity, in regular tab);
  • Uniques with abyssal sockets;
  • Gems (with quality).

The newer version doesnt find my tabs

I click add portfolio, generate whatever name, choose bestiary, nothing shows up. If i choose standard my tabs will show up. Bestiary league doesnt show at all it seems.

It also syncs forever and doesnt show values at all, a lot of bugs it seems right now.

Why no map estimate

Hey,
Can you also include map estimates? A chaos estimate of our maps tab
Also, you could give far more statistics, such as which items have been added in a certain tab after last automatic update and many many more. Concerning maps for example, you could give a red tier map counter, and then we can check how well we sustain, if we see how many got added after last automatic update.

Kind Regards

Initialization fails due to un-started league (Flashback Event)

Currency cop stops mid-initialization since it can't find item rates for the new league (which can be viewed in the POE client and exists in the POE API, but doesn't exist on poe.ninja yet).

Though this issue will auto-resolve in one day now, it will probably be an issue next time a race event happens.

Some suggested fixes would be to only fetch data for leagues that the player has characters in or to only check leagues that are available on poe.ninja, though the former would probably bug out a few hours after the start of the league (or until poe.ninja updates). But it's your application, so it's your call.

History menu

Currently planned as a list of each refresh with a comparison against the previous value. Open to other ideas.

skill gems using wrong prices

I see gems being priced in hundreds of chaos. It looks like its using 21/23 versions of the gems despite the gems not matching that level/quality.

Can't fetch data from poe.ninja

Hello,
thanks for the great tool, unfortunately I've been having issues the last couple of days. It happened in both currency cop 1.x and in 2.0.0-beta4 but I only have logs for the latter. The error message is simply "Houston we have a problem". I deleted the currency cop folder in %appdata% and set it up fresh, according to firefox my session ID is valid until the end of the month but the problem seems to be elsewhere anyway. Here's the full log of an attempt from 8 minutes ago:

[10:12:36] [INFO] [Core] Loading Currency Cop v2.0.0-beta.4
[10:12:36] [INFO] [Config] Loading file from: C:\Users\steffen\AppData\Roaming\currency-cop\Settings.db
[10:12:36] [WARN] [Config] File could not be loaded: ENOENT: no such file or directory, open 'C:\Users\steffen\AppData\Roaming\currency-cop\Settings.db'
[10:12:47] [WARN] [API] 302 status response for [https://www.pathofexile.com/login]: ""
[10:12:48] [INFO] [Config] Saving file: C:\Users\steffen\AppData\Roaming\currency-cop\Settings.db
[10:12:48] [INFO] [Config] Saving file: C:\Users\steffen\AppData\Roaming\currency-cop\Settings.db
[10:12:48] [INFO] [Core] Loading Currency Cop v2.0.0-beta.4
[10:12:48] [INFO] [ApiClientCache] Loading file from: C:\Users\steffen\AppData\Roaming\currency-cop\Cache.db
[10:12:48] [WARN] [ApiClientCache] File could not be loaded: ENOENT: no such file or directory, open 'C:\Users\steffen\AppData\Roaming\currency-cop\Cache.db'
[10:12:48] [INFO] [ApiClientCache] Saving file: C:\Users\steffen\AppData\Roaming\currency-cop\Cache.db
[10:12:48] [INFO] [ApiClientCache] Saving file: C:\Users\steffen\AppData\Roaming\currency-cop\Cache.db
[10:12:48] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetCurrencyOverview], no response received: undefined
[10:12:48] [ERROR] [Core] [App] Error occurred during load: undefined - undefined
[10:12:49] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetMapOverview], no response received: undefined
[10:12:49] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetSkillGemOverview], no response received: undefined
[10:12:49] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetUniqueMapOverview], no response received: undefined
[10:12:49] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetUniqueJewelOverview], no response received: undefined
[10:12:49] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetEssenceOverview], no response received: undefined
[10:12:49] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetUniqueFlaskOverview], no response received: undefined
[10:12:49] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetUniqueArmourOverview], no response received: undefined
[10:12:49] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetUniqueWeaponOverview], no response received: undefined
[10:12:49] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetFragmentOverview], no response received: undefined
[10:12:49] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetDivinationCardsOverview], no response received: undefined
[10:12:49] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetUniqueAccessoryOverview], no response received: undefined

[RFC] Error Reporting

Thoughts on having me put in some "call-home" whenever an error occurs. It would obviously never send any session identifiers.

This is to help speed up issues in cases where the error doesn't bubble up to the client, and sharing huge log files is slow.

Suggestion: Ability to set a min value to counted items/currency

I'm suggesting two settings for reports.

  1. The ability to set a minimum limit to the price of a single item, for it to be counted.
  2. The same thing but for the price of the whole stack.

This way you could filter out the things that aren't worth much, if you don't want to spend time selling them.

Windows client has Mac window controls

On windows 7. Notably the red close button doesnโ€™t function.

Edit: They are functioning now, so I edited the issue to remove the "non-functioning" part!

Price discrepancy

There are a few items that have their prices out of line, for no particular reason.
One that I found so far was Tabula Rasa (not modified in any way) (image: https://i.imgur.com/wfGHTM1.png). Price on poe.ninja was 16 c at the time of writing this.

Can't create any report

This is the error in the log:

[00:59:23] [INFO] [Events] Global notification occurred Unexpected error occurred.
[00:59:23] [ERROR] [Core] Uncaught error: Cannot read property 'id' of undefined - TypeError: Cannot read property 'id' of undefined
    at At.value (file:///C:/Users/Chin/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:18:108763)
    at Object.N (file:///C:/Users/Chin/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:104711)
    at I (file:///C:/Users/Chin/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:100455)
    at Object.executeDispatchesInOrder (file:///C:/Users/Chin/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:101516)
    at Y (file:///C:/Users/Chin/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:39404)
    at $ (file:///C:/Users/Chin/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:39539)
    at Array.forEach (native)
    at u.exports (file:///C:/Users/Chin/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:18:72142)
    at Object.processEventQueue (file:///C:/Users/Chin/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:40746)
    at N (file:///C:/Users/Chin/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:46:61532)

No result after selecting tabs

Hello. I'm still unable to use this program. After I installed it and then inserted my POESESSID and logged in I created a report with my Divination Tab checked. I pressed create report and then a white box appeared saying "Fetching currency rates" and then disappered. The reports are only showing their names and I can't click on them. I tried reinstalling the x32 and x64 versions and cleared the %appdata% folder for currencycop multiple times but it's still not working. Then I thought maybe I just need to wait for the values to load but after waiting for 2 hours it still didn't show any value. Running it as an administrator didn't work either. After some research I think it might be connected to me using Steam with PoE instead of the Launcher and a seperate account.
Am I missing something or doing it wrong ? Does it need to be installed on the same drive as PoE is installed ?

Version I'm using now is v1.2.5-beta1 x64 but I tried with every version upwards from v1.2.2. (Both x32 and x64)

Updating Portfolio does not update Portfolio

What I did

  1. Created new Portfolio - linked it to my cash tab - works
  2. Updating Portfolio, removed cash tab, linked essence tab - no essences, still cash
  3. Updating Portfolio, removed essence link, added divination card link - no divination cards, but essences and cash

Also, I can't find delete Portfolio button?

"Houston, we have a problem"

After pasting my ID it simply cuts to this message. Logout button does nothing and I have to close the program. Version 2.0

[RFC] Moving from Electron to Hosted Application

Wondering what everyone thinks about moving the application from being a downloadable Electron Application to being a Cloud based hosted Application (source code would still be on github).

This would introduce a few possible ideas that others have talked about:

  1. Leaderboards
  2. Sharing your reports
  3. Reduce load on third-party APIs

Some thoughts I have:

  1. Never store username / password only the Session ID obtained by it in the Database encrypted with sCrypt
  2. Keeping source code open
  3. Database (MySQL)
  4. Caching Leagues / Rates / Etc

Currency cop not receiving data from poeninja

Hello I have used Currency Cop before and love it! The issue I (and maybe others) am having currently is that when i log in it tried to fetch data and is unable to do so from poeninja. I found out where the log files are from one of the other issues which is how i know this. Here is the error:

[16:24:22] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetCurrencyOverview], no response received: undefined

Better storage mechanism

Currently stores stash tabs / prices in JSON, and report details in JSON.

Could reduce overall size / memory footprint by using SQLite or reduce stored object sizes by consolidating objects into the bare necessities

Unexpected error occured trying to create a new report

I'm new to Currency Cop and I'm unable to create a report after logging in with my session id. Here is the logs:

[22:25:49] [INFO] [Core] Loading Currency Cop v1.2.5-beta1 [22:25:49] [INFO] [Config] Loading file from: C:\Users\rj\AppData\Roaming\currency-cop\User.db [22:25:49] [INFO] [Report] Loading file from: C:\Users\rj\AppData\Roaming\currency-cop\Reports.db [22:25:51] [WARN] [API] 302 status response for [https://www.pathofexile.com/login]: "" [22:25:52] [INFO] [Config] Saving file: C:\Users\rj\AppData\Roaming\currency-cop\User.db [22:25:52] [INFO] [Config] Saving file: C:\Users\rj\AppData\Roaming\currency-cop\User.db [22:25:52] [WARN] [API] 404 status response for [https://poe.technology/latest]: "<html>\n<head><title>404 Not Found</title><script src=\"/cdn-cgi/apps/head/kd1PXP1YhrieRZi15hZS76ke7Ro.js\"></script></head>\n<body bgcolor=\"white\">\n<center><h1>404 Not Found</h1></center>\n<hr><center>openresty/1.11.2.4</center>\n</body>\n</html>\n" [22:25:58] [INFO] [Events] Global notification occurred Unexpected error occurred. [22:25:58] [CRITICAL] [Core] Uncaught error: Cannot read property 'id' of undefined - TypeError: Cannot read property 'id' of undefined at jt.value (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:18:106442) at Object.w (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:103844) at I (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:99585) at Object.executeDispatchesInOrder (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:100647) at Y (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:40189) at Q (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:40324) at Array.forEach (<anonymous>) at u.exports (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:18:66261) at Object.processEventQueue (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:41531) at w (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:46:61958) [22:26:02] [INFO] [Events] Global notification occurred Unexpected error occurred. [22:26:02] [ERROR] [Core] Uncaught error: Cannot read property 'id' of undefined - TypeError: Cannot read property 'id' of undefined at jt.value (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:18:106442) at Object.w (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:103844) at I (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:99585) at Object.executeDispatchesInOrder (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:100647) at Y (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:40189) at Q (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:40324) at Array.forEach (<anonymous>) at u.exports (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:18:66261) at Object.processEventQueue (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:41531) at w (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:46:61958) [22:26:03] [INFO] [Events] Viewing Report 0 [22:26:09] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab Currency... [22:26:10] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:11] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab L... [22:26:11] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:13] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab L... [22:26:13] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:14] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab L... [22:26:15] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:16] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab L... [22:26:16] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:18] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab L... [22:26:18] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:19] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab Trade... [22:26:20] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:21] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab C-J/Belt... [22:26:22] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:23] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab Cboot... [22:26:23] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:25] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab C-hand... [22:26:25] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:26] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab C-Head... [22:26:27] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:28] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab C-Chest... [22:26:28] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:30] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab C-2h... [22:26:30] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:31] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab Uniq2... [22:26:32] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:33] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab LvlUniq... [22:26:33] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:35] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab Snow... [22:26:35] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:37] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab GGUniques... [22:26:37] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:38] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab Qflask... [22:26:39] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:40] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab lvl2... [22:26:40] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:42] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab Aura/Sunder... [22:26:42] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:43] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab EDChar/Flicker... [22:26:44] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:45] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab Eddie... [22:26:45] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:47] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab Flask... [22:26:47] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:48] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab StoneH... [22:26:49] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:50] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab Uniq... [22:26:50] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:52] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab Abyss... [22:26:52] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:54] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab QGem... [22:26:54] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:55] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab S Gems ... [22:26:56] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:57] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab Frags... [22:26:57] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:26:59] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab Essences... [22:26:59] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:27:00] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab Maps... [22:27:01] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:27:02] [INFO] [Events] Global notification occurred [Abyss-1] Fetching tab Cards... [22:27:02] [WARN] [API] 404 status response for [https://www.pathofexile.com/character-window/get-stash-items]: {"error":{"code":1,"message":"Resource not found"}} [22:27:02] [INFO] [Events] Updating report [22:27:02] [INFO] [Report] Saving file: C:\Users\rj\AppData\Roaming\currency-cop\Reports.db [22:27:27] [INFO] [Events] Stopped viewing report [22:27:28] [INFO] [Events] Viewing Report 0 [22:27:30] [INFO] [Events] Stopped viewing report [22:27:30] [INFO] [Events] Global notification occurred Unexpected error occurred. [22:27:30] [ERROR] [Core] Uncaught error: Cannot read property 'id' of undefined - TypeError: Cannot read property 'id' of undefined at jt.value (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:18:106442) at Object.w (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:103844) at I (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:99585) at Object.executeDispatchesInOrder (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:100647) at Y (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:40189) at Q (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:40324) at Array.forEach (<anonymous>) at u.exports (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:18:66261) at Object.processEventQueue (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:41531) at w (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:46:61958) [22:27:33] [INFO] [Events] Global notification occurred Unexpected error occurred. [22:27:33] [ERROR] [Core] Uncaught error: Cannot set property 'innerText' of null - TypeError: Cannot set property 'innerText' of null at file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:18:101775 [22:27:34] [INFO] [Events] Clearing configuration [22:27:34] [INFO] [Config] Saving file: C:\Users\rj\AppData\Roaming\currency-cop\User.db [22:27:50] [WARN] [API] 302 status response for [https://www.pathofexile.com/login]: "" [22:27:51] [INFO] [Config] Saving file: C:\Users\rj\AppData\Roaming\currency-cop\User.db [22:27:51] [INFO] [Config] Saving file: C:\Users\rj\AppData\Roaming\currency-cop\User.db [22:27:55] [INFO] [Events] Viewing Report 0 [22:28:02] [INFO] [Events] Deleting report [22:28:02] [INFO] [Report] Saving file: C:\Users\rj\AppData\Roaming\currency-cop\Reports.db [22:28:02] [INFO] [Events] Stopped viewing report [22:28:03] [INFO] [Events] Global notification occurred Unexpected error occurred. [22:28:03] [ERROR] [Core] Uncaught error: Cannot read property 'id' of undefined - TypeError: Cannot read property 'id' of undefined at jt.value (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:18:106442) at Object.w (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:103844) at I (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:99585) at Object.executeDispatchesInOrder (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:100647) at Y (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:40189) at Q (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:40324) at Array.forEach (<anonymous>) at u.exports (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:18:66261) at Object.processEventQueue (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:41531) at w (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:46:61958) [22:28:04] [INFO] [Events] Global notification occurred Unexpected error occurred. [22:28:04] [ERROR] [Core] Uncaught error: Cannot read property 'id' of undefined - TypeError: Cannot read property 'id' of undefined at jt.value (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:18:106442) at Object.w (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:103844) at I (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:99585) at Object.executeDispatchesInOrder (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:100647) at Y (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:40189) at Q (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:40324) at Array.forEach (<anonymous>) at u.exports (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:18:66261) at Object.processEventQueue (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:5:41531) at w (file:///C:/Users/rj/AppData/Local/Programs/currency-cop/resources/app.asar/dist/bundle.js:46:61958)

Certain items are not being recognized

Items such as:

  • Essences;
  • Offerings to the Goddess;
  • Sacrifice fragments;
  • Divine Vessels;
  • Maps;
  • Uniques with Abyssal sockets.
    All tested with my stash in Bestiary Softcore. Tried putting them both in normal tabs and in special tabs, when applicable (except for maps, since map tab isn't picked up by stash API iirc).

crash

currencycop window goes completely white, then i am forced to close it, on reload it looses all data and i have to remake report tabs

Price column sorting broken

Clicking the price header to sort by price doesn't work properly. The other sortable columns work but not price. If I click on it, it works one, sorting by price descending. If I click again, only the second row changes, somewhat randomly from what I can see.

This is happening in beta7.

cannot remove broken reports

There is no possibility to remove/delete broken reports, nor is there any information where on my disk these application-information is stored & those file are not removed when uninstalling the application.

[Meta] Issues regarding master branch

Issues based on the master branch will be ignored, as I am working on a new form of Currency Cop under feat/remove-material-ui

It is a huge undertaking which moves away from the old model of overly-aggressive fetching of resources, and using a horrible UI framework, (see changelog below).

Download the Latest Release

https://github.com/currency-cop/currency-cop/releases

or Compile from source

  1. Clone the repository
  2. clone this branch
  3. npm install
  4. npm run prod

Changelog

  • Moving away from willComponentMount in favor of constructor based system
  • Removed Material UI Framework
  • Moved components out of single file.
  • Implemented request caching system
  • Implemented throttled request system
  • Implemented asynchronous report updating
  • Refactored portfolio/report aggregations to be more space/memory efficient
  • Added support for Unique Items
  • Added support for Gems with Gem Quality Support
  • Added support for 6L items
  • Added support for Variant Items
  • Implemented portfolio belongs to a dead league, functionality
  • Fixed last updated time not being refreshed
  • Fixed relic prices being applied to non-relic items
  • Fixed six-link prices being applied to non-6l items
  • Fixed ancient prices being applied to non-ancient items
  • Fixed low-confidence prices being used
  • Began adding support for swapping currency
  • Proper windows icons for applications in app bar
  • Improved logo

Changes Since Writing Issue

  • Added active state to portfolios in sidebar
  • Fixed Gain / Loss using - for 0 change
  • Added new app bar to the loading / login screens
  • Added history dropdown
  • Improved form styles
  • Fixed blank screen before login
  • Fixes confidence filters
  • Use github releases for version check
  • Implements dashboard messages (placeholder stuff, i guess)
  • Limits history dropdown to 5 items
  • Updates portfolio on save
  • Use price icon for items
  • Update form style
  • Add support for maps
  • Fix poe.ninja api hostname
  • Add support for events

Todo

  • Update portfolio on save
  • Fix item icon
  • Version check
  • Update Portfolio Screen
  • Figure out how to prevent rendering a section of the app bar unusable while scrolling the table on a portfolio (weird)
  • Add support for maps
  • Fix poe.ninja api hostname
  • Add support for events
  • Implement sorting
  • Fix old maps in standard (need help)
  • Delete Portfolio
  • Fix logout button
  • Header Chart
  • Implement search

Better handle network errors such as disconnect / rate limiting.

See #57 for more in-depth details.

  • 429 currently cause zero values due to items being returned as empty array.
  • Network disconnects currently break the requester, which brick the app.

Fixes being implemented:

  • 429 now return { status: 429 } so requester can properly debounce queue requests to window timeout
  • Network is checked inside of requester threads and queues are debounced when offline.

Future features:

  • Notification when network is out
  • Check for network on start so you don't have to re-login

Simulation of 429s with console logging on threads:

image

Suspend causes auto-refresh to stop

Release 2.0.0-7.

A suspend-resume cycle causes auto-refresh to stop working. I haven't tested other reasons for network connection being lost. The workaround I'm using is to restart Currency Cop after a resume.

Failed to load prices from poe.ninja

Logging into the client gives the error "Houston, we have a problem."

Log:

[15:05:47] [INFO] [Core] Loading Currency Cop v2.0.0-beta.4
[15:05:47] [INFO] [ApiClientCache] Loading file from: (snip)\currency-cop\Cache.db
[15:05:50] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetDivinationCardsOverview], no response received: undefined
[15:05:50] [ERROR] [Core] [App] Error occurred during load: undefined - undefined
[15:05:50] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetCurrencyOverview], no response received: undefined
[15:05:50] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetFragmentOverview], no response received: undefined
[15:05:50] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetEssenceOverview], no response received: undefined
[15:05:52] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetUniqueMapOverview], no response received: undefined
[15:05:52] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetSkillGemOverview], no response received: undefined
[15:05:52] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetMapOverview], no response received: undefined
[15:05:52] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetUniqueJewelOverview], no response received: undefined
[15:05:54] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetUniqueWeaponOverview], no response received: undefined
[15:05:54] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetUniqueFlaskOverview], no response received: undefined
[15:05:54] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetUniqueAccessoryOverview], no response received: undefined
[15:05:54] [ERROR] [API] Request sent to [http://api.poe.ninja/api/Data/GetUniqueArmourOverview], no response received: undefined

When I attempted to visit the api.poe.ninja link, chrome told me the hostname could not be resolved.
So either the api server is down, they removed the api or renamed it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.