My name is Zeltraz and im going to show you how to create your own bots using auto it v3! Follow this guide and you can be on your way to making the next Glider!
First we need our program, its called Auto It 3.
Auto It 3 is a very cool and easy languege. where you can make bots. Now not only bots Auto It 3 can do a medly of different things. Its a great languege. Heres the download link:
http://www.autoitscript.com/cgi-bin/...t-v3-setup.exe
That is a whole package of cool things, what we are going to use is Aut2Exe and Scite. Scite is the editor where you can make your auto it scripts and compile/run them.
Once thats done open the scite script editor in the scite folder.
Now here is where the fun comes!
Auto It has a great way of sending keystrokes to an application. Think of keystrokes as keys on your keyboard being automaticly pressed by your computer. Lets say a keystroke of "w" is sent to world of warcraft, that means your character will move up (If w is hotkeyed to move up "Default"). People make bots by sending numerous keystrokes to the game.
Now this is how to make keystrokes
First we want to make sure were sending the keystrokes to WoW, so we put this into the script editor:
WinWaitActive("World of Waracraft")
Now open up WoW, and if you run the script, you should see WoW will become your main process on your computer (It wil jump to the front).
Now that we got that settled lets start sending keystrokes!
How to send keystrokes:
Send ("Any Letter")
Now in this example I put Any Letter, because anything can be put their, but for your example lets put this:
Send ("w")
Now if you run the script your character probably won't move, because its just 1 keystroke, and to send a keystroke to a game you need more than just one w, but trust me it should be working!
Now you should have something like this in your editor
WinWaitActive("World of Warcraft")
Send ("w")
Now lets say I want to send more than just a "w" to WoW, I want to send 30 "w"s!
This is what we put
Send ("{w 30}")
When you put the { } in the send and put a number after the keystroke, it sends the keystroke that many times!
Now you can continue on writing send commands of behavours you want your character to do!
For example:
WinWaitActive("World of Warcraft")
Send ("{w 30}")
Send ("{s 10}")
Some helpful tips:
You might want to use the sleep command, this delays your script and puts pauses inbetween the commands where the sleep is put: you do this:
sleep (300)
Also if you want to make an application that looks professional, and not just run the script, you can make a GUI in autoit, a GUI creates a screen of buttons and things to click, its very neat, you can find out more on this in the auto it 3 guide in your folder.
Heres an example of a GUI taken from the autoit help guide:
#include <GUIConstantsEx.au3>
Opt('MustDeclareVars', 1)
Example()
Func Example()
Local $Button_1, $Button_2, $msg
GUICreate("My GUI Button") ; will create a dialog box that when displayed is centered
Opt("GUICoordMode", 2)
$Button_1 = GUICtrlCreateButton("Run Notepad", 10, 30, 100)
$Button_2 = GUICtrlCreateButton("Button Test", 0, -1)
GUISetState() ; will display an dialog box with 2 button
; Run the GUI until the dialog is closed
While 1
$msg = GUIGetMsg()
Select
Case $msg = $GUI_EVENT_CLOSE
ExitLoop
Case $msg = $Button_1
Run('Notepad.exe') ; Will Run/Open Notepad
Case $msg = $Button_2
MsgBox(0, 'Testing', 'Button 2 was pressed') ; Will demonstrate Button 2 being pressed
EndSelect
WEnd
EndFunc ;==>Example
If you see where it says
Case $msg = $Button_1
Run('Notepad.exe')
You can change that to
Case $msg = $Button_1
WinWaitActive("World of Warcraft")
Send ("{w 30}")
Send ("{s 10}")
so then the button runs your bot script after being clicked!
Enjoy and have fun