03-30-2016, 12:47 AM
(03-29-2016, 11:52 PM)TheGentleMan Wrote: I would like to see a new Attack log that can show how many time the bot is running, how much Gold/Elexir and DE im getting by hour.
I Also like to see every single attack in attack log, because after 20-30 attacks, it delete you're first attacks on Attack log screen.
I'd like too see How much walls did the Bot upgrate and how much left, in any level of walls.
Here's an Example :
Perhaps this shouldn't overwrite the current log, but should be put into a separate tab.
It shouldn't take too long to code the averages and the time module is already imported, so all that's left is just taking the variables from the main_tab.pyc and changing their format as seen in the update_me(self) function.
Interesting code by the way! Just curious why self.tag_configure('COUNT', foreground='black') exists. It's not used in the formatting of the Log
Code:
else:
gold, elixir, dark_elixir, trophies, seek_count = line
gold = '{:,d}'.format(gold).rjust(9)
elixir = '{:,d}'.format(elixir).rjust(9)
dark_elixir = '{:,d}'.format(dark_elixir).rjust(5)
e.t.c...
I've commented on this idea in my other thread which had the principal of averages:
Quote:OUT OF 58 ATTACKS, THE AVERAGES ARE:
GOLD: 13390035 / 58 = 230862.67241379
ELIXIR: 14042526 / 58 = 242112.51724138
DARK ELIXIR: 26758 / 58 = 461.34482758621
TROPHIES: -3 / 58 = -0.051724137931034
SEARCHES: 1774 / 58 = 30.586206896552