The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

Developing Bot

Started by Antidote · Dec 5, 2014

1,033 replies21,297,466 viewsLocked
Jan 1, 2015#851

Made some fixes and added DropTrophy function!

Pre-Alpha v5.3 Update Log (GkevinOD):
-Fixed random factor to only work during attack.
-Fixed restarting loop
-Added error message when Dead Base cannot be used.
-Added Drop left over troops
-Removed moving BlueStacks
-Added DropTrophy function in idle

Compiled x32: https://mega.co.nz/#!LdpkWBqa!ArIhIRyDg0e_hQk1fhNln3RMObZRyO60L1HnnKd1lwM
Mirror: http://s000.tinyupload.com/index.php?file_id=06744533935417910791

Compiled x64: https://mega.co.nz/#!uAxEhaia!SnDIMs5DSeXEMN2eBv9XpA8R0b8epDXiHAoIbXC522o
Mirror: http://s000.tinyupload.com/index.php?file_id=38041684232634619588

Script: https://mega.co.nz/#!aVRyCajA!hGe0o4aq0onP7vvYxvLEQDCEXDLfKLMAdhacp7n71m4
Mirror: http://s000.tinyupload.com/index.php?file_id=13792517828442661684

*Note: We are preparing a forum dedicated to this bot. It will help keep track of releases and help organize the development of this bot. Antidote will post further details.

Made some what I believe to be improvements.

Added a Do-While to completely drop left over troops.
Added double click on barracks in case resource bubble is covering the barrack.
Shortened the waiting time between gold difference calculation (30sec -> 15sec)
Shortened the time between summoning troop waves

Script only:
https://mega.co.nz/#!PE4CkCIA!KG9JZAhFJuenxAxrIV8-XHqmYI6GOvoQc6gQBK7QtHk

Jan 1, 2015#852

problem with drop trophy on v5.3. the bot never stop droping down my trophy even my army is full.

Jan 1, 2015#853

Mega is saying its down on my computer. I'm in the U.S

Jan 1, 2015#854

I left the bot on from 10:30pm EST until I woke up. It was still running at 1:00 am, but when I woke up I got a message from Bluestacks saying it failed to restart.

I was attacked at ~1:30am so I guess that's when I failed to restart. It might have been from the 8 hour message or maybe it was out of sync?

Regardless I got good loot while it was running around 200k gold and 200k elixir each raid 🙂

I'm using 150,000 Gold and Elixir. Barch. Attack 4 sides. Dead Base mode.

Jan 1, 2015#855

I left the bot on from 10:30pm EST until I woke up. It was still running at 1:00 am, but when I woke up I got a message from Bluestacks saying it failed to restart.

I was attacked at ~1:30am so I guess that's when I failed to restart. It might have been from the 8 hour message or maybe it was out of sync?

Regardless I got good loot while it was running around 200k gold and 200k elixir each raid 🙂

I'm using 150,000 Gold and Elixir. Barch. Attack 4 sides. Dead Base mode.

I've had this issue since the beginning. Been debugging it for awhile, it still happens with the latest version.
I've added additional debugs to see what happens.

So this happens when the next button is not found and it closes Clash.
It goes to bluestacks, then reloads Clash, and continues where it left off as new.
I tested this several times and it seemed to always work.

However, when the GUI is "frozen" due to something going in a loop.
It doesn't seem to read the pixels to determine that clash is opened so it restarts bluestacks.
And is stuck in this loop. The GUI remains frozened but I put a debug in the logger to show the counter and it does.

Anyway, will be looking into it later. Got to head out.

Jan 1, 2015#856

After 2 hours bot freeze (white whindow) and bluestack just restart

Jan 1, 2015#857

is there a way to make the bot deploy troops faster?

Jan 1, 2015#858

is there a way to make the bot deploy troops faster?

If you know how to use a script I uploaded my modifications. I forgot to mention it speeds up putting troops by reducing the delay.

Jan 1, 2015#859

i just download autoit and run your script? sorry i don't know how to use it 🙁

Jan 1, 2015#860

page 84

download the exe and run it

This discussion is closed.