[Release] PTC Method [ASM]

Posts 115 of 46 · Page 1 of 4
[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"
	}
Very nice deadlinez might use this!
rofl wtf 50% SuperBullets? lolz u r pro
Well 50% done but im not really doing it. My uncle is. I know its weird!
why don't we just use the normal ptc method ?
what makes this so special ?

thanks anyways
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.
well i think it's more organized, and i just add a new header with al my hacks in it.
Also this is good because then its an undected ptc! Awesome!
Quote Originally Posted by NOOBJr View Post
Also this is good because then its an undected ptc! Awesome!
That's what we thought with gellins PushToConsole()

D:
Quote Originally Posted by J 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!
ok ,i just rough coded a booled version for "ON/OFF"
Very nice deadlinez.
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 /
Quote Originally Posted by J 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.
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.
Posts 115 of 46 · Page 1 of 4
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?