(sigh) Still failing 🙁 Sorry for the wall of code, but here is the whole thing. All it should do is click a barracks and find the 'train troops' button. ``` #include <GDIPlus.au3> #include <WinAPIProc.au3> #include <ScreenCapture.au3> #include <ColorConstants.au3> #include <Misc.
Feb 10, 2015Pretty much everything you ever wanted to know is right [\[u\]here\[/u\]](<https://www.autoitscript.com/autoit3/files/beta/autoit/docs/>).
Feb 10, 2015> in captureregion, change this value with your BS resolution > > .....$iRight = 860, $iBottom = 720.... It's always the blatantly obvious, isn't it? Thank you.
Feb 10, 2015With this function: ``` Func Click($x, $y, $times = 1, $speed = 0) If $times <> 1 Then For $i = 0 To ($times - 1) ControlClick("BlueStacks App Player", "", "", "left", "1", $x, $y) If _Sleep($speed, False) Then ExitLoop Next Else ControlClick("BlueStacks App Player", "", "", "lef
Feb 10, 2015> I had some issues to... the x coordinate was not the coordinate i expected. > in my screenshot, $x=1 was the 3rd pixel.. I expected $x=1 to be the 2nd pixel ( and $x=0) the first pixel I can understand that. There is a bit of an offset with the coordinates. But I gave it a dece
Feb 10, 2015> Most likely you are not using the correct coords in your pixelsearch... > How did you get those coords? I am using Control Viewer.
Feb 10, 2015Of course you can get banned for using a bot. If you can't take the heat, stay out of the kitchen. When using this, or any, bot, my recommendation to you is to only attack dead bases. Why? SuperCell does not currently have a method (that we know of ) deployed for detecting bots.
Feb 10, 2015You can replace CoC's default music/sound effects, BUT, this is not supported by SC. If things go wrong, well, to bad. You shouldn't have done it in the first place. Prerequisites - Rooted Android device or BlueStacks (sorry i device folks), root file browser, music that rocks. -
Feb 10, 2015I am attempting to re purpose some of the code in the bot, but I am running into issues with _PixelSearch. Specifically, I can not seem to get it to find the pixel I am looking for. I can not get it to find the pixel in the 'Train Troops' button. I am using an older version of Bl
Feb 10, 2015> That's where you're wrong, it gives the possibility of being able to grab data from the client without having to go through the crappy process of screen scraping. My bad, I thought it was a scripting language.
Feb 9, 2015It's possible but couldn't you just, I dunno, look at the screen? Or is there only a certain amount of pixels per day your eyes are allowed to absorb?
Feb 9, 2015If it can't do pixel detection it wouldn't do you any good.
Feb 9, 2015