Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    BloodSkin's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Columbus, OH
    Posts
    354
    Reputation
    11
    Thanks
    63

    [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?

  2. #2
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,406
    Reputation
    157
    Thanks
    3,991
    My Mood
    Flirty
    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)

  3. #3
    BloodSkin's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Columbus, OH
    Posts
    354
    Reputation
    11
    Thanks
    63
    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)
    Last edited by BloodSkin; 07-21-2010 at 10:11 AM.

  4. #4
    mastermods's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    108
    Reputation
    9
    Thanks
    42
    My Mood
    Chatty
    Sleep(50);

  5. #5
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,406
    Reputation
    157
    Thanks
    3,991
    My Mood
    Flirty
    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

  6. #6
    BloodSkin's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Columbus, OH
    Posts
    354
    Reputation
    11
    Thanks
    63
    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.
    Last edited by BloodSkin; 07-21-2010 at 10:25 AM.

  7. #7
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,406
    Reputation
    157
    Thanks
    3,991
    My Mood
    Flirty
    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.

    ....

  8. #8
    DeadLinez's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    http://mpgh.net Sexy Points: 989,576,420
    Posts
    465
    Reputation
    11
    Thanks
    499
    My Mood
    Psychedelic
    well are you using any sort of memcpy?

  9. #9
    BloodSkin's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Columbus, OH
    Posts
    354
    Reputation
    11
    Thanks
    63
    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.

  10. #10
    MugNuf's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    792
    Reputation
    9
    Thanks
    160
    My Mood
    Goofy
    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?

  11. #11
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,030
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    Dont use memcpy. It will cause lag. Go grab ac1d_buRn's memoria function. Then after that add Sleep(50); No lag.
    Quotes I live by.


    A foolish person learns from his mistakes, I wise person learns from others.
    Quote Originally Posted by AVGN View Post



    mhm

    i live in texas

    i was at the grocery store with my son. He saw a mexican guy, and he said "Look daddy! a mower man!"

    he's 4 yrs old

  12. #12
    BloodSkin's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Columbus, OH
    Posts
    354
    Reputation
    11
    Thanks
    63
    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.

  13. #13
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,170
    Reputation
    490
    Thanks
    2,252
    Add a Sleep after every hack

    ect.
    Sleep(100);

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

    Sleep(100);

  14. #14
    MugNuf's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    792
    Reputation
    9
    Thanks
    160
    My Mood
    Goofy
    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 .

  15. #15
    BloodSkin's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Columbus, OH
    Posts
    354
    Reputation
    11
    Thanks
    63
    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?

Page 1 of 2 12 LastLast

Similar Threads

  1. Combat arms Reduce Lag Help
    By Dragon1432 in forum Combat Arms Help
    Replies: 6
    Last Post: 10-17-2011, 06:25 PM
  2. Replies: 0
    Last Post: 02-11-2011, 08:59 PM
  3. NetLimiter2: Program to Help Reduce Internet Lag
    By AVGN in forum Combat Arms Discussions
    Replies: 17
    Last Post: 01-25-2011, 11:29 AM
  4. [Help] How do I reduce lag from a hack ?
    By kelechi96 in forum Combat Arms EU Hack Coding/Source Code
    Replies: 3
    Last Post: 07-31-2010, 09:23 AM
  5. [HELP] Gun lag!
    By dude45259 in forum WarRock - International Hacks
    Replies: 6
    Last Post: 09-04-2007, 08:36 AM