GenshinDiscordRpc icon indicating copy to clipboard operation
GenshinDiscordRpc copied to clipboard

[Feature request] Add Player Level and Player Character

Open ScarVite opened this issue 4 years ago • 10 comments

You could implement this using the small image and for hover text the level Every Char could have a Different Image, which represents the character, just as FF XIV is doing it

ScarVite avatar Oct 03 '20 13:10 ScarVite

No, we can not access game process memory. This is an external tool.

Kxnrl avatar Oct 03 '20 13:10 Kxnrl

Is there no way to access the player data? where are you getting the world infos from then?

ScarVite avatar Oct 03 '20 14:10 ScarVite

Is there no way to access the player data? where are you getting the world infos from then?

It's static

ThePotato97 avatar Oct 03 '20 14:10 ThePotato97

This is definitely achievable by reading memory (if the developers are willing to, of course), The thing I'm more interested in is that will reading memory alone trigger the game's anti cheat? Heard this game's got a pretty good anti-cheat but I'm not sure how strict its behaviours are

howyay avatar Oct 05 '20 17:10 howyay

This is definitely achievable by reading memory (if the developers are willing to, of course), The thing I'm more interested in is that will reading memory alone trigger the game's anti cheat? Heard this game's got a pretty good anti-cheat but I'm not sure how strict its behaviours are

ofc, I am sure it will trigger ban by anti-cheat, the mihoyo anticheat from tencent protect.

Kxnrl avatar Oct 05 '20 17:10 Kxnrl

Well that's harsh, I wasn't very familiar with their anti-chat, but I also just looked up some reverse and cheating discussion, apparently this whole thing is harder than I imagined.

Perhaps this isn't that doable after all. Hope someday someone could share their ideas on reversing or bypass so it can help us all. We await a saviour.

howyay avatar Oct 05 '20 19:10 howyay

I can bypass that. but I can not promise never get ban.

Kxnrl avatar Oct 05 '20 19:10 Kxnrl

u r the saviour

howyay avatar Oct 05 '20 19:10 howyay

Hello, so around one or two weeks ago I have been using this project and I really loved It. I also got my time to read through this issue before, and it's just today for me to be able to probably contribute something to help to solve this problem ~~because I had to grind until AR 40.~~

I have an idea to scrape informations that is visible on the HUD, therefore I'm using OpenCV, Tesseract, and pywin32 to capture and process the screen information, and currently I'm using python because I'm familiar to it. The python back end should be able to be replaced with C#, because C# is the closest you can get to the Windows API to manipulate windows, and Tesseract is basically a Windows binary which is universally callable through command prompt.

I have uploaded the project, at least on the state of proof of concept in the genshingrab repository. The code is still messy and not optimized, but It works without too much problem in my machine. I hope this helps the development of this project!

Edit: My code probably still able to get player level without guessing only by cropping to the part where the screen shows the level player.

maufirf avatar Oct 21 '20 18:10 maufirf

Looking forward to see if this gets implemented in the next version!

saieeshb avatar May 20 '21 06:05 saieeshb