[VB.NET]Code source Color Aimbot.

  • Partenaires

Utilisateurs qui regardent le poste (Total: 0, Members: 0, Invité: 0)

Nayres

Nayres

Membre Banni
15 Avr. 2012
3,431
0
341
Quelque part.
Hello !
Voici un code source pour des jeux fps tel qu'S4 League ou CS et d'autre, qui fonctionne en PixelSearch, soit en recherchant des couleurs.
Creez un nouveau project Application windows form et mettez 2 boutton et 2 timer.

PHP:
Public Class Form1

    Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
        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) 
                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
            MsgBox("Aucune cible avec cette couleur.", , "Aimbot")
        End Try
    End Sub

    Private Sub Timer2_Tick(sender As Object, e As EventArgs) Handles Timer2.Tick
        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) 
                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
            MsgBox("Aucune cible avec cette couleur.", , "Aimbot")
        End Try
    End Sub

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Timer1.Start()
        Timer2.Start()
    End Sub

    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
        Timer1.Stop()
        Timer2.Stop()
        Timer1.Interval = 1
        Timer2.Interval = 1
        Timer1.Enabled = False
        Timer2.Enabled = False
        Button1.Text = "on"
        Button2.Text = "off"
    End Sub

End Class

Si vous souhaitez ne pas avoir de Msgbox qui vous avertis qu'il n'y a pas un pixel avec la couleur voulue supprimez :
PHP:
 MsgBox("Aucune cible avec cette couleur.", , "Aimbot")

Bon voilà c'est tout ;)
 
Jaws031

Jaws031

Level 3
Level 2
Level 1
26 Fév. 2013
66
0
211
chez moi
Merci, pourrais-tu expliquer un peu ton code ?
 
Evaelis

Evaelis

La Voix de la Sagesse
Level 5
Level 4
Level 3
Level 2
Ancien staff
Level 1
28 Avr. 2010
22,929
465
1,699
Valhalla
J'ai la flemme de commenter le code mais donne les passages qui te posent problème
 
M

MarkoX

Membre Banni
13 Janv. 2013
2,166
0
236
42
Merci pour ton code, ça peut grandement aider :)
 
M

MarkoX

Membre Banni
13 Janv. 2013
2,166
0
236
42
Ton aimbot color fonctionne à toutes les mises à jour de counter strike ? Même pas besoin de mettre à jour des offsets donc ?

EDIT: Je l'ai testé sur Counter-strike: source, il trouve aucun pixel de la bonne couleur, enfin bref ça fonctionne pas.
 
Dernière édition:
M

MarkoX

Membre Banni
13 Janv. 2013
2,166
0
236
42
Et tu peux nous aider pour ça ? Car je sais pas du tout comment faire.
 
narutos4

narutos4

Level 5
Level 4
Level 3
Level 2
Level 1
27 Avr. 2010
1,202
0
942
31
Quel est la couleur pour S4 League ?