03-02-2015, 10:20 PM
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
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