Page 1 of 3 123 LastLast
Results 1 to 15 of 40
  1. #1
    hhhjr1's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    i live in your room hahahah
    Posts
    415
    Reputation
    9
    Thanks
    22
    My Mood
    Confused

    is game ready for hook method

    Code:
    #include <windows.h>
    
    void MEMCPY(void* Dest, const void* Src, int Len) \\ this is if you want to make hacks using addies
    {
        DWORD OldProtect = NULL;
        DWORD OldProtect2;
        VirtualProtect(Dest, Len, PAGE_EXECUTE_READWRITE, &OldProtect);
        memcpy(Dest, Src, Len);
        VirtualProtect(Dest, Len, OldProtect, &OldProtect2);
        FlushInstructionCache(GetCurrentProcess(), Dest, Len);
    }
    
    
    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* )( 0x377E7810 ); \\ the LCclient Code you need to change this as it changes or the hacks wont word 
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, -3-1+2+6;
    }
    }
    
    void main()
    {
    while(true)
    {
    if (GetAsyncKeyState(VK_NUMPAD0)) {
    	PushToConsole("SkelModelStencil 1");
    	Sleep(100);
    }
    if(GetAsyncKeyState(VK_NUMPAD1)) { 
    	PushToConsole("WeaponSway 0.000000");
    	Sleep(100);
    }
    if(GetAsyncKeyState(VK_NUMPAD2)) {
    	PushToConsole("ShowFps 2222");
    	Sleep(100);
    		}else{
    			PushToConsole("ShowFps 2220");
    			Sleep(100);
    }
    if(GetAsyncKeyState(VK_NUMPAD3)) {
    	PushToConsole("drawguns 0");
    	Sleep(100);
    }
    if(GetAsyncKeyState(VK_NUMPAD4)) {
        PushToConsole("ActivationDistance 0 );
    	Sleep(100);
    	}
    	if(GetAsyncKeyState(VK_NUMPAD5)) {
        PushToConsole("FullBright 11");
    	Sleep(100);
    	}
    	if(GetAsyncKeyState(VK_NUMPAD6)) {
    	PushToConsole("PerturbRotationEffect 3.0010000");
    	PushToConsole("PerturbIncreaseSpeed 3.000000");
    	PushToConsole("FireMovePerturb 9.000000");
    	PushToConsole("PerturbWalkPercent 0.500000");
    	PushToConsole("PerturbDecreaseSpeed 9.0100000");
    	PushToConsole("PerturbRecoil 9.000000"); 
    	PushToConsole("ZoomedFireMoveDuckPerturb 9.000000");
    	PushToConsole("ZoomedFireMovePerturb 9.000000");
    PushToConsole("ZoomedFireDuckPerturb 9.0000010");
    Sleep(100);
    }
    	if(GetAsyncKeyState(VK_NUMPAD6)) {
    	PushToConsole("FragSelf 11");
    	Sleep(100);
    }
    	if(GetAsyncKeyState(VK_NUMPAD7)) {
    	PushToConsole("FogEnable 0");
    	Sleep(100);
    }
    	if(GetAsyncKeyState(VK_NUMPAD8)) {
    		PushToConsole("ShowFirePath 11");
    		Sleep(100);
    }
    	if(GetAsyncKeyState(VK_NUMPAD9)) {
    		PushToConsole("WireFrame 11");
    		Sleep(100);
    	if(GetAsyncKeyState(VK_NUMPAD16)) {
    	PushToConsole("FragSelf 1");
    	Sleep(100);
    	}
    	if(GetAsyncKeyState(VK_HOME)) {
    		PushToConsole("WireFrame 10");
    		Sleep(100);
    }
      if(GetAsyncKeyState(VK_INSERT)){//No Recoil
                        memcpy((LPVOID) (0x3737EE23), "\x90\x90\x90", 3);
                        memcpy((LPVOID) (0x3745B7D1), "\x90\x90\x90", 3);
                        memcpy((LPVOID) (0x3745B7E0), "\x90\x90\x90", 3);
                        memcpy((LPVOID) (0x3745B7D4), "\x90\x90\x90\x90\x90\x90", 6);
    			}
      }
    }
    }
    
    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;
    }
    ok this is the whole thing he gave me
    Last edited by hhhjr1; 08-30-2010 at 08:09 AM.

  2. #2
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,074
    Reputation
    50
    Thanks
    936
    My Mood
    Fine
    fail. this isnt a hook. this just checks if the dlls listed are loaded.

  3. #3
    hhhjr1's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    i live in your room hahahah
    Posts
    415
    Reputation
    9
    Thanks
    22
    My Mood
    Confused
    wait a sec

  4. #4
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,889
    Reputation
    163
    Thanks
    3,289
    My Mood
    Sleepy
    Your friend isn't too smart... =/

  5. #5
    hhhjr1's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    i live in your room hahahah
    Posts
    415
    Reputation
    9
    Thanks
    22
    My Mood
    Confused
    look i posted the whole thing the whole hack code

  6. #6
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,074
    Reputation
    50
    Thanks
    936
    My Mood
    Fine
    What are you trying to do?

  7. #7
    hhhjr1's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    i live in your room hahahah
    Posts
    415
    Reputation
    9
    Thanks
    22
    My Mood
    Confused
    trying remake his hack and i added errors

  8. #8
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,074
    Reputation
    50
    Thanks
    936
    My Mood
    Fine
    Ok I'm really confused. What is the point of this thread?

  9. #9
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    4,922
    My Mood
    Cool
    THAT GOT SO MANNY PROBLEMS.. noob
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  10. #10
    hhhjr1's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    i live in your room hahahah
    Posts
    415
    Reputation
    9
    Thanks
    22
    My Mood
    Confused
    like i said i added errors i want to know if it would work but i fix the errors i put and i have only 2


    Error 1 error LNK2005: _DllMain@12 already defined in Coldfusion.obj
    Error 2 error LNK1169: one or more multiply defined symbols found

  11. #11
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,074
    Reputation
    50
    Thanks
    936
    My Mood
    Fine
    Quote Originally Posted by hhhjr1 View Post
    like i said i added errors i want to know if it would work but i fix the errors i put and i have only 2


    Error 1 error LNK2005: _DllMain@12 already defined in Coldfusion.obj
    Error 2 error LNK1169: one or more multiply defined symbols found
    You've defined things multiple times in your script. Check Coldfusion.cpp for multiple defines.

  12. #12
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    4,922
    My Mood
    Cool
    Quote Originally Posted by hhhjr1 View Post
    like i said i added errors i want to know if it would work but i fix the errors i put and i have only 2


    Error 1 error LNK2005: _DllMain@12 already defined in Coldfusion.obj
    Error 2 error LNK1169: one or more multiply defined symbols found
    I DONT MEAN THAT... u got crappy ptc bugs... u got acitivation distance 0

    u will not be able to do anything.

    EVERYTHING IN UR SIG THAT 100% and PTC>..and are public


    PushToConsole("ShowFps 2220");

    LOL

    PushToConsole("ActivationDistance 0 );

    LOL

    PushToConsole("FullBright 11");

    LOL

    PushToConsole("FragSelf 11")

    LOL

    PushToConsole("ShowFirePath 11");

    LOL

    PushToConsole("WireFrame 11");

    LOL

    PushToConsole("WireFrame 10");

    LOL SHIT
    Last edited by topblast; 08-30-2010 at 08:49 AM.
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  13. #13
    hhhjr1's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    i live in your room hahahah
    Posts
    415
    Reputation
    9
    Thanks
    22
    My Mood
    Confused
    that what i did i put errors in ptc like pick hack ptc is 99999 and i put it 0 for cham i put 1101 something like that

  14. #14
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,074
    Reputation
    50
    Thanks
    936
    My Mood
    Fine
    That will only work if noobs are completely retarded -_- there is a thread with the correct values right above this one lol

  15. #15
    hhhjr1's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    i live in your room hahahah
    Posts
    415
    Reputation
    9
    Thanks
    22
    My Mood
    Confused
    i dont defined things multiple times in the hack

Page 1 of 3 123 LastLast

Similar Threads

  1. In-Game Music for CA
    By Plokmii in forum Combat Arms Hacks & Cheats
    Replies: 48
    Last Post: 10-27-2008, 03:37 PM
  2. Got A New Game Request For Hacking
    By ezjpimp in forum Hack Requests
    Replies: 0
    Last Post: 08-30-2008, 02:01 AM
  3. RS, STEAM & game keys for sale [paypal]
    By steam seller in forum Trade Accounts/Keys/Items
    Replies: 1
    Last Post: 08-17-2008, 01:54 PM
  4. Mega Game pack for all your needs
    By llvengancell in forum WarRock - International Hacks
    Replies: 2
    Last Post: 09-22-2007, 10:36 PM