Results 1 to 7 of 7
  1. #1
    DeadLinez's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    http://mpgh.net Sexy Points: 989,576,420
    Posts
    465
    Reputation
    11
    Thanks
    499
    My Mood
    Psychedelic

    Combat Arms Patched and Kernal Detective

    i used the tutorial above and made a hack, my source code at the bottom. and when i enter the game my fps shows up, but after like 30 seconds combat arms, D/C, and then i try ed packing with the demo version of TheMida, and it still didn't work.And my second problem is when i open up kernal detactive to dump engine.exe, it says, that the program has stopped working and it forces me to close the program. then i have a file that is dumped, and i try to open it olly and it gets a error that says: "Unable to start File" then it cant open it whats wrong, while all this is happening i have been able to code 1 never before seen hack, that i will release soon, and if you can help me you will be in the credits.

    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* )( 0x3778BFB0 );
    	void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    	__asm
    	{
    		push szCommand;
    		call CONoff;
    		add esp, 4;
    	}
    }	
    //*****************************************************************************
     void main()
    {
        while (!IsGameReadyForHook()){
           // Sleep(20);
        }
        bool espbox = false;
    	bool norecoil = false;
        bool ireload = false;
    	bool gwalls = false;
    
        while(true){
            
         PushToConsole("ShowFps 1");          
              
            if(GetAsyncKeyState(VK_NUMPAD1)<0){
                if(espbox){
                    PushToConsole("ModelDebug_DrawBoxes 0");
                   
                    espbox = false;
                } else {
                    PushToConsole("ModelDebug_DrawBoxes 1");
                    espbox = true;
                }
            }
            if(GetAsyncKeyState(VK_NUMPAD2)<0){
                if(ireload){
    				memcpy((LPVOID)0x37466264, "\x0F\x84\xB1\x01\x00\x00", 6);
                    ireload = false;
                } else {
    				memcpy((LPVOID)0x37466264, "\x90\x90\x90\x90\x90\x90", 6);
                    ireload = true;
                }
            }
    		        if(GetAsyncKeyState(VK_NUMPAD3)<0){
                if(norecoil){
    				memcpy((LPVOID)0x3741A550, "\xD8\x66\x54", 3);
    				memcpy((LPVOID)0x3740AA99, "\xD9\x46\x54", 3);
    				memcpy((LPVOID)0x3741A564, "\xD9\x5E\x54", 3);
    				memcpy((LPVOID)0x3741A567, "\xD9\x46\x48", 3);
    				memcpy((LPVOID)0x3741A570, "\xD9\x5E\x48", 3);
                    norecoil = false;
                } else {
    				memcpy((LPVOID)0x3741A550, "\x90\x90\x90", 3);
    				memcpy((LPVOID)0x3740AA99, "\x90\x90\x90", 3);
    				memcpy((LPVOID)0x3741A564, "\x90\x90\x90", 3);
    				memcpy((LPVOID)0x3741A567, "\x90\x90\x90", 3);
    				memcpy((LPVOID)0x3741A570, "\x90\x90\x90", 3);
                    norecoil = true;
                }
            }
    				if(GetAsyncKeyState(VK_NUMPAD4)<0){
                if(gwalls){
    				memcpy((LPVOID)0x57207A, "\x6A\x01", 2);
                    gwalls = false;
                } else {
    				memcpy((LPVOID)0x57207A, "\x6A\x00", 2);
                    gwalls = true;
                }
            }
            //Sleep(20);
        }
    }
    
    //*****************************************************************************
    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;
    }
    hint: the secret hack is not in here yet

  2. #2
    Kuro Tenshi's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Playing Eroges/DigiArt sculpting (No ... At internship)
    Posts
    3,635
    Reputation
    70
    Thanks
    746
    My Mood
    Blah
    i know your problem you dont have what almost no one has... hsbypass addies. some dont have to use it and some desperatly needz them.

    yeah i needed those too + it seems nexon has patched it at eu too.
    DigiDrawing|+ ( (Elfen Archer) )
    Link:
    http://www.mpgh.net/forum/148-showro...en-archer.html


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


    neuest gift from Yura~Chan:
    http://bakyurayuu.deviantart.com/#/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

  3. #3
    DeadLinez's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    http://mpgh.net Sexy Points: 989,576,420
    Posts
    465
    Reputation
    11
    Thanks
    499
    My Mood
    Psychedelic
    alright leme check something else, gimmie a sec and i thing i can fix it.

  4. #4
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,030
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    Just I side note. memcpy alone will cause lag because its not Virtual Protected. (I think)
    Grab the Memoria function from ac1ds post
    Quotes I live by.


    A foolish person learns from his mistakes, I wise person learns from others.
    Quote Originally Posted by AVGN View Post



    mhm

    i live in texas

    i was at the grocery store with my son. He saw a mexican guy, and he said "Look daddy! a mower man!"

    he's 4 yrs old

  5. #5
    DeadLinez's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    http://mpgh.net Sexy Points: 989,576,420
    Posts
    465
    Reputation
    11
    Thanks
    499
    My Mood
    Psychedelic
    alright thanks man ill look into that

  6. #6
    markoj's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    s
    Posts
    1,067
    Reputation
    60
    Thanks
    407
    My Mood
    Bored
    Quote Originally Posted by whatup777 View Post
    Just I side note. memcpy alone will cause lag because its not Virtual Protected. (I think)
    Grab the Memoria function from ac1ds post

    Your talking about this right?


    Code:
    void Memory_BITCH(PVOID address, void* val, int bytes)// 
    {
        DWORD d, ds;
        VirtualProtect(address, bytes, PAGE_EXECUTE_READWRITE, &d);
        memcpy(address, val, bytes);
        VirtualProtect(address,bytes,d,&ds);
    }

  7. #7
    tahha's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    my keyboard or my bed
    Posts
    122
    Reputation
    9
    Thanks
    3
    i think he meant this one

    Code:
    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; 
    }

Similar Threads

  1. Public Combat Arms Hacks and VIP Combat Arms Hacks Updated
    By krnstr33tball3r in forum Hack/Release News
    Replies: 1313
    Last Post: 12-05-2009, 12:16 PM
  2. COMBAT ARMS CLIPS AND A FULL MOVIE PREViEW
    By flamingalex in forum General
    Replies: 0
    Last Post: 12-24-2008, 11:23 PM
  3. combat arms patch finished?
    By phantom718 in forum Combat Arms Hacks & Cheats
    Replies: 12
    Last Post: 12-17-2008, 01:55 PM
  4. Combat Arms Patch Sep 3
    By anime4ever in forum Combat Arms Hacks & Cheats
    Replies: 78
    Last Post: 09-03-2008, 03:23 PM
  5. COMBAT ARMS PATCHED NEED NEW HACKS
    By I regigas i in forum Combat Arms Hacks & Cheats
    Replies: 5
    Last Post: 08-22-2008, 02:38 PM