Results 1 to 4 of 4
  1. #1
    Lmorra's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    2

    My hack doesn't work fine -.-

    Hi all. I'm not able to make a menù hack, but some weeks ago i made and hotkeys hack (very simple). It worked for me, but only if i used gordon injector -.- other injectors didn't worked...can someone help me?
    This is the code:
    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* )( 0x377C8538 );
    DWORD CNADDIE = 0x46F670;
    void* Send = ( void* )*( DWORD* )(CNADDIE);
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp,4;
    }
    } 
    void main()
    {
    
        while(!IsGameReadyForHook()){ Sleep(200); }
    
        bool chams = false;
        bool spread = false;
        bool recoil = false;
        bool glass = false;
        bool reload = false;
    
        while(true)
        {
    
            //
            if(GetAsyncKeyState(VK_NUMPAD1)&1){//Comando per le chams.
                chams = !chams;
            }
                if(chams){
                    PushToConsole("SkelModelStencil 1");
                } else { 
                    PushToConsole("SkelModelStencil 0");
                }
    
            if(GetAsyncKeyState(VK_NUMPAD3)&1){//Comando per il no spread.
                spread = !spread;
            }
                if(spread){//
                    PushToConsole("PerturbRotationEffect  0.000000");
                    PushToConsole("PerturbIncreaseSpeed 0.000000");
                    PushToConsole("PerturbWalkPercent 0.000000");
                    PushToConsole("PerturbFiringIncreaseSpeed 0.000000");
                } else {
                    PushToConsole("PerturbRotationEffect 3.000000");
                    PushToConsole("PerturbIncreaseSpeed 3.000000");
                    PushToConsole("PerturbDecreaseSpeed 9.000000");
                    PushToConsole("PerturbWalkPercent 0.500000");
                }
    
            if(GetAsyncKeyState(VK_NUMPAD4)&1){//Comando per il no recoil.
                recoil = !recoil;
            }
                if(recoil){//
                        memcpy((LPVOID)0x3745FA90, "\x90\x90\x90", 3);//You will have to update these your self.Drake has a thread posted.Thank him for his hardwork and thank me :D.
                        memcpy((LPVOID)0x37232A69, "\x90\x90\x90", 3);
                        memcpy((LPVOID)0x3745FAA4, "\x90\x90\x90", 3);
                        memcpy((LPVOID)0x3745FAA7, "\x90\x90\x90", 3);
                        memcpy((LPVOID)0x3745FAB0, "\x90\x90\x90", 3);
                } else {
                        memcpy((LPVOID)0x3745FA90, "\xD8\x66\x54", 3);
                        memcpy((LPVOID)0x37232A69, "\xD9\x46\x54", 3);
                        memcpy((LPVOID)0x3745FAA4, "\xD9\x5E\x54", 3);
                        memcpy((LPVOID)0x3745FAA7, "\xD9\x46\x48", 3);
                        memcpy((LPVOID)0x3745FAB0, "\xD9\x5E\x48", 3);
    
                }
            
            if(GetAsyncKeyState(VK_NUMPAD2)&1){//Comando per i glass walls.
                glass = !glass;
            }
                if(glass){
                    memcpy((LPVOID)0x5721AA, "\x6A\x00", 2);
                } else { 
                    memcpy((LPVOID)0x5721AA, "\x6A\x01", 2);
    
                }
    
            if(GetAsyncKeyState(VK_NUMPAD5)&1){//Comando per il no reload.
                reload = !reload;
            }
                if(reload){
                    memcpy((LPVOID) 0x374AB714, "\x90\x90\x90\x90\x90\x90", 6);
                } else { 
                    memcpy((LPVOID) 0x374AB714, "\x0F\x84\xB1\x01\x00\x00", 6);
                }
    
    
                    Sleep(50);
        }
    }
    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 )
        {
            system("start http:mysite.com/");
        }
    {CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }
    bool Memoria( void * pDest, char * szPatch, size_t sSize )//NOP Function
    {
        DWORD dwOrgProtect = NULL; 
        if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
            return FALSE;
    
        memcpy( pDest, szPatch, sSize ); 
        VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); 
        return TRUE; 
    }
    Please help me (address are not update but when they was update, the hack worked only with gordon injector)

  2. The Following User Says Thank You to Lmorra For This Useful Post:

    g3ofamas1 (10-28-2010)

  3. #2
    *_BulletInYourHeard_*'s Avatar
    Join Date
    Aug 2010
    Gender
    female
    Location
    mpgh.net -------- --------- Loved: 147 Times
    Posts
    223
    Reputation
    8
    Thanks
    154
    My Mood
    In Love
    i think the surce code aren't the problem.
    its anythink with your OS. or you doesn't open the injectors with admin...

  4. The Following 2 Users Say Thank You to *_BulletInYourHeard_* For This Useful Post:

    Drake (10-25-2010),g3ofamas1 (10-28-2010)

  5. #3
    Lmorra's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    2
    I open all injectors as admin every time

  6. The Following User Says Thank You to Lmorra For This Useful Post:

    g3ofamas1 (10-28-2010)

  7. #4
    *_BulletInYourHeard_*'s Avatar
    Join Date
    Aug 2010
    Gender
    female
    Location
    mpgh.net -------- --------- Loved: 147 Times
    Posts
    223
    Reputation
    8
    Thanks
    154
    My Mood
    In Love
    i trust you but i think it havent anythink to do with your sc...

  8. The Following User Says Thank You to *_BulletInYourHeard_* For This Useful Post:

    g3ofamas1 (10-28-2010)

Similar Threads

  1. Hack doesn't work
    By chrisssj3 in forum Combat Arms Hacks & Cheats
    Replies: 43
    Last Post: 01-09-2009, 02:50 PM
  2. New Hack Doesn't work!
    By Fasdius2 in forum Combat Arms Hacks & Cheats
    Replies: 6
    Last Post: 01-07-2009, 08:22 AM
  3. New Hack doesn't work help!
    By Remorse in forum Combat Arms Hacks & Cheats
    Replies: 29
    Last Post: 01-06-2009, 06:41 PM
  4. Why Public CA hack doesn't work well
    By Rigby in forum Combat Arms Hacks & Cheats
    Replies: 2
    Last Post: 12-28-2008, 05:33 PM
  5. Hacks doesn't work anymore?
    By jorisy00 in forum WarRock - International Hacks
    Replies: 9
    Last Post: 02-23-2007, 09:55 AM