Page 1 of 2 12 LastLast
Results 1 to 15 of 25
  1. #1
    Takari's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Cross Fire Section
    Posts
    11,889
    Reputation
    574
    Thanks
    1,966
    My Mood
    Cool

    [TUT]How to make a simple Auto Clicker!

    Well this is my first Tutorial so please give me some comments about this.

    What we will do in this tutorial?
    • A simple Auto Clicker.
      Hotkeys.
      Interval
      & more!


    I will split this tutorial in 3 parts.1 part is for the button,2 part is for the GUI and things like that and 3 part is for coding.

    First Part:

    First,Open Microsoft Visual Basic 2008 Express Edition.
    When it open press Ctrl+N.
    Choose Windows Forms Applications and name it Simple Auto Clicker,and click OK.
    You will need 3 Labels.
    The label1 text should be F5 = Start
    The label2 text should be F6 = Stop
    The label3 text should be Speed of the clicks.

    Than you will need 1 Textbox.
    This should be under Speed of the clicks or beside it.

    Than you will need 2 Timers.
    Change Timer1 name to Hotkeys.
    Enable do it False.
    And Interval do it 1.

    Change Timer2 name to Clicks.
    Than just change Interval do 1000.

    Part 2:
    Click on Form1.
    And go on Properties.
    Change Maximize Box,Minimize Box and Show Icon to False.
    Than change TopMost to True.
    Don't do the background(GUI)so big do it like 300 , 150.

    Part 3:
    So this will be the coding.
    Double Click On Form1 and Delete Everything in there.

    Than copy and paste this code:
    Code:
    Public Class Form1
        Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer
        Private Declare Sub mouse_event Lib "user32" (ByVal dwflags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cbuttons As Long, ByVal dwExtraInfo As Long)
        Private Const mouseclickup = 4
        Private Const mouseclickdown = 2
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    
        End Sub
    
        Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Hotkeys.Tick
            Dim Hotkey1 As Boolean
            Hotkey1 = GetAsyncKeyState(Keys.F5)
            If Hotkey1 = True Then
                Clicks.Start()
    
            End If
            Dim Hotkey2 As Boolean
            Hotkey2 = GetAsyncKeyState(Keys.F6)
            If Hotkey2 = True Then
                Clicks.Stop()
    
            End If
        End Sub
    
        Private Sub Click_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Clicks.Tick
            Clicks.Interval = TextBox1.Text
            mouse_event(mouseclickdown, 0, 0, 0, 0)
            mouse_event(mouseclickup, 0, 0, 0, 0)
        End Sub
    
        Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
    
        End Sub
        Private Sub Label3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label3.Click
    
        End Sub
    End Class
    Press F5 and it should start Debugging.
    Than Save it.

    That's all.
    If you find any problems please comment.
    [IMG]https://i1114.photobucke*****m/albums/k538/ImminentJM/takari.png[/IMG]




     
    Goal:
    10,000 Posts - 10/13/2011
    Become Minion - Not Done
    Become Donator - 07/29/2011
    1000 Thanks - Done - 07/25/2011
    2000 Thanks - Not Done
    Thanks Archangel for my 1,000 Thanks.
    Thanks Keroaplt for my Signature.

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

    Critted (08-24-2010),emosch02 (07-28-2010),Marines667 (08-14-2010),ryski123 (09-02-2010)

  3. #2
    MoFkN iBoSS's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    217
    Reputation
    10
    Thanks
    76
    My Mood
    Chatty
    very nice tut but i wouldnt use this but anyways GJ

  4. #3
    Takari's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Cross Fire Section
    Posts
    11,889
    Reputation
    574
    Thanks
    1,966
    My Mood
    Cool
    Well,If you don't play Runescape and FPS it's useless.
    [IMG]https://i1114.photobucke*****m/albums/k538/ImminentJM/takari.png[/IMG]




     
    Goal:
    10,000 Posts - 10/13/2011
    Become Minion - Not Done
    Become Donator - 07/29/2011
    1000 Thanks - Done - 07/25/2011
    2000 Thanks - Not Done
    Thanks Archangel for my 1,000 Thanks.
    Thanks Keroaplt for my Signature.

  5. #4
    MiamiSuicide's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    2

    Question

    Quote Originally Posted by ©®o$s ƒi®E™ View Post
    Well,If you don't play Runescape and FPS it's useless.
    how do autoclickers work on fps ?>

  6. #5
    iKingKiller's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    30
    Reputation
    10
    Thanks
    0
    My Mood
    Cool
    Use Camtasie Studio 7 or something . Video is Better

  7. #6
    DayumKen's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Houston, Texas, USA.
    Posts
    130
    Reputation
    10
    Thanks
    46
    My Mood
    Inspired
    Quote Originally Posted by MiamiSuicide View Post
    how do autoclickers work on fps ?>
    Auto shooting. >.>

    Ontopic:
    It doesn't work for me. There are no errors but when I press the hotkey, it doesn't work. Here is my code:

    Public Class Form1
    Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer
    Private Declare Sub mouse_event Lib "user32" (ByVal dwflags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cbuttons As Long, ByVal dwExtraInfo As Long)
    Private Const mouseclickup = 4
    Private Const mouseclickdown = 2

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    End Sub

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Hotkeys.Tick
    Dim Hotkey1 As Boolean
    Hotkey1 = GetAsyncKeyState(Keys.F11)
    If Hotkey1 = True Then
    Clicks.Start()
    End If

    Dim Hotkey2 As Boolean
    Hotkey2 = GetAsyncKeyState(Keys.F12)
    If Hotkey2 = True Then
    Clicks.Stop()
    End If
    End Sub

    Private Sub Click_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Clicks.Tick
    Clicks.Interval = TextBox1.Text
    mouse_event(mouseclickdown, 0, 0, 0, 0)
    mouse_event(mouseclickup, 0, 0, 0, 0)
    End Sub

    Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged

    End Sub
    Private Sub Label3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label3.Click

    End Sub
    End Class
    Help?
    Last edited by DayumKen; 06-20-2010 at 01:32 PM.

  8. #7
    BossMan.'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    BossWorld
    Posts
    3,314
    Reputation
    51
    Thanks
    430
    My Mood
    Relaxed
    Sorry but how do I compile/build it? I'm a total noob so don't flame me.



  9. #8
    benl's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    In Hell
    Posts
    611
    Reputation
    7
    Thanks
    43
    My Mood
    Cheerful
    F7 buddy press thanks it will be in the Release folder

  10. #9
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by DayumKen View Post


    Auto shooting. >.>

    Ontopic:
    It doesn't work for me. There are no errors but when I press the hotkey, it doesn't work. Here is my code:


    Help?
    add this to Form1_Load

    [php]
    Timer1.Start()
    [/php]

    If that's not your problem add the following import

    [php]
    Imports System.Runtime.InteropServices
    [/php]

    then DELETE this line from your declarations:

    [php]
    Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer
    [/php]

    and replace it with this:

    [php]
    <DllImport("user32.dll")> _
    Private Shared Function GetAsyncKeyState(ByVal vKey As Integer) As UShort
    [/php]

    ....that should be it.


    And to think you released an injector without giving credits to the leeched source -.-.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  11. The Following User Says Thank You to Jason For This Useful Post:

    Marines667 (08-14-2010)

  12. #10
    Takari's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Cross Fire Section
    Posts
    11,889
    Reputation
    574
    Thanks
    1,966
    My Mood
    Cool
    Quote Originally Posted by J-Deezy View Post
    add this to Form1_Load

    [php]
    Timer1.Start()
    [/php]

    If that's not your problem add the following import

    [php]
    Imports System.Runtime****teropServices
    [/php]

    then DELETE this line from your declarations:

    [php]
    Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer
    [/php]

    and replace it with this:

    [php]
    <DllImport("user32.dll")> _
    Private Shared Function GetAsyncKeyState(ByVal vKey As Integer) As UShort
    [/php]

    ....that should be it.


    And to think you released an injector without giving credits to the leeched source -.-.
    What he said.Sorry for the bump,but this is Tut section...
    [IMG]https://i1114.photobucke*****m/albums/k538/ImminentJM/takari.png[/IMG]




     
    Goal:
    10,000 Posts - 10/13/2011
    Become Minion - Not Done
    Become Donator - 07/29/2011
    1000 Thanks - Done - 07/25/2011
    2000 Thanks - Not Done
    Thanks Archangel for my 1,000 Thanks.
    Thanks Keroaplt for my Signature.

  13. #11
    jomel599's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    Visual C++ / Visual basic??

  14. #12
    wiyyyy's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    0
    thanks very nice tutorial

  15. #13
    Marines667's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    My Mood
    Sneaky
    ok it works in game until i get into a match then it stops

  16. #14
    Xizors's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    568
    Reputation
    18
    Thanks
    94
    NIce tut

  17. #15
    aLcohoL_95's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    SatyRicon
    Posts
    685
    Reputation
    8
    Thanks
    291
    My Mood
    Cynical
    oh some1 bumped thiss thread and didnt close :S

    CANNIBAL CORPSE P0WNS


Page 1 of 2 12 LastLast

Similar Threads

  1. [TUT]How to make a Simple Spammer!
    By DeathHunter in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 30
    Last Post: 05-02-2010, 06:43 AM
  2. [TUT]How to make a simple[Closed]
    By Takari in forum Visual Basic Programming
    Replies: 17
    Last Post: 04-22-2010, 10:49 AM
  3. [TUT]How to make a Simple Auto Clicker!
    By DeathHunter in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 22
    Last Post: 04-15-2010, 12:30 PM
  4. [TUT]How to make a Simple Progress Bar!
    By DeathHunter in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 4
    Last Post: 04-12-2010, 12:02 AM
  5. *Tut* How To Make A Simple Notepad
    By u1111u in forum Programming Tutorials
    Replies: 2
    Last Post: 01-31-2010, 11:58 PM