11-23-2014, 08:07 PM
(11-23-2014, 08:03 AM)KeeWay Wrote: I too have been waiting on something that works and reasonably priced so until then Thanks to Michaelb2007 recommendation about the LF-bot resetting the timer I have completed my script and have been running for about 3 days straight now with no issues.
you will need to firstly make sure that your bluestacks and LF-bot works fine before you even run the script that way there should be no issues.
here is my autoit script (not sure how to attach a file), just compile it or run using the SciTE editor...
make sure that your bluestacks is running with CofC started.
;Start of script
#RequireAdmin
If Not ProcessExists("HD-Frontend.exe") Then
MsgBox(0, "BlueStacks Problem", "Please Start Bluestacks then C of C before continuing")
EndIf
While 1
Run("C:\Program Files (x86)\LFROBOT\xiaohua.exe")
sleep(2000)
;Move out from behind bluestacks
WinMove("[CLASS:#32770]", "", 984, 274)
Sleep(1000)
;checkmark the auto walls box
;ControlFocus("[CLASS:#32770]", "Auto walls", 1026)
;ControlClick("[CLASS:#32770]", "Auto walls", 1026, "left", 1, 7, 5)
;Sleep(1000)
;Click the try button
ControlFocus("[CLASS:#32770]", "", 1059)
ControlClick("[CLASS:#32770]", "", 1059, "left", 1, 29, 11)
sleep(2000)
;Wait for the 1 hour dialog box
WinWaitActive("[CLASS:#32770]", "OK")
sleep(1000)
;Click OK in the dialog box
ControlFocus("[CLASS:#32770]", "OK", 2)
ControlClick("[CLASS:#32770]", "OK", 2, "left", 1, 44, 12)
sleep(1000)
;Click the start button
ControlFocus("[CLASS:#32770]", "", 1065)
ControlClick("[CLASS:#32770]", "", 1065, "left", 1, 53, 23)
Sleep(1000)
;pause for 50 minutes
sleep(3000000)
;Kill little flower bot
ProcessClose("xiaohua.exe")
WEnd
;end of script
enjoy...
You guy... Rock !!! Thanks