08-13-2019, 01:08 AM
OK, I set up debugging and here is the crash....
Environment: I have almost a full army trained up consisting of barbs, archers, and hogs. I was sent a request with the text "bowler" but I do not have any currently in my army. I have enabled "Donate by keyword" and made sure the text "bowler" is assigned to the Bowler.
Opened the chat window
Updating screen...
Screen update took 0.07 (0.23)
Clicking on buttons/chat_clan_tab ([])
Currently on clan chat.
Section [0, 506, 310, 622] ocr: bowler
Donate buttons located: [('bowler', [225, 578])]
Clicking at 228, 577...
Updating screen...
Screen update took 0.07 (0.23)
Updating screen...
Screen update took 0.36 (0.00)
Some Issue Occurred: , <type 'exceptions.AssertionError'>
Traceback (most recent call last):
File "bot.py", line 186, in run
File "maintainer.py", line 515, in train_and_maintain
File "donation.py", line 246, in donate
File "donation.py", line 155, in _donate_to_players
File "donation.py", line 166, in _donate_troops
File "player.py", line 262, in locate
File "player.py", line 230, in load_image
AssertionError
Checking if bot needs a time out.
Professional License: 24 days left
Verifying Emulator and CoC...
Emulator comm established on port 2200
Preparing commands...
Still trying...
Updating screen...
Screen update took 1.08 (0.00)
Making sure the resolution is set correctly...
Updating screen...
Screen update took 1.08 (0.00)
Waiting for CoC to load completely...
Updating screen...
The bot was paused.
Screen update took 0.38 (0.00)
The bot was stopped.
After this the bot ends up in a loop where it keeps trying to restart because the left donation/chat slider stays open and it can't find what it needs to initialize. Let me know if you need anything else, I'm happy to help. Thank you for looking at this.
Environment: I have almost a full army trained up consisting of barbs, archers, and hogs. I was sent a request with the text "bowler" but I do not have any currently in my army. I have enabled "Donate by keyword" and made sure the text "bowler" is assigned to the Bowler.
Opened the chat window
Updating screen...
Screen update took 0.07 (0.23)
Clicking on buttons/chat_clan_tab ([])
Currently on clan chat.
Section [0, 506, 310, 622] ocr: bowler
Donate buttons located: [('bowler', [225, 578])]
Clicking at 228, 577...
Updating screen...
Screen update took 0.07 (0.23)
Updating screen...
Screen update took 0.36 (0.00)
Some Issue Occurred: , <type 'exceptions.AssertionError'>
Traceback (most recent call last):
File "bot.py", line 186, in run
File "maintainer.py", line 515, in train_and_maintain
File "donation.py", line 246, in donate
File "donation.py", line 155, in _donate_to_players
File "donation.py", line 166, in _donate_troops
File "player.py", line 262, in locate
File "player.py", line 230, in load_image
AssertionError
Checking if bot needs a time out.
Professional License: 24 days left
Verifying Emulator and CoC...
Emulator comm established on port 2200
Preparing commands...
Still trying...
Updating screen...
Screen update took 1.08 (0.00)
Making sure the resolution is set correctly...
Updating screen...
Screen update took 1.08 (0.00)
Waiting for CoC to load completely...
Updating screen...
The bot was paused.
Screen update took 0.38 (0.00)
The bot was stopped.
After this the bot ends up in a loop where it keeps trying to restart because the left donation/chat slider stays open and it can't find what it needs to initialize. Let me know if you need anything else, I'm happy to help. Thank you for looking at this.