piemonkey2 Posted December 4, 2006 Posted December 4, 2006 I am very new to AutoIt. the only things i know how do to are the things in the tutorial. I want to make my own WoW bot, but i dont know how to. Could someone help me? or show me where some other tutorials are? I want to learn more about AutoIt and how to make a WoW bot thanks
mike1234 Posted December 4, 2006 Posted December 4, 2006 You might want to be a little more specific for what you want the bot to do.
piemonkey2 Posted December 4, 2006 Author Posted December 4, 2006 I want it to go around killing things, like targeting a monster, killing, resting, finding another monster and so forth. A bot so i can leave the computer and it will kill things for me.
Paulie Posted December 4, 2006 Posted December 4, 2006 (edited) I am very new to AutoIt. the only things i know how do to are the things in the tutorial. I want to make my own WoW bot, but i dont know how to. Could someone help me? or show me where some other tutorials are? I want to learn more about AutoIt and how to make a WoW botthanksDon't rush things. Because, let me be frank with you, a WoW bot is no easy task, and you admit you have just finished the "hello world" tutorials, why don't you try looking for some more tutorials or starting with an easier script then a game bot so that you can familiarize yourself with the language.Like i said, making a bot for a game like WoW is not super easy, and people here can only help so much.Why don't you look for some tutorials or maybe get an idea for a more simple script.In the tutorial department, check out "AutoIt 1-2-3" by Valuater, that tutorial is WELL WORTH your time.http://www.autoitscript.com/forum/index.php?showtopic=21048 Edited December 4, 2006 by Paulie
shadowedblade Posted July 18, 2009 Posted July 18, 2009 (edited) Here is something you could use, this is very basic, it just spams a spell/weapon then loots a monster, :Run("wow.exe") ;put the compiled bot into your wow directory(C:\Program Files\World of Warcraft) WinWaitActive("World of Warcraft") ;make sure wow is the active window IMPORTANT Sleep(10000) ;gives you 10 seconds to login $Wait = 1700 ;change this to your weapon/spell cooldown value $i = 1 ;loop variable while $i = 1 ;loop keypresses continually Sleep($Wait) ;wait for spell cooldown(or weapon cooldown) as set above Send("+;") ;set your hotkey for "find nearest enemy" to "SHIFT + ;" Send("2") ;change this to the hotkey for a spell or remove it if you want to use your weapon Send("{SHIFTDOWN}") ;enable auto-loot MouseClick("right") ;loot/attack Send("{SHIFTUP}") ;disable auto-loot WEnd Send("{SHIFTUP}") Exithow to use:1.stand near a Monster(within striking distance, make sure that the monster attacks you first otherwise it wont work) that you want to attack and face them , place the mouse around their feet(for looting)2.leave the game for a few hours Edited July 18, 2009 by shadowedblade
z0mgItsJohn Posted July 18, 2009 Posted July 18, 2009 (edited) If your planning on making a bot I suggest take a look at the following functions in the help file. #1.) PixelSearch () #2.) MouseMove () #3.) MouseClick () #4.) Send () Here's a little tool you can use to help get the pixel color of a monster. Code : expandcollapse popup#Include <GUIConstantsEx.Au3> #Include <WindowsConstants.Au3> Opt ('GUIOnEventMode','1') HotKeySet ('!p','_Pause') Global $Pause = False $GUI = GUICreate ('Pixel Finder Tool v1.0','150','20','-1','-1','-1','128') GUISetOnEvent ($GUI_EVENT_CLOSE, '_Exit') $Input = GUICtrlCreateInput ('','0','0','150','20','1') GUICtrlSetFont ($Input, '9','600','','Arial') GUICtrlSetState ($Input, $GUI_DISABLE) GUISetState (@SW_SHOW, $GUI) WinSetOnTop ($GUI, '','1') While '1' If $Pause = False Then $Pos = MouseGetPos () $Pixel = PixelGetColor ($Pos['0'], $Pos['1']) $Pixel = '0x' & Hex ($Pixel, '6') GUICtrlSetData ($Input, $Pixel) EndIf Sleep ('15') WEnd Func _Pause () If $Pause = False Then $Pause = True ClipPut (GUICtrlRead ($Input)) Else $Pause = False EndIf EndFunc Func _Exit () Exit EndFunc How to use : #1.) Run it.. #2.) Move your mouse over a color on the monster.. (Make sure it's a color that nothing else around you has) #3.) Without moving your mouse... press Alt+P.. (This will pause the program, and put the color to the clipboard) But basically how your going to make a afk-fighting bot is by using PixelSearch () to find the position of a monster then use MouseClick () to select the monster then Send () to cast spells or MouseClick () for normal attacks.. (I don't play WoW btw) Hope this helps! - John Btw : Welcome to the forums!~~ Edit : After you pull some sort of code together post it, also you might want to look into While loops... Edited July 18, 2009 by John2006 Latest Projects :- New & Improved TCP Chat
TECH Posted December 24, 2009 Posted December 24, 2009 If your planning on making a bot I suggest take a look at the following functions in the help file. #1.) PixelSearch () #2.) MouseMove () #3.) MouseClick () #4.) Send () Here's a little tool you can use to help get the pixel color of a monster. Code : expandcollapse popup#Include <GUIConstantsEx.Au3> #Include <WindowsConstants.Au3> Opt ('GUIOnEventMode','1') HotKeySet ('!p','_Pause') Global $Pause = False $GUI = GUICreate ('Pixel Finder Tool v1.0','150','20','-1','-1','-1','128') GUISetOnEvent ($GUI_EVENT_CLOSE, '_Exit') $Input = GUICtrlCreateInput ('','0','0','150','20','1') GUICtrlSetFont ($Input, '9','600','','Arial') GUICtrlSetState ($Input, $GUI_DISABLE) GUISetState (@SW_SHOW, $GUI) WinSetOnTop ($GUI, '','1') While '1' If $Pause = False Then $Pos = MouseGetPos () $Pixel = PixelGetColor ($Pos['0'], $Pos['1']) $Pixel = '0x' & Hex ($Pixel, '6') GUICtrlSetData ($Input, $Pixel) EndIf Sleep ('15') WEnd Func _Pause () If $Pause = False Then $Pause = True ClipPut (GUICtrlRead ($Input)) Else $Pause = False EndIf EndFunc Func _Exit () Exit EndFunc How to use : #1.) Run it.. #2.) Move your mouse over a color on the monster.. (Make sure it's a color that nothing else around you has) #3.) Without moving your mouse... press Alt+P.. (This will pause the program, and put the color to the clipboard) But basically how your going to make a afk-fighting bot is by using PixelSearch () to find the position of a monster then use MouseClick () to select the monster then Send () to cast spells or MouseClick () for normal attacks.. (I don't play WoW btw) Hope this helps! - John Btw : Welcome to the forums!~~ Edit : After you pull some sort of code together post it, also you might want to look into While loops... PixelSearch -------------------------------------------------------------------------------- Searches a rectangle of pixels for the pixel color provided. PixelSearch ( left, top, right, bottom, color [, shade-variation [, step [, hwnd]]] ) hwnd [optional] Window handle to be used. what does this ^^^^^^^ mean?? does it mean that if you have 4 windows and lets say soldier of fortune singleplayer was the 3 one would i type in [, 3]]] )??? also i will be making a new post for a singleplayer soldier of fortune bot like an aimbot see im new at this like i know how to do scripts with not just the tutorials
gononono64 Posted February 13, 2011 Posted February 13, 2011 (edited) Everything you need to know should be here: BTW, that is my post. Edited February 13, 2011 by Jos removed link
Developers Jos Posted February 13, 2011 Developers Posted February 13, 2011 (edited) @gononono64, Why resurrect an 2 year old thread that is on a topic we changed the rules for? You should know better by now... Edited February 13, 2011 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts