Sign in to follow this  
Followers 0
ph34r

Script Ends No Run COmmand

5 posts in this topic

#Region;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_outfile=D:\Documents and Settings\PH34R\Desktop\Login.exe
#Obfuscator_Parameters=/cs 1 /cn 1
#EndRegion;**** Directives created by AutoIt3Wrapper_GUI ****
#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.2.13.3 (beta)
 Author:         myName

 Script Function:
    Template AutoIt script.

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here
$Account = IniRead ( "accounts.ini", "account", "WarrockAccount", "AccountName" )
$password = IniRead ( "accounts.ini", "pass", "WarrockPassword", "AccountPass" )


#region --- ScriptWriter generated code Start --- 
Opt("WinWaitDelay",100)
Opt("WinTitleMatchMode",4)
Opt("WinDetectHiddenText",1)
Opt("MouseCoordMode",0)
Run(@ProgramFilesDir & "\warrock\wrlauncher.exe")
sleep(5000)
If Not IsDeclared("sToolTipAnswer") Then Local $sToolTipAnswer
$sToolTipAnswer = ToolTip("Logging into warrock",Default,Default,"Warbot",0,1)
WinWait("Warrock Launcher","cancel")
If Not WinActive("Warrock Launcher","cancel") Then WinActivate("Warrock Launcher","cancel")
WinWaitActive("Warrock Launcher","cancel")
Sleep(1000)
MouseMove(365,77)
MouseDown("left")
MouseUp("left")
WinWait("Warrock Updater","start")
If Not WinActive("Warrock Updater","start") Then WinActivate("Warrock Updater","start")
WinWaitActive("Warrock Updater","start")
Sleep(1000)
MouseMove(462,345)
MouseDown("left")
MouseUp("left")
WinWait("WarRock","http://media.warrock")
If Not WinActive("WarRock","http://media.warrock") Then WinActivate("WarRock","http://media.warrock")
WinWaitActive("WarRock","http://media.warrock")
If Not IsDeclared("sToolTipAnswer") Then Local $sToolTipAnswer
$sToolTipAnswer = ToolTip("Warbot Has Succesfuly Loaded Warrock - EVENT LOGGED!",Default,Default,"Warbot",0,1)
MouseMove(81,479)
MouseDown("left")
MouseUp("left")
ToolTip("")
If Not IsDeclared("sToolTipAnswer") Then Local $sToolTipAnswer
$sToolTipAnswer = ToolTip("Warbot is now logging you in, please dont touch anything",Default,Default,"Warbot",0,1)
Sleep(1000)
MouseMove(616,366)
MouseDown("left")
MouseUp("left")
Send("{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPA

CE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}")
Sleep(1000)
Send($Account)
Sleep(1000)
MouseMove(567,399)
MouseDown("left")
MouseUp("left")
Send("{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPA

CE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPAC

E}")
Sleep(1000)
Send($password)
Sleep(1000)
MouseMove(539,467)
MouseDown("left")
MouseUp("left")
IniWrite ( "log.ini", "Logged Into Warrock", "answer", "Yes!" )
tooltip("")
sleep(1000)
MouseMove(397,239)
MouseDown("left")
MouseUp("left")
sleep(1000)
MouseMove(638,328)
MouseDown("left")
MouseUp("left")
sleep(1000)
MouseMove(383,630)
MouseDown("left")
MouseUp("left")
Run(@ProgramFilesDir & 'WarBot\autoits\Lobby.exe')
Sleep(1000)
#endregion --- ScriptWriter generated code End ---

The script just ends, and doesnt run Lobby.exe Why?

Share this post


Link to post
Share on other sites



does this line get written?

IniWrite("log.ini", "Logged Into Warrock", "answer", "Yes!")

you probably want to add a Msgbox there to see if your script gets till there....


mouse not found....scroll any mouse to continue.

Share this post


Link to post
Share on other sites

ya it does.

Share this post


Link to post
Share on other sites

ya it gets all the awy to RUN then does nthing

Share this post


Link to post
Share on other sites

Run(@ProgramFilesDir & '\WarBot\autoits\Lobby.exe')

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0