PTC is lagging
Ofcourse it can, without the hack it can handle it so why not with it?
@flameswor10
@flameswor10
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
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)
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
so i need to use another base?
and btw how to find rapidfire addy can you pm me a short/fast tut?
@flameswor10
@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
Every command is being called every single frame, therefore LAGGG
@_Fk127_
hey can you help me with that ? sounds complicated
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 )
now how to use
:
~Mo3ad001
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;
}
}
}
: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++]);
}
This is console lagged in asm .

Use one simple method console ;]]

Use one simple method console ;]]
screw timers, just call it only when you need to.
Yup i dont just started you know .. and mo3ad001’s method worked perfect for me so close this thread please
@AVGN
@flameswor10
@SmartAlley
@AVGN
@flameswor10
@SmartAlley
This thread is closed for replies.

