PTC is lagging

Posts 16–30 of 32 · Page 2 of 3
Quote Originally Posted by flameswor10 View Post
@steven1578

your pc can not handle the graphics/
Ofcourse it can, without the hack it can handle it so why not with it?
@flameswor10
Quote Originally Posted by steven1578 View Post
Ofcourse it can, without the hack it can handle it so why not with it?
@flameswor10
Then you are not optimizing your code to reduce lag.
Quote Originally Posted by flameswor10 View Post
Then you are not optimizing your code to reduce lag.
What code
the PTC for chams etc?
cause i just use this method (yours)
void __cdecl ConsolePush( const char* cCommand)
{
void* address = ( void* ) LTClientEXE;

__asm
{
Push cCommand
call address
add esp, 0x4
}
}

with this use:
if(Fog) {
ConsolePush("FogEnable 0" );
}else{
ConsolePush("FogEnable 1");
}

so is the usage wrong?
@flameswor10
No, the code in general.
But my method doesn't lag, (If you've seen my latest menu. the VIP one)
Quote Originally Posted by flameswor10 View Post
No, the code in general.
But my method doesn't lag, (If you've seen my latest menu. the VIP one)
yes ive saw that menu but i cant useit cause i play eu :P
so i need to use another base?
and btw how to find rapidfire addy can you pm me a short/fast tut?
@flameswor10
Quote Originally Posted by steven1578 View Post
yes ive saw that menu but i cant useit cause i play eu :P
so i need to use another base?
and btw how to find rapidfire addy can you pm me a short/fast tut?
@flameswor10
No, it's not the base.
It's the code you added to it.

And no, I will not tell you how to find the rapidfire addy
Quote Originally Posted by flameswor10 View Post
No, it's not the base.
It's the code you added to it.

And no, I will not tell you how to find the rapidfire addy
@flameswor10 ohh sorry for the VM i missed your reply but how does your code looks like when you add it?
Create a timer, and call the PTC commands only every half a second or so. Problem solved.
Every command is being called every single frame, therefore LAGGG
@_Fk127_
hey can you help me with that ? sounds complicated
HERE WE GO :
Function for PTC once , ( i don't need to write it for every command so function make it easy )
Code:
void cHack::PatchCommand(bool MenuVal,char *commandOn,char *commandOff,bool& zsFlag)
{
	if(MenuVal)
	{
		if(zsFlag == true)
		{
			Hack.pRun_Command(commandOn);
			zsFlag = false;
		}
	}else{
		if(zsFlag == false)
		{
			Hack.pRun_Command(commandOff);
			zsFlag = true;
		}
	}
}
now how to use :
Code:
bool Flags[2];

void fun_Commands()
{
	int i = 0; // no need to count , while we can make it auto
	PatchCommand( Menu Item Val , "ShowFPS 1",	"ShowFPS 0", Flags[i++]);// here u see how it's auto count and ++
	PatchCommand( Menu Item Val , "SkelModelStencil 1",	"SkelModelStencil 0", Flags[i++]);
}
~Mo3ad001
This is console lagged in asm .

Use one simple method console ;]]
screw timers, just call it only when you need to.
Quote Originally Posted by fck3 View Post
screw timers, just call it only when you need to.
I don't think he's able to detect when a value changes.
Quote Originally Posted by freedompeace View Post


I don't think he's able to detect when a value changes.
Yup i dont just started you know .. and mo3ad001’s method worked perfect for me so close this thread please

@AVGN
@flameswor10
@SmartAlley
Posts 16–30 of 32 · Page 2 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us