Open TS-Yaloshi opened 1 year ago
This issue also happens to me
yes, happened similar on mine too.
@TS-Yaloshi can you give me a screenshot?
A screenshot of what exactly? I posted one of the program in debug mode. The error is similar to Gopal-Kshetri's screenshot.
From what I have deduced so far is, battleye causes the screenshots of the game to be black after 2 minutes or so of logging in. Due to this we get the above error of return None. The screenshot taken are black.
Have you considered this issue and tackled in your code? @lucasmonstrox
If the problem is related to BattleEye you should create a projection of the window using OBS Studio. Although I'm not sure if the latest version of OBS will work. Probably version 24~26 are better.
yeah, I tried that but the pytibia project doesn't detect anything other than the game window hence unable to give the obs projection as an input to the project.
Well, after looking into the code it needs some refactoring to be able to grab screen from OBS and inject input into Tibia window. Currently Lucas is doing all the tasks in his own OT, that's why it's not ready for use with OBS.
Describe the bug
The positions are None, which results in a TypeError None. The screenshot is all zero.
To Reproduce Select Tibia window in the app. Click on Play.
Expected behavior It detects the tabs correctly.