Page 1 of 4 123 ... LastLast
Results 1 to 15 of 46
  1. #1
    T0y's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    92
    Reputation
    10
    Thanks
    25

    Working PTC Method! (25.10.10)

    Full credits: NeoIII

    Code:
    void __cdecl PTC( const char* szCommand ) 
    { 
        if( !eng.IsReady || dwpLTClient == NULL ) 
            return; 
    
        DWORD dwConsoleFunc = *( DWORD* )( dwpLTClient + 0x208 ); 
        DWORD dwRealCallA    = ( dwConsoleFunc + 0x26 );//JMP to real func 
        DWORD dwRealCallB    = *(DWORD*)( dwRealCallA + 0x1 ); 
        DWORD dwRealCall    = ( dwRealCallA + dwRealCallB + 0x5 ); 
    
        if( *(BYTE*)dwRealCallA == 0xE9 ) 
            dwConsoleFunc = dwRealCall; 
    
        __asm 
        { 
            push szCommand; 
            call dwConsoleFunc; 
            add esp, 4; 
        } 
    } 
    
    //cmd
    PTC("ScreenGlowEnable 1");

  2. The Following 9 Users Say Thank You to T0y For This Useful Post:

    1on1 (10-28-2010),55anderson55 (10-30-2010),crazygamer53 (10-29-2010),DBag4Life69 (10-27-2010),dontcrymore15 (10-29-2010),eXaLtIc™ (10-26-2010),fvestrgenrl (10-26-2010),kainoa (10-26-2010),wainner3d (10-26-2010)

  3. #2
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    I don't get the + 0x5 at the end. maybe it's to get past some kind of stack frame idk...

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  4. #3
    kotentopf's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    602
    Reputation
    26
    Thanks
    251
    [php]void PushToConsole(char* Command)
    {
    typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
    RunConsoleCommand_t RCC = (RunConsoleCommand_t)LTC;//Engine LTC
    RCC(szCommand);
    }

    PushToConsole("Show FPS 1")[/php]
    The Internet SHOULD Be Illegal

    When you say
    "Java is a great programming language because it works on all platforms"
    it is just like
    "anal sex is great because it works on all genders"

    Are YOU a Troll?

  5. The Following 3 Users Say Thank You to kotentopf For This Useful Post:

    kainoa (10-26-2010),MEkhi2 (10-26-2010),[POWER] (10-26-2010)

  6. #4
    Mr.Magicman's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Sitting in my cave full of thoughts learning Asembly
    Posts
    2,102
    Reputation
    16
    Thanks
    649
    My Mood
    Cold
    just use the Engine LTC for gods sake! (Note: Its a offset)

  7. The Following User Says Thank You to Mr.Magicman For This Useful Post:

    MEkhi2 (10-26-2010)

  8. #5
    Mikelele's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    2
    'dwpLTClient'

    In compiling the 2065 error "undeclared Indentifier"

    I'm not getting more declare her as I do?

  9. #6
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,689
    Reputation
    184
    Thanks
    1,149
    My Mood
    Aggressive
    Quote Originally Posted by Mikelele View Post
    'dwpLTClient'

    In compiling the 2065 error "undeclared Indentifier"

    I'm not getting more declare her as I do?
    Code:
    #define dwpLTClient 0x377F4930
    put in globals (which means put on top of you solution)

  10. The Following 3 Users Say Thank You to Stephen For This Useful Post:

    Dieorwin (10-31-2010),MEkhi2 (10-29-2010),Mikelele (10-26-2010)

  11. #7
    Mikelele's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    2
    how do I find "real func" in CABR already got to meet then LTClient
    lacks the " #difine dwRealCallA 0x.... " ? Am I on track?

  12. #8
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,689
    Reputation
    184
    Thanks
    1,149
    My Mood
    Aggressive
    If you mean the CA Brazil LTClient..

    Then you need to unpack cshell.dll and look for a tutorial posted in here on how to get that addy.

  13. The Following User Says Thank You to Stephen For This Useful Post:

    Mikelele (10-26-2010)

  14. #9
    Mikelele's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    2
    Thank you know the link of the post?

  15. #10
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,689
    Reputation
    184
    Thanks
    1,149
    My Mood
    Aggressive
    Quote Originally Posted by Mikelele View Post
    Thank you know the link of the post?
    Use the search buttonn :O

  16. #11
    nepster75's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Home
    Posts
    46
    Reputation
    10
    Thanks
    2
    My Mood
    Sad
    when i put a new ptc method, says ''eng.'' undeclared Indentifier"

    and after this other error ''error C2228: left of '.IsReady' must have class/struct/union
    1> type is 'int''


    whats wrong?

  17. #12
    Mikelele's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    2
    the forum is in English and I'm from Brazil I have to be translated into Portuguese so I ask the link is not because I'm noob but more by necessity thanks anyway

  18. #13
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,689
    Reputation
    184
    Thanks
    1,149
    My Mood
    Aggressive
    Quote Originally Posted by Mikelele View Post
    the forum is in English and I'm from Brazil I have to be translated into Portuguese so I ask the link is not because I'm noob but more by necessity thanks anyway
    oh, ok. I will link you.

    https://www.mpgh.net/forum/207-combat...-ltclient.html

    I cant see the video because I'm at school. Look at it :S

  19. The Following User Says Thank You to Stephen For This Useful Post:

    Mikelele (10-26-2010)

  20. #14
    filecroc's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Brazil
    Posts
    18
    Reputation
    10
    Thanks
    18
    Code:
    #include "stdafx.h"
    #include <windows.h>
    
    #define LTC  0x000000 //LTC CA BR Before
    
    
    void PushToConsole(char* Command)
    {
        typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
        RunConsoleCommand_t RCC = (RunConsoleCommand_t)LTC;//Engine LTC
       
    }
    
    PushToConsole("Show FPS 1")  
    }
    }
    }
    DWORD WINAPI dwHackThread(LPVOID) {
    while( !IsGameReadyForHook() )
    Sleep(300);
    main();
    return 0;
    }

  21. #15
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,689
    Reputation
    184
    Thanks
    1,149
    My Mood
    Aggressive
    Quote Originally Posted by filecroc View Post
    Code:
    #include "stdafx.h"
    #include <windows.h>
    
    #define LTC  0x000000 //LTC CA BR Before
    
    
    void PushToConsole(char* Command)
    {
        typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
        RunConsoleCommand_t RCC = (RunConsoleCommand_t)LTC;//Engine LTC
       
    }
    
    PushToConsole("Show FPS 1")  
    }
    }
    }
    DWORD WINAPI dwHackThread(LPVOID) {
    while( !IsGameReadyForHook() )
    Sleep(300);
    main();
    return 0;
    }

    Umm. What are you trying to do?

Page 1 of 4 123 ... LastLast

Similar Threads

  1. Does anyone have a working PTC method?
    By Spilli in forum Combat Arms Coding Help & Discussion
    Replies: 16
    Last Post: 08-24-2011, 03:00 PM
  2. Actaul working ptc method
    By STOPBANNINGME in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 17
    Last Post: 11-08-2010, 04:42 PM
  3. ptc method
    By HaX4LiFe! in forum Combat Arms EU Hack Coding/Source Code
    Replies: 23
    Last Post: 08-20-2010, 07:27 AM
  4. PTC Methods?
    By ~Liberty~ in forum Combat Arms EU Help
    Replies: 3
    Last Post: 07-26-2010, 09:41 AM
  5. [kol]working Dupe Method
    By AN1MAL in forum General Game Hacking
    Replies: 12
    Last Post: 01-01-2007, 02:06 PM