Why does my Speed hack lagg?

Posts 1–15 of 31 · Page 1 of 3
Why does my Speed hack lagg?
this is my source for speed hack and it makes you Lagg, i think it's the sleeps what shall i do?

Code:
Sleep(100);
		if( speed == 1 )//legit
		{
			Push("BaseMoveAccel 3000.000000");
			Push("StartAccel 500.000000");
			Push("MaxAccel 3000.000000");
			Push("AccelInc 6000.000000");
			Push("WalkVel 70.000000");
			Push("FRunVel 285.000000");
			Push("BRunVel 285.000000");
			Push("DuckVel 50.000000");
		 
		}
			if( speed == 2 )//faster
		{
			   Push("BaseMoveAccel 4000.000000");
			Push("StartAccel 1000.000000");
			Push("MaxAccel 4000.000000");
			Push("AccelInc 7000.000000");
			Push("WalkVel 500.000000");
			Push("FRunVel 500.000000");
		        Push("BRunVel 500.000000");
			Push("DuckVel 500.000000");
		}
		if( speed == 3 )//fast
		{
			   Push("BaseMoveAccel 2000.000000");
			Push("StartAccel 2000.000000");
			Push("MaxAccel 2000.000000");
			Push("AccelInc 2000.000000");
			Push("WalkVel 2000.000000");
			Push("FRunVel 2000.000000");
		        Push("BRunVel 2000.000000");
			Push("DuckVel 2000.000000");
		}
		
	Sleep(100);
I AM NOT A FAN OF SUPER JUMP
add more speels lul

Edit: ment to say sleeps...
This aint yo problem. The speed hack stuff is fine. You may wanna add more sleep statements after your other hacks. Sleep(50) Like this!
Quote Originally Posted by NOOBJr View Post
This aint yo problem. The speed hack stuff is fine. You may wanna add more sleep statements after your other hacks. Sleep(50) Like this!
/ you think sleep statements fix everything? I have like 2 on my entire base.
i did this and it lagg WORSE

Code:
Sleep(50);
		if( speed == 1 )//legit
		{
			Push("BaseMoveAccel 3000.000000");
			Push("StartAccel 500.000000");
			Push("MaxAccel 3000.000000");
			Push("AccelInc 6000.000000");
			Push("WalkVel 70.000000");
			Push("FRunVel 285.000000");
			Push("BRunVel 285.000000");
			Push("DuckVel 50.000000");
		 
		}
		Sleep(50);
			if( speed == 2 )//faster
		{
			   Push("BaseMoveAccel 4000.000000");
			Push("StartAccel 1000.000000");
			Push("MaxAccel 4000.000000");
			Push("AccelInc 7000.000000");
			Push("WalkVel 500.000000");
			Push("FRunVel 500.000000");
		    Push("BRunVel 500.000000");
			Push("DuckVel 500.000000");
		}
			Sleep(50);
		if( speed == 3 )//fast
		{
			   Push("BaseMoveAccel 2000.000000");
			Push("StartAccel 2000.000000");
			Push("MaxAccel 2000.000000");
			Push("AccelInc 2000.000000");
			Push("WalkVel 2000.000000");
			Push("FRunVel 2000.000000");
		    Push("BRunVel 2000.000000");
			Push("DuckVel 2000.000000");
		}
		
	Sleep(50);
Thats for menu right? and try using cases then add sleep, it might help
it's for whit's Combo menu

and idk how to do it for his menu i tried but i keep getting errors
Set the Sleep values to 200 if the lag is caused by the menu maybe that will fix it
Quote Originally Posted by RagedYet View Post
Set the Sleep values to 200 if the lag is caused by the menu maybe that will fix it
yea umm no, that made it 40X worse then it was before

and the hack does not lagg at all when i take speed hack out.
all say its the sleep...
yeah its true but i can not say if it is like my idea:
if ur speedhack is into the renderframe, like gellins base do NOT include a sleep into that.
cause u sleeping the Game.

[php]HRESULT WINAPI Fucking_Present(LPDIRECT3DDEVICE9 pDevice, CONST RECT *pSourceRect, CONST RECT *pDestRect, HWND hDestWindowOverride, CONST RGNDATA *pDirtyRegion)
{
Game.Hacks.HackVoids.RenderFrame(pDevice);
//if ur speedhack is in that, by gellinsbase it is Base.RenderFrame i think, it give laggs with sleep

return FPresent(pDevice, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegion);
}[/php]
i never use Sleeps. Just though that might fix it. Also dont add Sleep(50); After everything.
Case statements .
Quote Originally Posted by Stephen View Post
Case statements .
Thats what I said so that will fix the lag
Quote Originally Posted by markoj View Post
Thats what I said so that will fix the lag
Mmmk .
example please cause i tried

Code:
Sleep(50);
		
		switch if(speed > 0)
		{
	case 0:
		 if( speed == 1 )//legit
		{
			Push("BaseMoveAccel 3000.000000");
			Push("StartAccel 500.000000");
			Push("MaxAccel 3000.000000");
			Push("AccelInc 6000.000000");
			Push("WalkVel 70.000000");
			Push("FRunVel 285.000000");
			Push("BRunVel 285.000000");
			Push("DuckVel 50.000000");
		 
		}
		 break;
		
	case 1:
			if( speed == 2 )//faster
		{
			   Push("BaseMoveAccel 4000.000000");
			Push("StartAccel 1000.000000");
			Push("MaxAccel 4000.000000");
			Push("AccelInc 7000.000000");
			Push("WalkVel 500.000000");
			Push("FRunVel 500.000000");
		    Push("BRunVel 500.000000");
			Push("DuckVel 500.000000");
		}
			break;
			
			case 3:
		if( speed == 3 )//fast
		{
			   Push("BaseMoveAccel 2000.000000");
			Push("StartAccel 2000.000000");
			Push("MaxAccel 2000.000000");
			Push("AccelInc 2000.000000");
			Push("WalkVel 2000.000000");
			Push("FRunVel 2000.000000");
		    Push("BRunVel 2000.000000");
			Push("DuckVel 2000.000000");
		}
		break;
	}
	
	Sleep(50);
i get this

Code:
	2	IntelliSense: expected a '('	c:\users\chris\desktop\cabase\base.cpp	474	10	caBase ~ Advanced
Posts 1–15 of 31 · Page 1 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us