Jump   03-02-2015, 10:20 PM
#1
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
Swede   03-02-2015, 10:59 PM
#2
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!
Jump   03-02-2015, 11:06 PM
#3
Thanks gonna check that!
  
Users browsing this thread: 1 Guest(s)
Konloch Software - Bytecode Viewer - Reverse Engineering Forum
Copyright © 2014-2025 The Bytecode Club. Powered By MyBB.
CC0 Unless Specified Otherwise.