• Log in or sign up for an account here: https://www.sythe.org/login

[Request]Auto Clicker

  • Thread starter Thread starter Soul Undead
  • Start date Start date
S

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.
 
[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?
 
[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?
I'm getting it.
that top stuff is the declarations, and im thinking the stuff below it goes into a timer or also declarations.
 
[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.
 
Runescape Gamblingrunescape gambling
Back
Top