[HELP] reducing lag

Posts 115 of 18 · Page 1 of 2
[HELP] reducing lag
i have noticed that a lot of coders use removers to reduce lag. could someone explain to me what removers are? are they things like snow and sky boxes and the sun and stuff? aka stuff that can be turned off via PTC commands? or does it refer to removing direct 3d elements or what?
Textures, Sound, Enviroments..
Tbh, I dont think it even helps D:

Code:
DynamicLight 0 (1)
EnableWeatherFX 0 (1)
MuzzleLight 0 (1)
SnowEnable 0 (1)
CamDamage 0 (1)
ModelApplySun 0 (1)
ClientFXDetailLevel 0 (1)
ModelShadow_Proj_Enable 0 (1)
DebrisFXLevel 0 (1)
ScatterEnable 0 (1)
modelshadow_proj_blurenable 0 (1)
DrawAllModelShadows 0 (1)
ModelShadow_Proj_MinColorComponent 0 (1)
ModelShadow_Proj_MaxProjDist 0 (1)
Quote Originally Posted by ac1d_buRn View Post
Textures, Sound, Enviroments..
Tbh, I dont think it even helps D:

Code:
DynamicLight 0 (1)
EnableWeatherFX 0 (1)
MuzzleLight 0 (1)
SnowEnable 0 (1)
CamDamage 0 (1)
ModelApplySun 0 (1)
ClientFXDetailLevel 0 (1)
ModelShadow_Proj_Enable 0 (1)
DebrisFXLevel 0 (1)
ScatterEnable 0 (1)
modelshadow_proj_blurenable 0 (1)
DrawAllModelShadows 0 (1)
ModelShadow_Proj_MinColorComponent 0 (1)
ModelShadow_Proj_MaxProjDist 0 (1)
well, my problem is i have never experienced lag until i compiled m own bastardization of codernevers tut. could it be my ptc method?

i am using his default with the LTC that blood posted (with the wrong LTC i wouldnt be able to connect to the server if i am reading this properly)
Quote Originally Posted by BloodSkin View Post
well, my problem is i have never experienced lag until i compiled m own bastardization of codernevers tut. could it be my ptc method?
No, Its your code.
Probably no sleep timers anywhere lawl.

THats what you get for not learning C++ & Learning to C&P
Quote Originally Posted by mastermods View Post
Sleep(50);
ahhh, i see. so does this mean that the command is being sent to the console repeatedly with no delay?

Quote Originally Posted by ac1d_buRn View Post


No, Its your code.
Probably no sleep timers anywhere lawl.

Thats what you get for not learning C++ & Learning to C&P
hey man, if you look at my sig i am still in the learning process. i thought the commands were only sent to the console once. looking at his PTC method though i dont really see how it could repeat, unless its done somewhere else. if anyone would like to help me understand what it is im missing here as to why exactly a sleep is needed i would greatly appreciate it.

EDIT: the sleep did fix the lag i was referring to. now to figure out why exactly its needed.
Quote Originally Posted by BloodSkin View Post
ahhh, i see. so does this mean that the command is being sent to the console repeatedly with no delay?



hey man, if you look at my sig i am still in the learning process. i thought the commands were only sent once.

....
well are you using any sort of memcpy?
Quote Originally Posted by DeadLinez View Post
well are you using any sort of memcpy?
at the time i wasnt. i saw that i will have to in order to have no recoil so thats on my list of things to look up tonight.
Just put Sleep(50); above every hotkey.

Example:

void main()
{
bool sdfsdf = false;
while(true)
{
Sleep(50);
if(getasynckeystate(vk_numpad0) {
if(sdfsdf) {
PTC COMMAND HERE
sdfsdf = false;
} else {
PTC COMMAND HERE
sdfsdf = true;
}
}

Then when your making another one, put Sleep(50); right below the one above it, then make another hack. Got it?
Dont use memcpy. It will cause lag. Go grab ac1d_buRn's memoria function. Then after that add Sleep(50); No lag.
Quote Originally Posted by whatup777 View Post
Dont use memcpy. It will cause lag. Go grab ac1d_buRn's memoria function. Then after that add Sleep(50); No lag.
im kind of reluctant to use acids stuff because i dont want him to think my intentions are to leech. i want to actually learn whats going on. im still a choob to c++ but i do understand the bare essentials like includes and variables and functions and braces and stuff. but i will look into it.

what my problem was though is i didnt have any sleeps.
Add a Sleep after every hack

ect.
Sleep(100);

If(blah blah)
{
your mom is a whore
}

Sleep(100);
Quote Originally Posted by whit View Post
Add a Sleep after every hack

ect.
Sleep(100);

If(blah blah)
{
your mom is a whore
}

Sleep(100);
Already said it .
Quote Originally Posted by whit View Post
Add a Sleep after every hack

ect.
Sleep(100);

If(blah blah)
{
your mom is a whore
}

Sleep(100);
so if i were to set a number of ptc commands to one function would i sleep after every ptc or after every call to that function?
Posts 115 of 18 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?