Jimm1432 / Rush-Royale-Bot

Python based bot for Rush Royale
MIT License
13 stars 4 forks source link

unable to launch #14

Closed puesoy closed 10 months ago

puesoy commented 11 months ago

First time user here. After following the install guide, i end up with this message: PermissionError: [WinError 5] Zugriff verweigert: 'units/unit_rank' What am i doing wrong?

The debug info looks like this:

DEBUG:bot_logger:GUI started! INFO:bot_logger:Stored settings to config! WARNING:bot_logger:Starting bot... INFO:bot_logger:scrcpy is not installed DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): github.com:443 DEBUG:urllib3.connectionpool:https://github.com:443 "GET /Genymobile/scrcpy/releases/download/v1.25/scrcpy-win64-v1.25.zip HTTP/1.1" 302 0 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): objects.githubusercontent.com:443 DEBUG:urllib3.connectionpool:https://objects.githubusercontent.com:443 "GET /github-production-release-asset-2e65be/111583593/0a75b6d1-b575-40f8-ba8b-2123360e276a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231218%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231218T144907Z&X-Amz-Expires=300&X-Amz-Signature=7c49e9c490180a06186912f182a10c360b97f91ef0d8d53017d97f84a702a266&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=111583593&response-content-disposition=attachment%3B%20filename%3Dscrcpy-win64-v1.25.zip&response-content-type=application%2Foctet-stream HTTP/1.1" 200 38243055 INFO:bot_logger:scrcpy successfully installed INFO:bot_logger:Stopping bot! INFO:bot_logger:Stored settings to config! WARNING:bot_logger:Starting bot... INFO:main:Connecting to Bluestacks INFO:bot_logger:Selected units: banshee, earth_elemental, alchemist_max, chemist, sharpshooter_max

Jimm1432 commented 10 months ago

is it trying to install scrpy every time? also the error is from it not having permission to read the rank images inside the all_units folder but it's looking inside the units folder instead? try copying the ranks folder from all_units to units folder and see what happens.

puesoy commented 10 months ago

thank you very much. it works now! Wish you a great new year. Thanks for your work!