Razzor's BOT menu

User Tag List

Thread: Razzor's BOT

Results 1 to 1 of 1
  1. #1
    razzor2008's Avatar Member
    Reputation
    1
    Join Date
    Dec 2014
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Razzor's BOT

    Hello !

    First, I want to apologize in advance for my bad english.

    Here is my first bot i've just made. I've just finished to learn Autoit scripting and this is my first try.

    Actually, It's a really basic script made in 3 hours but I want to upgrade it as more as I can.

    I also want to add, that a part of this script is not mine, the "Pause" function is from Elzie's bot at his begining.

    Code:
    #cs ----------------------------------------------------------------------------
    
     AutoIt Version : 3.3.12.0
     Auteur:         Razzor2008
    
     Fonction du Script :
    	Modèle de Script AutoIt.
    
    #ce ----------------------------------------------------------------------------
    
    ;==================================================================
    ;========================   INCLUDES   ============================
    ;==================================================================
    
    #RequireAdmin
    #include <ButtonConstants.au3>
    #include <GUIConstantsEx.au3>
    #include <WindowsConstants.au3>
    
    ;==================================================================
    ;==========================  GUI  =================================
    ;==================================================================
    
    #Region ### START Koda GUI section ### Form=
    Global $Form1 = GUICreate("MyB", 383, 210, 192, 124)
    Global $Button1 = GUICtrlCreateButton("Start BOT", 144, 72, 99, 41)
    GUISetState(@SW_SHOW)
    #EndRegion ### END Koda GUI section ###
    
    ;==================================================================
    ;========================  VARIABLES  =============================
    ;==================================================================
    
    HotKeySet ("^q","quit") ;If Ctrl+Q, close the bot
    HotKeySet ("^p","pause") ; If Ctrl+P, pause the bot
    Global $quit = False
    Global $pause = False
    
    
    ;==================================================================
    ;========================     CODE    =============================
    ;==================================================================
    
    
    While Not $quit
     $nMsg = GUIGetMsg()
    	Switch $nMsg
    		Case $GUI_EVENT_CLOSE
    		Exit
    
    		Case $Button1 ; Bot start
    			Sleep(5000)
    			combat()
     EndSwitch
    WEnd
    
    
    ;==================================================================
    ;========================  FONCTIONS  =============================
    ;==================================================================
    
    
    
    Func combat()
    	Local $hWnd = WinWait("[CLASS:ArcheAge]", "", 3) ; handle of AA window
    Do
    		If $hWnd = True Then
    			ControlSend ($hWnd, "[CLASS:ArcheAge]", "", "{TAB}f") ;start fighting and looting at the same time
    			Sleep(2000)
    			ControlSend ($hWnd, "[CLASS:ArcheAge]", "", "&f")
    			Sleep(5000)
    			ControlSend ($hWnd, "[CLASS:ArcheAge]", "", "éf")
    			Sleep(2000)
    			ControlSend ($hWnd, "[CLASS:ArcheAge]", "", "éf")
    			Sleep(2000)
    			ControlSend ($hWnd, "[CLASS:ArcheAge]", "", "éf")
    			Sleep(2000)
    			ControlSend ($hWnd, "[CLASS:ArcheAge]", "", "f") ;end of the cycle
    			search()
    		EndIf
    	Until $pause = True
    
    EndFunc
    
    Func search() ; function research mobs
    		Local $hWnd = WinWait("[CLASS:ArcheAge]", "", 3)
    		Opt("SendKeyDownDelay", 1250)
    		ControlSend ($hWnd, "[CLASS:ArcheAge]", "", "e")
    		Opt("SendKeyDownDelay", 5)
    EndFunc
    
    Func quit() ; function stop the bot
            $quit = True
    		MsgBox(0,"Closing","Good-Bye")
    		GUISetState(@SW_SHOW)
    		Exit
    EndFunc
    
    Func pause() ; function pause the bot
            $Pause = NOT $Pause
            While $Pause
            ToolTip("Paused")
            sleep(100)
    	  WEnd
            ToolTip("")
    
    EndFunc
    Last edited by razzor2008; 01-02-2015 at 11:06 PM.

    Razzor's BOT

Similar Threads

  1. World of Warcraft WoW!Bot (GetALifeBot) 0.61 for WoW 1.9.4 + FishBot
    By Matt in forum World of Warcraft Bots and Programs
    Replies: 43
    Last Post: 04-18-2006, 04:55 AM
  2. WoWGlider and GALB Botting Locations
    By Matt in forum World of Warcraft Bots and Programs
    Replies: 14
    Last Post: 04-11-2006, 08:01 PM
  3. Bot for gaining XP
    By JesseG18 in forum World of Warcraft General
    Replies: 1
    Last Post: 03-09-2006, 08:52 PM
  4. World of Warcraft Bot (GetALifeBot) 0.57 working with 1.9.4
    By Matt in forum World of Warcraft Bots and Programs
    Replies: 7
    Last Post: 03-07-2006, 09:43 PM
  5. Best Botting/Grinding Locations
    By Matt in forum World of Warcraft Exploits
    Replies: 0
    Last Post: 02-27-2006, 12:39 AM
All times are GMT -5. The time now is 06:24 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search