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

Multiple #29

Closed
E7t7t7 opened this issue Aug 16, 2023 · 10 comments
Closed

Multiple #29

E7t7t7 opened this issue Aug 16, 2023 · 10 comments

Comments

@E7t7t7
Copy link

E7t7t7 commented Aug 16, 2023

Instructions were followed exactly and yet the mana issue still happens randomly.

second after a game ends the bot will randomly not understand that it has ended and get stuck in the screen with the play button visible but not continue

Mojo added on discord - pengy

@MOj0
Copy link
Owner

MOj0 commented Aug 16, 2023

Hmm, are you sure you setup everything? It works for me with this setup:

  • Game running full-screen at 1920x1080 resolution
  • At least medium quality,
  • Windows display scaling set to 100%
  • In-game third party endpoints enabled on port 21337 (should be on by default)

If it still does not work take a look at some of the previous issues, this for example.

Now the second problem where it gets stuck on the menu is quite strange, since it does not use any screen recognition there. Can you add some print statements to display the state of the StateMachine and send it here?

@E7t7t7
Copy link
Author

E7t7t7 commented Aug 16, 2023

i changed my monitor resolution to 1920x1080 and put it to full screen on ulti detail scaling is 100 and yes the end points are the same.

i followed that thread and nothing work hence me putting my resolution of my monitor to 1920x1080 to avoid any issues

also how do you do the print statements

@E7t7t7
Copy link
Author

E7t7t7 commented Aug 16, 2023

@E7t7t7
Copy link
Author

E7t7t7 commented Aug 16, 2023

https://gyazo.com/d02cafb028dc943e95bbf45f71b58ca4

when bot is running i have that full screen button on but i turned off for screenshot

https://gyazo.com/f8fc9fcc14d39ae198cfd4039509937a

@MOj0
Copy link
Owner

MOj0 commented Aug 16, 2023

The problem is your game is not running fullscreen. That would explain the unknown mana. In the issue I've linked, the guy had the same problem and he solved it by setting the window to borderless. Perhaps that could work here as well.
Also for screenshots you can simply paste them into Github and it will upload them.
Also also, you can print something to the console by writing print in Python. If you search for print in the code you will see many examples :)

@E7t7t7
Copy link
Author

E7t7t7 commented Aug 16, 2023

the game is fullscreen when the bot is running. i only turned fullscreen off when i took the screenshots to show you my settings

@E7t7t7
Copy link
Author

E7t7t7 commented Aug 16, 2023

should i have it borderless even if it is fullscreened anyway? seems redundant

@MOj0
Copy link
Owner

MOj0 commented Aug 16, 2023

Oh I see, if the game is fullscreen while the bot is running that's ok. The thing is, if it is set to windowed, it has a title bar which is about 40 pixels high. This then messes up the screen recognition, because it doesn't look at the right place.
However I have no clue what the problem could be, since you apparently have the correct setup. I suppose you will need to do some digging (printing variables, ideally of the state machine) on your own.
I've unfortunately ignored your friend request on discord, since I didn't know who you were. Please send it again, and we can chat over there so we don't spam this issue here. Once we solve the problem we can post our findings here.

@E7t7t7
Copy link
Author

E7t7t7 commented Aug 17, 2023

i resent the friend request pengy1 or penguin photo is a penguin

@MOj0
Copy link
Owner

MOj0 commented Aug 18, 2023

Fixed by setting the window borderless.

@MOj0 MOj0 closed this as completed Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants