ClashFarmer Discussion Forum
Bot cant find ArmyCompButton - Printable Version

+- ClashFarmer Discussion Forum (https://www.clashfarmer.com/forum)
+-- Forum: ClashFarmer Discussions (https://www.clashfarmer.com/forum/forumdisplay.php?fid=1)
+--- Forum: Help & Support (https://www.clashfarmer.com/forum/forumdisplay.php?fid=3)
+--- Thread: Bot cant find ArmyCompButton (/showthread.php?tid=5797)



Bot cant find ArmyCompButton - Lewis137 - 04-16-2019

Hey guys Big Grin

Just wondering on how to fix this issue

Some Issue Occurred: Cannot find the army overview button, <class 'maintainer.CannotFindArmyOverviewButton'>
Traceback (most recent call last):
  File "bot.py", line 186, in run
  File "maintainer.py", line 430, in train_and_maintain
  File "maintainer.py", line 336, in is_army_ready
  File "maintainer.py", line 295, in troop_count
  File "maintainer.py", line 274, in open_army_overview
CannotFindArmyOverviewButton: Cannot find the army overview button

Any help is much appreciated Big Grin


RE: Bot cant find ArmyCompButton - Supreme Leader - 04-16-2019

Add screenshots if u have the game in English if not change it to English should solve the problem


RE: Bot cant find ArmyCompButton - Lewis137 - 04-16-2019

(04-16-2019, 11:40 AM)Erakay Wrote: Add screenshots if u have the game in English if not change it to English should solve the problem

Yeah, I'll ad a screenshot. The game should be in English tho its my native language.

(04-16-2019, 11:40 AM)Erakay Wrote: Add screenshots if u have the game in English if not change it to English should solve the problem

I have checked and my language is set to "English"
It's weird I'm now getting another error:
Resetting MEmu size, stopping MEmu...
Restarting Emulator... (changing resolution)
Executing "C:\Program Files (x86)\Microvirtcal??)?????A???A4E?????????????????3?a??????????\MEmu\MEmu.exe"
Elevating MEmu priority
Waiting for CoC to load completely...
Updating screen...
Some Issue Occurred: , <class 'socket.error'>
Traceback (most recent call last):
File "bot.py", line 119, in run
File "handler.py", line 34, in handle_wait_for_coc_to_load
File "player.py", line 116, in update_screen
File "windows_memu.py", line 83, in get_screen
File "device\_control.py", line 348, in get_screen_png
File "device\_control.py", line 356, in get_screen_raw_net
File "device\_connection.py", line 41, in execute
File "site-packages\adb\adb_commands.py", line 227, in Shell
File "site-packages\adb\adb_protocol.py", line 369, in Command
File "site-packages\adb\adb_protocol.py", line 393, in StreamingCommand
File "site-packages\adb\adb_protocol.py", line 334, in Open
File "site-packages\adb\adb_protocol.py", line 206, in Send
File "site-packages\adb\common.py", line 301, in BulkWrite
File "socket.py", line 224, in meth
error: [Errno 10053] An established connection was aborted by the software in your host machine


RE: Bot cant find ArmyCompButton - Supreme Leader - 04-16-2019

Solved
had wrong version
Closed