@ Pvpede, it's really nothing special, it just presses "W" then waits 8 seconds and presses "S" and "D" and just repeats.
@ Trollin, your script was a mess, and did not work for me.
1.
Code:
$ExitID = GUICtrlCreateButton("Help", 210, 50, 70, 20)
$AboutID = GUICtrlCreateButton("Exit", 310, 50, 70, 20)
Thats completely wrong.
(I Fixed)
2. My WoW.exe was not in your specified directory which was C:\Program Files\World Of Warcraft\
(Fixed so that your select your World Of Warcraft directory)
Fixed Source, hope you like it Trollin
Code:
#include <GUIConstantsEx.au3>
Opt('MustDeclareVars', 1)
_Main()
Func _Main()
Local $RunWoW, $StartBot, $Helpme, $Exitplease, $msg, $PATH
GUICreate("Trollin's Honor Bot V0.2 BETA", 390, 80)
GUICtrlCreateLabel("Please select Help if this is your first time using this bot!", 30, 10)
$RunWow = GUICtrlCreateButton("Run WoW", 10, 50, 70, 20)
$StartBot = GUICtrlCreateButton("Start Botting!", 110, 50, 70, 20)
$Helpme = GUICtrlCreateButton("Help", 210, 50, 70, 20)
$Exitplease = GUICtrlCreateButton("Exit", 310, 50, 70, 20)
GUISetState()
Do
$msg = GUIGetMsg()
Select
Case $msg = $RunWow
$PATH = FileSelectFolder("Select Your World Of Warcraft Folder","",1)
If FileExists($PATH & "\WoW.exe") Then
MsgBox(4096, $PATH & "\WoW.exe", "WoW.exe exists in " & $PATH & ", starting WoW")
FileCreateShortcut($PATH & "\WoW.exe", @DesktopDir & "\WoW.lnk")
Sleep(3000)
ShellExecute("WoW.lnk", @DesktopDir)
Else
MsgBox(4096, $PATH & "\WoW.exe", "WoW.exe does not exist" & $PATH & ", aborting.")
EndIf
Case $msg = $StartBot
MsgBox(0, "Starting bot..", "Press OK to proceed.")
Sleep("1000")
WinActivate("World of Warcraft")
WinWaitActive("World of Warcraft")
While 1
Send("{w}")
Sleep("8000")
Send("{s}")
Send("{d}")
WEnd
Case $msg = $Helpme
MsgBox(0, "Help document..", ">> Run WoW -- This starts World of Warcraft, but not the bot" & @CRLF & ">>Start Botting! -- This opens World of Warcraft up, and starts the botting!" & @CRLF & ">>Exit -- Closes program..")
Case $msg = $Exitplease
MsgBox(0, "Closing Trollin's Honor Bot V0.2 BETA", "Thanks for using my bot!")
Case $msg = $GUI_EVENT_CLOSE
MsgBox(0, "Closing Trollin's Honor Bot V0.2 BETA", "Thanks for using my bot!")
EndSelect
Until $msg = $GUI_EVENT_CLOSE Or $msg = $Exitplease
EndFunc
Credits if you use this, please. =)