12-02-2014, 08:53 PM
Script works perfect , can Anyone change his script so iT enables donating and build walls?
Kind regards and thx
Kind regards and thx
(11-26-2014, 11:11 PM)ehsanslipknot Wrote: hello guys
my script close after 1-2 hours work
everythins work fine,just this problem
anyone know why?
im use this script :
#RequireAdmin
If Not ProcessExists("HD-Frontend.exe") Then
MsgBox(0, "Bluestacks Problem", "Please Start Bluestacks then Clash of Clans before continuing")
EndIf
HotKeySet ("q", "quitme")
While 1
Local $iPID =Run("C:\Program Files\lfRobot\xiaohua.exe")
sleep(5000)
WinMove("[CLASS:#32770]", "", 984, 274)
Sleep(1000)
ControlFocus("[CLASS:#32770]", "", 1059)
ControlClick("", "DarkT", "[CLASS:Button; INSTANCE:2]")
WinWaitActive("Welcome", "", "15")
If WinExists("Welcome") Then
sleep(3000)
ControlFocus("Welcome", "", "[CLASS:Button; INSTANCE:1]")
ControlClick("Welcome", "", "[CLASS:Button; INSTANCE:1]")
sleep(5000)
ControlFocus("[CLASS:#32770]", "", "[CLASS:Button; INSTANCE:6]")
ControlClick("", "DarkT", "[CLASS:Button; INSTANCE:6]")
sleep(3000000)
ProcessClose("xiaohua.exe")
Else
sleep(3000)
ProcessClose("xiaohua.exe")
EndIf
WEnd
Func quitme()
Exit
EndFunc