Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Nubzgetkillz's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    hacktown
    Posts
    838
    Reputation
    13
    Thanks
    411
    My Mood
    Amazed

    [HELP] Coding correct hotkeys (Crossfire)

    Well when I made my hack they were auto on and I had trouble with the hotkeys when testing so I didn't implement them into my first hack.

    If anyone can show/teach/tell me how to add hotkeys correctly It would be greatly appreciated thanks.

    Bye

    -Nubzgetkillz

    Member since September 25, 2010

    Current Objectives:
    • Graduate college with a degree in Computer Science
    • Find a decent job in the Computer Science Field
    • Learn more programming languages

    Looking for Elo Boosting Job - League of Legends
    Looking for Bronze -> Gold Jobs


    Skype: whatthedream

  2. #2
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    if (GetASyncKeyState(Keys::myHotKey))
    {
    // activate whatever.
    }

  3. #3
    Auxilium's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,518
    Reputation
    445
    Thanks
    609
    My Mood
    Happy
    Quote Originally Posted by freedompeace View Post
    if (GetASyncKeyState(Keys::myHotKey))
    {
    // activate whatever.
    }
    Or just

    (GetAsyncKeyState(VK_Key))

  4. #4

  5. #5
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Quote Originally Posted by Koreans View Post


    Or just

    (GetAsyncKeyState(VK_Key))
    VK_KEY does not have all possible key listings.

  6. #6
    Kallisti's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,019
    Reputation
    52
    Thanks
    376
    My Mood
    In Love
    Quote Originally Posted by freedompeace View Post
    VK_KEY does not have all possible key listings.
    MSDN for keys without a VK /

    未来が見えなくて怖いから
    未来が見えてしまって悲しいから
    目を閉じて優しい思い出に浸ってしまう




  7. #7
    Nubzgetkillz's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    hacktown
    Posts
    838
    Reputation
    13
    Thanks
    411
    My Mood
    Amazed
    Thanks for helping :]

    so if I were to use that in my next hack void how would i implement it into my hack?

    Member since September 25, 2010

    Current Objectives:
    • Graduate college with a degree in Computer Science
    • Find a decent job in the Computer Science Field
    • Learn more programming languages

    Looking for Elo Boosting Job - League of Legends
    Looking for Bronze -> Gold Jobs


    Skype: whatthedream

  8. #8
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Quote Originally Posted by Nubzgetkillz View Post
    Thanks for helping :]

    so if I were to use that in my next hack void how would i implement it into my hack?
    What do you mean? ._.

  9. #9
    Nubzgetkillz's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    hacktown
    Posts
    838
    Reputation
    13
    Thanks
    411
    My Mood
    Amazed
    Like for here low level keyboard hook.
    I haven't test your method yet though.

    Member since September 25, 2010

    Current Objectives:
    • Graduate college with a degree in Computer Science
    • Find a decent job in the Computer Science Field
    • Learn more programming languages

    Looking for Elo Boosting Job - League of Legends
    Looking for Bronze -> Gold Jobs


    Skype: whatthedream

  10. #10
    Kuro Tenshi's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Where arth thou be
    Posts
    3,635
    Reputation
    70
    Thanks
    746
    My Mood
    Blah
    Void = Fast & zu pro :\ nyaa~
    but still strange that GetAsyncKeyState doesnt operate that well, even my
    old laptop works and even the school pc from8 years ago...
    [php]
    if (GetAsyncKeystate(VK_Insert)<0)
    {
    }

    if (GetAsyncKeystate(VK_Insert)&1)
    {
    }
    [/php]
    or not vk_keys
    [php]
    if (GetAsyncKeystate("t")<0)
    {
    }


    if (GetAsyncKeystate("t")&1)
    {
    }
    [/php]
    screw vk only :3 or it is 't' < pointer val.
    Last edited by Kuro Tenshi; 09-29-2010 at 08:05 AM.
    DigiDrawing|+ ( (Elfen Archer) )
    Link:
    https://www.mpgh.net/forum/148-showro...en-archer.html


    @ Anime Section,Otaku/weeabo (orz.) @Graphics Section, Novice DigiArtist


    neuest gift from Yura~Chan:
    https://bakyurayuu.deviantar*****m/#/d372taw
    2nd Place MOTM#9 Theme: CharMods - Combat Arms [No - Thanks] button
    come on you know that don't want to push that ordinary button

  11. #11
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    Am I the only one who uses VkKeyScan() to get the virtual key code of a character? |:

  12. #12
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by Void View Post
    Am I the only one who uses VkKeyScan() to get the virtual key code of a character? |:
    Nope, I've used it (albeit in Visual Basic) It's pretty handy.

    EDIT: How come you're not GH anymore Void?

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  13. The Following User Says Thank You to Jason For This Useful Post:

    Void (09-29-2010)

  14. #13
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    Quote Originally Posted by Void View Post
    Am I the only one who uses VkKeyScan() to get the virtual key code of a character? |:
    lies.. that .dll i posted a few weeks ago, i was using it there =D
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

  15. The Following User Says Thank You to 'Bruno For This Useful Post:

    Void (09-29-2010)

  16. #14
    Kuro Tenshi's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Where arth thou be
    Posts
    3,635
    Reputation
    70
    Thanks
    746
    My Mood
    Blah
    why use it if this works too :3 besides whats longer some char u write as a sendkey typ or the above one ;D
    DigiDrawing|+ ( (Elfen Archer) )
    Link:
    https://www.mpgh.net/forum/148-showro...en-archer.html


    @ Anime Section,Otaku/weeabo (orz.) @Graphics Section, Novice DigiArtist


    neuest gift from Yura~Chan:
    https://bakyurayuu.deviantar*****m/#/d372taw
    2nd Place MOTM#9 Theme: CharMods - Combat Arms [No - Thanks] button
    come on you know that don't want to push that ordinary button

  17. #15
    ☻☻☻☻☻☻'s Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    82
    Reputation
    10
    Thanks
    2
    Dont forget to bool it /

Page 1 of 2 12 LastLast

Similar Threads

  1. [Help Request] I WANT TO HELP CODE!!
    By youngbuck1970 in forum Alliance of Valiant Arms (AVA) Help
    Replies: 7
    Last Post: 06-09-2011, 04:28 PM
  2. [Help]Is this WebBrowser Code Correct?
    By o0OpurezO0o in forum Visual Basic Programming
    Replies: 6
    Last Post: 10-25-2010, 10:07 PM
  3. [HELP] Coding correct hotkeys
    By Nubzgetkillz in forum CrossFire Help
    Replies: 2
    Last Post: 09-28-2010, 07:22 PM
  4. help me put hotkeys into my coding pelase
    By DylanOwnsYou in forum Visual Basic Programming
    Replies: 11
    Last Post: 09-15-2009, 12:01 PM
  5. anyone help with scope hotkey
    By ll Asura ll in forum Visual Basic Programming
    Replies: 7
    Last Post: 01-24-2008, 09:37 PM