-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Bot freezes up and does not collect resources #16
Comments
I think this is due to python version, please retry using python3:
|
This is what shows up when running with python3. I also installed python3-xlib.
|
Okay, i need to investigate about this (once i get some free time). By the way, what's your linux distribution ? ubuntu? could you try on an another/updated linux distro? |
My linux distribution is ubuntu bionic, I updated it to the most recent distro which is 18.04 but I am still receiving the same error. Thanks for the support! |
Hey again, can you share your Edit: i have done some changes that might help to fix your issue, so please first install the following package: Then, update or redownload the bot & try again :) . Note: i still need to get your |
It works now! thank you for the support. Just an additional question. If the bot goes to a map and sees an exhausted resource will it go on to the next resource or will it end? Is there any way of implementing functionality so that the bot waits until the resource pops up and continues with the map? |
Cool! x)
The actual behavior of the bot is to check the resource color before clicking on it, so if the color is wrong it will go to the next one (also, you can disable the color check from settings, but i do not recommend it). So the answer is no, the bot will not end before the path end, & what you can do to avoid this is to simply create a looped path & under the bot config, set a high number in repeat path option (in a way that the bot will always restart the path after its end/last action).
This might be a good idea, but i think that moving to other maps is quite better then staying on the same map. Also, you can easily do that right now using the I hope that's enough clear, 'cause i'm strugling to find the right words in english (i'm not too much used to it 😕 ). |
It's really clear, I appreciate the effort. (Your english is perfect) |
This is kind of weird, did you move or resize the bot just after creating the map or before starting the bot? also, what's your screen resolution? |
I do not move or resize the bot after creating the map. Once the bot resizes and auto-snaps the window I don't touch it. My screen resolution is 1366x768. |
It took me a while to find the game window decoration height but it finally worked! I changed my window decoration value in the bot settings to 51 and that solved the problem. |
I have completely removed that setting in the latest version of the bot & replaced it with automatic detection of the window decoration height. so, i may ask you to do another test with the latest version of the bot if you'ld like to. Edit: also pay attention to the game version setting, i've done some changes on it, basically, you just need to verify that the selected value under bot settings is |
I am testing the latest version of the bot and it seems to work. Will continue to test it out and let you know how it goes |
One Issue that is coming up is that when the Profession Level increased popup shows up on the side, the bot simulates pressing the esc key but that brings up the main menu instead of closing the popup. Other than that when a character challenges you the bot will freeze, this may be a similar fix to closing the popup |
In case something goes wrong or popup detection fails
Calculated window decoration height didn't work well for me (even after refreshing maps)
I tried to fix the level up popup issue, but i didn't test it yet. In case it doesn't work you can still disable the feature from bot preferences. I've also restored the game window decoration height option & made it optional. |
The bot inconsistently resizes the game window both using window decoration height option and automatic resizing. This does not affect farming, however, it does cause the pod bar percentage to be inaccurate. I am wondering if this is because the bot resizes to the middle of the screen and my laptop resolution is not large enough (the bottom of the bot is slightly hidden) |
I think that the resizing part needs to be reviewed. I'm facing the same issues somehow. I'll try to check that once i get some time to. |
I'll close this issue and open a new one (since the main issue is already fixed). |
Moving from map to map works fine for me when running the bot, but when it gets to the collect action it freezes up.
This is the error that shows up in terminal, I also have tried disabling Check resources color.
Thanks for replying! This is a really cool project you are working on.
The text was updated successfully, but these errors were encountered: