-
Notifications
You must be signed in to change notification settings - Fork 13
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
Improve error message when bot fails to find pets #61
Comments
I noticed that there was a graphic update in the game, so the animals in-game aren't looking like the ones in SAP_res. |
You need to do step 3 described in the Usage (see README). Then you will change back to the old style of the pets in the game. |
@adjmathix The same thing was just now also reported in #70. It seems you are right. All food templates needs to be updated... We move the discussion over to #70 |
Related to this, would you accept a PR improving the overall logging of the project? I've changed the code locally to also log to a file and output the filename, line and function in all logs. I've also cleaned up the formatting and changed the use of format to f-strings. |
What might happen is that the bot might completely fail to find any pets, even though there are some.
A cause to this could be that the user did not use fullscreen, or accidentally opened the terminal or left the game, while the bot was making actions.
This results in the error message below, which should be catched and a better verbose shall be given to the user.
Error log:
The text was updated successfully, but these errors were encountered: