Adding Black Barracks - 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: Adding Black Barracks (/showthread.php?tid=1145) |
Adding Black Barracks - Jump - 03-02-2015 Hello, I succeed to add Black Barracks into the Bot. But I cannot click to select Minions by default. I need to modify the script "train" and add a new case for minions like those for Bar, Arch, ... Can someone help me to setup this case? Thank you. Case 0 while _ColorCheck(_GetPixelColor(329, 297), Hex(0xDC3F70, 6), 20) Click(220, 320, 5) ;Barbarian If _Sleep(10) Then ExitLoop _CaptureRegion() WEnd Case 1 While _ColorCheck(_GetPixelColor(217, 297), Hex(0xF8AD20, 6), 20) Click(331, 320, 5) ;Archer If _Sleep(10) Then ExitLoop _CaptureRegion() WEnd RE: Adding Black Barracks - Swede - 03-02-2015 hi jump, you have a fellow doing/ trying to do the same thing. here's the string for the topic. why not join forces - clashbot.org/forums/index.php?/topic/285-dark-troops-training-and-deployment/ usabug made this example of his dark f script edit - Ps: For example ==> Training Minions Global $TrainMinion[4] = [ 261, 366, 0x165659 , 20] ; Dropping Minions If _ColorCheck($TroopPixel, Hex(0x642CD8, 6), 5) Then Return $eMinions // all the best! RE: Adding Black Barracks - Jump - 03-02-2015 Thanks gonna check that! |