Jump to content

My aimbot


Recommended Posts

my abjectuv

to search for teal and click on it, if teal is not found thin search for a darker shaid of teal and still if not found search even darker...i do have a script that i play with that works...but its Vary slopy...so ill post this script as an exmple...

this script will search for teal"$Color"

if teal is not found thin nothing happns

now if $Color is not found thin how can i search for a new color "$Color1

im looking far an easy for for this to happn...i hav tryd a few differnt times but i get the same problem

#include <Misc.au3>
HotKeySet("!{ESC}", "Terminate")
$Color = "0x00DC91";teal 
$Colo1 = "0x00CH90";red
$dll = DllOpen("user32.dll")

;red 0x3D0000
; blue 0x00005D  teal 0x00DC91

While 1
    
    If _IsPressed("01", $dll) Then
        
        
        
$Pos = PixelSearch(0+5, 0+5, @DesktopWidth-5, @DesktopHeight-5, $Color, 10,1)
If IsArray($Pos) Then
    MouseClick("left", $Pos[0], $Pos[1], 1, 0)


if not IsArray($Pos) Then ; <----------------i was thinking maybe somthing like this
    If _IsPressed("01", $dll) Then
        
        
        
$Pos1 = PixelSearch(0+5, 0+5, @DesktopWidth-5, @DesktopHeight-5, $Colo1, 10,1)
If IsArray($Pos1) Then 
    MouseClick("left", $Pos1[0], $Pos1[1], 1, 0)
Else

    
EndIf
EndIf
EndIf
EndIf
EndIf
WEnd

Func Terminate()
    
    Exit 0
EndFunc
DllClose($dll)


            
                


    Edited  by onedayillpay
    
    

            
        

        

        
    

    

    




    Link to comment
    
        
    
    
    

    
    Share on other sites
    

    
        
            

    

        
            

    

        
            

    

        
            

    

        
    


    
    More sharing options...

    


    

                    
                    
                    
                

                    

                    
                    





    

    

    
        
            
                


    
        
    

                
                
                    
                        

                    
                
            
        
        
            
                


mikehunt114
            
            
                Posted 
                
            
        
    
    
        


mikehunt114
            
        
        
            
                
                    


    
        
    

                    
                    
                        

                    
                
            
            
                Active Members
                
            
            
                
                    
                        
                            
                                
                            
                                 651
                            
                                
                            
                        
                        
                    
                
            
            
                

            
        
    
    
        



    
        
            
                
                    
                    
                    
                    
                    
                
            
            
                
                    
                    
                        
                        
                            Share
                        
                        
                        
                        
                        
                            
                                
                            
                            
                            
                            
                            
                            
                        
                    
                
                
            
        

        
            Posted 
            
            
                
                
            
        
    

    

    

    
        
        
            Something like this:

$pos = PixelSearch($left, $top, $right, $bottom, $color, 10, 1)
If IsArray($pos) Then
    ;click the coordinates
Else
    $pos = PixelSearch($left, $top, $right, $bottom, $color, 15, 1)
    If IsArray($pos) Then
        ;click the coordinates
    Else
        $pos = PixelSearch($left, $top, $right, $bottom, $color, 20, 1)
        If IsArray($pos) Then
            ;click the coordinates
        EndIf
    EndIf
EndIf

Or if you want it to search until it finds 'something', do the same kind of thing, but use a For loop, with the shade variation as the count.

IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font]
Link to comment
Share on other sites

Something like this:

$pos = PixelSearch($left, $top, $right, $bottom, $color, 10, 1)
If IsArray($pos) Then
    ;click the coordinates
Else
    $pos = PixelSearch($left, $top, $right, $bottom, $color, 15, 1)
    If IsArray($pos) Then
        ;click the coordinates
    Else
        $pos = PixelSearch($left, $top, $right, $bottom, $color, 20, 1)
        If IsArray($pos) Then
            ;click the coordinates
        EndIf
    EndIf
EndIf

Or if you want it to search until it finds 'something', do the same kind of thing, but use a For loop, with the shade variation as the count.

ok ill mess around with that....thanx
Link to comment
Share on other sites

ok...now i have a new question

how can i make this porgram search the middle of your screen ummm...

picture a square in the middle of your screen about 3inch's by 3inch's

anything out side of the square wont be searched is what im trying to accomplish

$Pos = PixelSearch(0+5, 0+5, @DesktopWidth-5, @DesktopHeight-5, $Color, 10,1)
how can i change this...
$Pos = PixelSearch(3, 3, @DesktopWidth-3, @DesktopHeight-3, $Color, 10,1)<---just a thought
Link to comment
Share on other sites

Would it be something like:

$Pos = PixelSearch(@DesktopWidth /2 -5, @DesktopWidth /2 -5, @DesktopWidth /2 +5, @DesktopHeight /2 +5, $Color)

Well, that would search 5 pixels out from the center. Like, a 5 pixelsearch box.

EDIT:: 10?

Edited by AzKay
# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Link to comment
Share on other sites

this works..i tryd yours but nothing happend

thanx tho

not sure if thats the middle of screen tho

ill just pull out the ruler

$Pos = PixelSearch(550,300,750,500, $Color, 10,1)

$Pos = PixelSearch(@DesktopWidth /2 -5, @DesktopWidth /2 -5, @DesktopWidth /2 +5, @DesktopHeight /2 +5, $Color)

Edited by onedayillpay
Link to comment
Share on other sites

This could probably be done by searching the pixels around the mouse(my preferred method), because in most (assuming this is in a 3d game) 3d games the mouse gets locked to the middle of the screen(game window)

This is a snip of code from my aimbot:

$SearchArea being the Area(in pixels) to search around the mouse

$SearchColor being the color to search for

$SearchDiff being the color variance

$SearchStep being the amount of pixels to skip when searching

$mPos = MouseGetPos()

If Not $pause Then
    
    $cStatus = PixelSearch($mPos[0]-$SearchArea, $mPos[1]-$SearchArea, $mPos[0]+$SearchArea, $mPos[1]+$SearchArea, $SearchColor, $SearchDiff, $SearchStep)
    
EndIf
Edited by FreeFry
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...