Yes, the barrack is working well... If grey, the barrack will be skip. That speed up the bot to attack as many as possible while on boost rather than making them click 65 times even when it is full... Thanks
Video Game Reverse Engineering
Developing Bot
Started by Antidote · Dec 5, 2014
@Antidote Okay here is the unfinished Pre-Alpha v005.
*Minimize all the regions to make it easier to find everything.
Okay so, I have everything down except for the actual attack algorithm and dead base functions. I have implemented ImageSearch.au3 inside the script and also the GkevinOD.au3 script. They are the last two regions in the code.
You can find the Assign Troop function in 'Attack Functions' region inside the 'PrepareAttack()' function. Also the variable can be located inside the 'Global Variables' region and it tells what the two arrays are.
'----------------
As for the idea of using an advanced pixelsearch concept, I haven't fully tested it because it may be too slow. It can work, however I am not sure yet and I may try to test it to get rid of the DLL of ImageSearch as I like the bot to only have one file 🙂.
Excuse my ignorance here but in the latest build with the new GUI, from what I am reading it doesn't attack yet once it finds an enemy matching the criteria? Is the attack function that will be included in the next release?
Only asking because the bot trains troops and finds a base but then does nothing so I assume this is why? 🙂
@Envyus You are correct, the attack functions should be included in the next version v005 probably by today!
@bushido-21
regards the clicking of wall instead of collectors.. Try change position of your collectors and see how.
@Antidote
Regard the selection of collectors, what pixel u choose to recognize them? From the code I see it searching for 0xB0B875. Where was that?
@Antidote I tried the getDigit functions with the user's resources, however it doesn't work. I haven't looked into it yet, but I'm guessing that the user's resources may be a different size.
@dinobot That pixel is located when the collect icon pops up above the collectors, it's kind of light green with a mix of brown or something.
@GkevinOD
Got it... Thanks...
IMO, the devs should come up with a name for this glorious program other than COC Bot.
I made an issue / feature tracker and had to give a name to the project, called it AutoClashBot (kinda sounds like a Transformer)
This discussion is closed.