Jump to content

[GUIDE] Create your own little bot. +ADDED ANTIAFK


Recommended Posts

Posted

Hello guys! I've been into coding bots and programs for some weeks, and now I'm working on an BG bot.

 

 

In this guide you will, shortly, learn how to create your own BOT.

You can use it for WoW, or any other games.

Download AutoIt v3 : AutoIt v3 - Downloads

Install it, then right click your desktop, hold mouse over "New" and New AutoIT Document. Now you get an new file on your desktop, rightclick it and press " Edit Script "

Now we will start code.

To start the bot in test mode, press F5!

 

Ok, in the top now, you enter this code :

MsgBox(0, "Titel of msgbox", "MSG BOX TEXT")

The 0 is the sort of the window, you can try 1 - 2 - 3 etc and see wich you like most. The other stuff I hope you can fix yourself. (its titel and msgbox text ^^) --- When you press F5 to test the bot, a msgbox will appear and you need to press like OK or which sort of window you picked and then the bot starts, so be sure to have wow or maybe an txt file to see what the bot press. ---

Now you go down to an new line.

Here you do this code.

sleep("15000")
send("{space}")

This will paus the bot for 15 secs (1000 = 1 sec)

and then press space.

so it can look like this :

sleep("15000")
send("{space}")
sleep("105")
Send("w") 
sleep("600")
Send("e")
send("{space}")
sleep"("30")

But you add more to make it do other stuff, I mean it can do like "send("4")" and you can have mount at button 4, or maybe "send("2")" and you got an dot etc.

I'll write an more advanced guide in a few days when my bot is done!

As you see i got {space}, its becuse { means its a button press, if you just type ("space") then it will press s,p,a,c,e.

Uhm all {buttons} is here :

HOPE You got any use for this guide! You maybe can learn more and more and in a while create your own l33t bot?! :-)

 

ADDED - To make an anti afk thingie, you can use this code. Remember when you copy the code, to remove all my tips. (tips is after the -)

$Msg = MsgBox(1, "TITEL", "Msg.") - First an titel of your msgbox, then an msg. the 1 is the type of the msgbox. USE 1 !!!!
If $Msg = 2 Then - This is if the user press Cancel instead of OK, the bots exits.
UserEnd() - Code to end bot.
EndIf
HotKeySet("{Pause}", "UserEnd")  - an Hotkey to stop the bot manually. u see ("{PICK BUTTON HERE}") to change the button to pause.
Func UserEnd() - funciton
Exit - exits
EndFunc - end function
- NOTICE ---- You can type anything else instead of World of Warcraft. ---
- NOTICE ---- THIS IS AN ALONE CODE, IF YOU DO THIS ANTI AFK BOT, SKIP THE CODES ABOVE!! ---
WinSetState("World of Warcraft", "", @SW_MAXIMIZE) - This will maximize WoW.
ControlSend("World of Warcraft", "", "", "/join thisislolepichaha") - Here is an channel it joins, bot will join it and type the msg under here.
ControlSend("World of Warcraft", "", "", "{ENTER}") - Presses ENTER.
While 1 - here is the start.
ControlSend("World of Warcraft", "", "", "This is an simple NOT AFK thing.") - This is what the bot should say.
ControlSend("World of Warcraft", "", "", "{ENTER}") - Presses ENTER and sends the msg.
Sleep(25000) - "sleeps" before starting all over again ^^, 1000 = 1 sec, 10000 = 10 sec.
WEnd - Here is the end.¨

 

 

 

ADDED - A BOT WITH WINDOWED MODE.

While 1 - here is the start.
ControlSend("World of Warcraft", "", "", "send("w") ; This will press w.
ControlSend("World of Warcraft", "", "", "{w down}") ; This will hold w down until command w up.
Sleep(1500) ; sleeps 1.5 sec. and then WEnd command makes it restart all over (while 1 to wend wil restart until stopped)
WEnd - Here is the end. And restarts.

 

 

 

 

Ps. plx no more useless bots now, no more AntiAfk that just press Space. if you use this guide, you can make him press w,w,w,w,then maybe button 4 so he mounts etc. dots and {tab}s..

ENJOY!

PM me if you got question.

here :
Send("{TAB}")  	Navigate to next control (button, checkbox, etc)
Send("+{TAB}") 	Navigate to previous control.
Send("^{TAB}") 	Navigate to next WindowTab (on a Tabbed dialog window)
Send("^+{TAB}") 	Navigate to previous WindowTab.
Send("{SPACE}") 	Can be used to toggle a checkbox or click a button.
Send("{+}") 	Usually checks a checkbox (if it's a "real" checkbox.)
Send("{-}") 	Usually unchecks a checkbox.
Send("{NumPadMult}") 	Recursively expands folders in a SysTreeView32.


Use Alt-key combos to access menu items.  Also, open Notepad and try the following:

Send("!f") 	Send Alt+f, the access key for Notepad's file menu. Try other letters!
Send("{DOWN}") 	Move down a menu.
Send("{UP}") 	Move up a menu.
Send("{LEFT}") 	Move leftward to new menu or expand a submenu.
Send("{RIGHT}") 	Move rightward to new menu or collapse a submenu.





To send the ASCII value A (same as pressing ALT+065 on the numeric keypad)

Send("{ASC 065}")


To send UNICODE characters enter the character code, for example this sends a Chinese character

Send("{ASC 2709}")


Single keys can also be repeated, e.g.

Send("{DEL 4}") ;Presses the DEL key 4 times
Send("{S 30}") ;Sends 30 'S' characters
Send("+{TAB 4}") ;Presses SHIFT+TAB 4 times


To hold a key down (generally only useful for games)

Send("{a down}") ;Holds the A key down
Send("{a up}") ;Releases the A key


If you with to use a variable for the count, try

$n = 4
Send("+{TAB " & $n & "}")


If you wish to send the ASCII value A four times, then try

$x = Chr(65)
Send("{" & $x & " 4}")


{!}  	!
{#} 	#
{+} 	+
{^} 	^
{{} 	{
{}} 	}
{SPACE} 	SPACE
{ENTER} 	ENTER key on the main keyboard

{ALT} 	ALT
{BACKSPACE} or {BS} 	BACKSPACE
{DELETE} or {DEL} 	DELETE
{UP} 	Up arrow
{DOWN} 	Down arrow
{LEFT} 	Left arrow
{RIGHT} 	Right arrow
{HOME} 	HOME
{END} 	END
{ESCAPE} or {ESC} 	ESCAPE
{INSERT} or {INS} 	INS
{PGUP} 	PGUP
{PGDN} 	PGDN
{F1} - {F12} 	Function keys
{TAB} 	TAB
{PRINTSCREEN} 	PRINTSCR
{LWIN} 	Left Windows key
{RWIN} 	Right Windows key
{NUMLOCK} 	NUMLOCK
{BREAK} 	for Ctrl+Break processing
{PAUSE} 	PAUSE
{CAPSLOCK} 	CAPSLOCK
{NUMPAD0} - {NUMPAD9} 	Numpad digits
{NUMPADMULT} 	Numpad Multiply
{NUMPADADD} 	Numpad Add
{NUMPADSUB} 	Numpad Subtract
{NUMPADDIV} 	Numpad Divide
{NUMPADDOT} 	Numpad period
{NUMPADENTER} 	Enter key on the numpad
{APPSKEY} 	Windows App key
{LALT} 	Left ALT key
{RALT} 	Right ALT key
{LCTRL} 	Left CTRL key
{RCTRL} 	Right CTRL key
{LSHIFT} 	Left Shift key
{RSHIFT} 	Right Shift key
{SLEEP} 	Computer SLEEP key
{ALTDOWN} 	Holds the ALT key down until {ALTUP} is sent
{SHIFTDOWN} 	Holds the SHIFT key down until {SHIFTUP} is sent
{CTRLDOWN} 	Holds the CTRL key down until {CTRLUP} is sent
{LWINDOWN} 	Holds the left Windows key down until {LWINUP} is sent
{RWINDOWN} 	Holds the right Windows key down until {RWINUP} is sent
{ASC nnnn} 	Send the ALT+nnnn key combination
  	 
{BROWSER_BACK} 	2000/XP Only: Select the browser "back" button
{BROWSER_FORWARD} 	2000/XP Only: Select the browser "forward" button
{BROWSER_REFRESH} 	2000/XP Only: Select the browser "refresh" button
{BROWSER_STOP} 	2000/XP Only: Select the browser "stop" button
{BROWSER_SEARCH} 	2000/XP Only: Select the browser "search" button
{BROWSER_FAVORITES} 	2000/XP Only: Select the browser "favorites" button
{BROWSER_HOME} 	2000/XP Only: Launch the browser and go to the home page
{VOLUME_MUTE} 	2000/XP Only: Mute the volume
{VOLUME_DOWN} 	2000/XP Only: Reduce the volume
{VOLUME_UP} 	2000/XP Only: Increase the volume
{MEDIA_NEXT} 	2000/XP Only: Select next track in media player
{MEDIA_PREV} 	2000/XP Only: Select previous track in media player
{MEDIA_STOP} 	2000/XP Only: Stop media player
{MEDIA_PLAY_PAUSE} 	2000/XP Only: Play/pause media player
{LAUNCH_MAIL} 	2000/XP Only: Launch the email application
{LAUNCH_MEDIA} 	2000/XP Only: Launch media player
{LAUNCH_APP1} 	2000/XP Only: Launch user app1
{LAUNCH_APP2} 	2000/XP Only: Launch user app2

 

Credits to Zeroi9

Posted

nice guide !!! i like it very much ;)

+1 and sticky =)

 

yahOoOoOOo New WoW Mod! xD

 

{GR} Atsaaaaaaa gl re xD

 

 

/Ontopic Nice Guide It Deserved Teh Sticky

 

Gratz for ur karma too

  • 4 weeks later...
  • 4 weeks later...
Posted

I Have a Problem With This...i play wow 1 month and i do it this...and in my acount........is not my char.........omgggggggg..i think admin ban me..i don't khow :( :( :(

  • 2 weeks later...
  • 2 weeks later...
  • 4 weeks later...
  • 3 weeks later...
  • 4 weeks later...
  • 1 month later...
Posted

i want to test the bot on a wow server iam playing but if i see that some account are banned i prefer to not use it. how the F*** they can detect this bot?

  • 1 year later...
Posted

i want to test the bot on a wow server iam playing but if i see that some account are banned i prefer to not use it. how the F*** they can detect this bot?

 

I think it's called warden :p

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...