Giter VIP home page Giter VIP logo

poestack-sage's Introduction

poestack-sage's People

Contributors

ambaumann avatar avidreder avatar c3ntrax avatar julianheckmann avatar zach-herridge 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

Watchers

 avatar  avatar  avatar

poestack-sage's Issues

Build TFT bulk post image generator

I've setup the base project https://github.com/PoeStack/poestack-sage/tree/main/src/tactics-image-gen it generates this test image currently https://github.com/PoeStack/poestack-sage/blob/main/src/tactics-image-gen/test.png

We want to build a jar that takes an input similar to this https://github.com/PoeStack/poestack-sage/blob/main/src/tactics-image-gen/example_input.txt and generate a nice looking bulk image for posting to TFT.

Things we would want to include

  • Image of each item
  • Ign/Poestack name of the person making the listing
  • Total value/% of the listing
  • Time of the generation of the listing
  • A signature string for verification (small JWT signed by the server)

All of this should be in the assumed to come from the input file, this is just an image generator it will have no connection to anything besides the input file

Gilded scarab compass listed by Poestack bot differently than searched for, causing them to not show up on search.

Describe the bug
Poestack lists the gilded sextant as "Possesed Gilded Scarab", like shown on the first picture down below. However when you try to buy them using the Poestack tool, you can only search "Gilded Scarab", which results in the Compass not showing up, unless someone manually typed in their compasses. Same goes for the other varaeties of the compass. I figure that the miss match between the search query on the side "Gilded Scarab", and the listing query "Possesd Gilded Scarab" causes the issue.

To Reproduce
Steps to reproduce the behavior:

  1. Look on TFT in bulk compass channels for Possesed gilded scarabs compass.
  2. Go to Poestack and search for gilded compass
  3. Look at results and see that no/very few trades with Gilded compasses show up

Expected behavior
Searching for "Gilded Scarab" should show the listed Possesed Gilded Scarab compasses from TFT's bulk compass channel.

Screenshots
Example of a seller on TFT discord:
image
Search on Poestack:
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: 120.0.6099.130

Site is extremely laggy on firefox

Describe the bug
The site is basically un-usable on firefox

To Reproduce
Steps to reproduce the behavior:

  1. Open it on firefox

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Firefox
  • Version all of them

all scarabs not work correctly

Describe the bug
i try search [Gilded Scarab], but dont show result correctly, when start page, show all result for 1-2 second, then all result hide, and some times show only 2 result [after hiding all result]
//---
and i test it now, this bug is for all scarabs [Rusted Scarab] [Polished Scarab] [Gilded Scarab] [Winged Scarab]
//---
so this bug make me, buy [Gilded Scarab] from tft>compass-channel directly.

To Reproduce
...

Expected behavior
...

Screenshots
image
image
image

Desktop (please complete the following information):

  • OS: windows 10
  • Browser Google Chrome
  • Version 120.0.6099.200 (Official Build) (64-bit)

Additional context
...

Setup build checks on PR

There is already a GHA that runs on push to main that builds everything and publishes plugins, use this as a base to setup a GHA to run on PR so we can know if a PR will build without errors before merging it.

Create a plugin management plugin

We need a plugin that lets people:

  • View a list of current plugins
  • Enabled/disable plugins
  • View a list of available plugins to install
  • Install/uninstall plugins

Create a common status line in the footer

Add a service that plugins/common lib can publish status events to using RXJS.
Add a display in the footer (similar to what most ides have)
Make it so when you click on the status it shows the last few events in a small popup

"Total Div Value" is calculated wrong with a "Min Total Value" set and "Reduce Stacks" enabled

Describe the bug
If you toggle "Reduce Stacks" and use "Min Total Value" the "Total Div Value" could be calculated incorrectly.
Example items with which the bug appear frequently:
chaos orbs, sextants, stacked decks, ...

Basically if you use the Reduced Stacks option, you see like 2div worth of chaos.
if you say your "Min Total Value" is like 215c, then all those chaos orbs and sextants won't be counted into the total.
Since the tool just looks at each and every stack itself and not the "Reduced Stacks".

To Reproduce
Setup steps to do:

  1. open a simple/quad stash tab
  2. put in like 12 or more 20 chaos stacks in it

Steps to reproduce the behavior:

  1. Go to https://poestack.com/poe/stash-view?league=Affliction
  2. Click/Select the stash with the chaos in it
  3. Select the "Reduce Stacks" toggle
  4. Set a "Min Total Value" of 20
  5. ERROR: you see a "Total Div Value" of 0

Expected behavior
The chaos orbs should be counted into the "Total Div Value" when you enable the "Reduce Stacks" if they all together are in reach of the "Min Total Value"

Screenshots
19
20

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Google Chrome
  • Version Version 120.0.6099.200 (Official Build) (64-bit)

Additional context
I wrote a simple JS that grabbed the "Total Value" for each thing and added them up.
After a 20 map session the difference when you selected a min-value of 215 was ~50div
Because all the sextants, chaos, stacked decks and voidborn reliquary keys where not counted into it.

Also PuzzleBoxes are not getting fetched atm, would be nice if they where.

Unique relics supports

We need to support unique relics, because they are in the basegame now and quite valuable. They should be handled like invitations, because they are consumable and not stackable.

Setup logging framework.

We need to add a logging library where each plugin can easily log information.

  • Output needs to be filterable per plugin
  • Needs levels
  • Preferably it's easy for plugins to get an instance of the logger
  • Logs go to file in the sage dir

Add windows 10/11 header

The current header is more like mac.
We need some header for windows environment.

This panel may be expandable with plugins

Example in used in exilence next.

  • A title makes sense (left)
  • Support panel (Right) - Expandable with plugins -> Expandable subsection with registerRoute to define
  • minimize (Right)
  • maximize (Right)
  • close (Right)
    image

image

image

For the current league's Stash view, the valuation seems to hit a wall near or at 175c. When a stash tab's value exceeds that imaginary point, the valuation drops to single digit chaos.

Describe the bug
For the current league's Stash view (https://poestack.com/poe/stash-view?league=Affliction), the valuation seems to hit a wall near or at 175c. Perhaps not coincidentally, this is also the Div to Chaos exchange rate at the moment.

When a stash tab's value exceeds that imaginary point, the valuation drops to 1.xxx chaos in my case.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://poestack.com/poe/stash-view?league=Affliction
  2. Load a stash tab with below 175c in value (say 100c to be safe)
  3. Observe that the valuation is correctly graphed.
  4. Add more value to that stash tab so that it well exceeds 175c in value (say 300c to be safe)
  5. Observe that the graphed valuation goes down to single digits + decimals.

Expected behavior
Expected behavior is that valuations would be graphed correctly.

Screenshots
[If applicable, add screenshots to help explain your problem.]https://media.discordapp.net/attachments/851598524298952745/1185784344325935237/image.png?ex=6590deba&is=657e69ba&hm=5dfcc03956a256aae9dc43f7c358d34a593d64501bd57d1e3cc97e5175c24cb8&=&format=webp&quality=lossless&width=884&height=480

Desktop (please complete the following information):

  • Win 10
  • Chrome
  • Version 120.0.6099.72

Error while going through Development Getting Started "error while loading shared libraries: libatk-1.0.so.0"

Note: I'm using Ubuntu on WSL2, OS is Windows 10.

I was following the steps described here https://poestack.github.io/poestack-sage/development-getting-started.html#project-setup.

No issues until the npm run start step. Got this error when running that command: electron: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory.

I fixed the issue by running sudo apt install libnss3-dev libgdk-pixbuf2.0-dev libgtk-3-dev libxss-dev. Just wanted to call this out, maybe worth adding to the guide.

Afterwards when running npm run start, the electron app loads but I see these error messages:

start electron app...

[11910:0406/134947.845597:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[11910:0406/134947.845684:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[11910:0406/134947.845753:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[11910:0406/134947.845801:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[11910:0406/134948.049665:ERROR:connection.cc(579)] Cannot send request of length 56337872
[11910:0406/134948.060228:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[11910:0406/134948.078761:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: unknown error type:

Edit: The electron app doesn't seem to work. When I click the action.syncAuth button, I get the error at the bottom. Attaching screenshot:
Capture

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.