12-27-2014, 12:50 AM
I am also having the same problem of unable to train troop. I have located the barrack, but it seems like it is unable to click Train Troops. I have tried the mouse pointer out of the Bluestacks. Still didnt work.
Is there anything to do with my pausing of Boost after maintenance for barrack?
I have confirmed that my bluestack resolution is set to 860,720 using the reg file provided.
I am using Bluestack latest version 0.9.6.4092.
600,620 is Train Troops?
How to know my Bluestack Mouse Coordination (x,y)? I couldn't find developer options.
Please help. Thank you.
Is there anything to do with my pausing of Boost after maintenance for barrack?
I have confirmed that my bluestack resolution is set to 860,720 using the reg file provided.
I am using Bluestack latest version 0.9.6.4092.
Code:
Func TrainBarrack($x, $y, $z)
GUICtrlSetData($Results, "Func TrainBarrack" & @CRLF, -1)
While 1
If $RunState = False Then
ExitLoop
EndIf
ControlClick ($HWnD, "","", "left", "1", 100*$x_ratio, 100*$y_ratio) ; Making sure no Barrack active
sleep(1000)
ControlClick ($HWnD, "","", "left", "1", $x, $y)
Sleep(3000) ;Long sleep for slow Machines
ControlClick ($HWnD, "","", "left", "1", 600, 620)
Sleep(3000) ;Long sleep for slow Machines
$Pixel = _ColorCheckVariation(Hex(PixelGetColor(377, 546, $HWnD),6), Hex(0xD03838,6),20)
If $Pixel = True Then
$FullArmy = True
EndIf
600,620 is Train Troops?
How to know my Bluestack Mouse Coordination (x,y)? I couldn't find developer options.
Please help. Thank you.