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
122 stars 57 forks source link

RuntimeError: Save not found #38

Open metapodcod opened 3 years ago

metapodcod commented 3 years ago

version https://github.com/Dylan-Zheng/Rise-of-Kingdoms-Bot/releases/tag/v1.4.2.052421_beta game level : 12 emulator : bluestacks

  File "tasks\Materials.py", line 26, in do
KeyError: 'blacksmith'
Traceback (most recent call last):
  File "tasks\Materials.py", line 26, in do
KeyError: 'blacksmith'
Traceback (most recent call last):
  File "tasks\Barbarians.py", line 87, in do
  File "tasks\Barbarians.py", line 256, in select_save_blue_one
RuntimeError: Save not found
Traceback (most recent call last):
  File "tasks\Materials.py", line 26, in do
KeyError: 'blacksmith'
Traceback (most recent call last):
  File "tasks\Barbarians.py", line 87, in do
  File "tasks\Barbarians.py", line 256, in select_save_blue_one
RuntimeError: Save not found
libpng warning: iCCP: known incorrect sRGB profile
Dylan-Zheng commented 3 years ago

auto attack barbarian will require you to using blue first save. and make sure screen resolution is 1280 x 720.

metapodcod commented 3 years ago

auto attack barbarian will require you to using blue first save. and make sure screen resolution is 1280 x 720.

thank you, can you add auto-join to rallies? Also, it might be nice to be able to spawn multiple troops while slaughtering barbarians. @Dylan-Zheng

metapodcod commented 3 years ago

lately, i've been encountering the error frequently @Dylan-Zheng

Traceback (most recent call last):
  File "bot_related\device_gui_detector.py", line 177, in barbarians_level_image_to_string
ValueError: invalid literal for int() with base 10: ''
Traceback (most recent call last):
  File "bot_related\device_gui_detector.py", line 177, in barbarians_level_image_to_string
ValueError: invalid literal for int() with base 10: ''
Traceback (most recent call last):
  File "tasks\Barbarians.py", line 58, in do
TypeError: cannot unpack non-iterable NoneType object