Eigene Bots machen tutorial(autoit)

04/15/2009 16:24 Shiro Sumaro#1
Autoit fragen hier
04/16/2009 21:51 me1337#2
sorry..aber spam ist dafür eine zu untertriebene bezeichnung...
wo ist da der bot?
ganz ehrlich... lass solche posts^^
04/17/2009 08:27 Trulala#3
was das denn für ein tutorial?
habs gelesen und nur bahnhof verstanden :D
zur info! in einem tutorial wird erklärt was was heisst...
04/18/2009 18:26 Shiro Sumaro#4
sry war mein erster beitrag außerdem les ma genauer wer fragen dazu hat soll hier posten:eek:
04/18/2009 19:19 muse-#5
jojo nett gemeint aber seh da auch keinen bot drin bin auch neu in der autoit szene aber könntest ja was über PixelGetColor und so erzählen wegen bot und sow :) nur hinweis
04/20/2009 07:03 BeritoX#6
Das is wirklich kein Bot oder Tutorial oder derartiges... xD
04/22/2009 19:08 Shiro Sumaro#7
versteht ihr das jetzt auch oder muss ich es euch bustabieren:rtfm:
04/27/2009 12:33 Bot_interesierter#8
Wie mach ich in Autoit eine Funktion die alle angreifbaren Mobs aus der WoW Object Liste liest und diese dann in einem Array zurück gibt?
04/27/2009 14:06 exe1100#9
xD, und da antwortet er net ;P
04/27/2009 21:05 siggi#10
tolles tutorial
hat mir sehr geholfen

......
04/30/2009 06:18 hhan#11
nein, da muss man schon weiter gehen als AutoIt --> C++

Es gibt tonnenweise Tutorials für AutoIt, nur muss man selbst kreativ genug sein, dass man versteht wie man diese Befehle für sich benutzen kann. Siehe WAR Bot Bereich "ChaHhan" von Version 1 bis 1.2.1 ist ein grosser Schritt und ich hatte vorhin 0 Ahnung von AutoIt ;)
[Only registered and activated users can see links. Click Here To Register...]

Für Live-WoW Server würde ich diese AutoIt Bots gleich mal wieder vergessen, ausser ihr seid auch am 7. account oder so wie ich :P
04/30/2009 16:29 Bot_interesierter#12
Quote:
Originally Posted by Milchbeutel View Post
Ich könnt mir vorstellen er denkt jetzt : "Object list? Array? WTF IST DAS?" :o

btw anstatt array könnte man das auch schön in ein enum machen, wobei ich nich weiß ob es sowas für autoit auch gibt :o
Ich glaube du verwechselst da irgendwas, ein Enum wird verwendet um etwas durch zu nummerieren, zb um Tage dar zu stellen.
04/30/2009 17:43 griffter#13
Hab hier ne kleine anleitung gefunden... KA ob die schon mal gepostet wurde aber dem einen oder anderen könnte sie nützlich sein

ZITAT:

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
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 :
----------------------------------------------------------------------------------
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.
----------------------------------------------------------------------------------
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 :
----------------------------------------------------------------------------------
Code:

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 -)
----------------------------------------------------------------------------------
Code:

$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.
----------------------------------------------------------------------------------
Code:

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!
----------------------------------------------------------------------------------

Code:

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 von nem anderen forum
04/30/2009 20:54 GoDoWn#14
so...da meiner meinung nach hier nix wirklich sinnvolles drin steht ^^...

wer sich ein wenig mit scar divi 3.0 und höher beschäftigt kann sich auch nen tollen bot selber machen der garantiert undtectable ist :D...


Edit: sry hab den letzen post et gesehn ^^...der is gut
05/05/2009 17:37 Pexus#15
Mh...warum antwortet der Thread Eröffner eigentlich nichtmehr? :D