Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Positions are None #83

Open
TS-Yaloshi opened this issue Jul 26, 2023 · 8 comments
Open

[BUG] - Positions are None #83

TS-Yaloshi opened this issue Jul 26, 2023 · 8 comments
Labels
bug Something isn't working

Comments

@TS-Yaloshi
Copy link

TS-Yaloshi commented Jul 26, 2023

Describe the bug
image

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.

@TS-Yaloshi TS-Yaloshi added the bug Something isn't working label Jul 26, 2023
@kaybenot
Copy link

kaybenot commented Aug 6, 2023

This issue also happens to me

@Gopal-Kshetri
Copy link

yes, happened similar on mine too.
image

@lucasmonstrox
Copy link
Owner

@TS-Yaloshi can you give me a screenshot?

@TS-Yaloshi
Copy link
Author

A screenshot of what exactly? I posted one of the program in debug mode. The error is similar to Gopal-Kshetri's screenshot.

@Gopal-Kshetri
Copy link

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

@thiagoretes
Copy link

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.

@Gopal-Kshetri
Copy link

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.

@thiagoretes
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants