[Request]Auto Clicker

Discussion in 'Programming General' started by Soul Undead, Nov 7, 2008.

[Request]Auto Clicker
  1. Unread #1 - Nov 7, 2008 at 4:48 PM
  2. Soul Undead
    Referrals:
    0

    Soul Undead Guest

    [Request]Auto Clicker

    Well since this is my first post, I guess there should be an intro, considering I do not see an introduction section anywhere.
    If you don't really care, just skip down to the big letters.

    I have lurked this forum for about 2 years, and it has helped me much. I enjoy programming and gaming. I know/am learning HTML, JS, VB6, VB8/.net, and CSS, not very advanced ones. I am unsure if this community has any resents towards new users, but if so, I'd rather you keep them to yourselves.

    Big Text
    I am building my own multi-auto tool for Runescape/any other games, and have no idea how to make an auto clicker. I haven't found anything of use on google. I would greatly appreciate if someone would give me a tutorial on how to make one.
     
  3. Unread #2 - Nov 7, 2008 at 4:55 PM
  4. Visual Basic Matt
    Joined:
    Jan 29, 2008
    Posts:
    647
    Referrals:
    2
    Sythe Gold:
    56
    Discord Unique ID:
    223154494878253056

    Visual Basic Matt Apprentice

    [Request]Auto Clicker

    If you have one, add my msn, or my aim, (There the same.) I would be glad to help you. :eek:

    Edit: I'm on, but waiting for you.
     
  5. Unread #3 - Nov 7, 2008 at 5:03 PM
  6. Soul Undead
    Referrals:
    0

    Soul Undead Guest

    [Request]Auto Clicker

    Thanks, added.
    I appreciate it. log on please.
     
  7. Unread #4 - Nov 8, 2008 at 3:54 PM
  8. slashshot007
    Joined:
    May 6, 2006
    Posts:
    164
    Referrals:
    0
    Sythe Gold:
    0

    slashshot007 Active Member

    [Request]Auto Clicker

    i have one, look around for my sources. I'm pretty some of them are here, i'll try and find them.

    EDIT:
    Here are some usefull functions that I personally made.
    http://www.sythe.org/showthread.php?t=355105
    http://www.sythe.org/showthread.php?t=202845

    and here is the clicking function:
    Code:
        Public Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Int32, ByVal dx As Int32, ByVal dy As Int32, ByVal cButtons As Int32, ByVal dwExtraInfo As Int32)
        Public Const MOUSEEVENTF_LEFTDOWN = &H2
        Public Const MOUSEEVENTF_LEFTUP = &H4
        Public Const MOUSEEVENTF_RIGHTDOWN = &H8
        Public Const MOUSEEVENTF_RIGHTUP = &H10
    
    
            Sub ClickMouse(ByVal mousebutton As String)
            If mousebutton = Left Then
                mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0)
                System.Threading.Thread.Sleep(50)
                mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0)
            ElseIf mousebutton = Right Then
                mouse_event(MOUSEEVENTF_RIGHTDOWN, 0, 0, 0, 0)
                System.Threading.Thread.Sleep(50)
                mouse_event(MOUSEEVENTF_RIGHTUP, 0, 0, 0, 0)
            End If
        End Sub
    example usage is
    ClickMouse("Left")
    ClickMouse("Right")
    left is the left button, right is the right button. Get it?
     
  9. Unread #5 - Nov 8, 2008 at 4:02 PM
  10. Soul Undead
    Referrals:
    0

    Soul Undead Guest

    [Request]Auto Clicker

    Thank you, I'll try to find them as well.
     
  11. Unread #6 - Nov 8, 2008 at 4:39 PM
  12. Soul Undead
    Referrals:
    0

    Soul Undead Guest

    [Request]Auto Clicker

    I'm getting it.
    that top stuff is the declarations, and im thinking the stuff below it goes into a timer or also declarations.
     
  13. Unread #7 - Nov 8, 2008 at 4:57 PM
  14. slashshot007
    Joined:
    May 6, 2006
    Posts:
    164
    Referrals:
    0
    Sythe Gold:
    0

    slashshot007 Active Member

    [Request]Auto Clicker

    the stuff above is declarations, the stuff below is the actual method.
    you simply paste that into the class
    then you would put:
    ClickMouse("Left")
    and stuff in the timer.

    ClickMouse("Left") simply calls the method, which does the code within it.
    you need to really learn your programming before you start doing this.
     
< paying for help with website. | Need Help with runescape menu vb6 code >

Users viewing this thread
1 guest


 
 
Adblock breaks this site