Thread: PTC methoud

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Skaterforeva1's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Up your ass
    Posts
    936
    Reputation
    32
    Thanks
    485
    My Mood
    Psychedelic

    PTC methoud

    Does anyone have the newist ptc method. Like i cant find it out. Please if some one has it share it.

  2. #2
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    My Mood
    In Love
    typedef int (__cdecl* RunConsoleCommand_T)(const char* szCommand);
    static RunConsoleCommand_T RunConsoleCommand = (RunConsoleCommand_T) 0x485E10;
    No I do not make game hacks anymore, please stop asking.

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

    -xGhost- (01-27-2011),CAFlames (01-27-2011),Skaterforeva1 (01-27-2011)

  4. #3
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,006
    Reputation
    202
    Thanks
    2,944
    My Mood
    Twisted
    The above one is gordons. Its the best.... u can also use this:

    typedef int (__cdecl* ptc_t)(char* cmd);
    ptc_t PTC = (ptc_t)0x485E10; //same address

    Then do

    PTC("ShowFps 1")

    Current Works:
    ---Horror Game





    [IMG]https://i645.photobucke*****m/albums/uu180/drgnforce9/Siggys/signature3.jpg[/IMG]
    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

  5. The Following User Says Thank You to CAFlames For This Useful Post:

    flameswor10 (01-27-2011)

  6. #4
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Quote Originally Posted by CAFlames View Post
    The above one is gordons. Its the best.... u can also use this:

    typedef int (__cdecl* ptc_t)(char* cmd);
    ptc_t PTC = (ptc_t)0x485E10; //same address

    Then do

    PTC("ShowFps 1")
    There the same

  7. #5
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,006
    Reputation
    202
    Thanks
    2,944
    My Mood
    Twisted
    Quote Originally Posted by whit View Post


    There the same
    nah, mines shorter (you dont need all that static and sz crap)

    Current Works:
    ---Horror Game





    [IMG]https://i645.photobucke*****m/albums/uu180/drgnforce9/Siggys/signature3.jpg[/IMG]
    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

  8. #6
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,025
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    Why do you typedef it as int instead of void?
    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. #7
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,006
    Reputation
    202
    Thanks
    2,944
    My Mood
    Twisted
    Quote Originally Posted by whatup777 View Post
    Why do you typedef it as int instead of void?
    Because u define it.. not declare something inside it. typedef is in globals. its not like:

    typedef (w/e){
    pt_c PTC(that stuff here)
    }

    Current Works:
    ---Horror Game





    [IMG]https://i645.photobucke*****m/albums/uu180/drgnforce9/Siggys/signature3.jpg[/IMG]
    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

  10. #8
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Quote Originally Posted by CAFlames View Post


    Because u define it.. not declare something inside it. typedef is in globals. its not like:

    typedef (w/e){
    pt_c PTC(that stuff here)
    }
    Type Definitions Dont have to be in globals...

  11. #9
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,006
    Reputation
    202
    Thanks
    2,944
    My Mood
    Twisted
    Quote Originally Posted by whit View Post


    Type Definitions Dont have to be in globals...
    I no they dont have to be... but they function more as globals than a void... like its saying "This means that... so whenever you see this, it means the same thing as that."

    Current Works:
    ---Horror Game





    [IMG]https://i645.photobucke*****m/albums/uu180/drgnforce9/Siggys/signature3.jpg[/IMG]
    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

  12. #10
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Quote Originally Posted by CAFlames View Post


    I no they dont have to be... but they function more as globals than a void... like its saying "This means that... so whenever you see this, it means the same thing as that."
    No lol
    Whatup meant why is it a type definition for when it could just be void
    ex.. typedef void (blah blah )

  13. #11
    -xGhost-'s Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    C:\Sytem32
    Posts
    344
    Reputation
    9
    Thanks
    57
    My Mood
    Relaxed
    Quote Originally Posted by flameswor10 View Post
    typedef int (__cdecl* RunConsoleCommand_T)(const char* szCommand);
    static RunConsoleCommand_T RunConsoleCommand = (RunConsoleCommand_T) 0x485E10;
    Thank you.
    [IMG]https://i714.photobucke*****m/albums/ww144/sandro911/ProXtremeSignature.png[/IMG]

    [IMG]https://i714.photobucke*****m/albums/ww144/sandro911/Signature.png[/IMG]

  14. #12
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,025
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    typedef void (_cdecl * RunConsoleCommand)(char * szCommand);

    ...
    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

  15. #13
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,881
    Reputation
    163
    Thanks
    3,291
    My Mood
    Sleepy
    Quote Originally Posted by whatup777 View Post
    typedef void (_cdecl * RunConsoleCommand)(char * szCommand);

    ...
    Because :

    Code:
    virtual LTRESULT	RunConsoleCommand(const char* pszCommand) = 0;

  16. #14
    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 Crash View Post
    Because :

    Code:
    virtual LTRESULT	RunConsoleCommand(const char* pszCommand) = 0;
    Oh shanpz. Guess I have to use int.
    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

  17. #15
    Nubzgetkillz's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    hacktown
    Posts
    838
    Reputation
    13
    Thanks
    411
    My Mood
    Amazed
    void __cdecl pPTC( const char* szCommand)
    {
    DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
    if( dwCShell != NULL )
    {
    DWORD *LTClient = ( DWORD* )( (dwCShell + NEWADDRESS) );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );

    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }

    Member since September 25, 2010

    Current Objectives:
    • Graduate college with a degree in Computer Science
    • Find a decent job in the Computer Science Field
    • Learn more programming languages

    Looking for Elo Boosting Job - League of Legends
    Looking for Bronze -> Gold Jobs


    Skype: whatthedream

Page 1 of 2 12 LastLast