• Home
  • Forums
  • Search
  • Members
  • Calendar
  • Help
Forum stats
Show team
View New Posts
View Today's Posts
Link five here
ClashFarmer Discussion Forum
Login to account Create an account
Login
Username:
Password:
Lost Password?
 

  ClashFarmer Discussion Forum General Discussions General
1 2 3 4 5 … 16 Next »
Troop donations explanation

Thread Modes
Troop donations explanation
gopostal Offline
Member
***
Posts: 33
Threads: 5
Joined: Mar 2019
Reputation: 5
#5
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.
Find
Reply
Share Thread:            


Messages In This Thread
Troop donations explanation - by gopostal - 08-12-2019, 05:41 AM
RE: Troop donations explanation - by Supreme Leader - 08-12-2019, 11:48 AM
RE: Troop donations explanation - by gopostal - 08-12-2019, 01:43 PM
RE: Troop donations explanation - by Supreme Leader - 08-12-2019, 01:55 PM
RE: Troop donations explanation - by gopostal - 08-13-2019, 01:08 AM
RE: Troop donations explanation - by Supreme Leader - 08-13-2019, 01:38 AM
RE: Troop donations explanation - by gopostal - 08-13-2019, 02:20 PM

  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
1 Guest(s)

  • Contact Us
  • Forum team
  • Forum stats
  • Return to Top
 
  • RSS Syndication
  • Lite mode
  • ClashFarmer
  • Help
 
Forum software by © MyBB - Theme © iAndrew 2014



Linear Mode
Threaded Mode