Htaed auto clicker.

Discussion in 'Programming General' started by htaed, Sep 2, 2008.

Htaed auto clicker.
  1. Unread #1 - Sep 2, 2008 at 8:07 AM
  2. htaed
    Joined:
    Dec 19, 2005
    Posts:
    336
    Referrals:
    0
    Sythe Gold:
    0

    htaed Forum Addict
    Banned

    Htaed auto clicker.

  3. Unread #2 - Sep 2, 2008 at 1:08 PM
  4. Hoxxy
    Joined:
    Aug 26, 2008
    Posts:
    69
    Referrals:
    0
    Sythe Gold:
    0

    Hoxxy Member
    Banned

    Htaed auto clicker.

    Not bad at all, but autoclickers are to popular to get rep off of.

    Nice prog tho

    6/10
     
  5. Unread #3 - Sep 3, 2008 at 5:10 PM
  6. htaed
    Joined:
    Dec 19, 2005
    Posts:
    336
    Referrals:
    0
    Sythe Gold:
    0

    htaed Forum Addict
    Banned

    Htaed auto clicker.

    I know i didn't get many replies, so i guess not that many people were interested, but i decided to release the new version i made, i changed the wait time to be in seconds not milliseconds, and removed advanced settings as they werent really that useful, so it is a smaller program now.

    [​IMG]
    www.shellmodule.net/HtaedAutoclickerV3.rar
     
  7. Unread #4 - Sep 3, 2008 at 9:09 PM
  8. drainingpower
    Joined:
    Jan 15, 2008
    Posts:
    1,166
    Referrals:
    0
    Sythe Gold:
    0

    drainingpower Guru

    Htaed auto clicker.

    good job nice interface 10/10
     
  9. Unread #5 - Sep 4, 2008 at 2:40 AM
  10. The Hack Masta
    Referrals:
    0

    The Hack Masta Guest

    Htaed auto clicker.

    nice program
    but u should make it color full u know
    change the shell color from gray to sumthing else
    change the text design lol
    it looks cool
     
  11. Unread #6 - Sep 4, 2008 at 6:19 AM
  12. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    Htaed auto clicker.

    CruelLib is outdated (I think).

    Take it a step further and make your own functions ;) An autoclicker is a simple program.
     
  13. Unread #7 - Sep 4, 2008 at 7:44 AM
  14. Nullware
    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0

    Nullware Guru

    Htaed auto clicker.

    You should change it back, having it in a smaller measurement allows for more flexibility.

    Only the OCR and some other features are outdated, his mouse movements are still some of the most advanced and undetectable that I've seen released for VB6. Nonetheless, there's no reason to not at least attempt making your own functions. :)
     
  15. Unread #8 - Sep 4, 2008 at 11:52 AM
  16. htaed
    Joined:
    Dec 19, 2005
    Posts:
    336
    Referrals:
    0
    Sythe Gold:
    0

    htaed Forum Addict
    Banned

    Htaed auto clicker.

    Thanks for the comments guys, ill have ago at it now, i have no idea really how to start making the oldschool kinda rs bots where you select the window, select a colour with a picker and start, can't find any resources anywhere, without cruellib (even the documentation on that is a bit confusing)
     
  17. Unread #9 - Sep 5, 2008 at 11:34 AM
  18. Terrankiller
    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    Htaed auto clicker.

    Copy and paste this into a module. Old function.

    Code:
    Public Declare Function SetCursorPos Lib "user32" (ByVal X As Long, ByVal Y As Long) As Long
    
    Public Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As Long
    
    Public Declare Function timeGetTime Lib "winmm.dll" () As Long
    
    Public Const Pi = 3.141592654
    
    Public Type POINTAPI
    
       X As Long
    
       Y As Long
    
    End Type
    
    Public Function Wait(TimeOut)
    
       Dim TimeNow As Long
    
       On Error Resume Next
      
       TimeNow = timeGetTime()
      
       Do
      
          DoEvents
        
       Loop While TimeNow + TimeOut > timeGetTime()
      
    End Function
    
    'MoveMouseCurve
    'Written by: Terrankiller
    '[email protected]
    
    Public Function MoveMouseCurve(X As Long, Y As Long, Steps As Long, Arch As Long)
    
       Dim TmpX As Long, TmpY As Long, Step As Long, MP As POINTAPI
    
       GetCursorPos MP
    
       Randomize Timer: X = X + 5 * Rnd - 2
    
       Randomize Timer: Y = Y + 5 * Rnd - 2
    
       Randomize Timer: r1 = Round(5 * Rnd)
    
       Randomize Timer: r2 = Round(5 * Rnd)
    
       Randomize Timer: Arch1 = Round(Arch * Rnd)
    
       Randomize Timer: Arch2 = Round(Arch * Rnd)
    
       If MP.X > X Then w = 1 Else w = -1
    
       If MP.Y > Y Then q = 1 Else q = -1
    
       For i = 1 To Steps
    
          CP = (i / Steps)
    
          TmpX = MP.X + (X - MP.X) * CP + (w * Sin(Pi * r1 * CP) * Arch1)
    
          TmpY = MP.Y + (Y - MP.Y) * CP + (q * Sin(Pi * r2 * CP) * Arch2)
    
          SetCursorPos TmpX, TmpY
    
          Wait (1)
    
       Next i
    
    End Function
    
    Sub Main()
    
       MoveMouseCurve 1, 1, 100, 90
    
    End Sub
    
     
  19. Unread #10 - Sep 12, 2008 at 8:53 AM
  20. Scouter Ohh
    Joined:
    Aug 16, 2008
    Posts:
    60
    Referrals:
    0
    Sythe Gold:
    0

    Scouter Ohh Member
    Banned

    Htaed auto clicker.

    Thanks This Really Helped!
     
  21. Unread #11 - Sep 12, 2008 at 9:46 AM
  22. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    Htaed auto clicker.

    It's to do with window handles / DCs. There are APIs like GetWindRect(), GetDC(), etc which do this, but may require a certain amount of studying before you understand what they do at your level.

    I recommend moving on to .Net if you want to do stuff like that - the classes included in the .Net framework make it a shitload easier on newer people.
     
  23. Unread #12 - Sep 12, 2008 at 1:28 PM
  24. htaed
    Joined:
    Dec 19, 2005
    Posts:
    336
    Referrals:
    0
    Sythe Gold:
    0

    htaed Forum Addict
    Banned

    Htaed auto clicker.

    Thank you mate, i'm not really that interested in rs really, but it was just an idea at the time :) I've been on/off vb6 for a few years and when i use .net occasionally i find it lacks some of the things im used to in vb6 like inet/winsock etc, it seems like i can use the 6.0 controls of these but i wasn't sure if that was a good idea. I'm sure theres alternatives but i haven't found much i understand.
     
< Help with GoSerach function | New Buttons (CovButton) >

Users viewing this thread
1 guest


 
 
Adblock breaks this site