Thread: AutoShoot Code

Results 1 to 4 of 4
  1. #1
    FoxHunter's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    Setúbal
    Posts
    1,662
    Reputation
    848
    Thanks
    1,013
    My Mood
    Doh

    AutoShoot Code

    Here I found for AutoShoot.
    Try it for yourself, good luck and tell me if is something wrong and need to change please.

    Code:
    ;msgbox.au3
    ;Created by LogisticDad https://logisticdad.co.uk
    HotKeySet("{F1}", "mousecur")
    HotKeySet("{F2}", "getcol")
    HotKeySet("{F5}", "Terminate")
    HotKeySet("{F9}", "Home")
    #include "CustomMsgBox.au3"
    Home()
    While 1
        Sleep(10)
    WEnd
     
    Func Terminate()
    	MsgBox(0, "Bye", "Bye, Bye")
    	Exit 1
    EndFunc
     
    Func Home()
    	$REturn = xMsgBox(16+0x200,"Palidins AutoShoot","Please use one of the options below. use F9 to open this page again","Start","help", "Exit",  Default,34,"C:\vista.ico")
    	switch $REturn
     
    		case 6 ;Start
    			Start()
     
     
    		case 7 ;Help
    			Help()
     
    	endswitch
    EndFunc
     
    Func Start()
    	$Start  = xMsgBox(16+0x200,"Palidins AutoShoot","Please select resolution below.","1920x1080","1366x768", "Exit",Default,34,"C:\vista.ico")
    	switch $Start
     
    	case 6 ;1920x1080
    	MsgBox(0, "Online", "1920x1080 Enabled")
    	While 1
    	  $point = PixelSearch(960,538,962,538, 0xFE4040, 10)
    	  if IsArray($point) Then
    		 MouseClick("left")
    		 $point = ""
    	  EndIf
    	  $point = PixelSearch(960,538,962,538, 0xFDB033, 10)
    	  if IsArray($point) Then
    		 MouseClick("left")
    		 $point = ""
    	  EndIf
    	WEnd
     
    	case 7 ;1366x768
    	MsgBox(0, "Online", "1366x768 Enabled")
    	While 1
    	  $point = PixelSearch(683,383,686,384, 0xFE4040, 3)
    	  if IsArray($point) Then
    		 MouseClick("left")
    		 $point = ""
    	  EndIf
    	  $point = PixelSearch(683,383,684,383, 0xFDB033, 3)
    	  if IsArray($point) Then
    		 MouseClick("left")
    		 $point = ""
    	  EndIf
       WEnd
     
    endswitch
    EndFunc
     
    Func Help()
    	$Help  = xMsgBox(16+0x200,"Palidins AutoShoot","Please Follow below instructions for this to work." &   @CRLF & "" &   @CRLF & "1) Go to game options" &   @CRLF & "2) Goto Gameplay and set:" &   @CRLF & "3) Enable Reticle type: DOT" &   @CRLF & "4) Enable Reticle change over target: ENABLED.","Start","Extra","Exit",Default,34,"C:\vista.ico")
    	switch $Help
     
    		case 6 ;Start
    			Start()
     
    		case 7 ;Extras
    			Extras()
     
    	endswitch
    EndFunc
     
    Func Extras()
    	$Extras  = xMsgBox(16+0x200,"Palidins AutoShoot","Extras For Config." &   @CRLF & "" &   @CRLF & "F1 - Show Mouse Position" &   @CRLF & "F2 - Show Color of Pixel","Start","Home","Exit",Default,34,"C:\vista.ico")
    	switch $Extras
     
    		case 6 ;Start
    			Start()
     
    		case 7 ;Extras
    			Home()
     
    	endswitch
    EndFunc
     
    Func mousecur()
    	$MousePos = MouseGetPos()
    	$MousePos[0] ; Mouse X position
    	$MousePos[1] ; Mouse Y position
    	msgbox(0,"Debug","Cursor located at " & $MousePos[0] & "," & $MousePos[1])
    EndFunc
     
    Func getcol()
     
       $iColor = PixelGetColor(745,375)
       msgbox(0,"Debug","Cursor located at " & Hex($iColor, 6))
     
    EndFunc
    Reputation power: 20


    Previous names:
    Kakershi
    Player

     

    Member: November 2011
    Premium Member: April 2015
    Premium Seller: June 2019
     


    You wanna help me cause I helped you? Click in "Donate"!

  2. #2
    Sunz115's Avatar
    Join Date
    May 2020
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    0

    sc-SuNz115

    Quote Originally Posted by FoxHunter View Post
    Here I found for AutoShoot.
    Try it for yourself, good luck and tell me if is something wrong and need to change please.

    Code:
    ;msgbox.au3
    ;Created by LogisticDad https://logisticdad.co.uk
    HotKeySet("{F1}", "mousecur")
    HotKeySet("{F2}", "getcol")
    HotKeySet("{F5}", "Terminate")
    HotKeySet("{F9}", "Home")
    #include "CustomMsgBox.au3"
    Home()
    While 1
        Sleep(10)
    WEnd
     
    Func Terminate()
    	MsgBox(0, "Bye", "Bye, Bye")
    	Exit 1
    EndFunc
     
    Func Home()
    	$REturn = xMsgBox(16+0x200,"Palidins AutoShoot","Please use one of the options below. use F9 to open this page again","Start","help", "Exit",  Default,34,"C:\vista.ico")
    	switch $REturn
     
    		case 6 ;Start
    			Start()
     
     
    		case 7 ;Help
    			Help()
     
    	endswitch
    EndFunc
     
    Func Start()
    	$Start  = xMsgBox(16+0x200,"Palidins AutoShoot","Please select resolution below.","1920x1080","1366x768", "Exit",Default,34,"C:\vista.ico")
    	switch $Start
     
    	case 6 ;1920x1080
    	MsgBox(0, "Online", "1920x1080 Enabled")
    	While 1
    	  $point = PixelSearch(960,538,962,538, 0xFE4040, 10)
    	  if IsArray($point) Then
    		 MouseClick("left")
    		 $point = ""
    	  EndIf
    	  $point = PixelSearch(960,538,962,538, 0xFDB033, 10)
    	  if IsArray($point) Then
    		 MouseClick("left")
    		 $point = ""
    	  EndIf
    	WEnd
     
    	case 7 ;1366x768
    	MsgBox(0, "Online", "1366x768 Enabled")
    	While 1
    	  $point = PixelSearch(683,383,686,384, 0xFE4040, 3)
    	  if IsArray($point) Then
    		 MouseClick("left")
    		 $point = ""
    	  EndIf
    	  $point = PixelSearch(683,383,684,383, 0xFDB033, 3)
    	  if IsArray($point) Then
    		 MouseClick("left")
    		 $point = ""
    	  EndIf
       WEnd
     
    endswitch
    EndFunc
     
    Func Help()
    	$Help  = xMsgBox(16+0x200,"Palidins AutoShoot","Please Follow below instructions for this to work." &   @CRLF & "" &   @CRLF & "1) Go to game options" &   @CRLF & "2) Goto Gameplay and set:" &   @CRLF & "3) Enable Reticle type: DOT" &   @CRLF & "4) Enable Reticle change over target: ENABLED.","Start","Extra","Exit",Default,34,"C:\vista.ico")
    	switch $Help
     
    		case 6 ;Start
    			Start()
     
    		case 7 ;Extras
    			Extras()
     
    	endswitch
    EndFunc
     
    Func Extras()
    	$Extras  = xMsgBox(16+0x200,"Palidins AutoShoot","Extras For Config." &   @CRLF & "" &   @CRLF & "F1 - Show Mouse Position" &   @CRLF & "F2 - Show Color of Pixel","Start","Home","Exit",Default,34,"C:\vista.ico")
    	switch $Extras
     
    		case 6 ;Start
    			Start()
     
    		case 7 ;Extras
    			Home()
     
    	endswitch
    EndFunc
     
    Func mousecur()
    	$MousePos = MouseGetPos()
    	$MousePos[0] ; Mouse X position
    	$MousePos[1] ; Mouse Y position
    	msgbox(0,"Debug","Cursor located at " & $MousePos[0] & "," & $MousePos[1])
    EndFunc
     
    Func getcol()
     
       $iColor = PixelGetColor(745,375)
       msgbox(0,"Debug","Cursor located at " & Hex($iColor, 6))
     
    EndFunc
    how do i start or run
    it

  3. #3
    TruGam3rr's Avatar
    Join Date
    Jan 2021
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0

    AutoHotKey

    Quote Originally Posted by Sunz115 View Post
    how do i start or run
    it
    i think u need to install autohotkey to run it.
    just copy paste the code in a .txt file then rename it to .ahk

  4. #4
    razzettii's Avatar
    Join Date
    Mar 2021
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0

    Error

    Quote Originally Posted by TruGam3rr View Post
    i think u need to install autohotkey to run it.
    just copy paste the code in a .txt file then rename it to .ahk
    I tried this today (not sure if it still works) and I got an error saying
    Error at line 7.
    #Include file "C:\Users\user\Desktop"CustomMsgBox.au3"" cannot be opened.
    The program will exit.

    Any help?

Similar Threads

  1. [Help] HELP with coding! Autoshoot when crosshair is over enemy
    By Cirion66 in forum All Points Bulletin Reloaded Hacks
    Replies: 8
    Last Post: 07-02-2011, 07:45 AM
  2. Replies: 37
    Last Post: 06-20-2006, 04:24 PM
  3. Pre-Regerstration - E3 Codes
    By Dave84311 in forum WarRock - International Hacks
    Replies: 67
    Last Post: 06-13-2006, 08:06 AM
  4. hi can any1 help me make or find a cheat code
    By CrUsHa in forum WarRock - International Hacks
    Replies: 3
    Last Post: 05-19-2006, 04:39 PM
  5. a Couple WPE Weapon codes?
    By phil823 in forum WarRock - International Hacks
    Replies: 16
    Last Post: 02-10-2006, 02:14 PM