The Bytecode Club - Reverse Engineering Forum
Developing Bot - Printable Version

+- The Bytecode Club - Reverse Engineering Forum (https://the.bytecode.club)
+-- Forum: Lobby (https://the.bytecode.club/forumdisplay.php?fid=1)
+--- Forum: Game Cheating, Botting & Reverse Engineering (https://the.bytecode.club/forumdisplay.php?fid=97)
+--- Thread: Developing Bot (/showthread.php?tid=155)



RE: Developing Bot - Antidote - 12-19-2014

The most important thing is your village has to be zoomed out maximum, as all co-ordinate relies on that. The bot will do the zoom out itself, but sometimes it might fail to zoom out all the way, so better you zoom out first to reduce chance of error


RE: Developing Bot - Antidote - 12-19-2014




RE: Developing Bot - warrockblack - 12-19-2014




RE: Developing Bot - MDMA - 12-19-2014




RE: Developing Bot - GeoByte - 12-19-2014

I'm using the no wait version. So this is what happens when I use the bot. Looks pretty good!! Smile

After starting the bot it zooms out and finds my barracks (after I configured it) and trains troops. It starts searching for attacks, but it stops at the very first base it finds without meeting the gold and elixir requirements.

At the base, I get a message immediately on CoC "you cannot deploy troops in the red area".

No troops are sent out during the duration of the attack timer and it doesn't press next.

I wouldn't even know how to start making a bot Tongue , can't believe you guys are developing one. I'll continue to test and post my findings Smile

Thanks for all your hard work :D


RE: Developing Bot - Antidote - 12-19-2014

here's the script: https://pastebin.com/ry8RJEqr
I did make sure to get all coord auto adjusted to BS resolution so you can try first see if it works for you. If you want to compile from the script you must make sure to have Tesseract.au3 and Tesseract-OCR in the right folder for it to run.


RE: Developing Bot - Antidote - 12-19-2014




RE: Developing Bot - warrockblack - 12-19-2014




RE: Developing Bot - detleflan - 12-19-2014

First of all thx for this bot Antidote .
i tested the .exe file ( without waiting)
my bluestack running on 860x720 resolution
After saving the coordinates for barracks it starting to find a enemy but always hangs up on first enemy he find and doing nothing

Its the same problem like geobyte have


RE: Developing Bot - AtoZ - 12-19-2014

(12-19-2014, 10:12 AM)Antidote Wrote:  @AtoZ: great, how did you do it? Last time I tried creating my own set of digits bmp from the game but still fails imagesearch. Seems like it's very picky with bmp not created by Autoit..

I was experimenting a lot of things before I was able to make it work. I even tried silly things like capturing image into a GUI window and see if it will locate. I also downloaded a lot of ImageSearch au3 and dll versions that I found. Up til now I did not know which made It work but probably it's the HBITMAP version of imagesearch dll along with au3.

I only managed to locate the gem values in the coc main screen in BMP and PNG format. It's really quite hard to use imagesearch as it is really picky on the image. Image size is also a big concern. I browsed again on the coc-en files and found out a lot of similar numbers of different sizes. Btw the folder is organized as per window or use (ex. battle, camp, troop donation). And another concern is the snowfall but we can lock image search in a loop.