-
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
stuck at root INFO Ensure ADB is running #67
Comments
open powershell with ADM, type adb start-server and press enter, the server should start and u now only need to do is start the bot again |
I'm not sure if it's a problem with epic7_bot/packages/core/epic7_bot/core/DeviceManager.py Lines 34 to 42 in bae0210
The ensure_adb_is_running should be running adb start-server each time a command is run.
|
@AnhTuan176 have you done the setup on Bluestacks to enable Android Debug Bridge? It's step 3 on the Getting Started.
|
I can confirm that adb start-server did fix the issue for me when I had the same issue. I even saw the output that the adb server was not running, started it and after that it worked. (While you were away from git for a while, the app stopped working and I made several (now closed) posts about the issue, adb start-server fixed it for me). |
I tried to run adb start-server in powershell but still didn't work for me |
It seems a "Debug Mode" would help on this issue. Showing terminal output and console output. I will look into it. A question, @ptcutican the issue persists on version v2.0.8-beta for you? |
@eswiig and @wyvernstar, thanks for helping with all the issues on git! If you think anything on the app can improve or you can fix something, please feel free to send a Pull Request, and I will review it. |
Yes, it persisted on v2.0.8-beta. @brunocordioli072 And how to show terminal output and console output so I can take screenshot ? |
@ptcutican I will need to develop a "Debug mode" for that. In its current version, it's not possible to check terminal and console output. |
any fix for this issue yet? try adb start-server in powershell but still nothing happend |
Same problem here |
Released v2.0.9-beta. Now we should be able to see if the adb start-server is actually working correctly on the epic7 bot. Now, if anything goes wrong, it will log on the Logs a "Something went wrong" with the log. @TonyMT09 @vqhchinh98 @AnhTuan176 @ptcutican could you test again? |
@brunocordioli072 I've tested with the newest version. And before test i also checked |
@TonyMT09 @vqhchinh98 @AnhTuan176 @ptcutican could you test again with this release https://github.com/brunocordioli072/epic7_bot/releases/tag/v2.0.9-fix-stuck-at-ensure-adb-is-running? I've added a bunch of logs to see in what step of the Ensure ADB is running you guys are stuck. |
@brunocordioli072 your new release worked. I've tested it |
@brunocordioli072 just found a bug. Only work well after first time run the app. After that it keep saying this. My bluestacks is installed in F: |
This connect_devices_to_adb was a helper function to try to connect to available devices on the machine. Since this seems to be the cause of this error. I've removed it. Release v2.0.10-beta should fix the issue. @ptcutican could you test again? |
@brunocordioli072 Sure, I'll test it again and let you know the result later. One question: Will this shop refresh automatically stop when it runs out of gold, or will it keep refreshing? |
After around 8 hours of testing, this v2.0.10-beta version worked quite well. No bugs were found. |
@ptcutican Nice! Glad to hear it. @TonyMT09 @vqhchinh98 @AnhTuan176 could you test again with v2.0.10-beta, see if it works for you as well? |
@brunocordioli072 idk if it is a bug or not. But in Arena NPC Auto Battle, if user uses a team with only 1-2 units (for example A.Vildred only), there is a warning noti showed, and we need to click "Do not display" button to close it. But seems like the tool doesn't regconize it so it will stuck at this screen forever. Could you check it again ? |
@ptcutican, I've had to redo the connect_devices_to_adb function because of another issue opened. Question, how many disks exist on your machine, and where are your Bluestacks installed? |
Will create a new release v2.0.12-beta to try to fix the error on connect_devices_to_adb |
@brunocordioli072 |
Did v2.0.12-beta fix the issue? @ptcutican |
Confirm everything is working well now |
Yes, it's working well so far |
@brunocordioli072 In the Arena NPC Auto Battle, if a player uses a team with only 1-2 units (for example, A.Vildred only), a warning notification appears, and we need to click the "Do not display" button to close it. However, it seems like the tool doesn't recognize it, so it gets stuck at this screen forever. Could you please check it again? |
Hey, @ptcutican i can take a look. Could you open a different issue with the problem? Just for tracking and documentation. |
@brunocordioli072 sure, i just created new issue. |
Got the same issue as other people here. Switched from Bluestacks 4 to 5 for it because the bot didn't recognice mystic medals and didn't tap the buy button. Now on Bluestacks 5 I have the same issue as many other people here. Edit: It works now after I typed adb kill-server. I don't understand why but from what I read here this shouldn't be the case |
Hey @SturmGamerxD724, could you check issue #82? I believe the solution to that issue will fix your problem. |
Hey @brunocordioli072, apparently when I used adb kill-server yesterday, I completely fixed the issue. The bot is working just fine now. |
Describe the bug
I have both Epic7 Bot and Epic Seven on BlueStack 5, and I also turned on ADB on BlueStack but when I press Start. It stucks at root INFO Ensure ADB is running
Steps to reproduce
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: