The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

❓ Adding Black Barracks

Started by Jump · Mar 2, 2015

2 replies53,006 views
Mar 2, 2015#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

Mar 2, 2015#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!

Mar 2, 2015#3

Thanks gonna check that!

Got something to add?

Log in to post a reply.

Join the conversation