Page 1 of 4 123 ... LastLast
Results 1 to 15 of 46
  1. #1
    DeadLinez's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    https://mpgh.net Sexy Points: 989,576,420
    Posts
    465
    Reputation
    11
    Thanks
    500
    My Mood
    Psychedelic

    [Release] PTC Method [ASM]

    PTC Method

    By DeadLinez


    1.
    Code:
    void NoFog(void)
    {
            __asm
    	{
    		push "FogEnable 0"; 
    		call 0x377ED910;
    		add esp, 4;
    	}
    }

    2.
    Notice this one uses the ALT****C it does not matter.
    Code:
    void Chams(void)
    {
            __asm
    	{
    		push "SkelModelStencil 1";
    		call 0x46F670;
    		add esp, 4;
    	}
    }

    3. Using a On/Off System *bool*
    Code:
    void NoFog(bool ON)
    {
           if(ON)
           {
              __asm
    	{
    		push "FogEnable 0"; 
    		call 0x377ED910;
    		add esp, 4;
    	}else{  
            
            __asm
    	{
    		push "FogEnable 1"; 
    		call 0x377ED910;
    		add esp, 4;
    	}
    }
    }


    Code:
            __asm This Code Defines & runs The ASM Code
    	{
    		push "SkelModelStencil 1"; This Pushes the command through
    		call 0x46F670; This calls the address, the LTClient
    		add esp, 4; This stores a stack with a value of "4"
    	}
    Last edited by DeadLinez; 09-29-2010 at 08:01 PM.

  2. The Following 8 Users Say Thank You to DeadLinez For This Useful Post:

    dethharmonic15 (09-30-2010),J (09-29-2010),markoj (09-30-2010),shugeevan (09-29-2010),supercarz1991 (09-30-2010),Tibirius (09-29-2010),trigot (09-30-2010),Xlilzoosk8rX (09-29-2010)

  3. #2
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,423
    Reputation
    112
    Thanks
    693
    Very nice deadlinez might use this!

  4. #3
    DeadLinez's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    https://mpgh.net Sexy Points: 989,576,420
    Posts
    465
    Reputation
    11
    Thanks
    500
    My Mood
    Psychedelic
    rofl wtf 50% SuperBullets? lolz u r pro

  5. #4
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,423
    Reputation
    112
    Thanks
    693
    Well 50% done but im not really doing it. My uncle is. I know its weird!

  6. #5
    GodHack2's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    644
    Reputation
    38
    Thanks
    762
    My Mood
    Amused
    why don't we just use the normal ptc method ?
    what makes this so special ?

    thanks anyways





    beat this bitches ^^^^^^^

    Current Stats : Bored :/


    Respect list :
    Crash !
    Gordon'
    Markoj

  7. #6
    J's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    East Coast
    Posts
    2,164
    Reputation
    452
    Thanks
    5,900
    My Mood
    In Love
    It's much easier to just make a function that does this. Then pushing a command would be 1 line of code, rather than 9 lines.

    But, I have to admit, it's pretty sexy.

  8. #7
    DeadLinez's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    https://mpgh.net Sexy Points: 989,576,420
    Posts
    465
    Reputation
    11
    Thanks
    500
    My Mood
    Psychedelic
    well i think it's more organized, and i just add a new header with al my hacks in it.

  9. #8
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,423
    Reputation
    112
    Thanks
    693
    Also this is good because then its an undected ptc! Awesome!

  10. #9
    J's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    East Coast
    Posts
    2,164
    Reputation
    452
    Thanks
    5,900
    My Mood
    In Love
    Quote Originally Posted by Zane Slayman View Post
    Also this is good because then its an undected ptc! Awesome!
    That's what we thought with gellins PushToConsole()

    D:

  11. #10
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,423
    Reputation
    112
    Thanks
    693
    Quote Originally Posted by Jeffrey View Post
    That's what we thought with gellins PushToConsole()

    D:
    That's true i guess. But as of for now. This will be undetected for some time!

  12. #11
    DeadLinez's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    https://mpgh.net Sexy Points: 989,576,420
    Posts
    465
    Reputation
    11
    Thanks
    500
    My Mood
    Psychedelic
    ok ,i just rough coded a booled version for "ON/OFF"

  13. #12
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,423
    Reputation
    112
    Thanks
    693
    Very nice deadlinez.

  14. #13
    J's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    East Coast
    Posts
    2,164
    Reputation
    452
    Thanks
    5,900
    My Mood
    In Love
    ok the bool one is very sexy. I like how it's still easy to use, by calling one function instead of manually using inline asm over and over /

  15. #14
    DeadLinez's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    https://mpgh.net Sexy Points: 989,576,420
    Posts
    465
    Reputation
    11
    Thanks
    500
    My Mood
    Psychedelic
    Quote Originally Posted by Jeffrey View Post
    ok the bool one is very sexy. I like how it's still easy to use, by calling one function instead of manually using inline asm over and over /
    lol thanks, might be a missing bracket idk, just thought of it.

  16. #15
    J's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    East Coast
    Posts
    2,164
    Reputation
    452
    Thanks
    5,900
    My Mood
    In Love
    Quote Originally Posted by DeadLinez View Post
    lol thanks, might be a missing bracket idk, just thought of it.
    Well nicely done, it looks good.

Page 1 of 4 123 ... LastLast

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, 06:23 PM
  2. PTC Method
    By DBag4Life69 in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 13
    Last Post: 09-12-2010, 06:34 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