PTC is lagging

Posts 1–15 of 32 · Page 1 of 3
PTC is lagging
Hey guys, i recently made an post about my hacks is laggy with a maximum of 25 fps which is slow :S
I’ve found the problem and the problems are my PTC hacks when i delete em all i have about 120 fps so how to fix this heres my PTC method (credits to baraozin)
Code:
VOID ConsolePush(CONST CHAR *Command)
{

	
__asm {

PUSHAD;
NOP;
MOV EAX, LTClientEXE; 
WAIT;
MOV EBX, LTClientEXE;
WAIT;
NOP;
CMP EAX, EBX;
NOP;
add eax, 4
JZ Hello; 
NOP;
Hello:       
NOP;
PUSH Command;
NOP;
MOV EAX, LTClientEXE;
NOP;
CALL EAX;
NOP;
ADD ESP, 0x4;
NOP;
sub EDI, 0x5;
sub esi, 0x1;
POPAD;
}
}
i also tried using other ptc method and it didnt help so is it the menu ?
No isn't ur PTC method , and try to Run it once , like my method in my public menu base .
Quote Originally Posted by mo3ad001 View Post
No isn't ur PTC method , and try to Run it once , like my method in my public menu base .
Try running what once?
@mo3ad001
This Console is so lagged.
Try a different PTC function. I'm on my laptop ATM so I can't give you the code to do this but... you should consider making each if statement for a hack to do nothing after turning the hack on/off. Try making the OnOff an integer and turning it to 2 (nothing), 1 (on), and 0 (off). This prevented lag for me quite well. Some bases Push a Command constantly if its on or off.
Example:
Code:
if ( HackItem[1].OnOff == 1 )
{
PTC( "___ 1" );
HackItem[1].OnOff = 2;
}
if ( HackItem[1].OnOff == 0 )
{
PTC( "___ 0" );
HackItem[1].OnOff = 2;
}
Remember also to only allow enabling hacks in-game.
Quote Originally Posted by -Dimensions- View Post
Try a different PTC function. I'm on my laptop ATM so I can't give you the code to do this but... you should consider making each if statement for a hack to do nothing after turning the hack on/off. Try making the OnOff an integer and turning it to 2 (nothing), 1 (on), and 0 (off). This prevented lag for me quite well. Some bases Push a Command constantly if its on or off.
Example:
Code:
if ( HackItem[1].OnOff == 1 )
{
PTC( "___ 1" );
HackItem[1].OnOff = 2;
}
if ( HackItem[1].OnOff == 0 )
{
PTC( "___ 0" );
HackItem[1].OnOff = 2;
}
Remember also to only allow enabling hacks in-game.

Wow really? That's unnessecary.
Also. try pushing the Console Commands once every 350 frames or so.
It will dramatically remove the lag
Quote Originally Posted by flameswor10 View Post
Wow really? That's unnessecary.
Also. try pushing the Console Commands once every 350 frames or so.
It will dramatically remove the lag
@flameswor10 and how do i do that
dont forget that iama noob after all

i also tried to use flameswor10’s code which is :
void __cdecl RunConsoleCommand( const char* cCommand)
{
void* address = ( void* ) ADDR_CONSOLEUNWRAPPED;

__asm
{
Push cCommand
call address
add esp, 0x4
}
}
Quote Originally Posted by steven1578 View Post
@flameswor10 and how do i do that
dont forget that iama noob after all
Check how many frames went by.
On the 350'th frame, you do all PTC and reset the counter back to 0.
Quote Originally Posted by flameswor10 View Post
Check how many frames went by.
On the 350'th frame, you do all PTC and reset the counter back to 0.
you mean i need to wait 3 secs to turn hack on
and that 1 by 1?

@flameswor10
CA also laggs when i start, you know the silver/grey glowing picture right ?
when it starts to glow it laggs as hell -,-' even when i dont have any hacks on ?
Quote Originally Posted by steven1578 View Post
you mean i need to wait 3 secs to turn hack on
and that 1 by 1?

@flameswor10
CA also laggs when i start, you know the silver/grey glowing picture right ?
when it starts to glow it laggs as hell -,-' even when i dont have any hacks on ?
What glowing red picture?
Quote Originally Posted by flameswor10 View Post
What glowing red picture?
noo this picture :[IMG]http://alttabninja.files.*********.com/2009/10/combatarms_logo.png?w=150&h=87[/IMG]

@flameswor10
alttabninja.files.*********.com/2009/10/combatarms_logo.png?w=150&h=87
type word press (without space) for the *********
@flameswor10

I don't get what you mean by the red/silve thing.
Quote Originally Posted by flameswor10 View Post

I don't get what you mean by the red/silve thing.
its grey/silver but anyways when you start ca you get NEXON and after that you get COMBAT ARMS online fps action logo and that shines and laggs as hell when i use the hack
and without hacks it doesnt lagg the shine
@flameswor10
Posts 1–15 of 32 · Page 1 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us