Results 1 to 14 of 14
  1. #1
    blackgamingthesecond's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    57

    Help! GetAsyncKeyState Detected

    My GetAsyncKeyState is detected,
    If I remove the getasynckeystate I get on with the game
    but when I put it, I get detected. Help please~

  2. #2
    asqapro's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    228
    Reputation
    18
    Thanks
    1,690
    My Mood
    Tired
    You could use GetKeyState instead (I personally never used GetAsyncKeyState, Idk how you guys implement it). That, or just switch up how it's called. XIGNCode is pretty shit (imo), I've changed the order of a series of function calls before and a program was undetected.
    AVA IGN: NutVBanned

    Current releases:

  3. #3
    blackgamingthesecond's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    57
    Quote Originally Posted by asqapro View Post
    You could use GetKeyState instead (I personally never used GetAsyncKeyState, Idk how you guys implement it). That, or just switch up how it's called. XIGNCode is pretty shit (imo), I've changed the order of a series of function calls before and a program was undetected.
    Thank you for replying Are you sure that GetKeyState works? Cause as far as i know, it's just for HIGHER CASE and lower case state of every letters.
    What do you mean by "just switch up how it's called?" could you explain it a bit more?

  4. #4
    asqapro's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    228
    Reputation
    18
    Thanks
    1,690
    My Mood
    Tired
    Quote Originally Posted by blackgamingthesecond View Post
    Thank you for replying Are you sure that GetKeyState works? Cause as far as i know, it's just for HIGHER CASE and lower case state of every letters.
    What do you mean by "just switch up how it's called?" could you explain it a bit more?
    Sorry about the slow reply, I keep writing it up then not finishing it xP

    GetKeyState works if you check the bit state or some shenanigans correctly. Use
    Code:
    if((GetKeyState(KEY) & 0x80) == 1){}
    to see if a key is pressed. It's the only thing I use for my macros, and it works fine.

    And by "switch it up", I mean like if you have a block of code that looks like
    Code:
    if(GetAsyncKeyState(KEY)){ do_stuff } if(GetAsyncKeyState(OTHER_KEY)){ do_other_stuff}
    Simply switching the call order to like
    Code:
    if(GetAsyncKeyState(OTHER_KEY)){ do_other_stuff } if(GetAsyncKeyState(KEY)){ do_stuff}
    Might make it undetected. XIGNCode is pretty bad (in my opinion, other people would disagree), so sometimes something as simple as that will fix your problems. If it doesn't, you can change the call order more drastically, or convolute it in other ways (calling dummy functions that just do nothing has worked before for me, but I try to avoid those because it makes the source a little confusing).
    AVA IGN: NutVBanned

    Current releases:

  5. #5
    Ponzi's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    217
    Reputation
    82
    Thanks
    1,667
    My Mood
    Buzzed
    Quote Originally Posted by asqapro View Post
    Sorry about the slow reply, I keep writing it up then not finishing it xP

    GetKeyState works if you check the bit state or some shenanigans correctly. Use
    Code:
    if((GetKeyState(KEY) & 0x80) == 1){}
    to see if a key is pressed. It's the only thing I use for my macros, and it works fine.

    And by "switch it up", I mean like if you have a block of code that looks like
    Code:
    if(GetAsyncKeyState(KEY)){ do_stuff } if(GetAsyncKeyState(OTHER_KEY)){ do_other_stuff}
    Simply switching the call order to like
    Code:
    if(GetAsyncKeyState(OTHER_KEY)){ do_other_stuff } if(GetAsyncKeyState(KEY)){ do_stuff}
    Might make it undetected. XIGNCode is pretty bad (in my opinion, other people would disagree), so sometimes something as simple as that will fix your problems. If it doesn't, you can change the call order more drastically, or convolute it in other ways (calling dummy functions that just do nothing has worked before for me, but I try to avoid those because it makes the source a little confusing).
    Is this a joke?

  6. #6
    asqapro's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    228
    Reputation
    18
    Thanks
    1,690
    My Mood
    Tired
    Quote Originally Posted by Ponzi<3 View Post
    Is this a joke?
    >passive aggressive insult rather than helping me or the OP
    >not elaborating on why you think my post is not useful
    AVA IGN: NutVBanned

    Current releases:

  7. #7
    Ponzi's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    217
    Reputation
    82
    Thanks
    1,667
    My Mood
    Buzzed
    Quote Originally Posted by asqapro View Post
    >passive aggressive insult rather than helping me or the OP
    >not elaborating on why you think my post is not useful
    >Xigncode3 is far more advance then you think probably one of the top anti cheat systems, maybe the AVA version is cheap version of it
    >Xingcode3 detects the return of a lot of API's so "switch it up" is totally useless
    >For OP I would either fake the API's return or use a lowlevel keyboard hook

  8. #8
    demmonic's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    120
    Reputation
    36
    Thanks
    3,126
    Quote Originally Posted by asqapro View Post
    Code:
    if((GetKeyState(KEY) & 0x80) == 1){}
    Well, that's just silly. The bitwise and operator produces a bit mask that preserves bits in places where bits are flagged in each number (e.g. 001010 & 110011 = 000010). The problem with that is that 0x80 is 128, the 8th bit in a mask, therefore the value that ... & 0x80 would produce is either 0 or 128, never 1.

    Code:
    if (GetKeyState(KEY) & 0x80){}
    https://ennui.ninja

    • Fully scriptable botting software for mmos.
      • We currently only support Albion Online
    • Cheats for your favorite games

  9. #9
    zZzeta/S's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Location
    Germany
    Posts
    1,061
    Reputation
    43
    Thanks
    2,082
    Quote Originally Posted by Ponzi<3 View Post
    >Xigncode3 is far more advance then you think probably one of the top anti cheat systems, maybe the AVA version is cheap version of it
    >Xingcode3 detects the return of a lot of API's so "switch it up" is totally useless
    >For OP I would either fake the API's return or use a lowlevel keyboard hook
    Im sorry but xign is shitty as fuck.
    >Its extremly bad written and lacks of good detection methods
    >Spoofing return addresses is not hard ^^
    >You are right, GetKeyState & GetAsyncKeyState should not be used at all. Hook AVA's message proc or handle your own input (directinput for e.x.)

    >Greentexting on mp4changh
    Quote Originally Posted by Jabberwo0ck View Post
    Quote Originally Posted by uNrEaL View Post
    Cool, thanks!
    Ccman has gone too low. I've known for a long time he was sneaky.
    >top lel much crack many get so download wow

  10. #10
    Ponzi's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    217
    Reputation
    82
    Thanks
    1,667
    My Mood
    Buzzed
    Quote Originally Posted by zZzeta/S View Post


    Im sorry but xign is shitty as fuck.
    >Its extremly bad written and lacks of good detection methods
    >Spoofing return addresses is not hard ^^
    >You are right, GetKeyState & GetAsyncKeyState should not be used at all. Hook AVA's message proc or handle your own input (directinput for e.x.)

    >Greentexting on mp4changh
    I guess you guys never experienced the full version Xigncode3 since the way you guys in the AVA section talk about it, it's easy to do a simple bypass with no heartbeat.

  11. #11
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Ontario, Canada
    Posts
    15,782
    Reputation
    3334
    Thanks
    11,206
    My Mood
    Happy
    Why don't you just do a Keyboard Hook instead? Is so simple to implement and it's a lot faster to use. It'll increase performance, and I don't think it should be detected. I don't really understand how GetAsyncKeyState calls are really detected.

    Code:
    // Initialize the hook
    HMODULE hInstance = GetModuleHandle(hModule);
    hHook = SetWindowsHookEx(WH_KEYBOARD_LL, KeyboardProc, hInstance, NULL);
    
    
    // When exiting to unhook, detaching from process
    UnhookWindowsHookEx(hHook);
    
    
    // The actual Hook function
    LRESULT CALLBACK KeyboardProc(int nCode, WPARAM wParam, LPARAM lParam)
    {
        if(wParam == WM_KEYDOWN || wParam == WM_SYSKEYDOWN)
        {    
            PKBDLLHOOKSTRUCT pKey = (PKBDLLHOOKSTRUCT)lParam;
                    
            // Check pKey->vkCode to match any VK_KEYCODE to see if it was pressed
    
    
            if(pKey->vkCode == VK_NUMPAD1)
            {
                // Do something here because the key was pressed
            }
        }
    
    
        CallNextHookEx(hHook, nCode, wParam, lParam);
    
    
        return 0;
    }
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.
     
     
    VM | PM

    Publicist Since 04.04.2015
    Middleman Since Unknown - Unknown
    Global Moderator Since 08.01.2013
    Donator Since 05.29.2013

    Minion+ Since 04.18.2013

    District 187 Minion Since 04.04.2013
    Steam Minion Since 02.26.2013
    WarRock Minion Since 02.19.2013
    A.V.A Minion Since 02.13.2013
    DayZ Minion Since 01.21.2013
    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


  12. #12
    zZzeta/S's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Location
    Germany
    Posts
    1,061
    Reputation
    43
    Thanks
    2,082
    Quote Originally Posted by Ponzi<3 View Post
    I guess you guys never experienced the full version Xigncode3 since the way you guys in the AVA section talk about it, it's easy to do a simple bypass with no heartbeat.
    Oh no not only this joke version^^.
    Many other version around many countries.
    Quote Originally Posted by Jabberwo0ck View Post
    Quote Originally Posted by uNrEaL View Post
    Cool, thanks!
    Ccman has gone too low. I've known for a long time he was sneaky.
    >top lel much crack many get so download wow

  13. #13
    blackgamingthesecond's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    57
    Quote Originally Posted by Ponzi<3 View Post
    >Xigncode3 is far more advance then you think probably one of the top anti cheat systems, maybe the AVA version is cheap version of it
    >Xingcode3 detects the return of a lot of API's so "switch it up" is totally useless
    >For OP I would either fake the API's return or use a lowlevel keyboard hook
    Could you help me? I am using silverDeath's proxy call. It's detected when I use it to GetAsyncKeyState

  14. #14
    Ponzi's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    217
    Reputation
    82
    Thanks
    1,667
    My Mood
    Buzzed
    Quote Originally Posted by blackgamingthesecond View Post
    Could you help me? I am using silverDeath's proxy call. It's detected when I use it to GetAsyncKeyState
    I use that and it works fine maybe your injection method is detected or if you are using createthread 100% detected.

Similar Threads

  1. [Help Request] Need a bit of help with detected hacks
    By kinibayVIP4 in forum Crossfire Coding Help & Discussion
    Replies: 1
    Last Post: 04-03-2013, 04:48 AM
  2. [Help]Kernel Detective
    By Leaf in forum Assembly
    Replies: 2
    Last Post: 12-18-2010, 05:12 AM
  3. [Help]GetAsyncKeyState
    By MintSlice in forum Visual Basic Programming
    Replies: 7
    Last Post: 03-22-2010, 11:49 AM
  4. [Help] GetAsyncKeyState(??) = X??
    By scriptkiddy in forum C++/C Programming
    Replies: 2
    Last Post: 10-12-2009, 11:59 AM
  5. help,,, gamehack detected<<<<
    By noime1989 in forum Soldier Front Hacks
    Replies: 1
    Last Post: 01-21-2009, 08:29 AM