Introducing MPGH's AIGA. The latest advancement in artificial intelligence. Click here now to learn more!
Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 58
  1. #16
    bakycar's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Posts
    200
    Reputation
    11
    Thanks
    70
    My Mood
    Angelic
    Quote Originally Posted by Jordi-Fun View Post
    Well, because AA radar makes 'flat' (2D) rectangles/boxes (around enemys) it may be possible...
    Did u ever see how their sizes smaller if you go further away? and the oposite... It will work on lets say only 33 feet.. or just 20 feet.. depends on his code..
    Press *Thanks* If I helped you in any way ^^

    [IMG]https://i587.photobucke*****m/albums/ss319/daniliard/Bakycar-request.jpg[/IMG]


  2. #17
    cranties's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    55
    Reputation
    13
    Thanks
    83
    My Mood
    Amused

    AutoAim v5.1 by Cranties coming soon....

    Quote Originally Posted by bakycar View Post
    Plase stop making theese hacks because they will NEVER WORK! It's possible to make it only with C++ because the pixels change since is a 3D game..
    IT'S POSSIBLE!!!

    AARadar Make 2D rectangle around enemy...
    I search this rectangle...
    The error that meke you "Spin Around" or "See the Sky" is because i must find the right work for make pointer exactly for target (in debug mode i find the enemy rectangle designed by AA radar, read the coordinate, take the distance (square AA Radar dimension), and when i point i make spiin around because i make mouse too many move! is this the problem! only this! need to find the right system to simulate the mouse movement in the direction where i find the enemy!!!

    Stay tuned....

  3. #18
    Jordi-Fun's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    0
    My Mood
    Doh
    Quote Originally Posted by bakycar View Post
    Did u ever see how their sizes smaller if you go further away? and the oposite... It will work on lets say only 33 feet.. or just 20 feet.. depends on his code..
    I know what you mean, but the rectangles/boxes are still 'printed' in 2D on your screen. They don't actually get a different angle position if they are near you or something.

    Btw, @cranties:
    I'm not sure, but do you know the difference between absolute and relative? Because absolute is from 0,0 px -> left uppercorner. And relative is 0,0 px -> from the current mouse position. Well, at least that makes the most sense for me :P Don't know if absolute and relative are the online mouse-positioning options... Maybe you can also use fixed and static...

  4. #19
    bakycar's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Posts
    200
    Reputation
    11
    Thanks
    70
    My Mood
    Angelic
    Quote Originally Posted by Jordi-Fun View Post
    I know what you mean, but the rectangles/boxes are still 'printed' in 2D on your screen. They don't actually get a different angle position if they are near you or something.
    Hey I'm ALWAYS right ^^ =P and it's the same this time =)
    Press *Thanks* If I helped you in any way ^^

    [IMG]https://i587.photobucke*****m/albums/ss319/daniliard/Bakycar-request.jpg[/IMG]


  5. #20
    cranties's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    55
    Reputation
    13
    Thanks
    83
    My Mood
    Amused

    Exclamation AutoAim v5.2 by Cranties

    Try This!!!

    Try to not modify nothing, just start
    ONLY CHANGE SCREEN RESOL.,
    this is your in-game screen resolution....
    If you have a resolution not in list, let me know and i add... (i add when i have2-3 new resolution...)

    F8 Pause
    F9 Exit


    Let Me know!!!
    Last edited by cranties; 10-15-2009 at 09:29 AM. Reason: Ops...

  6. #21
    Jordi-Fun's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    0
    My Mood
    Doh
    Now it's aiming at the sky when the enemy is close to me. So, yes the rectangle finding is working, but the mouse is just going in the wrong direction.

  7. #22
    DontFearTheReaper's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    61
    Reputation
    10
    Thanks
    24
    My Mood
    Happy
    I Cant get this to aim anywhere... Tut?

  8. #23
    cranties's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    55
    Reputation
    13
    Thanks
    83
    My Mood
    Amused

    Post AutoAim v5.2 by Cranties SOURCE CODE

    This is the source code...

    Code:
    #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
    #AutoIt3Wrapper_Outfile=AutoAim v5.2.exe
    #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
    #include <ButtonConstants.au3>
    #include <EditConstants.au3>
    #include <GUIConstantsEx.au3>
    #include <SliderConstants.au3>
    #include <StaticConstants.au3>
    #include <TabConstants.au3>
    #include <WindowsConstants.au3>
    #include <Misc.au3>
    
    ;VARIABLES
    $dll = DllOpen("user32.dll")
    $SquareColor = 0xff3000
    $HeadSearchActive = False
    $PauseActive = False
    $AlertMessage = True
    AutoItSetOption("MouseCoordMode", 0)
    $MouseMode = False
    $InvertCoords = False
    $Speed = 20
    $XSquare = 100
    $YSquare = 100
    $Tollerance = 10
    $XScreen = 1024
    $YScreen = 768
    
    _Main()
    
    Func _Main()
    	$AutoAim = GUICreate("AutoAim v5.2 by Cranties", 402, 447, 192, 124)
    	$Tab = GUICtrlCreateTab(8, 16, 385, 400)
    	GUICtrlSetResizing(-1, $GUI_DOCKWIDTH + $GUI_DOCKHEIGHT)
    	$Settings = GUICtrlCreateTabItem("Settings")
    	$MouseSpeed = GUICtrlCreateSlider(120, 72, 257, 25)
    	$Label1 = GUICtrlCreateLabel("Mouse Speed", 24, 72, 89, 20)
    	GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
    	$XInvertCoords = GUICtrlCreateCheckbox("Invert Coordinate Mode", 24, 120, 169, 17)
    	GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
    	$XMouseMode = GUICtrlCreateCheckbox("Absolute/Relative Mode", 24, 144, 169, 17)
    	GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
    	$RColor = GUICtrlCreateSlider(120, 192, 257, 25)
    	GUICtrlSetLimit(-1, 255, 0)
    	$Label2 = GUICtrlCreateLabel("Red Color", 22, 192, 65, 20)
    	GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
    	$Label3 = GUICtrlCreateLabel("Green Color", 22, 216, 76, 20)
    	GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
    	$GColor = GUICtrlCreateSlider(120, 216, 257, 25)
    	GUICtrlSetLimit(-1, 255, 0)
    	$Label4 = GUICtrlCreateLabel("Blue Color", 22, 240, 66, 20)
    	GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
    	$BColor = GUICtrlCreateSlider(120, 240, 257, 25)
    	GUICtrlSetLimit(-1, 255, 0)
    	$TextCtrl = GUICtrlCreateInput("TextCtrl", 128, 272, 241, 24)
    	GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
    	$Label5 = GUICtrlCreateLabel("X Max Search", 22, 328, 86, 20)
    	GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
    	$XMax = GUICtrlCreateSlider(118, 328, 257, 25)
    	GUICtrlSetLimit(-1, 150, 0)
    	$Label6 = GUICtrlCreateLabel("Y Max Search", 22, 355, 87, 20)
    	GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
    	$YMax = GUICtrlCreateSlider(118, 355, 257, 25)
    	GUICtrlSetLimit(-1, 150, 0)
    	$Label7 = GUICtrlCreateLabel("Color Toller.", 22, 300, 87, 20)
    	GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
    	$XTollerance = GUICtrlCreateSlider(118, 300, 257, 25)
    	GUICtrlSetLimit(-1, 150, 0)
    	$Resolution = GUICtrlCreateCombo("1024x768", 128, 384, 153, 25)
    	GUICtrlSetData(-1, "640x480|800x600|1280x1024|1600x1024|1280x768|1440x900")
    	$Label7 = GUICtrlCreateLabel("Screen Resol.", 22, 387, 89, 20)
    	GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
    	$TabSheet1 = GUICtrlCreateTabItem("Help")
    	$Help = GUICtrlCreateEdit("", 16, 48, 369, 337)
    	GUICtrlSetData(-1, "Help")
    	GUICtrlSetState(-1, $GUI_DISABLE)
    	GUICtrlCreateTabItem("")
    	$BtnStart = GUICtrlCreateButton("Start AutoAim", 320, 416, 75, 25, $WS_GROUP)
    
    	GUISetState(@SW_SHOW)
    
    	;INITIALIZE
    	$Test = GUICtrlSetData(9, "255")
    	$Test = GUICtrlSetData(12, "48")
    	$Test = GUICtrlSetData(14, "00")
    	$Test = GUICtrlSetData(17, $XSquare)
    	$Test = GUICtrlSetData(19, $YSquare)
    	$Test = GUICtrlSetData(21, $Tollerance)
    	$R = Hex(GUICtrlRead($RColor), 2)
    	$G = Hex(GUICtrlRead($GColor), 2)
    	$B = Hex(GUICtrlRead($BColor), 2)
    	$SquareColor = "0x" & $R & $G & $B
    	$TColor = "0x" & $R & "0000"
    	$MeColor = GUICtrlSetBkColor(9, $TColor)
    	$TColor = "0x00" & $G & "00"
    	$MeColor = GUICtrlSetBkColor(12, $TColor)
    	$TColor = "0x0000" & $B
    	$MeColor = GUICtrlSetBkColor(14, $TColor)
    	$AqColor = GUICtrlSetBkColor(15, $SquareColor)
    	$TextCtrl = GUICtrlSetData(15, $SquareColor)
    	$Test = GUICtrlSetData(5, $Speed)
    	$Test = GUICtrlSetState(7, $GUI_UNCHECKED)
    	$Test = GUICtrlSetState(8, $GUI_UNCHECKED)
    
    	While 1
    		$nMsg = GUIGetMsg()
    		If ProcessExists("BFHeroes.exe") And $AlertMessage = True Then
    			MsgBox(0, "ATTENTION", "Battlefield Heroes is running... Activate AutoAim !")
    			$AlertMessage = False
    		EndIf
    		Switch $nMsg
    			Case $GUI_EVENT_CLOSE
    				Exit
    			Case $RColor
    				$R = Hex(GUICtrlRead($RColor), 2)
    				$G = Hex(GUICtrlRead($GColor), 2)
    				$B = Hex(GUICtrlRead($BColor), 2)
    				$SquareColor = "0x" & $R & $G & $B
    				$TColor = "0x" & $R & "0000"
    				$MeColor = GUICtrlSetBkColor(9, $TColor)
    				$AqColor = GUICtrlSetBkColor(15, $SquareColor)
    				$TextCtrl = GUICtrlSetData(15, $SquareColor)
    			Case $GColor
    				$R = Hex(GUICtrlRead($RColor), 2)
    				$G = Hex(GUICtrlRead($GColor), 2)
    				$B = Hex(GUICtrlRead($BColor), 2)
    				$SquareColor = "0x" & $R & $G & $B
    				$TColor = "0x00" & $G & "00"
    				$MeColor = GUICtrlSetBkColor(12, $TColor)
    				$AqColor = GUICtrlSetBkColor(15, $SquareColor)
    				$TextCtrl = GUICtrlSetData(15, $SquareColor)
    			Case $BColor
    				$R = Hex(GUICtrlRead($RColor), 2)
    				$G = Hex(GUICtrlRead($GColor), 2)
    				$B = Hex(GUICtrlRead($BColor), 2)
    				$SquareColor = "0x" & $R & $G & $B
    				$TColor = "0x0000" & $B
    				$MeColor = GUICtrlSetBkColor(14, $TColor)
    				$AqColor = GUICtrlSetBkColor(15, $SquareColor)
    				$TextCtrl = GUICtrlSetData(15, $SquareColor)
    			Case $XMouseMode
    				$Val = GUICtrlRead($XMouseMode)
    				If $Val = $GUI_CHECKED Then AutoItSetOption("MouseCoordMode", 1)
    				If $Val = $GUI_UNCHECKED Then AutoItSetOption("MouseCoordMode", 0)
    			Case $BtnStart
    				GUISetState(0)
    				$HeadSearchActive = True
    				$Speed = GUICtrlRead($MouseSpeed)
    				$XSquare = GUICtrlRead($XMax)
    				$YSquare = GUICtrlRead($YMax)
    				$Tollerance = GUICtrlRead($XTollerance)
    				$InvertCoords = GUICtrlRead($XInvertCoords)
    				$Screen = GUICtrlRead($Resolution)
    				If $Screen = "640x480" Then
    					$XScreen = 640
    					$YScreen = 480
    				EndIf
    				If $Screen = "800x600" Then
    					$XScreen = 800
    					$YScreen = 600
    				EndIf
    				If $Screen = "1024x768" Then
    					$XScreen = 1024
    					$YScreen = 768
    				EndIf
    				If $Screen = "1280x1024" Then
    					$XScreen = 1280
    					$YScreen = 1024
    				EndIf
    				If $Screen = "1600x1024" Then
    					$XScreen = 1600
    					$YScreen = 1024
    				EndIf
    				If $Screen = "1280x768" Then
    					$XScreen = 1280
    					$YScreen = 768
    				EndIf
    				If $Screen = "1440x900" Then
    					$XScreen = 1440
    					$YScreen = 900
    				EndIf
    				SearchHead()
    				ExitLoop
    		EndSwitch
    	WEnd
    EndFunc   ;==>_Main
    
    Func SearchHead()
    	While $HeadSearchActive = True
    		If _IsPressed("78", $dll) Then
    			Stop()
    		EndIf
    		If _IsPressed("77", $dll) Then
    			Pause()
    		EndIf
    		$PosX = $XScreen / 2
    		$PosY = $YScreen / 2
    		$ULX = $PosX - ($XSquare / 2)
    		If $ULX < 0 Then $ULX = 0
    		$ULY = $PosY - ($YSquare / 2)
    		If $ULY < 0 Then $ULY = 0
    		$BRX = $PosX + ($XSquare / 2)
    		$BRY = $PosY + ($YSquare / 2)
    		$Head = PixelSearch($ULX, $ULY, $BRX, $BRY, $SquareColor, $Tollerance, 1)
    		If Not @error Then
    			$XMove = $Head[0] - $PosX
    			$YMove = $Head[1] - $PosY
    			MouseMove($XMove, $YMove, $Speed)
    		EndIf
    		Sleep(10)
    	WEnd
    EndFunc   ;==>SearchHead
    
    Func Stop()
    	Exit
    EndFunc   ;==>Stop
    
    Func Pause()
    	$PauseActive = Not $PauseActive
    	While $PauseActive = True
    		If _IsPressed("77", $dll) Then
    			$PauseActive = False
    		EndIf
    		Sleep(5)
    	WEnd
    	If $PauseActive = False Then
    		SearchHead()
    	EndIf
    EndFunc   ;==>Pause
    
    DllClose($dll)

    The problem is here:

    Code:
    		$PosX = $XScreen / 2 ; i find the center screen
    		$PosY = $YScreen / 2 ; i find the center screen
    		$ULX = $PosX - ($XSquare / 2)
    		If $ULX < 0 Then $ULX = 0
    		$ULY = $PosY - ($YSquare / 2)
    		If $ULY < 0 Then $ULY = 0
    		$BRX = $PosX + ($XSquare / 2)
    		$BRY = $PosY + ($YSquare / 2)
    		$Head = PixelSearch($ULX, $ULY, $BRX, $BRY, $SquareColor, $Tollerance, 1)
    		If Not @error Then
    			$XMove = $Head[0] - $PosX ; X move from center screen
    			$YMove = $Head[1] - $PosY ; y move from center screen
    			MouseMove($XMove, $YMove, $Speed)
    		EndIf
    Anyone can help me????

  9. The Following 2 Users Say Thank You to cranties For This Useful Post:

    oren007x (10-15-2009),sumsar1812 (10-15-2009)

  10. #24
    cranties's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    55
    Reputation
    13
    Thanks
    83
    My Mood
    Amused

    Exclamation AutoAim v5.3 by Cranties

    New version, try use DLL injection

    Let me know...

  11. The Following 4 Users Say Thank You to cranties For This Useful Post:

    hojladri (10-15-2009),Legendcross (10-19-2009),oren007x (10-15-2009),Spekky6 (10-20-2009)

  12. #25
    oren007x's Avatar
    Join Date
    Apr 2008
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    2
    My Mood
    Devilish
    Cranties, I must say that you are the man.
    Most people would quit making hacks after their first failure.
    Well done and really really great job!
    I've been here and I've been talking to you since AutoAim 1.0 and I have to say that you've developed your script alot further then I've expected.
    Keep up with the great work! |Rep Point up|

  13. #26
    cranties's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    55
    Reputation
    13
    Thanks
    83
    My Mood
    Amused

    Smile Thanks!

    Quote Originally Posted by oren007x View Post
    Cranties, I must say that you are the man.
    Most people would quit making hacks after their first failure.
    Well done and really really great job!
    I've been here and I've been talking to you since AutoAim 1.0 and I have to say that you've developed your script alot further then I've expected.
    Keep up with the great work! |Rep Point up|
    Very thanks!!!

    I'm near to develop another version with a little modify...

    The problem for me is that i'm working.. i can't play the game to try....

  14. #27
    Jordi-Fun's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    0
    My Mood
    Doh
    Could you add 1680x1050 to the screen resolutions? Or just make a field where you can give up a custom sceen res.

    //Edit:
    Now i cant get it working... It's not even aiming at the sky, grmbl :P
    Last edited by Jordi-Fun; 10-15-2009 at 12:11 PM.

  15. #28
    -A-TechMonkeyProduction's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Location
    In your mos room
    Posts
    237
    Reputation
    10
    Thanks
    12
    My Mood
    Bored
    hmmmm cool maybe i will try if i have the time today
    Eat your vegetables or he will find u!














    Achievement list
    Get called hacker with ought hacking
    Get called hacker hacking
    (duh)
    Get unbelievable++ hacking
    Get unbelievable++ with out hacking





    ☆┌─┐ ─┐☆
     │▒│ /▒/
     │▒│/▒/
     │▒ /▒/─┬─┐
     │▒│▒|▒│▒│
    ┌┴─┴─┐-┘─┘
    │▒┌──┘▒▒▒│♫ ♫
    └┐▒▒▒▒▒▒┌┘
     └┐▒▒▒▒┌┘

  16. #29
    bakycar's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Posts
    200
    Reputation
    11
    Thanks
    70
    My Mood
    Angelic
    Sry for saying that u should stop before... I think you should go on since you have great potencial.. Try changing the mouse speed.. i belive that your problem is there if it keeps looking into the sky.. Try LOWERING it Good Luck!
    Press *Thanks* If I helped you in any way ^^

    [IMG]https://i587.photobucke*****m/albums/ss319/daniliard/Bakycar-request.jpg[/IMG]


  17. #30
    cranties's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    55
    Reputation
    13
    Thanks
    83
    My Mood
    Amused

    Exclamation AutoAim v5.4 by Cranties

    Add resolution and more other things...

    i think the problem is the same....

    for now i not realize how to move mouse to RELATIVE position.,.....

    later i post source code if one can help...

    bye bye

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. [Release] AutoAim v5.5 by Cranties
    By cranties in forum Battlefield Heroes Hacks
    Replies: 77
    Last Post: 10-27-2009, 04:53 AM
  2. [Release] AutoAim v2.3 by Cranties
    By cranties in forum Battlefield Heroes Hacks
    Replies: 60
    Last Post: 10-18-2009, 01:25 PM
  3. [Release] AutoAim v2.1 by Cranties
    By cranties in forum Battlefield Heroes Hacks
    Replies: 12
    Last Post: 10-13-2009, 09:49 AM
  4. Autoaim??
    By epg_88 in forum Combat Arms Hacks & Cheats
    Replies: 11
    Last Post: 12-26-2008, 09:45 AM
  5. If you hack/have godmode autoaim ect come here
    By maxisking in forum Combat Arms Hacks & Cheats
    Replies: 34
    Last Post: 10-21-2008, 10:57 PM