Jump to content
Sign in to follow this  
onedayillpay

My aimbot

Recommended Posts

onedayillpay

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
    
    

            
        

        
            
                
                    

        
        
            
                
                    
                
            
            
            
        
    


                
            
            
                
                    
                    
                    
                
                
                    
                
            
        

        
    

    
        
            Share this post
            
            Link to post
            
            
            

            
                Share on other sites
                

    
        
            

    

        
            

    

        
            

    

        
            

    

        
            

    

        
    

            
        
    

    

                    
                        
                            



(adsbygoogle = window.adsbygoogle || []).push({});

                        
                    
                
                    
                    
                    






    

    
        
            
mikehunt114
              

    
        
    
             0
    
        
    

        
        
            

    
        
    

        
    
    
        
mikehunt114   

    
        
    
             0
    
        
    

        
        
            
                Universalist
            
            

            
                

    
        
    

            
            Active Members
            
            
                

    
        
    
             0
    
        
    

                651 posts
                
                

            
        
    
    
        


    

    
        
            
                
                    Report post
                
                
                
                    
                
                
            
        

        
            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]

Share this post


Link to post
Share on other sites
onedayillpay

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

Share this post


Link to post
Share on other sites
onedayillpay

i new it would be easy...now i can perfect this aimbot

all be able to get better aim out of it.. hopefully never miss

i had the problme on were if some one was in a dark spot, the pixel wasnot found and i wouldnt hit anything..

Share this post


Link to post
Share on other sites
onedayillpay

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

Share this post


Link to post
Share on other sites
AzKay

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- #

Share this post


Link to post
Share on other sites
onedayillpay

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

Share this post


Link to post
Share on other sites
FreeFry

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

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.