Giter VIP home page Giter VIP logo

menagerie's Introduction

Menagerie

logo A Path of Exile trade manager to simplify and speed up your trading experience, and much more!

Version 2 now out! See the release for more informations

Version 2.0.0 and 2.0.1 had an issue with the auto-update, make sure to upgrade manually to the latest version to fix that.

Requirements ⚙️

Usage 🕹️

  • Go to the Releases page
  • Download and execute Setup.exe to install Menagerie
  • Future updates will be automatically downloaded and installed by the app itself.

Discord 💬

Features 📝

  • Handles incoming trade offers workflow (From the moment someone whisper you until the trade is completed)
  • Handles outgoing trade offers workflow (From the moment you whisper someone until the trade is completed)
    • Supports multiple languages
      • English
      • Korean
      • Russian
      • German
      • French
  • Display offers in a simple and convenient way
    • Multiple hotkeys/shortcuts for the most used actions (e.g. Inviting a player to your party, sending a trade request in game, whisper, etc.)
    • Auto-whisper (e.g. Say "Thanks" once a trade is completed)
    • Auto-kick (e.g. Remove the buyer from your party when the trade is completed)
    • Player detection (e.g. the buyer has join your area)
  • Configurable whispers with internal variables (e.g. item name, player name, price, current location, etc.)
  • Statistics of your trades made in the app, such as amount of trades and amount of currency per date and currency distrubution
  • Chaos Recipe overlay / helper
  • Death replays / Replays
  • Price verification to avoid scam and outdated whispers
  • Message translator
  • Chat scanning
  • Bulk trade helper

Table of contents 📜

Thanks to 👏

menagerie's People

Contributors

nomis51 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

menagerie's Issues

Potential memory leak after long period of time

Describe the bug
After letting the game run for couple hours with the app opened, the RAM usage was up to 6GB

Expected behavior
No memory leak.

Screenshots
If applicable, add screenshots to help explain your problem.

Technical informations:

  • Screen resolution: N/A
  • OS: WIn 10/11
  • Application version : 2.1.2
  • Provide any log files located in Documents/My Games/Menagerie/logs

Feature Request: Add a "location" variable in the whispers

Would be nice to have access to our current approximative location, so we can add that location to our "I'm busy" whisper, that we can send to players while we are busy.

Let's say we are doing the Uber lab and someone whispers one to buy something. We would able to send a message that looks like : I'm busy right now in Lab, I'll send a whisper when i'm ready.
And the whisper template looks like this : I'm busy right now in {location}, I'll send a whisper when i'm ready .

So the player could know approximatively if you're gonna be ready soon or not, depending your location, with zero aditional work.

1366 x 768 Resolution - Icons in the wrong place

My native resolution on my laptop is 1366 x 768 and the icons end up being in the wrong place. There doesn't seem to be an option to move the icons around either, unless I'm missing something.

Menagerie bug

literally can't get this to work

I have tried to use this since you first released it, put in my poessid and changed the leagues. Deleted the old versions and still nothing.
Is there a setup step I am missing?

Chaos Recipe doesn't always update properly

The chaos recipe overlat has a 1 minute (defualt value) refresh rate, but it also wait for an area changed event before doing so, to make sure the stash API has been updated since last fetch.

Seems llike it doesn't update properly sometime. I need to investigate if it's the timer or area change that is not registered properly. (Maybe GGG changed that event in the log file, like they did for a couple things since they removed the 32 bits client)

Sum up all currency types and calculate the chaos and exalted value of the trade window

One thing I hate when trading is to always have poe.ninja and a calculator opened in case I need to convert let's say exalted value to chaos value or deal with buyers who don't put full stacks of currency in the trade window. This is the general idea : Reddit post.
Another interesting use case, would be to verify item links, like ensure it's a 6L and not a 5L / 6S to prevent scams.

I don't know yet if it's going to be a feature in the app, but i'm looking at it, because 1) it's fun to try and learn new stuff :) 2) it's a feature that should be in the game already so, it would be nice to have it.

Possible solutions I was thinking about 3 possible solutions : ### AI #### Pros : (When trained properly) - Very accurate - Fast - Not intrusive (AI just look at the screen without in inputs, like human does)

Cons :

  • It's a lot of work just to make it work (And it's not even good)
  • Even if accurate enough, it's never going to be 100% accuracy

Image Recognition / Text recognition :

Pros :

  • Fast
  • Doesn't need a lot of work (except if training for OCR)
  • Easy to use
  • Accurate (in most situations)
  • Not intrusive (Match algorithm just look at a picture of the screen, no inputs involved)

Cons :

  • Not accurate enough in some situations (e.g. very detailed matching)
  • Can be heavy on CPU if multiple match needs to be done
  • Even if accurate enough, it's never going to be 100% accuracy

Automated in-game Ctrl + C :

Pros :

  • Easy to use
  • Very accurate
  • Rely on real data, not inffered data with a % chance of being wrong

Cons :

  • Need to grab mouse and keyboard to move the mouse over each items and perform a Ctrl + C on it (Player can't interact with the game while it's being done)
  • Very slow compared to other solutions (not extremely slow, just a second or two vs couple milliseconds both other solutions)

So far, I've tried all three solution :

  1. Quite accurate in most tests, but need more training, and there's a lot of code.

Edit: After training different setup of CNNs, I think I got something pretty good. Models are now able to predict with very good accuracy.

AI able to find the right currency type (e.g. it's a chaos orb on the image) ~98% of the time (Got difficulties with "empty")
and to find the right currency stack size (e.g. it's a stack of 10 currency on the image) ~99% of the time (Again difficulties with "empty")
and to find the right amount of links on an item near 100% of the time.

It's going well so far!

  1. Very accurate to read currency type (e.g. it's a chaos orb), but not really when trying to read the stack size (e.g. 3 chaos). Very easy solution, but not accurate enough for now.

  2. Very accurate and it actually work pretty well! But, it grabs player's mouse and keyboard...
    Here is a showcase of the solution, using poe.ninja prices to convert to chaos :
    image

Enhancement: Keep the previous app version configuration

Currently when the app update itself, it doesn't keep the configuration (it's not deleted, it just not transfered to the new version), mainly because the app structure and especially the internal configuration structure was changing in about every version, which could've caused several unexpected issues, because the configuration of the old and the new app, are not compatible.

With that said, now the app structure has been pretty stable in the last couple versions, so it would be nice to keep the configuration after an update.

Note, users that want to keep their configuration after an update (while i'm fixing this), can navigate to
C:\Users\<their name here>\AppData\Local\Menagerie
and they'll see all the app versions there.
After that, let's say, the app has been updated from version 1.2.10 to 1.2.11, the user can navigate to the app-1.2.10 folder, which the old version, copy the file named Menagerie.db and paste it the new app version folder, which is app-1.2.11 in this example, then restart the app, if it was running. If any problems occur, this might be because the config is not fully compatible, so go back to the app-1.2.11 folder and delete the Menagerie.db file.

Splash screen not hiding properly on the first app launch

Happen with a fresh installation aswell as an updated version. But, it only happens on the first launch when no settings have been set yet by the user. If I edit the setttings and restart the app, it's fine.

Also, the app can freeze/crash having saving the settings, but they're properly saved after a restart.

[Bulk trade] Currency I have vs currency I want are swapped in the whisper

Describe the bug
Currency I have vs currency I want are swapped

To Reproduce
Steps to reproduce the behavior:

  1. Item I have : chaos orb
  2. Item I want : exalted orb
  3. Press search
  4. Press send whisper

Expected behavior
It should send a whisper saying I want exalted orbs in exchance of chaos orbs,

but instead the whisper is saying I want chaos orbs in exchange of exalted orbs (Basically the opposite)

Original text

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Dropdown menu left corner'
  2. Click on 'search trading tool'
  3. Scroll down to '....'
  4. See error

Expected behavior
When you choose "item i have - item i want" its orks the other way around
i.e. you need to swap
example
item i have - exalted orb
item i want - chaos orb
when you press search - work great but when you press arrow - talk to dude, tool write "hi i want buy Exalted orb for my chaos"

if you want to work tool correct you need change way
example
item i have - chaos orb
item i want - exalted orb
and now its work good - example - "Hi i want buy your chaos orb for my exalted orb"

Screenshots
If applicable, add screenshots to help explain your problem.

Technical informations:

  • Screen resolution: [e.g. 1920x1080]
  • OS: [e.g. Windows 10]
  • Application version [e.g. 2.1.3 (build 56)]
  • Provide any log files located in Documents/My Games/Menagerie/logs

Additional context
Add any other context about the problem here.

Duplicate Notifications

Notifications are doubled if POE is closed and reopened without also restarting Menagerie.

App is not interaction with client

Hello

I have tried to use the App however I am getting no interaction with PoE.
Following info for you:

  • game is run from Steam - install located in D:\ (custom path to what is normaly set by steam)
  • game is run in Fullscreen Windowed Mode
  • number of other apps working perfectly fine with it: Awakened PoE Trade, LabCompass, Chaos Recipe Enhancer
  • looking at the log file I am getting following error:

2021-02-24 02:01:29,609 [11] TRACE Menagerie.Core.Services.PoeWindowService - Unable to find any known PoE processes
2021-02-24 02:01:29,609 [11] TRACE Menagerie.Core.Services.PoeWindowService - Waiting 5 seconds before retry
2021-02-24 02:01:29,735 [1] TRACE Menagerie.Views.ConfigWindow - Save button clicked
2021-02-24 02:01:29,735 [1] TRACE Menagerie.ViewModels.ConfigViewModel - Saving config
2021-02-24 02:01:29,736 [1] TRACE Menagerie.Core.Services.AppDataService - Reading db documents for Menagerie.Core.Models.Config
2021-02-24 02:01:29,736 [1] TRACE Menagerie.Core.Services.AppDataService - Updating db document for Menagerie.Core.Models.Config
2021-02-24 02:01:29,746 [1] TRACE Menagerie.Core.Services.AppDataService - Reading db documents for Menagerie.Core.Models.Config
2021-02-24 02:01:29,747 [1] TRACE Menagerie.Core.Services.AppDataService - Reading db documents for Menagerie.Core.Models.Config
2021-02-24 02:01:29,747 [1] TRACE Menagerie.Core.Services.HttpService - Serializing body content for Menagerie.Core.Models.TradeRequest
2021-02-24 02:01:29,994 [1] TRACE Menagerie.Core.Services.HttpService - Reading response OK OK
2021-02-24 02:01:29,996 [1] TRACE Menagerie.Core.Services.AppDataService - Reading db documents for Menagerie.Core.Models.Config
2021-02-24 02:01:30,000 [11] TRACE Menagerie.Core.Services.ClipboardService - Getting clipboard value
2021-02-24 02:01:30,007 [1] TRACE Menagerie.ViewModels.OverlayViewModel - Deleting config window
2021-02-24 02:01:30,513 [16] TRACE Menagerie.Core.Services.ClipboardService - Getting clipboard value
2021-02-24 02:01:31,019 [38] TRACE Menagerie.Core.Services.ClipboardService - Getting clipboard value
2021-02-24 02:01:31,541 [15] TRACE Menagerie.Core.Services.ClipboardService - Getting clipboard value
2021-02-24 02:01:32,045 [16] TRACE Menagerie.Core.Services.ClipboardService - Getting clipboard value
2021-02-24 02:01:32,551 [38] TRACE Menagerie.Core.Services.ClipboardService - Getting clipboard value
2021-02-24 02:01:33,058 [16] TRACE Menagerie.Core.Services.ClipboardService - Getting clipboard value
2021-02-24 02:01:33,569 [11] TRACE Menagerie.Core.Services.ClipboardService - Getting clipboard value
2021-02-24 02:01:34,082 [4] TRACE Menagerie.Core.Services.ClipboardService - Getting clipboard value
2021-02-24 02:01:34,602 [38] TRACE Menagerie.Core.Services.ClipboardService - Getting clipboard value
2021-02-24 02:01:34,617 [16] TRACE Menagerie.Core.Services.PoeWindowService - Verify client file exists
2021-02-24 02:01:34,620 [16] TRACE Menagerie.Core.Services.PoeWindowService - Unable to find any known PoE processes
2021-02-24 02:01:34,620 [16] TRACE Menagerie.Core.Services.PoeWindowService - Waiting 5 seconds before retry

Please see attached log files for more detail.

Process when PoE is running:
image

Any more questions - please let me know.
Would love to comment on the app but can't get it to work for now ha ha. Nice settings window !!

Menagerie_2021-02-24.log

Crash when trying to find the location of Client.txt

If PoE is open and i start Menagerie it crashes. When PoE is still closed i can open menagerie and i can change settings etc. As soon as i Start PoE it crashes again.

In Log File i found this:
Trying to get 64bits location
Failed trying to get 64bits location

not sure why and what i can do.

Pls help, id really like to use this app

Feature: Chat translation

You set your langage in the settings, for example English.
(Note I use English here, but the goal is to be able to translate any langage to any langage).
Then, in-game, if you encounter some peoples that doesn't speak English in the chat (e.g. whisper, party, trade, etc.), you can click the "Translate" button and the chat content is going to be translated to English, if possible, and as accurately as possible.

It happens really often to me that after the initial "trade whisper", I need to talk to the other player, and there's then a langage issue. Considering that we can't select text in chat, it's makes this very tedious.

So goal here, is to have a quick and easy way to translate any input/output message (Yes also, automatically translate the message you send to the appropriate langage) in the chat automatically when needed, instead of having to open the web browser, open Google Translate, copy/paste text here and there, and even open the Client.txt log file of PoE to be able to copy other players messages to be able to translate it in Google Translate.

Incoming/Outgoing whispers considered as Trade Chat message

The following whispers are not considered properly by the log parser.

@from dogmatixx: Hi, I would like to buy your The Dream Trial listed for 1 chaos in Expedition (stash tab "$"; position: left 12, top 7)
@from yitoex: Hi, I would like to buy your The Patient listed for 12 chaos in Expedition (stash tab "$"; position: left 5, top 1)
@from AvatarButWithBows: Hi, I would like to buy your The Patient listed for 12 chaos in Expedition (stash tab "$"; position: left 5, top 1)

Thanks @tartarus for finding that bug!

Not recognzing running instance of PoE when using Steam

I'm using the steam client.

The log is just filled with the following text over and over:

2021-07-31 13:12:57.007 +10:00 [INF] Unable to find any known PoE processes
2021-07-31 13:12:57.007 +10:00 [INF] Waiting 5 seconds before retry
2021-07-31 13:12:57.068 +10:00 [INF] Getting clipboard value
2021-07-31 13:12:57.569 +10:00 [INF] Getting clipboard value
2021-07-31 13:12:58.070 +10:00 [INF] Getting clipboard value
2021-07-31 13:12:58.571 +10:00 [INF] Getting clipboard value
2021-07-31 13:12:59.071 +10:00 [INF] Getting clipboard value
2021-07-31 13:12:59.572 +10:00 [INF] Getting clipboard value
2021-07-31 13:13:00.072 +10:00 [INF] Getting clipboard value
2021-07-31 13:13:00.573 +10:00 [INF] Getting clipboard value
2021-07-31 13:13:01.073 +10:00 [INF] Getting clipboard value
2021-07-31 13:13:01.574 +10:00 [INF] Getting clipboard value
2021-07-31 13:13:02.009 +10:00 [INF] Verify client file exists
2021-07-31 13:13:02.011 +10:00 [INF] Verify client file exists
2021-07-31 13:13:02.011 +10:00 [INF] Unable to find any known PoE processes
2021-07-31 13:13:02.011 +10:00 [INF] Waiting 5 seconds before retry
2021-07-31 13:13:02.084 +10:00 [INF] Getting clipboard value
2021-07-31 13:13:02.584 +10:00 [INF] Getting clipboard value
2021-07-31 13:13:03.096 +10:00 [INF] Getting clipboard value
2021-07-31 13:13:03.601 +10:00 [INF] Getting clipboard value
2021-07-31 13:13:04.114 +10:00 [INF] Getting clipboard value
2021-07-31 13:13:04.614 +10:00 [INF] Getting clipboard value
2021-07-31 13:13:05.113 +10:00 [INF] Getting clipboard value
2021-07-31 13:13:05.628 +10:00 [INF] Getting clipboard value
2021-07-31 13:13:06.128 +10:00 [INF] Getting clipboard value
2021-07-31 13:13:06.629 +10:00 [INF] Getting clipboard value
2021-07-31 13:13:07.020 +10:00 [INF] Verify client file exists
2021-07-31 13:13:07.022 +10:00 [INF] Verify client file exists
2021-07-31 13:13:07.022 +10:00 [INF] Unable to find any known PoE processes

I started Menagerie after starting poe and have tried restarting it.

The overlay shows up, but incoming and outgoing whispers do not work.

Click for trade instead pastes clipboard in say

Describe the bug
For an incoming trade first click invites the person in party and says ready for pickup and when you are in the same instance the second click instead of trading the other person it just pastes whatever is copied to clipboard in chat.

To Reproduce
Steps to reproduce the behavior:

  1. Copy some random text to clipboard
  2. Incoming trade first click
  3. Wait for person to be in your ho
  4. Second click
  5. See yourself saying in chat whatever you have copied before to clipboard.

Expected behavior
To trade the other person

Screenshots
Screenshot 1
Screenshot 2

Technical informations:

  • Screen resolution: 1920x1080
  • OS: Windows 11
  • Application version 2.1.4 (build 0)
  • Provide any log files located in Documents/My Games/Menagerie/logs
2023-04-14 19:47:46.356 +03:00 [INF] Image poeLogo doesn't exists, downloading it from https://web.poecdn.com/protected/image/trade/layout/logo.png?key=aifr8Q9qj0FYhhu8_rrfhw...
2023-04-14 19:51:25.201 +03:00 [INF] Disposing processes...
2023-04-14 19:51:30.604 +03:00 [INF] Initializing data services...
2023-04-14 19:51:30.615 +03:00 [INF] Unexpected process cleaned PID 33756 C:\Users\bielz\AppData\Local\Menagerie\app-2.1.4\tools\ffmpeg\menagerie-ffmpeg.exe
2023-04-14 19:51:30.620 +03:00 [INF] Unexpected process cleaned PID 24504 C:\Users\bielz\AppData\Local\Menagerie\Menagerie.exe
2023-04-14 19:51:30.705 +03:00 [INF] Starting data services...
2023-04-14 19:51:30.705 +03:00 [WRN] Application starting Application Version: 2.1.4 ca8e0e63-40b7-477b-80c2-0999ffa1e0f7
2023-04-14 19:51:30.725 +03:00 [INF] Trying to get 64bits location
2023-04-14 19:51:30.725 +03:00 [INF] PoE location C:\Games\Path of Exile\PathOfExile.exe
2023-04-14 19:51:30.726 +03:00 [INF] 64bits Client file location: C:\Games\Path of Exile\logs\Client.txt
2023-04-14 19:51:31.505 +03:00 [INF] Loading item categories images...

Additional context
Add any other context about the problem here.

Mention Poe Lurker

I would like that Poe Lurker & Winook would be mention somewhere since this is a complete rip off.

Make Menagerie cross-platform

Based on the upgrades made in #22 , make Menagerie able to run on other platforms.
Currently it only runs on Windows mainly because it's using several Windows-only libraries and Windows-only "technical actions" that prevent it from running on anything else, but Windows.

I'm currently replacing Windows-only libraries with cross-platform ones and/or simply implementing my own .NET 5 version of them, if required.

[Feature Request] Background Chat Scanner and Whisper Option

Let me start by saying I just started using this tool and its been great so so far. A great enhancement for it would be to have the chat scanner work in the background. Currently it seems to only work while POE is active.

Additionally, it would be great for the chat scanner notification to have a whisper button, so you can quickly whisper the person who posted the chat you were scanning for.

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.