Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding Black Barracks
#1
Question 
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
Reply
#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!
Reply
#3
Thanks gonna check that!
Reply
 


Forum Jump:


Users browsing this thread: 1 Guest(s)

About The Bytecode Club

We're a community forum focused on Reverse Engineering, we try to target Java/Android but we also include other langauges/platforms. We pride ourselves in supporting and free and open sourced applications.

Website