AxelBjork / Rush-Royale-Bot

Python based bot for Rush Royale
MIT License
29 stars 19 forks source link

Problem when starting the bot #49

Open Pogoman1 opened 1 year ago

Pogoman1 commented 1 year ago

I have a problem when starting the bot in launch_gui.bat I don't know how to treat. ADB in BlueStacks ON, PATH Added:

Exception in thread Thread-1: Traceback (most recent call last): File "C:\Users\kol91\OneDrive\Рабочий стол\Rush-Royale-Bot-main\Rush-Royale-Bot-main.bot_env\lib\site-packages\adbutils_adb.py", line 88, in read return self._read_fully(n) File "C:\Users\kol91\OneDrive\Рабочий стол\Rush-Royale-Bot-main\Rush-Royale-Bot-main.bot_env\lib\site-packages\adbutils_adb.py", line 96, in _read_fully chunk = self.conn.recv(t) socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\kol91\AppData\Local\Programs\Python\Python39\lib\threading.py", line 980, in _bootstrap_inner self.run() File "C:\Users\kol91\AppData\Local\Programs\Python\Python39\lib\threading.py", line 917, in run self._target(*self._args, **self._kwargs) File "C:\Users\kol91\OneDrive\Рабочий стол\Rush-Royale-Bot-main\Rush-Royale-Bot-main\Src\gui.py", line 102, in start_bot self.bot_instance = bot_handler.start_bot_class(self.logger) File "C:\Users\kol91\OneDrive\Рабочий стол\Rush-Royale-Bot-main\Rush-Royale-Bot-main\Src\bot_handler.py", line 63, in start_bot_class bot = bot_core.Bot() File "C:\Users\kol91\OneDrive\Рабочий стол\Rush-Royale-Bot-main\Rush-Royale-Bot-main\Src\bot_core.py", line 39, in init self.client.start(threaded=True) File "C:\Users\kol91\OneDrive\Рабочий стол\Rush-Royale-Bot-main\Rush-Royale-Bot-main.bot_env\lib\site-packages\scrcpy\core.py", line 184, in start self.deploy_server() File "C:\Users\kol91\OneDrive\Рабочий стол\Rush-Royale-Bot-main\Rush-Royale-Bot-main.bot_env\lib\site-packages\scrcpy\core.py", line 172, in deploy_server self.__server_stream.read(10) File "C:\Users\kol91\OneDrive\Рабочий стол\Rush-Royale-Bot-main\Rush-Royale-Bot-main.bot_env\lib\site-packages\adbutils_adb.py", line 90, in read raise AdbTimeout("adb read timeout") adbutils.errors.AdbTimeout: adb read timeout

Help pls!)