Thread: 5 PTC COMMANDS!

Results 1 to 5 of 5
  1. #1
    Wizdom-X's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Earth
    Posts
    526
    Reputation
    19
    Thanks
    113
    My Mood
    Amused

    Post 5 PTC COMMANDS!

    Hey, guys in my CA-EU pub i have over 20 function :O

    but here is 5 ptc Commands!


    Here ya go *credit to me because some of these easy to code i coded all these!*

    No Fog: On/Off

    Code:
    if(fog == 1){
    	ptc("FogEnable 0");}
    
    if(fog == 0){
    	ptc("FogEnable 1");}
    Full bright: On/Off

    Code:
    if(fullbright == 1){
    	ptc("FullBright 1");}
    
    if(fullbright == 0){
    	ptc("FullBright 0");}
    Frag your self: On/Off

    Code:
    if(killself == 1){
    	ptc("FragSelf 1");}
    
    if(killself == 0){
    	ptc("FragSelf 0");}
    White walls: On/off

    Code:
    if(wwall == 1){
    	ptc("DrawFlat 0");}
    
    if(wwall == 0){
    	ptc("DrawFlat 1");}
    Killcam: On/Off

    Code:
    if(killcam == 1){
    	ptc("KillCam_On 0");}
    
    if(killcam == 0){
    	ptc("KillCam_Off 0");}

    Credits:

    Me/ Wizdom-x, or , Black Kihper

    Info:

    Game: Combat Arms *EU*
    Type: PTC COMMANDS

    *for these to work , u need the ptc method *push to consol method!* witch is posted on this hacking site!!*

    If got any problems just PM me..
    Last edited by Wizdom-X; 05-30-2011 at 08:58 AM.



  2. #2
    azerty54's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    133
    Reputation
    125
    Thanks
    31
    My Mood
    Happy
    Thanks you my friend

  3. #3
    H4ckBlood's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    The Neterlands
    Posts
    78
    Reputation
    10
    Thanks
    6
    Does someone have a working base for me?
    I really need it, the last time ive coded any hack is well about more dan 2 years.
    Ive tried a year ago, but the old methods are all patched and stuff,

    Does someone knows if this base is still working, its my old one but i cant test it ATM im reinstalling CA.

    Code:
    #include <windows.h>
    bool IsGameReadyForHook()
    {
    if( GetModuleHandleA( "d3d9.dll"    ) != NULL 
    && GetModuleHandleA( "ClientFX.fxd" ) != NULL 
    && GetModuleHandleA( "CShell.dll"  ) != NULL )
    return true;
    return false;
    }
    //ptc method
    typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
    RunConsoleCommand_t PushToConsole = (RunConsoleCommand_t)0x00485E10;// engine addy
    
    void main()
    {
    if(*(int*)0x3781886C == 1) { // game pointer
    
    PushToConsole("SkelModelStencil 1");
    }
    if(*(int*)0x3781886C == 5) { // 5 = Lobby 
    // do absolutely nothing
    }
    
    }
    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;
    }
    Last edited by H4ckBlood; 06-08-2011 at 08:02 AM.

    Its true, im H4ckBlood and im back,
    Still not afraid, Just Google me!

  4. #4
    Drake's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Belgium,Oost-Vlaanderen
    Posts
    12,680
    Reputation
    1801
    Thanks
    4,929
    Quote Originally Posted by H4ckBlood View Post
    Does someone have a working base for me?
    I really need it, the last time ive coded any hack is well about more dan 2 years.
    Ive tried a year ago, but the old methods are all patched and stuff,

    Does someone knows if this base is still working, its my old one but i cant test it ATM im reinstalling CA.

    Code:
    #include <windows.h>
    bool IsGameReadyForHook()
    {
    if( GetModuleHandleA( "d3d9.dll"    ) != NULL 
    && GetModuleHandleA( "ClientFX.fxd" ) != NULL 
    && GetModuleHandleA( "CShell.dll"  ) != NULL )
    return true;
    return false;
    }
    //ptc method
    typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
    RunConsoleCommand_t PushToConsole = (RunConsoleCommand_t)0x00485E10;// engine addy
    
    void main()
    {
    if(*(int*)0x3781886C == 1) { // game pointer
    
    PushToConsole("SkelModelStencil 1");
    }
    if(*(int*)0x3781886C == 5) { // 5 = Lobby 
    // do absolutely nothing
    }
    
    }
    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;
    }
    dont think anyone can help you here , mayby ask NOOB ?
    OT ; this thread has been made already ; https://www.mpgh.net/forum/224-combat...-commands.html

    close this ?
    @AVGN
    @Disturbed
    @Bombsaway707

  5. #5
    H4ckBlood's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    The Neterlands
    Posts
    78
    Reputation
    10
    Thanks
    6
    Quote Originally Posted by Eminem View Post


    dont think anyone can help you here , mayby ask NOOB ?
    OT ; this thread has been made already ; https://www.mpgh.net/forum/224-combat...-commands.html

    close this ?
    @AVGN
    @Disturbed
    @Bombsaway707
    Why is no one able to help?
    I mean, there are more advanced coders right?

    Its true, im H4ckBlood and im back,
    Still not afraid, Just Google me!