Page 1 of 4 1 2 3 4 LastLast
Results 1 to 15 of 58
  1. #1
    Master Sergeant Aikeelu's Avatar
    Reputation
    64
    Join Date
    Jun 2012
    Posts
    78
    CoreCoins
    1

    Trade Feedbacks

    Positive
    0
    Negative
    0

    [AutoIt] Barbarian Iskatu Leveling

    Hello! here's a simple script to farm the first boss on act4, Iskatu, as barbarian, can be adapted to other classes too if you edit a bit. Worked fine all the night at 1920x1080 resolution Fullscreen Windowed on normal difficult, it's still decent exp till level 50 and you can use it on hell too if your gear allows it!

    Almost all the sleep timers are random, and the clicks on buttons are random also. It won't loot since this tool is mainly for leveling

    Any suggestion to improve the bot tell me and I'll add it, I'm still noob at autoit

    What it does?

    Run to the quest giver
    Skip dialog
    Accept quest
    Run into the portal
    Skip cinematic
    Kill boss
    Move a bit for gold
    TP to town, leave
    Select quest again and repeat

    What do you need to setup?

    Installed AutoIt of course
    Select Act4 Quest1: Fall of the High Heavens
    You need to start the bot inside the game!
    You may need to change the sleep timers to make it work on your pc and your character movement speed, my mov speed was 7% so I suggest to get a boots with mov at least
    You just need this skills:
    Slot1: War Cry - Charge!
    Slot2: Revenge - Vengeance is Mine
    Slot3: Ignore Pain
    Slot4: Earthquake - Giant's Stride

    Hotkeys
    Start the bot: HOME
    Close the bot: End

    You can adapt the bot for Monks using this skill setup ( Thanks Sempra ):

    Quote Originally Posted by Sempra View Post
    Skill 1 = Mantra of Convivtion (Overawe)
    Skill 2 = Wave of Light (Explosive Light)
    Skill 3 = Serenity (Ascension)
    Skill 4 = Deadly Reach (Scattered Blows)

    Primary (Left) = Crippling Wave (Mangle)

    Passive Skills

    1 The Guardian's Path / One with everything
    2 Exalted Soul
    3 Seize The Initiative

    New V1.2
    - IMPORTANT: The bot needs to start inside the game
    - Added timer+runs on tooltip
    - Adjusted some sleep timers to be faster

    Code:
    ;Iskatu barbarian Farm
    ;Required Skills:
    ;Slot1: War Cry - Charge!
    ;Slot3: Ignore Pain
    ;Slot2: Revenge - Vengeance is Mine
    ;Slot4: Earthquake - Giant's Stride
    ;Edition by Aikeelu, credits for the original to: K!ngp!n@Blizzhackers
    
    $yellow =       "FFE500" ; yellow color code it detects @ pixel 1520x40, tweak this if it's not detecting correctly
    $red =          "DB0000" ; red color code
    
    $NeedRepair = False
    $go = True
    
    Global $Paused, $run
    Global $StartTime = TimerInit()
    Global $Hours = 0, $Minutes = 0, $Seconds = 0
    
    
    HotKeySet("{HOME}", "TogglePause")
    HotKeySet("{END}", "Terminate") 
    
    
    While 1
       Sleep(500) 
       ToolTip("Press 'HOME' to start 'END' to exit", 0, 0)
    WEnd 
    
    Func UpdateTooltip ()
            $text = "[Runs: " & $run & " Runtime "
         $seconds = Int(TimerDiff($StartTime) / 1000)
    
       if $seconds > 59 Then
         $minutes = Int($seconds / 60)
         $seconds = $seconds - $minutes * 60
       EndIf
    
       if $minutes > 59 Then
            $hours = Int($minutes / 60)
         $minutes = $minutes - $hours * 60
       EndIf
    
       $text &= $hours & "h " & $minutes & "m]"
       Tooltip($text & "  Running - 'HOME' to pause. 'END' to exit.", 0, 0)
    EndFunc
    
    Func TogglePause() 
       $Paused = NOT $Paused 
       While $Paused 
         $run +=1
    
          UpdateTooltip()
    
         Call("CheckRepair")
              If $NeedRepair Then
                     Send("t")
                     sleep(Random( 7200, 8000, 1 ))
                     MouseClick("left", 1176, 950) ;begin movement towards merchant
                     sleep(Random( 2000, 2500, 1 ))
                     MouseClick("left", 1785, 1020) ;moves near merchant
                     sleep(Random( 2200, 2500, 1 ))
                     MouseClick("left", 1407, 637) ;NPC Merchant
                     sleep(Random( 1200, 1500, 1 ))
                     MouseClick("left", 521, 506) ;button to open up repair menu
                     sleep(Random( 400, 600, 1 ))
                     MouseClick("left", 260, 595) ;button to pay for repairs
                     sleep(Random( 800, 1200, 1 ))
                            Send("{ESCAPE}") ;closes repair tab
                            sleep(Random( 600, 900, 1 )))
                            Send("{ESCAPE}") ;menu
                            sleep(Random( 400, 600, 1 ))
                            MouseClick("left", 956,579) ;button to leave game
                            sleep(Random( 4900, 5600, 1 ))
                            MouseClick("left", 230, 416) ;button to resume game from main menu
                            sleep(Random( 7000, 7600, 1 ))
                           EndIf
         Call("CheckRepair")
         sleep(Random( 800, 1200, 1 ))
         MouseClick("left", 1550, 900)                        ; go backwards to initialize position
         sleep(Random( 2000, 3000, 1 ))
         MouseClick("left",115,55)                           ; first click
         Sleep(Random( 4500, 5500, 1 ))
         MouseClick("left",150,145)                        ; second click
         Sleep(Random( 4700, 5700, 1 ))
         MouseClick("left",810,260,1)                        ; third click
      
         sleep(Random( 1900, 2100, 1 ))                                    ; cancel Tyreal's dialog
         send("{SPACE}")
         sleep(Random( 300, 700, 1 ))
         send("{SPACE}")                                 ; cancel Imperius' dialog
         sleep(Random( 300, 700, 1 ))
         send("{SPACE}")
         sleep(Random( 3000, 5000, 1 ))
       
         MouseClick("left",1000,430,1)                        ; click on tyreal
       
         sleep(Random( 400, 800, 1 ))                                 ; cancel Tyreal's popup dialog
         send("{ESCAPE}")
         sleep(Random( 300, 600, 1 ))
         send("{ESCAPE}")
         sleep(Random( 500, 700, 1 ))
         MouseClick("left",524, 295)
         sleep(Random( 1000, 1200, 1 ))
         
         MouseClick("left",918,296,1)                     ; click on the portal
         sleep(Random( 2300, 3300, 1 ))
         send("{ESCAPE}")                               ; cancel cinematic
         sleep(Random( 300, 500, 1 ))
         MouseClick("left",Random(850,910,1),Random(350,377,1))   ; click 'Ok'
         sleep(Random( 700, 1200, 1 ))
        
         If PixelGetColor(1578,111) = 16634255 Then         ; in options menu. Portal must have failed
           send("{ESCAPE}")                            
           sleep(1000)
           send("{ESCAPE}")                               
           sleep(2000)
           MouseClick("left", 926, 244)                     ; click portal again
           sleep(4000)
           send("{ESCAPE}")                               ; cancel cinematic
           sleep(1000)
           MouseClick("left",Random(850,910,1),Random(350,377,1))   ; click 'Ok'
         sleep(1000)
         endif
       
         sleep(Random( 4500, 5700, 1 ))                                    ; combat
         send("2")
         MouseMove(992, 592, 1) ; moves cursor a bit 
         sleep(Random( 300, 600, 1 ))
         Send("{SHIFTDOWN}")
         sleep(Random( 80, 200, 1 ))
         MouseDown("left") ; Cleave or Frenzy
         sleep(Random( 1000, 2000, 1 ))
         send("1")
         sleep(Random( 500, 1500, 1 ))
         send("2")
         sleep(Random( 500, 1500, 1 ))
         send("4")
         sleep(Random( 20, 120, 1 ))
         send("4")
         sleep(Random( 20, 120, 1 ))
         send("4")
         sleep(Random( 20, 120, 1 ))
         send("4")
         sleep(Random( 1000, 2000, 1 ))
         send("3")
         sleep(Random( 100, 500, 1 ))
         send("{2}")
         sleep(Random( 1000, 3000, 1 ))
         send("{2}")
         sleep(Random( 2000, 3000, 1 ))
         send("2")
         sleep(Random( 1000, 2000, 1 ))
         MouseUp("left")
         send("{2}")                                    
         sleep(Random( 2000, 3000, 1 ))
         Send("{SHIFTUP}")
         send("{2}")
         sleep(Random( 2000, 3000, 1 ))
         send("{2}")
         sleep(Random( 2000, 3000, 1 ))
         send("{2}")
       
         MouseClick("middle", 990, 650)                        ; move a little bit to pick up gold
         sleep(Random( 500, 799, 1 ))
         MouseClick("middle", 1131, 244)
       
         sleep(Random( 1000, 2300, 1 ))                                    ; wait to ensure quest completes
         send("t")
         sleep(Random( 7200, 7900, 1 ))   
         send("{ESCAPE}")
         sleep(Random( 500, 1200, 1 )) 
         MouseClick("left",Random(800,1110,1),Random(560,590,1))   ; click 'leave game'
         sleep(Random( 6500, 7500, 1 ))
         MouseClick("left",Random(70,390,1),Random(465,510,1))      ; click 'change quest'
         sleep(Random( 500, 1500, 1 ))
         MouseClick("left",Random(375,790,1),Random(595,635,1))   ; click 'Fall of the High Heavens' quest
         sleep(Random( 500, 1500, 1 ))
         MouseClick("left",Random(1040,1365,1),Random(840,885,1))   ; click 'Select Quest'
         sleep(Random( 500, 1500, 1 ))
         MouseClick("left",Random(755,940,1),Random(610,650,1))   ; click 'Ok'
         Sleep(Random( 1000, 2000, 1 ))
         MouseClick("left",Random(78,385,1),Random(398,437,1))    ; click 'resume game'
         Sleep(Random( 7000, 9000, 1 ))
        WEnd 
    EndFunc 
    
    Func Terminate() 
        Exit 0 
    EndFunc
    
    
    Func CheckRepair()
    $Repair = PixelGetColor(1520, 40) ;Searches the location of armor indicator
    If Hex($Repair, 6) == $yellow OR Hex($Repair, 6) == $red Then ;Checks if the pixel is yellow or red, and starts the repair loop
       $NeedRepair = True
    Else
       $NeedRepair = False
    EndIf
    EndFunc

    Credits for the original script to K!ngp!n@Blizzhackers
    Last edited by Aikeelu; 07-13-2012 at 08:25 PM.

  2. #2
    Member
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    2
    CoreCoins
    1

    Trade Feedbacks

    Positive
    0
    Negative
    0
    try to make one for hell, more beneficial i think

  3. #3
    Master Sergeant Aikeelu's Avatar
    Reputation
    64
    Join Date
    Jun 2012
    Posts
    78
    CoreCoins
    1

    Trade Feedbacks

    Positive
    0
    Negative
    0
    You can use it aswell on hell, nightmare or even Inferno, but ofc you'll need decent gear to tank and kill him

    Since nightmare gives less exp than normal, I used it on normal till 50, will test on hell when i gear up a bit

  4. #4
    Member
    Reputation
    1
    Join Date
    Feb 2010
    Posts
    16
    CoreCoins
    0

    Trade Feedbacks

    Positive
    0
    Negative
    0
    Confirmed 100% working This should work in all levels subject to your gear.

  5. #5
    Member
    Reputation
    1
    Join Date
    Feb 2010
    Posts
    16
    CoreCoins
    0

    Trade Feedbacks

    Positive
    0
    Negative
    0
    I'm just re-writing this script for you so it will working 99% of the time in background mode and allow you to continue using things like firefox and watch youtube videos while the bot is running

  6. #6
    Member
    Reputation
    1
    Join Date
    Feb 2010
    Posts
    16
    CoreCoins
    0

    Trade Feedbacks

    Positive
    0
    Negative
    0
    This is where I go to, So far it is able to get from the charector screen right up to clicking on Tyreal for his quest.
    It seems to be failing on clicking Tyreal though, if anyone has any ideas please feel free to play:

    The main changes to the code are moving it from Send to ControlClick and ControlSend which

    Code:
    #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
    #AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
    #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
    ;Iskatu barbarian Farm
    ;Required Skills:
    ;Slot1: War Cry - Charge!
    ;Slot2: Revenge - Vengeance is Mine
    ;Slot4: Earthquake - Giant's Stride
    ;Edition by Aikeelu, credits for the original to: K!ngp!n@Blizzhackers
    ;Background Mode by Falkor - http://www.ownedcore.com/forums/members/646262-falkor.html
    
    Global $Paused, $WinTitle ='Diablo III'
    HotKeySet("{HOME}", "TogglePause")
    HotKeySet("{END}", "Terminate")
    
    While 1
       Sleep(500)
       ToolTip("Not Running Hit 'HOME' to start/pause 'END' to force end!", 0, 0)
    WEnd
    
    Func TogglePause()
       $Paused = NOT $Paused
       While $Paused
          ToolTip("Running!", 0, 0)
    
         Sleep(Random( 2000, 4000, 1 ))
    	 ControlClick($WinTitle, "", "", "left", 1, Random(78,385,1), Random(398,437,1)) ; click 'resume game'
    	 Sleep(Random( 4000, 6000, 1 ))
    	 ControlClick($WinTitle, "", "", "left", 1, 1550, 900) ; go backwards to initialize position
         sleep(Random( 2000, 3000, 1 ))
    	 ControlClick($WinTitle, "", "", "left", 1, 115, 55) ; first click
         Sleep(Random( 4500, 5500, 1 ))
    	 ControlClick($WinTitle, "", "", "left", 1, 150, 145) ; second click
         Sleep(Random( 4700, 5700, 1 ))
    	 ControlClick($WinTitle, "", "", "left", 1, 810, 260) ; third click
         sleep(3000) ; cancel Tyreal's dialog
    	 ControlSend($WinTitle, "", "", "{SPACE}")
         sleep(Random( 400, 900, 1 ))
         ControlSend($WinTitle, "", "", "{SPACE}") ; cancel Imperius' dialog
         sleep(Random( 400, 800, 1 ))
         ControlSend($WinTitle, "", "", "{SPACE}")
         sleep(Random( 3000, 5000, 1 ))
    	 ControlClick($WinTitle, "", "", "left", 1, 1020, 371) ; click on tyreal
    	 sleep(Random( 800, 1200, 1 ))
    	 ControlSend($WinTitle, "", "", "{ESCAPE}") ; cancel Tyreal's 1st popup dialog
         sleep(Random( 400, 700, 1 ))
    	 ControlSend($WinTitle, "", "", "{ESCAPE}") ; cancel Tyreal's 2nd popup dialog
         sleep(Random( 500, 700, 1 ))
    
    	 ControlClick($WinTitle, "", "", "left", 1, 467, 147) ; move/click on the portal
    	 sleep(Random( 2500, 3500, 1 ))
         ControlSend($WinTitle, "", "", "{ESCAPE}") ; cancel cinematic
    	 sleep(Random( 400, 600, 1 ))
    	 ControlClick($WinTitle, "", "", "left", 1, Random(850,910,1), Random(350,377,1)) ; click 'Ok'
         sleep(Random( 700, 1200, 1 ))
    
         If PixelGetColor(1578,111) = 16634255 Then         ; in options menu. Portal must have failed
           ControlSend($WinTitle, "", "", "{ESCAPE}")
           sleep(1000)
           ControlSend($WinTitle, "", "", "{ESCAPE}")
           sleep(2000)
     	   ControlClick($WinTitle, "", "", "left", 1, 926, 244) ; click portal again
           sleep(4000)
           ControlSend($WinTitle, "", "", "{ESCAPE}") ; cancel cinematic
           sleep(1000)
    	   ControlClick($WinTitle, "", "", "left", 1, Random(850,910,1), Random(350,377,1)) ; click 'Ok'
         sleep(1000)
         endif
    
         sleep(Random( 4500, 5700, 1 ))                                    ; combat
    	 ControlSend($WinTitle, "", "", "2")
         sleep(Random( 1000, 2000, 1 ))
    	 ControlSend($WinTitle, "", "", "2")
         sleep(Random( 1000, 2000, 1 ))
    	 ControlSend($WinTitle, "", "", "{1}")
         sleep(Random( 1000, 3000, 1 ))
    	 ControlSend($WinTitle, "", "", "{4}")
         sleep(Random( 2000, 3000, 1 ))
    	 ControlSend($WinTitle, "", "", "2")
         sleep(Random( 1000, 2000, 1 ))
    	 ControlSend($WinTitle, "", "", "{2}") ; use big AE DMG spell for Iskatu
         sleep(Random( 2000, 3000, 1 ))
    	 ControlSend($WinTitle, "", "", "{2}")
         sleep(Random( 2000, 3000, 1 ))
    	 ControlSend($WinTitle, "", "", "{2}")
         sleep(Random( 2000, 3000, 1 ))
    	 ControlSend($WinTitle, "", "", "{2}")
    	 ControlClick($WinTitle, "", "", "left", 1, 990, 650) ; move a little bit to pick up gold
         sleep(Random( 3000, 5000, 1 ))                                    ; wait to ensure quest completes
    	 ControlSend($WinTitle, "", "", "t")
         sleep(Random( 7200, 7900, 1 ))
         ControlSend($WinTitle, "", "", "{ESCAPE}")
         sleep(Random( 1000, 2000, 1 ))
         MouseClick("left",Random(800,1110,1),Random(560,590,1))   ; click 'leave game'
         sleep(Random( 6500, 7500, 1 ))
         MouseClick("left",Random(70,390,1),Random(465,510,1))      ; click 'change quest'
         sleep(Random( 1500, 2500, 1 ))
         MouseClick("left",Random(375,790,1),Random(595,635,1))   ; click 'Fall of the High Heavens' quest
         sleep(Random( 1500, 2500, 1 ))
         MouseClick("left",Random(1040,1365,1),Random(840,885,1))   ; click 'Select Quest'
         sleep(Random( 1500, 2500, 1 ))
         MouseClick("left",Random(755,940,1),Random(610,650,1))   ; click 'Ok'
    
        WEnd
    EndFunc
    
    Func Terminate()
        Exit 0
    EndFunc

  7. #7
    Master Sergeant Aikeelu's Avatar
    Reputation
    64
    Join Date
    Jun 2012
    Posts
    78
    CoreCoins
    1

    Trade Feedbacks

    Positive
    0
    Negative
    0
    I'll test it falkor, coming back in a few minutes thanks for this, didnt know it was possible to run in background!


    EDIT: kk, tested and getting the same problem, can't click on tyrael even changing coords. I guess it's because the mouse need to highlight Tyrael to make him clickable, isnt 100% sure but it might be cause of this
    Last edited by Aikeelu; 06-22-2012 at 06:26 PM.

  8. #8
    Member
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    15
    CoreCoins
    0

    Trade Feedbacks

    Positive
    0
    Negative
    0
    the script some times minimizes the game... others it gets bugged... Just a couple of times it works.

  9. #9
    Member
    Reputation
    1
    Join Date
    Feb 2010
    Posts
    16
    CoreCoins
    0

    Trade Feedbacks

    Positive
    0
    Negative
    0
    Quote Originally Posted by Xips View Post
    the script some times minimizes the game... others it gets bugged... Just a couple of times it works.
    At no point during any of my testing has this minimzed the game... I don't think it's even possible to do this.

  10. #10
    Member
    Reputation
    1
    Join Date
    Feb 2010
    Posts
    16
    CoreCoins
    0

    Trade Feedbacks

    Positive
    0
    Negative
    0
    Quote Originally Posted by Aikeelu View Post
    I'll test it falkor, coming back in a few minutes thanks for this, didnt know it was possible to run in background!


    EDIT: kk, tested and getting the same problem, can't click on tyrael even changing coords. I guess it's because the mouse need to highlight Tyrael to make him clickable, isnt 100% sure but it might be cause of this
    Ah you might be right let me test that

  11. #11
    Member
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    1
    CoreCoins
    0

    Trade Feedbacks

    Positive
    0
    Negative
    0
    Thanks for this, did a few tweaks and it is working on my side 1080p resolution.

    Code:
    #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
    #AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
    #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
    ;Iskatu barbarian Farm
    ;Required Skills:
    ;Slot1: War Cry - Charge!
    ;Slot2: Revenge - Vengeance is Mine
    ;Slot3: Wrath of the Berserker 
    ;Slot4: Earthquake - Giant's Stride
    ;Edition by Aikeelu, credits for the original to: K!ngp!n@Blizzhackers
    ;Background Mode by Falkor - http://www.ownedcore.com/forums/members/646262-falkor.html
    
    Global $Paused, $WinTitle ='Diablo III'
    HotKeySet("{HOME}", "TogglePause")
    HotKeySet("{END}", "Terminate")
    
    While 1
       Sleep(500)
       ToolTip("Not Running Hit 'HOME' to start/pause 'END' to force end!", 0, 0)
    WEnd
    
    Func TogglePause()
       $Paused = NOT $Paused
       While $Paused
          ToolTip("Running!", 0, 0)
    
         Sleep(Random( 2000, 2500, 1 ))
    	MouseClick("left",Random(78,385,1),Random(398,437,1))    ; click 'resume game'
         Sleep(Random( 8000, 9000, 1 ))
    	MouseClick("left", 1550, 900)	; go backwards to initialize position
         Sleep(Random( 1000, 1500, 1 ))
    	MouseClick("left",115,55)	; first click 
         Sleep(Random( 3800, 4500, 1 ))
    	MouseClick("left",150,145)      ; second click	 
         Sleep(Random( 3700, 4000, 1 ))
    	MouseClick("left",810,260,1)    ; third click
         Sleep(Random( 19500, 20000, 1 ))
    	 MouseClick("left",1000,430,1)
         Sleep(Random( 1000, 1300, 1 ))
    	ControlSend($WinTitle, "", "", "{ESCAPE}") ; cancel Tyreal's 1st popup dialog
         Sleep(Random( 400, 700, 1 ))
    	ControlSend($WinTitle, "", "", "{ESCAPE}") ; cancel Tyreal's 2nd popup dialog
         Sleep(Random( 500, 700, 1 ))
         	MouseClick("left",524, 295)
         Sleep(Random( 900, 1200, 1 ))
            MouseClick("left",918,296,1)                     ; click on the portal
         Sleep(Random( 3900, 4000, 1 ))
         	ControlSend($WinTitle, "", "", "{ESCAPE}") ; cancel cinematic
         Sleep(Random( 400, 600, 1 ))
    	ControlClick($WinTitle, "", "", "left", 1, Random(850,910,1), Random(350,377,1)) ; click 'Ok'	 
    
        
    
         sleep(Random( 3000, 4000, 1 ))
    	ControlSend($WinTitle, "", "", "1")
         sleep(Random( 5000, 5500, 1 ))	; combat
    	ControlSend($WinTitle, "", "", "2")
         sleep(Random( 2000, 2500, 1 ))
    	ControlSend($WinTitle, "", "", "2")
         sleep(Random( 1500, 2000, 1 ))
    	ControlSend($WinTitle, "", "", "4")
         sleep(Random( 1000, 1200, 1 ))
    	ControlSend($WinTitle, "", "", "3")
         sleep(Random( 1600, 1800, 1 ))
    	ControlSend($WinTitle, "", "", "2")
         sleep(Random( 2000, 2100, 1 ))
    	MouseClick("left",990, 650)	; move a little bit to pick up gold	 
         sleep(Random( 8000, 8200, 1 ))	; wait to ensure quest completes
    	 ControlSend($WinTitle, "", "", "t")
         
    
    
         sleep(Random( 7000, 7500, 1 ))
    	ControlSend($WinTitle, "", "", "{ESCAPE}")
         sleep(Random( 1000, 2000, 1 ))
         	MouseClick("left",Random(800,1110,1),Random(560,590,1))   ; click 'leave game'
         sleep(Random( 4500, 5000, 1 ))
         	MouseClick("left",Random(70,390,1),Random(465,510,1))      ; click 'change quest'
         sleep(Random( 1500, 2000, 1 ))
         	MouseClick("left",Random(375,790,1),Random(535,555,1))   ; click 'Fall of the High Heavens' quest
         sleep(Random( 1500, 2000, 1 ))
         	MouseClick("left",Random(1040,1365,1),Random(840,885,1))   ; click 'Select Quest'
         sleep(Random( 1500, 2000, 1 ))
         MouseClick("left",Random(755,940,1),Random(610,650,1))   ; click 'Ok'
    
        WEnd
    EndFunc
    
    Func Terminate()
        Exit 0
    EndFunc

  12. #12
    Member
    Reputation
    1
    Join Date
    Feb 2010
    Posts
    16
    CoreCoins
    0

    Trade Feedbacks

    Positive
    0
    Negative
    0
    Your version does not I'm affraid do anything more then the original posters one does, In fact it takes longer because you removed some of the key skipping parts.
    The version I've been working on is to expand the original posters further in order to work in background mode 100%.


    Quote Originally Posted by ISEENOEVIL View Post
    Thanks for this, did a few tweaks and it is working on my side 1080p resolution.

    Code:
    #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
    #AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
    #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
    ;Iskatu barbarian Farm
    ;Required Skills:
    ;Slot1: War Cry - Charge!
    ;Slot2: Revenge - Vengeance is Mine
    ;Slot3: Wrath of the Berserker 
    ;Slot4: Earthquake - Giant's Stride
    ;Edition by Aikeelu, credits for the original to: K!ngp!n@Blizzhackers
    ;Background Mode by Falkor - http://www.ownedcore.com/forums/members/646262-falkor.html
    
    Global $Paused, $WinTitle ='Diablo III'
    HotKeySet("{HOME}", "TogglePause")
    HotKeySet("{END}", "Terminate")
    
    While 1
       Sleep(500)
       ToolTip("Not Running Hit 'HOME' to start/pause 'END' to force end!", 0, 0)
    WEnd
    
    Func TogglePause()
       $Paused = NOT $Paused
       While $Paused
          ToolTip("Running!", 0, 0)
    
         Sleep(Random( 2000, 2500, 1 ))
    	MouseClick("left",Random(78,385,1),Random(398,437,1))    ; click 'resume game'
         Sleep(Random( 8000, 9000, 1 ))
    	MouseClick("left", 1550, 900)	; go backwards to initialize position
         Sleep(Random( 1000, 1500, 1 ))
    	MouseClick("left",115,55)	; first click 
         Sleep(Random( 3800, 4500, 1 ))
    	MouseClick("left",150,145)      ; second click	 
         Sleep(Random( 3700, 4000, 1 ))
    	MouseClick("left",810,260,1)    ; third click
         Sleep(Random( 19500, 20000, 1 ))
    	 MouseClick("left",1000,430,1)
         Sleep(Random( 1000, 1300, 1 ))
    	ControlSend($WinTitle, "", "", "{ESCAPE}") ; cancel Tyreal's 1st popup dialog
         Sleep(Random( 400, 700, 1 ))
    	ControlSend($WinTitle, "", "", "{ESCAPE}") ; cancel Tyreal's 2nd popup dialog
         Sleep(Random( 500, 700, 1 ))
         	MouseClick("left",524, 295)
         Sleep(Random( 900, 1200, 1 ))
            MouseClick("left",918,296,1)                     ; click on the portal
         Sleep(Random( 3900, 4000, 1 ))
         	ControlSend($WinTitle, "", "", "{ESCAPE}") ; cancel cinematic
         Sleep(Random( 400, 600, 1 ))
    	ControlClick($WinTitle, "", "", "left", 1, Random(850,910,1), Random(350,377,1)) ; click 'Ok'	 
    
        
    
         sleep(Random( 3000, 4000, 1 ))
    	ControlSend($WinTitle, "", "", "1")
         sleep(Random( 5000, 5500, 1 ))	; combat
    	ControlSend($WinTitle, "", "", "2")
         sleep(Random( 2000, 2500, 1 ))
    	ControlSend($WinTitle, "", "", "2")
         sleep(Random( 1500, 2000, 1 ))
    	ControlSend($WinTitle, "", "", "4")
         sleep(Random( 1000, 1200, 1 ))
    	ControlSend($WinTitle, "", "", "3")
         sleep(Random( 1600, 1800, 1 ))
    	ControlSend($WinTitle, "", "", "2")
         sleep(Random( 2000, 2100, 1 ))
    	MouseClick("left",990, 650)	; move a little bit to pick up gold	 
         sleep(Random( 8000, 8200, 1 ))	; wait to ensure quest completes
    	 ControlSend($WinTitle, "", "", "t")
         
    
    
         sleep(Random( 7000, 7500, 1 ))
    	ControlSend($WinTitle, "", "", "{ESCAPE}")
         sleep(Random( 1000, 2000, 1 ))
         	MouseClick("left",Random(800,1110,1),Random(560,590,1))   ; click 'leave game'
         sleep(Random( 4500, 5000, 1 ))
         	MouseClick("left",Random(70,390,1),Random(465,510,1))      ; click 'change quest'
         sleep(Random( 1500, 2000, 1 ))
         	MouseClick("left",Random(375,790,1),Random(535,555,1))   ; click 'Fall of the High Heavens' quest
         sleep(Random( 1500, 2000, 1 ))
         	MouseClick("left",Random(1040,1365,1),Random(840,885,1))   ; click 'Select Quest'
         sleep(Random( 1500, 2000, 1 ))
         MouseClick("left",Random(755,940,1),Random(610,650,1))   ; click 'Ok'
    
        WEnd
    EndFunc
    
    Func Terminate()
        Exit 0
    EndFunc

  13. #13
    Member
    Reputation
    1
    Join Date
    Feb 2010
    Posts
    16
    CoreCoins
    0

    Trade Feedbacks

    Positive
    0
    Negative
    0
    Quote Originally Posted by falkor View Post
    Ah you might be right let me test that
    Your right you do indeed have to have your mouse over Tyreal for him to become active This rules out ControlClick and leaves only memory injection clicks.

  14. #14
    Master Sergeant Aikeelu's Avatar
    Reputation
    64
    Join Date
    Jun 2012
    Posts
    78
    CoreCoins
    1

    Trade Feedbacks

    Positive
    0
    Negative
    0
    Aww :/ anyway this commands might be really useful for other bots not using npcs, thanks sir (:

  15. #15
    Member
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    15
    CoreCoins
    0

    Trade Feedbacks

    Positive
    0
    Negative
    0
    i think mine is getting bugged cause the lag dont know... how can i change the time that it clicks on tyrael and enter iskatu ??? Is there a way to slow the seconds?

    Another thing: is there a way to use it in full screen windowed mode?

    Thanks

 

 
Page 1 of 4 1 2 3 4 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -4. The time now is 08:54 PM. Powered by vBulletin® Version 4.2.0
Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.
Content Relevant URLs by vBSEO
vBulletin Optimisation by vB Optimise. Digital Point modules: Sphinx-based search

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935