Dylan-Zheng / Rise-of-Kingdoms-Bot

Bot for Rise of Kingdom and can do following job: claim quests/vip/gifts, collecting resource, gathering resource, donate techology, train troops and pass verification.
MIT License
116 stars 58 forks source link

FileNotFoundError #89

Open SillyeGergo opened 2 years ago

SillyeGergo commented 2 years ago

When I start the bot, i get this message:

Traceback (most recent call last): File "F:\Programs\Rise-of-Kingdoms-Bot-main\gui\creator.py", line 144, in load_bot_config with open(resource_path(FilePaths.SAVE_FOLDER_PATH.value + '{}_config.json'.format(prefix))) as f: FileNotFoundError: [Errno 2] No such file or directory: 'F:\Programs\Rise-of-Kingdoms-Bot-main\save\127.0.0.1_5555_config.json' Traceback (most recent call last): File "F:\Programs\Rise-of-Kingdoms-Bot-main\gui\creator.py", line 161, in load_building_pos with open(resource_path(FilePaths.SAVE_FOLDER_PATH.value + "{}_building_pos.json".format(prefix) FileNotFoundError: [Errno 2] No such file or directory: 'F:\Programs\Rise-of-Kingdoms-Bot-main\save\127.0.0.1_5555_building_pos.json'

The game wants to quit every 3 seconds

frogedr commented 2 years ago

Same issue too can we get some help?

YorickLB commented 2 years ago

Just create a folder called save and done then it should work

alpeerkaraca commented 2 years ago

Enter whereever your bot files are saved then create a folder named "save". After creating folder enter the folder and create two files with thoose names:

'127.0.0.1_5555_building_pos.json' //Requires for saving location of your buildings. '127.0.0.1_5555_config.json' //Requires for saving configurations you made. @frogedr @SillyeGergo