-
Notifications
You must be signed in to change notification settings - Fork 10
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
What should I do to fix the error? #96
Comments
Have you followed the steps to enable ADB in BlueStacks? You have to specifically flip a button in the settings. |
Thank you, as you explained, I activated ADB now and ran Alune, and the error is gone. "The bot will play out games. This is recommended for passes that get experience for play time, like the event passes." |
You can either enable DEBUG in the alune-output/config.yaml file, or check the log files in alune-output/logs. They should give you more of a hint as to where the bot is stuck. |
Thanks to reply again!! By uninstalling Bulestack and installing LDPlayer, bot worked fine. Maybe it was emulator's problem. But after the bot plays the first game, it doesn't start the next game on the result screen. I've activated DEBUG and there's no message from the console. |
@1m2p3 as a workaround for now you can revert to non-screen recording which is slower but more reliable currently Set this: screen_record:
enabled: false |
Oh thank you but I cant find screen record settings in config.yaml. Where can I set this? Can I just add it to config.yaml? |
When I followed exactly what was written in the manual and installed tft on the bluestack 5 emulator and ran alune.exe, I got the following error statement. How do I fix this?
2024-12-12 06:07:23.512 | INFO | main:check_version:510 - You are running the latest version.
2024-12-12 06:07:23.514 | INFO | alune.adb:_connect_to_device:105 - Attempting to connect to ADB session with device localhost:5555
2024-12-12 06:07:34.518 | ERROR | main::622 - Reading from localhost:5555 timed out (9 seconds)
Traceback (most recent call last):
File "adb_shell\transport\tcp_transport_async.py", line 107, in bulk_read
File "asyncio\streams.py", line 713, in read
File "asyncio\streams.py", line 545, in _wait_for_data
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "adb_shell\transport\tcp_transport_async.py", line 106, in bulk_read
File "asyncio\timeouts.py", line 115, in aexit
TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "asyncio\runners.py", line 194, in run
File "asyncio\runners.py", line 118, in run
File "asyncio\base_events.py", line 687, in run_until_complete
File "main.py", line 542, in main
await check_version()
└ <function check_version at 0x000002B9A845D440>
File "alune\adb.py", line 49, in load
self._default_port = config.get_adb_port()
└ <alune.adb.ADB object at 0x000002B9A8444D70>
File "alune\adb.py", line 107, in _connect_to_device
return conn.laddr.port
File "adb_shell\adb_device_async.py", line 714, in connect
File "adb_shell\adb_device_async.py", line 265, in connect
File "adb_shell\adb_device_async.py", line 445, in _read_expected_packet_from_device
File "adb_shell\adb_device_async.py", line 523, in _read_packet_from_device
File "adb_shell\adb_device_async.py", line 479, in _read_bytes_from_device
File "adb_shell\transport\tcp_transport_async.py", line 110, in bulk_read
adb_shell.exceptions.TcpTimeoutException: Reading from localhost:5555 timed out (9 seconds)
2024-12-12 06:07:34.523 | WARNING | main::623 - Due to an error, we are exiting Alune in 10 seconds. You can find all logs in alune-output/logs.
The text was updated successfully, but these errors were encountered: