Thread: PTC Method

Results 1 to 14 of 14
  1. #1
    DBag4Life69's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    290
    Reputation
    13
    Thanks
    59
    My Mood
    Twisted

    PTC Method

    Hello you guys, I have just finished the portion in my C++ Primer on addresses and pointers, and I am going to see if I can try and figure something out on my own a little bit here, as I go with SOME of the hacking methods. I wanna start out slow. I have been doing some searching around the forums a little bit here, and can't seem to find a working PTC Method.

    I tried CNs PTC Method:

    [php]
    /*void [REALcodersWILLknowWHATgoesHERE](const char* Command)
    {
    DWORD CNADDIE = 0x377E7***;
    void* Send = ( void* )*( DWORD* )(CNADDIE);
    __asm
    {
    /* CREDITS TO CN
    push Command;
    call Send;
    add esp, -3-1+2+6;
    }
    }*/
    [/php]

    I know the comment tags are on it. It's there for a reason. ;-) Anti-noob.

    ...and I have also tried the standard one, that was referred to on CNs cham tutorial.

    [php]
    //void __cdecl [AGAINyouSHOULDknowTHIS]( const char* szCommand ) // -+
    //{ // |
    // DWORD *LTClient = ( DWORD* )( 0x377E7*** ); // |
    // void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 ); // |
    // __asm // |
    // { // |--- Standard PushToConsole method.
    // push szCommand; // |
    // call CONoff; // |
    // add esp, 4; // |
    // } // |
    //} // -+
    [/php]

    I don't know if it's possibly the LTClient, but I got it from ac1d_buRn's addy logger, so I am SURE it's the right one.
    But everytime I load my hack on CA it DC, everytime.


    EDIT: I am not like yomo. I am actually learning, and I am not going to post this shit and act like I am a pro coder. :P

    Credits:
    CoderNever - tutorial for NX Chams
    ac1d_buRn - Address logger
    Last edited by DBag4Life69; 09-10-2010 at 01:45 PM.

  2. #2
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,070
    Reputation
    50
    Thanks
    940
    My Mood
    Fine
    ac1d's LTClient pattern is incorrect so the address is wrong.

  3. #3
    ★Rusty's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    My House/CShell Codes: C++
    Posts
    111
    Reputation
    14
    Thanks
    297
    My Mood
    Psychedelic
    void __cdecl PushToConsole(const char* szCommand )
    {
    HMODULE hMod = GetModuleHandleA("CShell.dll");
    if(hMod == NULL)
    return;
    int* ltClientAddr = (int*) 0x377E7810;

    typedef int (*ptc_t)(const char *);
    ptc_t ptc = *(ptc_t*) (*ltClientAddr + 0x208);
    ptc(szCommand);
    }
    This works for me.
    Not sure who made it. Markoj i think.
    You may have to change a thing or two depending on what base your using.
    Last edited by ★Rusty; 09-10-2010 at 02:13 PM.

  4. The Following 3 Users Say Thank You to ★Rusty For This Useful Post:

    DBag4Life69 (09-10-2010),markoj (09-11-2010),Sydney (09-12-2010)

  5. #4
    swatfx's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    659
    Reputation
    20
    Thanks
    108
    My Mood
    Mellow
    use alternative console.

  6. #5
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,070
    Reputation
    50
    Thanks
    940
    My Mood
    Fine
    Oh and also, you are using the LTC as teh CNaddie, they are different / CNaddie is also known as alt PTC

  7. #6
    swatfx's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    659
    Reputation
    20
    Thanks
    108
    My Mood
    Mellow
    Quote Originally Posted by ★Rusty View Post
    This works for me.
    Not sure who made it.
    You may have to change a thing or two depending on what base your using.
    hmm and that uses the other LTClient too

    i use:

    Code:
    void __cdecl RunConsoleCommand( const char* szVal)
    {
        void* vSetVar = (void*)dwConsoleAddress;
        _asm
        {
            push szVal
            call vSetVar
            add esp, 4
        }
    }
    Last edited by swatfx; 09-10-2010 at 01:52 PM.

  8. #7
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,025
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    Quote Originally Posted by ★Rusty View Post
    This works for me.
    Not sure who made it.
    You may have to change a thing or two depending on what base your using.
    Markoj made it I believe./yea
    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

  9. The Following User Says Thank You to whatup777 For This Useful Post:

    markoj (09-11-2010)

  10. #8
    deathninjak0's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    1,510
    Reputation
    12
    Thanks
    294
    My Mood
    Cool
    CNADDIE = Alt. PTC

    new one is 0x46F670

  11. #9
    DBag4Life69's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    290
    Reputation
    13
    Thanks
    59
    My Mood
    Twisted
    Quote Originally Posted by ★Rusty View Post
    This works for me.
    Not sure who made it. Markoj i think.
    You may have to change a thing or two depending on what base your using.
    Well, this worked for me, so thank you for your help!
    Credits to:
    markoj -- this PTC method.

  12. #10
    _-Blazin-_'s Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Australia
    Posts
    428
    Reputation
    10
    Thanks
    28
    My Mood
    Hot
    Quote Originally Posted by DBag4Life69 View Post


    Well, this worked for me, so thank you for your help!
    Credits to:
    markoj -- this PTC method.
    Obviously you're not like Yomo.
    It's nice to see someone actually trying to learn and enjoying coding..
    Good luck to you sir.

    Also, anyone who couldn't figure how to get the PTC method's to work (The one's you showed which are noob proof), Really ARE a noob.

  13. The Following User Says Thank You to _-Blazin-_ For This Useful Post:

    DBag4Life69 (09-10-2010)

  14. #11
    DBag4Life69's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    290
    Reputation
    13
    Thanks
    59
    My Mood
    Twisted
    Quote Originally Posted by _-Blazin-_ View Post
    Obviously you're not like Yomo.
    It's nice to see someone actually trying to learn and enjoying coding..
    Good luck to you sir.

    Also, anyone who couldn't figure how to get the PTC method's to work (The one's you showed which are noob proof), Really ARE a noob.
    lmfao. I got the one that is by markoj working, so I can't say I am in the n00b category anymore. :P

    But I am still learning, so I don't consider myself even CLOSE to pro, or even average yet...
    I am just gonna go day by day, reading and learning until I get to where I become fluent in C++.

    I can pretty much understand it at this point I am at, but I want to get to where I can just sit here and think about some code and put it all together to make one GREAT thing. That's my goal.

  15. #12
    LightzOut's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    185
    Reputation
    11
    Thanks
    25
    Quote Originally Posted by DBag4Life69 View Post


    lmfao. I got the one that is by markoj working, so I can't say I am in the n00b category anymore. :P

    But I am still learning, so I don't consider myself even CLOSE to pro, or even average yet...
    I am just gonna go day by day, reading and learning until I get to where I become fluent in C++.

    I can pretty much understand it at this point I am at, but I want to get to where I can just sit here and think about some code and put it all together to make one GREAT thing. That's my goal.
    It takes a long time but good luck :P You never stop learning when it comes to programming.

  16. #13
    DBag4Life69's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    290
    Reputation
    13
    Thanks
    59
    My Mood
    Twisted
    Quote Originally Posted by LightzOut View Post
    It takes a long time but good luck :P You never stop learning when it comes to programming.
    I don't doubt it ONE bit, but I want to eventually get to where I can just make my own EVERYTHING from scratch.

  17. #14
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,423
    Reputation
    112
    Thanks
    693
    Everyone does!

Similar Threads

  1. [Request] Latest addys + PTC Method
    By flameswor10 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 13
    Last Post: 09-29-2010, 07:28 PM
  2. I believe the PTC method was patched
    By mistertex in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 19
    Last Post: 09-20-2010, 06:23 PM
  3. PTC Method
    By Crash in forum Combat Arms EU Hack Coding/Source Code
    Replies: 4
    Last Post: 08-21-2010, 12:32 AM
  4. ptc method
    By HaX4LiFe! in forum Combat Arms EU Hack Coding/Source Code
    Replies: 23
    Last Post: 08-20-2010, 07:27 AM
  5. PTC Methods?
    By ~Liberty~ in forum Combat Arms EU Help
    Replies: 3
    Last Post: 07-26-2010, 09:41 AM