Results 1 to 10 of 10
  1. #1
    lucasheer715's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    648
    Reputation
    10
    Thanks
    497
    My Mood
    Bored

    VB.net Color Aimbot

    I was researching color/pixel aim bots in visual basic, and i put together a quick aim bot of what i found. This is currently working for crossfire, but it is slow and i do not have the correct color for head listed in code. (I will have it shown in code snippet)
    If you have a 32 bit system then u can use (getasynvkeystate)
    Code:
    Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
    (This code is undetectable.....)


    Requirements (everything is done in form_load)
    2 timers
    2 buttons

    Timer1 Code :
    Code:
    Dim screensize As Size = New Size(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height)
            Dim screenshot As New Bitmap(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height)
            Dim g As System.Drawing.Graphics = System.Drawing.Graphics.FromImage(screenshot)
            g.CopyFromScreen(New Point(0, 0), New Point(0, 0), screensize)
            Dim pointx As Integer = 1
            Dim pointy As Integer = 1
            Dim looking As Boolean = True
            Try
                While looking = True
                    Dim atpoint As Color = screenshot.GetPixel(pointx, pointy)
                    Dim red As Color = Color.FromArgb(255, 217, 59, 73) 'does not work with crossfire
                    If atpoint = red Then
                        Cursor.Position = New Point(pointx, pointy)
                        looking = False
                        pointx = 1
                        pointy = 1
                    End If
    
                    pointy = pointy + 1
                    If pointy = My.Computer.Screen.Bounds.Height Then
                        pointy = 0
                        pointx = pointx + 1
                    End If
    
                End While
            Catch ex As Exception
            End Try
    Timer2 Code:
    Code:
    Dim screensize As Size = New Size(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height)
            Dim screenshot As New Bitmap(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height)
            Dim g As System.Drawing.Graphics = System.Drawing.Graphics.FromImage(screenshot)
            g.CopyFromScreen(New Point(0, 0), New Point(0, 0), screensize)
            Dim pointx As Integer = 1
            Dim pointy As Integer = 1
            Dim looking As Boolean = True
            Try
                While looking = True
                    Dim atpoint As Color = screenshot.GetPixel(pointx, pointy)
                    Dim red As Color = Color.FromArgb(255, 217, 59, 73) 'does not work with crossfire
                    If atpoint = red Then
                        Cursor.Position = New Point(pointx, pointy)
                        looking = False
                        pointx = 1
                        pointy = 1
                    End If
    
                    pointy = pointy + 1
                    If pointy = My.Computer.Screen.Bounds.Height Then
                        pointy = 0
                        pointx = pointx + 1
                    End If
    
                End While
            Catch ex As Exception
            End Try
    Button1 Code:
    Code:
     Timer1.Start()
            Timer2.Start()
    Button2 Code:
    Code:
    Timer1.Stop()
            Timer2.Stop()
    Form Code:
    Code:
     Timer1.Interval = 1
            Timer2.Interval = 1
            Timer1.Enabled = False
            Timer2.Enabled = False
            Button1.Text = "on"
            Button2.Text = "off"

    This is done in Visual basic 2010 64 bit, if this doesn't work for u please ask questions.

    BTW: I made duel timers which makes it faster but only do 1 if your computer is slow.
    Last edited by BACKD00R; 05-08-2013 at 08:50 AM.

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

    6ixth (05-03-2013),S]n!ck-_* (05-05-2013)

  3. #2
    6ixth's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    3,033
    Reputation
    661
    Thanks
    19,904
    Nice tutorial!

  4. The Following User Says Thank You to 6ixth For This Useful Post:

    lucasheer715 (05-03-2013)

  5. #3
    lucasheer715's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    648
    Reputation
    10
    Thanks
    497
    My Mood
    Bored
    thanks, i had help from a friend with the code a lil bit
    Last edited by lucasheer715; 05-04-2013 at 08:40 AM.

  6. #4
    lucasheer715's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    648
    Reputation
    10
    Thanks
    497
    My Mood
    Bored
    You can use this image for aimbot color
    Last edited by lucasheer715; 05-04-2013 at 04:59 PM.

  7. #5
    CoderCf's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    143
    Reputation
    10
    Thanks
    9
    Can you sey me the Pixel ?

  8. #6
    S]n!ck-_*'s Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    Water less LAND
    Posts
    1,066
    Reputation
    51
    Thanks
    45
    My Mood
    Sad
    nice tut thanks

  9. #7
    lucasheer715's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    648
    Reputation
    10
    Thanks
    497
    My Mood
    Bored
    Quote Originally Posted by CoderCf View Post
    Can you sey me the Pixel ?
    no sorry, i dont have then pixel, but im working on it cause i can only find red, green, and blue. (if i find it i will give code)

  10. #8
    CoderCf's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    143
    Reputation
    10
    Thanks
    9
    OK Thx

  11. #9
    nwouh's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    29
    Reputation
    10
    Thanks
    0
    can use to other games

  12. #10
    lucasheer715's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    648
    Reputation
    10
    Thanks
    497
    My Mood
    Bored
    Quote Originally Posted by nwouh View Post
    can use to other games
    yep, i use rgb color finder, works great

Similar Threads

  1. Color AimBot
    By Riseing in forum Combat Arms Hacks & Cheats
    Replies: 22
    Last Post: 10-13-2008, 04:30 PM
  2. PLZ Make Me A Tutorial For Use Color aimbot (video)
    By Trickmadd in forum Programming Tutorials
    Replies: 2
    Last Post: 08-17-2008, 09:59 PM
  3. color aimbot
    By cjg333 in forum WarRock - International Hacks
    Replies: 20
    Last Post: 07-03-2007, 06:58 AM
  4. [Trade] Color Aimbot + Wallhack 4 WR Account! Lv6+
    By Titanium Gold in forum Trade Accounts/Keys/Items
    Replies: 15
    Last Post: 05-26-2007, 06:07 PM
  5. [SEARCHING] Color Aimbot v3
    By stfustfu in forum WarRock - International Hacks
    Replies: 4
    Last Post: 01-13-2006, 02:51 AM