Thread: PTC Method :D

Page 3 of 3 FirstFirst 123
Results 31 to 39 of 39
  1. #31
    yodaliketaco's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    winsock.dll
    Posts
    646
    Reputation
    45
    Thanks
    511
    My Mood
    Tired
    Can't we just write

    Code:
    typedef void (*PTCtype) (const char*);
    PTCtype PTCaddy = (PTCtype)0x485FA0;
    ....

    then call

    Code:
    PTCaddy("whatevercommand");

  2. #32
    dllbaseII's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Integrais e Derivadas
    Posts
    963
    Reputation
    12
    Thanks
    435
    My Mood
    Chatty
    Quote Originally Posted by yodaliketaco View Post
    Can't we just write

    Code:
    typedef void (*PTCtype) (const char*);
    PTCtype PTCaddy = (PTCtype)0x485FA0;
    ....

    then call

    Code:
    PTCaddy("whatevercommand");
    good job...
    work too here ;D
    .


    Skype:
    MPGH.dllbaseII

  3. #33
    steven1578's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    CShell.dll
    Posts
    684
    Reputation
    1
    Thanks
    936
    My Mood
    Busy
    Quote Originally Posted by flameswor10 View Post
    Code:
    void __cdecl RunConsoleCommand( const char* cCommand)
    {
    	void* address = ( void* ) ADDR_CONSOLEUNWRAPPED;
    
    	__asm
    	{
    		Push cCommand
    		call address
    		add esp, 0x4
    	}
    }
    Much smaller, Much Simpler, Much easier.
    flameswor10 what console command do you use to push? RunConsoleCommand?
    R.I.P Grandma! 3-17-2012

  4. #34
    swatfx's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    661
    Reputation
    20
    Thanks
    108
    My Mood
    Mellow
    Quote Originally Posted by steven1578 View Post
    flameswor10 what console command do you use to push? RunConsoleCommand?
    you can call it whatever you like. The first line is declaring the function, maybe learn some basic C++?

  5. #35
    racardo's Avatar
    Join Date
    May 2010
    Gender
    female
    Location
    Another Planet
    Posts
    36
    Reputation
    10
    Thanks
    3
    My Mood
    Amazed
    is that PTC working? or is the one flame using working?

  6. #36
    PikaMucha_Itu's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Itu City
    Posts
    2,394
    Reputation
    59
    Thanks
    4,092
    My Mood
    Goofy
    Quote Originally Posted by racardo View Post
    is that PTC working? or is the one flame using working?
    In CABR it works!
    I think nobody has tested it on the CANA.

  7. #37
    Turbo Power's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    105
    Reputation
    10
    Thanks
    15
    My Mood
    Relaxed
    Thanks baraozin.
    Helped me a lot, I could not use the codes in PTC '-'.
    I bet that will really help people.
    It took my thanks.


    Why not?

  8. #38
    Skaterforeva1's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Up your ass
    Posts
    917
    Reputation
    32
    Thanks
    476
    My Mood
    Psychedelic
    dude why add all the extra unddeded stuff i hate that yeah it will complie but it makes the .dll bigger longer to upload longer to viruse scan makin the .cpp much larger much more complicated lol

    ^Suck it!


  9. #39
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love
    Quote Originally Posted by Skaterforeva1 View Post
    dude why add all the extra unddeded stuff i hate that yeah it will complie but it makes the .dll bigger longer to upload longer to viruse scan makin the .cpp much larger much more complicated lol
    It only affects the DLL size by a byte.
    Nothing to worry about
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

Page 3 of 3 FirstFirst 123

Similar Threads

  1. 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, 07:23 PM
  2. PTC Method
    By DBag4Life69 in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 13
    Last Post: 09-12-2010, 07:34 PM
  3. PTC Method
    By Crash in forum Combat Arms EU Hack Coding/Source Code
    Replies: 4
    Last Post: 08-21-2010, 01:32 AM
  4. ptc method
    By HaX4LiFe! in forum Combat Arms EU Hack Coding/Source Code
    Replies: 23
    Last Post: 08-20-2010, 08:27 AM
  5. PTC Methods?
    By ~Liberty~ in forum Combat Arms EU Help
    Replies: 3
    Last Post: 07-26-2010, 10:41 AM