Results 1 to 7 of 7
  1. #1
    HackFail's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0

    I need with with my hack im trying to make(ima noob)

    so....i am trying 2 make a new hack but idk how to put in hotkeys....when i have the code and want a hotkey i typed in
    Code:
    GetASyncKeyState
    then i do
    Code:
    (VT_NUMPAD1)<0); {
    but....when i try to Build Solution...it says that it couldnt find
    Code:
    GetASyncKeyState
    identifier....can any1 tell me wat that is??

  2. #2
    Coder InFamous's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    26
    Reputation
    10
    Thanks
    1
    My Mood
    Amused
    ...

    Are those three things all you typed in?

  3. #3
    User1's Avatar
    Join Date
    Jul 2009
    Gender
    female
    Location
    Above the influence
    Posts
    4,085
    Reputation
    61
    Thanks
    4,294,967,295
    My Mood
    Crappy
    Its GetAsyncKeyState

    CPP is case sensitive
    Any donations would help


    Quote Originally Posted by Bombsaway707

    HOLY SHIT ITS USER1
    Quote Originally Posted by Blood

    HOLY SHIT ITS USER1
    Quote Originally Posted by Alby-kun


    HOLY SHIT ITS USER1
    Quote Originally Posted by Ali

    HOLY SHIT ITS USER1
    Quote Originally Posted by CodeDemon
    HOLY SHIT ITS USER1
    Quote Originally Posted by Jussofresh View Post
    HOLY SHIT ITS USER1!
    [21:13] CoderNever: HOLY SHIT ITS USER1!
    Yes it is me... Yup Yup




  4. #4
    HackFail's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0
    ok....well....then can some1 tell me how to type in the GetAsyncKeyState correctly in te code?...i how

    Code:
    #include <windows.h>
    bool IsGameReadyForHook()
    {
    if( GetModuleHandleA( "d3d9.dll" ) != NULL
    && GetModuleHandleA( "ClientFX.fxd" ) != NULL
    && GetModuleHandleA( "CShell.dll" ) != NULL )
    return true;
    return false;
    }
    void __cdecl PushToConsole( const char* szCommand )
    {
    DWORD *LTClient = ( DWORD* )( 0x3778CFB0 );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }
    void main()
    {
    while(true)
    {
    GetAsycnKeyState(VK_NUMPAD1)<0);{
    PushToConsole("CrossHair_DefaultLength 5");
    PushToConsole("CrossHair_DefaultGapLength 0.5");
    PushToConsole("CrosshairGapMin 0");
    PushToConsole("CrosshairGapMax 1");
    PushToConsole("CrosshairBarMin 6");
    PushToConsole("CrosshairBarMax 10");
    PushToConsole("HitCrossHairSize 0");
    PushToConsole("CrossHair_FiringDuration 0");
    Sleep(100);
    }
    }
    }
    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !IsGameReadyForHook() )
    Sleep(100);
    main();
    return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }
    also...when i made the Sync into sync the thing still didnt work? and some1 told me about packing my code with UPX???wats that and can some1 give me a download?

  5. #5
    Bombsaway707's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Gym
    Posts
    8,817
    Reputation
    791
    Thanks
    3,947
    My Mood
    Amused
    Quote Originally Posted by HackFail View Post
    ok....well....then can some1 tell me how to type in the GetAsyncKeyState correctly in te code?...i how

    Code:
    #include <windows.h>
    bool IsGameReadyForHook()
    {
    if( GetModuleHandleA( "d3d9.dll" ) != NULL
    && GetModuleHandleA( "ClientFX.fxd" ) != NULL
    && GetModuleHandleA( "CShell.dll" ) != NULL )
    return true;
    return false;
    }
    void __cdecl PushToConsole( const char* szCommand )
    {
    DWORD *LTClient = ( DWORD* )( 0x3778CFB0 );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }
    void main()
    {
    while(true)
    {
    GetAsycnKeyState(VK_NUMPAD1)<0);{
    PushToConsole("CrossHair_DefaultLength 5");
    PushToConsole("CrossHair_DefaultGapLength 0.5");
    PushToConsole("CrosshairGapMin 0");
    PushToConsole("CrosshairGapMax 1");
    PushToConsole("CrosshairBarMin 6");
    PushToConsole("CrosshairBarMax 10");
    PushToConsole("HitCrossHairSize 0");
    PushToConsole("CrossHair_FiringDuration 0");
    Sleep(100);
    }
    }
    }
    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !IsGameReadyForHook() )
    Sleep(100);
    main();
    return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }
    also...when i made the Sync into sync the thing still didnt work? and some1 told me about packing my code with UPX???wats that and can some1 give me a download?
    UPX make it so your hack cant be Reverse Engineered

  6. #6
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,074
    Reputation
    50
    Thanks
    936
    My Mood
    Fine
    hehe I packed my hack with UPX :3

  7. #7
    HackFail's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0
    how do u pack ur hack with UPX? and how to u make a hotkey into the numpad not the just any number???

    Code:
    if(GetAsyncKeyState('VK_NUMPAD1')<0){
    }
    thats doesnt work...it says that it has too many letters in the constant...hwo else do u write this?

Similar Threads

  1. Need Help With Shotgun Hack
    By x0hack0x in forum Visual Basic Programming
    Replies: 4
    Last Post: 02-19-2008, 03:07 PM
  2. NEED HELP WITH MAKIN HACK
    By mpghhackersrock123 in forum Visual Basic Programming
    Replies: 1
    Last Post: 10-07-2007, 11:03 AM
  3. Need Trainer with ammo hack..
    By Jeffrey1993 in forum WarRock - International Hacks
    Replies: 3
    Last Post: 06-06-2007, 09:51 AM
  4. I need help with fly hack
    By snoop1994 in forum WarRock - International Hacks
    Replies: 4
    Last Post: 04-15-2007, 07:29 PM
  5. Need help with ammo hack
    By AthlaS in forum WarRock - International Hacks
    Replies: 4
    Last Post: 01-19-2006, 02:50 PM