Results 1 to 8 of 8
  1. #1
    dudezone2's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    86
    Reputation
    10
    Thanks
    2
    My Mood
    Relaxed

    Autoclicking and Hotkeys

    Okay, sorry for all the questions posted by me recently.

    My first problem is the autoclicking, i used the tutorial from the vb tutorial list topic to make the autoclicker.

    A lot of the time, when i debug my application, i click Start or press the Start Hotkey, and it just stops right away.

    I think it's the hotkeys that are doing this, because, the Stop button is the only thing that can stop the timer, because my hotkey action is a performclick rather then copying and pasting the stop button code. and i know its not just the timer disabling because i have a label that says Active if the autoclicker is running, and Inactive if it's not, and i made it so if the Start or Stop button is clicked, the label will change, not if the timer is enabled or not. The interval for the timer is at a controllable rate. and no the hotkeys for start and stop are not the same, and ive tried changing them to make sure it wasn't happening with a specific hotkey. Oh and when it stops randomly, i didn't even start it using the start hotkey, i pressed the button so i don't understand whats going on please help.


    The second thing is more of just a question. The GetAsyncKeyState is only for the forms in the project, like if you hit a hotkey while on IE and ur program is not selected/minimized, will it work?

    Thanks
    I don't really have a signature... well... you don't have a life! TM...well its not really a trademark, but don't take it

  2. #2
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,669
    My Mood
    Breezy
    Quote Originally Posted by dudezone2 View Post
    The second thing is more of just a question. The GetAsyncKeyState is only for the forms in the project, like if you hit a hotkey while on IE and ur program is not selected/minimized, will it work?
    What suggested that? GetAsyncKeyState will return any key's state no matter what application is open so yes, if you hit a hotkey on IE and your form is capturing keys with GetAsyncKeyState, it will still work.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  3. #3
    dudezone2's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    86
    Reputation
    10
    Thanks
    2
    My Mood
    Relaxed
    Well the fact that i tested it and it didn't work but whatever
    I don't really have a signature... well... you don't have a life! TM...well its not really a trademark, but don't take it

  4. #4
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,669
    My Mood
    Breezy
    Quote Originally Posted by dudezone2 View Post
    Well the fact that i tested it and it didn't work but whatever
    You're probably implementing it incorrectly then. A snippet would be nice, we can't just guess what's going on.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  5. #5
    dudezone2's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    86
    Reputation
    10
    Thanks
    2
    My Mood
    Relaxed
    Dim StartClick As Boolean
    Dim StopClick As Boolean

    StartClick = GetAsyncKeyState(Keys.F1)
    StopClick = GetAsyncKeyState(Keys.F2)

    If StartClick = True Then
    Button2.PerformClick()
    End If

    If StopClick = True Then
    Button3.PerformClick()
    End If


    Is the code, which is under my Hotkey timer, which has 10 interval and is enabled by default
    I don't really have a signature... well... you don't have a life! TM...well its not really a trademark, but don't take it

  6. #6
    willrulz188's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Ohio?
    Posts
    1,786
    Reputation
    35
    Thanks
    231
    My Mood
    Amazed
    change Keypreview too true?
    Question ALL statements! ?
    You're in denial that you're in denial. ?
    [img]https://i360.photobucke*****m/albums/oo45/blood188/Untitled-3.jpg?t=1284590977[/img]

  7. #7
    dudezone2's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    86
    Reputation
    10
    Thanks
    2
    My Mood
    Relaxed
    Im sorry i don't understand what you mean
    I don't really have a signature... well... you don't have a life! TM...well its not really a trademark, but don't take it

  8. #8
    willrulz188's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Ohio?
    Posts
    1,786
    Reputation
    35
    Thanks
    231
    My Mood
    Amazed
    Quote Originally Posted by dudezone2 View Post
    Im sorry i don't understand what you mean
    Code:
    'in form load
    Keypreview = True
    Question ALL statements! ?
    You're in denial that you're in denial. ?
    [img]https://i360.photobucke*****m/albums/oo45/blood188/Untitled-3.jpg?t=1284590977[/img]

Similar Threads

  1. [Release] Rustys Auto on and Hotkey v1.1
    By ★Rusty in forum Combat Arms Hacks & Cheats
    Replies: 46
    Last Post: 08-26-2010, 11:18 AM
  2. [Tutorial] Hack Operation (D3D Menu and Hotkeys)
    By Ryan in forum Sudden Attack General
    Replies: 0
    Last Post: 04-13-2010, 07:02 PM
  3. [Help] AutoClicker hotkey.
    By Lolland in forum Visual Basic Programming
    Replies: 32
    Last Post: 11-26-2009, 06:09 PM
  4. what is the code and the right hotkey (space) for SJ
    By floris12345! in forum Visual Basic Programming
    Replies: 4
    Last Post: 01-20-2008, 01:37 PM
  5. editing modules and hotkey makin
    By mpghhackersrock123 in forum WarRock - International Hacks
    Replies: 0
    Last Post: 10-14-2007, 10:52 AM