Adblock breaks this site

[Request]Auto Clicker

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

  1. Soul Undead

    Soul Undead Guest

    Referrals:
    0
    [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.
     
  2. Visual Basic Matt

    Visual Basic Matt Apprentice

    Joined:
    Jan 29, 2008
    Posts:
    647
    Referrals:
    2
    Sythe Gold:
    56
    Discord Unique ID:
    223154494878253056
    [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.
     
  3. Soul Undead

    Soul Undead Guest

    Referrals:
    0
    [Request]Auto Clicker

    Thanks, added.
    I appreciate it. log on please.
     
  4. slashshot007

    slashshot007 Active Member

    Joined:
    May 6, 2006
    Posts:
    164
    Referrals:
    0
    Sythe Gold:
    0
    [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?
     
  5. Soul Undead

    Soul Undead Guest

    Referrals:
    0
    [Request]Auto Clicker

    Thank you, I'll try to find them as well.
     
  6. Soul Undead

    Soul Undead Guest

    Referrals:
    0
    [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.
     
  7. slashshot007

    slashshot007 Active Member

    Joined:
    May 6, 2006
    Posts:
    164
    Referrals:
    0
    Sythe Gold:
    0
    [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 >


 
 
Adblock breaks this site