Giter VIP home page Giter VIP logo

exile-diary's People

Contributors

aschmidt93 avatar briansd9 avatar dependabot[bot] avatar kaeh avatar kirihan avatar liujordan avatar lostcoaster avatar ltogniolli avatar marketmi avatar qt-dev avatar ransispoe avatar syrm avatar

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

Watchers

 avatar

exile-diary's Issues

Plug the alternateSplinterPricing setting in

From Navek on Discord:

The "alternateSplinterPricing"-setting makes Exile Diary value shards and splinters as fraction of the value of the whole object, instead of using the poe.ninja price for a single spinter. This pricing results in much more realistic values as nobody is going to trade for single splinters at the listed price.
This behavior should be default. Currently it is only activatable by adding "alternateSplinterPricing":true to the settings file manually.

We probably want to have a setting in the settings page to toggle it on and off. And then from the results, we may switch the default to using it.

Solved - POESESSID once again not working?

I just found this sweet update to the amazing exile diary - sadly I get the same "POESESSID entered correctly?" error message that I received in the original.

Did the fix break again? Or is it more likely I am doing something wrong?

Build Settings Page

Need to plug new UI onto the settings backend to be able to plug the backend properly

Add Invitations

  • - Add invitation recognition for eater of worlds / exarch (done in #28 )
  • - Price the invitations
  • - Recognize the boss fight
  • - Add relevant Stats on stats page

Undefined pack size in contracts

Overlay pop-up shows quantity, rarity and pack size bonuses of the area after you make a screenshot. Contracts and blueprints don't have pack size bonus, and the pop-up displays it as undefined. It should just not display it.

Build Backend for Oauth service

We need a backend that allows all the Oauth transactions to go through properly.
The process is :

  • Exile Diary opens a browser with the Authorization page from PoE
  • PoE redirects to the backend.
  • The backend redirects to EDR with the token
  • EDR validates that the request is ok, and sends a request with the info needed to generate the auth Token to the backend
  • The backend takes this info + the secret key and makes a request to the PoE API to get the oauth token
  • The backend returns the token to EDR
  • EDR saves the token securely locally and uses it for all the API calls

Additional info:
It needs a custom URL to be able to use the right part of the API we want, and so it needs a backend service that can respond on that custom URL.

Task list:

  • Get domain name
  • Build API Gateway with 2 routes : /auth/success and /auth/token
  • Enable deep linking in Exile Diary Reborn
  • Build function that forwards the access token to the EDR client
  • Build function that calls the GGG oauth endpoint with the data it receives and returns the right token
  • Plug both functions into the right routes of the Gateway
  • Make EDR call the GGG API -> /auth/success -> EDR client properly
  • Make EDR call the Backend to request a token from the response it got
  • Extract Cloudformation/Terraform setup
  • Document the setup

Error report for exile-diary 1.0.0-alpha.1

Error:

AxiosError: Request failed with status code 429
    at settle (C:\Users\Geras\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\axios\dist\node\axios.cjs:1909:12)
    at IncomingMessage.handleStreamEnd (C:\Users\Geras\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\axios\dist\node\axios.cjs:2989:11)
    at IncomingMessage.emit (node:events:539:35)
    at endReadableNT (node:internal/streams/readable:1345:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)

OS: Windows NT 10.0.22621

Log extract attached.

new.txt

Add an option to automatically switch active character

The option can come back now with the new API.

  • Add an option to the settings page
  • Make the option save into the settings
  • Plug active character switching to proper event (Get into town? Is there a Log in event in the logs?)

Exit Vaal area causes error

Error:

    at settle (C:\Users\Geras\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\axios\dist\node\axios.cjs:1909:12)
    at IncomingMessage.handleStreamEnd (C:\Users\Geras\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\axios\dist\node\axios.cjs:2989:11)
    at IncomingMessage.emit (node:events:539:35)
    at endReadableNT (node:internal/streams/readable:1345:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)

OS: Windows NT 10.0.22621

change_areas.txt

Error report for exile-diary 1.0.0-alpha.1

Error:

    at Object.getCategory (C:\Users\<username>\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\ItemCategoryParser.js:71:27)
    at parseItem (C:\Users\<username>\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\ItemParser.js:166:39)
    at C:\Users\<username>\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\ItemParser.js:80:64
    at Array.forEach (<anonymous>)
    at Database.<anonymous> (C:\Users\<username>\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\ItemParser.js:79:60)
    at Object.<anonymous> (C:\Users\<username>\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\ItemParser.js:72:40)
    at step (C:\Users\<username>\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\ItemParser.js:33:23)
    at Object.next (C:\Users\<username>\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\ItemParser.js:14:53)
    at fulfilled (C:\Users\<username>\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\ItemParser.js:5:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)

OS: Windows NT 10.0.22621

Build Screenshot from Overlay

The overlay can apparently take screenshots in the app. Look into making the overlay take the screenshot instead of hijacking the screenshot capabilities of the game

  • Make the overlay take screenshots
  • Make it detect the right boxes the way the current implementation does it

Update Filter Parser for 3.21

3.21 filters from Filterblade are not able to be uploaded to the app - says 'Errors found while parsing filter'. I am assuming this is because of the new items added in 3.21.

If possible, could an update be made so the latest filters from this league are compatible?

Error report for exile-diary 1.0.0-alpha.5

Error:

"method: GET url: https://github.com/qt-dev/exile-diary/releases/download/v1.0.0-alpha.5/latest.yml\n\nPlease double check that your authentication token is correct. Due to security reasons, actual status maybe not reported, but 404.\n"
Headers: {
  "server": "GitHub.com",
  "date": "Sat, 06 May 2023 06:41:08 GMT",
  "content-type": "text/plain; charset=utf-8",
  "vary": "X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, Accept-Encoding, Accept, X-Requested-With",
  "cache-control": "no-cache",
  "strict-transport-security": "max-age=31536000; includeSubdomains; preload",
  "x-frame-options": "deny",
  "x-content-type-options": "nosniff",
  "x-xss-protection": "0",
  "referrer-policy": "no-referrer-when-downgrade",
  "content-security-policy": "default-src 'none'; base-uri 'self'; connect-src 'self'; form-action 'self'; img-src 'self' data:; script-src 'self'; style-src 'unsafe-inline'",
  "content-encoding": "gzip",
  "content-length": "29",
  "x-github-request-id": "BC79:776C:21CB41:229704:6455F684"
}
    at createHttpError (C:\Users\ZarkBit\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\builder-util-runtime\out\httpExecutor.js:14:12)
    at ElectronHttpExecutor.handleResponse (C:\Users\ZarkBit\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\builder-util-runtime\out\httpExecutor.js:116:20)
    at ClientRequest.<anonymous> (C:\Users\ZarkBit\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\builder-util-runtime\out\httpExecutor.js:82:26)
    at ClientRequest.emit (node:events:513:28)
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:49128)
    at SimpleURLLoaderWrapper.emit (node:events:513:28)
    at Object.newError (C:\Users\ZarkBit\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\builder-util-runtime\out\index.js:47:19)
    at fetchData (C:\Users\ZarkBit\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\electron-updater\out\providers\GitHubProvider.js:108:50)
    at async GitHubProvider.getLatestVersion (C:\Users\ZarkBit\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\electron-updater\out\providers\GitHubProvider.js:120:27)
    at async NsisUpdater.getUpdateInfoAndProvider (C:\Users\ZarkBit\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\electron-updater\out\AppUpdater.js:305:19)
    at async NsisUpdater.doCheckForUpdates (C:\Users\ZarkBit\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\electron-updater\out\AppUpdater.js:319:24)

OS: Windows NT 10.0.17763

Find a way to count trade time away from map time

We could:

  • have a setting to tell what your hideout name is
  • recognize going back to it from whatever map
  • start a timer
  • If a trade happens before you go back to your map, this whole time is counted separately

We can probably make something cool with interactive overlays, maybe.

Request failed with status code 503

Have been in POE for a few hours. Just switched from one location to another. Looks like a 503 is causing the app to error out. Might need to add a retry or timeout features for when servers return error messages.

Error:

Request failed with status code 503
    at settle (C:\Users\Geras\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\axios\dist\node\axios.cjs:1909:12)
    at IncomingMessage.handleStreamEnd (C:\Users\Geras\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\axios\dist\node\axios
[new.txt](https://github.com/Qt-dev/exile-diary/files/11402869/new.txt)
.cjs:2989:11)
    at IncomingMessage.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1358:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)

OS: Windows NT 10.0.22621

Build Stats page

Rebuild the stats page

  • Make it pull the same data as 0.3
  • Build page to display it properly

Modern Item Filters

Would it be possible to update the item filter parser to support the following item types:

-Eldritch Implicits (HasSearingExarchImplicit/HasEaterOfWorldsImplicit)
-Item Base Defence Percentile (BaseDefencePercentile)
-Ravaged Blight Maps (UberBlightedMap/Scourged)

I'm not sure if there are other item types, but these are the ones I found in the log file as errors when I attempted to upload a modern item filter (Filterblade Softcore Very Strict).

Error report for exile-diary 1.0.0-alpha.5

Error:

    at getRatesFor (C:\Users\ZarkBit\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\ItemPricer.js:65:25)
    at Object.<anonymous> (C:\Users\ZarkBit\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\ItemPricer.js:611:42)
    at step (C:\Users\ZarkBit\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\ItemPricer.js:33:23)
    at Object.next (C:\Users\ZarkBit\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\ItemPricer.js:14:53)
    at C:\Users\ZarkBit\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\ItemPricer.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (C:\Users\ZarkBit\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\ItemPricer.js:4:12)
    at Object.price (C:\Users\ZarkBit\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\ItemPricer.js:111:12)
    at C:\Users\ZarkBit\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\RunParser.js:697:61
    at step (C:\Users\ZarkBit\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\RunParser.js:33:23)

OS: Windows NT 10.0.17763

Error report for exile-diary 1.0.0-alpha.5

Error:

AxiosError: Request failed with status code 429
    at settle (C:\Users\Noctis\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\axios\dist\node\axios.cjs:1909:12)
    at IncomingMessage.handleStreamEnd (C:\Users\Noctis\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\axios\dist\node\axios.cjs:2989:11)
    at IncomingMessage.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1358:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)

OS: Windows NT 10.0.19045

Bug - Map Details Screen Blank

The first map I did after updating to the latest version (0.3.15) appears blank when I select it from the map run list to see the loot/details

image
image

Error code 500 on new install - Alpha 06

Error:

AxiosError: Request failed with status code 500
    at settle (C:\Users\Geras\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\axios\dist\node\axios.cjs:1909:12)
    at IncomingMessage.handleStreamEnd (C:\Users\Geras\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\axios\dist\node\axios.cjs:2989:11)
    at IncomingMessage.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1358:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)

OS: Windows NT 10.0.22621
new.txt

Enter new area for first time - error 429

Possible same as other errors - log attached.

Error:

    at settle (C:\Users\Geras\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\axios\dist\node\axios.cjs:1909:12)
    at IncomingMessage.handleStreamEnd (C:\Users\Geras\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\axios\dist\node\axios.cjs:2989:11)
    at IncomingMessage.emit (node:events:539:35)
    at endReadableNT (node:internal/streams/readable:1345:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)

OS: Windows NT 10.0.226
enterNewarea_429.txt

Error Message when Screenshotting Map Mods

I am receiving the following error message when I take a screenshot of my map mods:

image

I am not sure why it started happening, everything has been working fine up until recently.

Here is the excerpt from the log.txt that happens when I screenshot:

2023-01-14 22:42:39.092 [info] ScreenshotWatcher.js > Cropping new screenshot: D:\MJ\Documents\My Games\Path of Exile\Screenshots\screenshot-0000.png
2023-01-14 22:42:43.548 [info] ScreenshotWatcher.js > Deleting screenshot D:\MJ\Documents\My Games\Path of Exile\Screenshots\screenshot-0000.png
2023-01-14 22:42:45.668 [info] OCRWatcher.js > Performing OCR on C:\Users\MJ\AppData\Roaming\exile-diary.temp_capture\20230114224239.screenshot-0000.mods.png...
2023-01-14 22:42:45.670 [info] OCRWatcher.js > Performing OCR on C:\Users\MJ\AppData\Roaming\exile-diary.temp_capture\20230114224239.screenshot-0000.area.png...
2023-01-14 22:42:46.053 [error] OCRWatcher.js > Error in fetching OCR text
2023-01-14 22:42:46.054 [error] OCRWatcher.js > RuntimeError: Aborted(). Build with -sASSERTIONS for more info.
2023-01-14 22:42:46.054 [info] OCRWatcher.js > Completed OCR on C:\Users\MJ\AppData\Roaming\exile-diary.temp_capture\20230114224239.screenshot-0000.area.png, deleting
2023-01-14 22:43:01.219 [error] OCRWatcher.js > Error in fetching OCR text
2023-01-14 22:43:01.219 [error] OCRWatcher.js > RuntimeError: Aborted(). Build with -sASSERTIONS for more info.
2023-01-14 22:43:01.219 [info] OCRWatcher.js > Completed OCR on C:\Users\MJ\AppData\Roaming\exile-diary.temp_capture\20230114224239.screenshot-0000.mods.png, deleting

I have attached the entire log.txt from my client. Any help would be appreciated. Thanks.

log.txt

-24 error on mods detection

Error:

Error: Expected integer for height but received -24 of type number
    at Object.invalidParameterError (C:\Users\Noctis\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\sharp\lib\is.js:135:10)
    at Sharp.<anonymous> (C:\Users\Noctis\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\sharp\lib\resize.js:475:16)
    at Array.forEach (<anonymous>)
    at Sharp.extract (C:\Users\Noctis\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\sharp\lib\resize.js:470:38)
    at C:\Users\Noctis\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\ScreenshotWatcher.js:283:30
    at step (C:\Users\Noctis\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\ScreenshotWatcher.js:33:23)
    at Object.next (C:\Users\Noctis\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\ScreenshotWatcher.js:14:53)
    at fulfilled (C:\Users\Noctis\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\ScreenshotWatcher.js:5:58)

OS: Windows NT 10.0.19045

Error report for exile-diary 1.0.0-alpha.3

Error:

AxiosError: Request failed with status code 503
    at settle (C:\Users\<username>\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\axios\dist\node\axios.cjs:1909:12)
    at IncomingMessage.handleStreamEnd (C:\Users\<username>\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\node_modules\axios\dist\node\axios.cjs:2989:11)
    at IncomingMessage.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1358:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)

OS: Windows NT 10.0.19041

Count Simulacrum loot between waves

From Navek on Discord:

As there's a stash in Simulacrum between waves, no loot gets carried through a portal, thus Exile Diary doesn't track the money made per Simulacrum.
It might be possible to snapshot the before and after of the tracked stash tabs and compare those.

add "Memories"

From what i've seen in the code memories are not supported, i did modify a little on my repo so they are recognized but they arent priced yet, category is added on ItemCategoryParser.js

Error report for exile-diary 1.0.0-alpha.8

Error:

TypeError: Cannot read properties of undefined (reading 'forEach')
    at InventoryGetter.getInventory (C:\Users\Noctis\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\InventoryGetter.js:195:19)
    at InventoryGetter.<anonymous> (C:\Users\Noctis\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\InventoryGetter.js:165:42)
    at step (C:\Users\Noctis\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\InventoryGetter.js:48:23)
    at Object.next (C:\Users\Noctis\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\InventoryGetter.js:29:53)
    at fulfilled (C:\Users\Noctis\AppData\Local\Programs\Exile Diary Reborn\resources\app.asar\build\main\modules\InventoryGetter.js:20:58)

OS: Windows NT 10.0.19045

Error on clean install - Alpha 5

Log file attached.

Error:

Error: ENOENT: no such file or directory, stat 'C:\Users\Geras\AppData\Roaming\exile-diary\settings.json'

OS: Windows NT 10.0.22621
new.txt

Build Stash page

Rebuild stash page

  • Plug the new Auth route where the previous stash checks were plugged
  • Build the page to display stashes
  • Build a settings page to select which stash to look at
  • Make the Rate Limiter lower the priority of stash checks in general

Build new Overlay

I want to build a proper overlay that can stay around a bit longer, display proper data and possibly add more interaction

  • Build new Overlay markup using MUI/React
  • Add a side button to hide overlay
  • Make the overlay display on game launch and clear up on game closed
  • Make the overlay attach to the game if it is already launched
  • Make the overlay display the latest message from the LogBox
  • Look into making the overlay display a timer + ongoing info from the start of the map

Move API Calls to Oauth

Now that we can leverage oauth, we need to use the proper endpoints.
To do so we need to :

  • Move all the API calls into the same place
  • Replace the API endpoints with the oauth ones
  • Add rate limiter to the API calls to handle failure properly
  • Add overall app check for unusable API token
  • Build Login page
  • Add Login flow (= When user not logged in, push to the login page)
  • Make the app warn the user when a token is getting retired in less than 2 days
  • Remove all the poesessid stuff everywhere

Add stats for Expedition

Not sure what we can see in there, but there should be:

  • How many times you found expeditions in the stats tab
  • Stats reading from running a logbook
  • Maybe some stats from Expedition Currency?

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.