Jump to content

Recommended Posts

Posted

Tips for less lag in Counter Strike Source (and Counter Strike 1.6)

 

This guide is for users with Counter Strike Source, but will also work with Counter Strike 1.6. Lag, ping choke and loss on CSS are all related, and can be cured in most situations. The steps below will help you lower your lag in game, and explain in detail exactly what it does, and what the terms mean.

 

 

Lag - A term used to say that a persons connection is slow, lagging.

Ping - This is a measure of the round trip time for a message to get from your computer to the server and back again, measured in milliseconds.

Latency - This measures the one way trip time from your computer, to the server. (if you think about it, latency at any time is LESS than your ping)

Rates - General term used for the speed settings of counter strike source(and 1.6)

 

Ping is NOT Latency

 

 

 

 

Choke - Choke is server lag. Choke basically means that your computer is sending your players position, and what he does (shoot, nade, knife) to the server, and its not getting there. Counter Strike Source default is to send your players actions to the server 30 times a second. Choke is caused by two things:

 

  1.

    Your computer is sending too many packets to the server per second. If you try to send 100 commands to the server per second, and it can only accept 40, you are going to be getting 60 choke. This will make you SUCK, none of your shots will register, and only 40% of the things you try to make your player do will be done. (for solution, see below)

 2.

     The server is not able to read all of the information being sent to it. This can be caused by network lag at the server, or CPU lag at the server. The client cannot control this, but can accomodate for it (solution below)

 

 

 

Loss - Loss is lag from outside your computer and usually outside the server. This means that while your commands that are going to the server, they are following a path (sometimes can be 30 networks your commands go thru before they reach the server) and somewhere in that path, the packets dont make it to the next place. Those packets are 'lost' in the bowels of the net. Loss can also come from wireless connections, in which case you can change your wireless channel to fix.. Loss is for the most part out of your control, and could always be the most common situation, your connection just plain sucks.

 

net_graph 3 on CSS

 

To start, you will need to be able to access the console in Counter Strike Source. Press the ~ button, and drop the console. Enter the command "net_graph 3" and press enter (to remove this later, net_graph 0). Once you leave the console, you should see in the lower right of your screen some numbers that look like this:

ping choke loss lag css

 

Definitions of this menu:

 

  1. FPS- How many frames per second your graphics card is doing

  2. Ping- Round trip time from your computer to the server and back

  3. Data - How many TCP/IP packets youre sending (you dont need to know this)

  4. kilobits per second- how much actual data youre sending in and out (not needed)

  5. How many times per second your computer updates your players position on the server (out -- the bottom one)

     How many times per second the server sends your computer players positions (in -- the top one)

  6. Loss - explained above

  7. Choke - explained above

 

 

 

 

Steps to fix your lag in CSS

The following steps are meant for anyone that can read (even n00bs). These steps will solve your network lag, as long as it has to do with your Counter Strike Source settings. Use this guide for fixing all types of lag.

 

Note: Your ping may not be affected with these, but your lag will be cured.

 

You are going to be changing your rates, in an educated guess and check method, to achieve the best rates for your computer. You will need to know how to read net_graph 3, and you will need to have it enabled. You need to join a server, to tweak these settings properly.

 

To set your rates, enter the rate you want to set, then the number of times per second you want it set to.

Example: cl_cmdrate 30

 

 

cl_updaterate - How often your computer asks the server for players positions per second (default: 20)

cl_cmdrate - How many times per second your computer sends your position to server per second (default: 30)

rate - Maximum bytes per second you can receive

cl_interp - Changes the speed at which players positions are updated

 

Part 1 - Cmdrate and Updaterate

 

  1. Enter a server and change your rates. cl_cmdrate 80 and cl_updaterate 60

 

   2.Play the game for a few minutes. You will need to make sure that area 5 on the net_graph is not being limited by the server. If it stays at 33.3 or 66.6 all the time, it means you should tweak this on a different server that allows for higher rates (100 tick servers mean max of 100 updates and commands per second!)

 3. Once you find a server that is not limited, you want to make sure your rates are cmd 80, and update 60. Play on the server for a few rounds, and keep an eye on your CHOKE and LOSS.

 

  4. If you are experiencing choke, you will need to change your rates lower. The correct ratio for update to command means cl_updaterate should be 3/4 of cmdrate (75% is good)-- *This means CMDRATE is higher than UPDATERATE by a pinch*. So, lower your rates, keeping ROUGHLY the same ratio. If your choke is 30, lower your rates about 30 (but make sure you still use the ratio of 75%). This would mean cl_updaterate 35 and cl_cmdrate 50 (thats 70% ratio, close enough)

 

  5. Try the new settings, and adjust your rates as needed. You want to lower your rates until you get less than 2 choke in the middle of a round, and less than 10 at the beginning, and end of a round. (choke is higher at beginning and end of rounds while server does stats, and resets objects)

 

  6. Once you get to 0 choke, and 0 loss (loss may not change if it is a network problem) you have your proper rates.

 

 

 

Part 2 - The rate setting in CSS

 

The rate setting is used to set the MAX amount of data coming to you from the server in bytes per second. Rarely does your computer receive more than the max, and the more players on the server you are on, the more data you will recieve. On a 32 player server, you receive player positions, voice, chat, and nades weapons etc move. That will obviously use a lot of bandwidth to receive all that info.

 

In short, heres what you set your rate to, its not very important to tweak.

Connection Speed Set your rate to:

56k or slower 1800comcast

Slow DSL/Cable 20000

Fast DSL/Cable 25000

 

 

Part 3 - Interp setting in CSS

In Counter Strike Source, once your lag ping choke and loss are all fixed, you can improve your connection even more. The interp setting in CSS is used to tell your computer how fast to interpret the player and object positions sent to you by the server. The proper interp depends on your updaterate. Your cl_interp should be 1/updaterate. This means that if your updaterate is 50, your interp should be .02 - In the console type "cl_interp .02" or whatever yours should be. MAKE SURE YOU GET THE .02 and not just .2

 

There is also an interp setting that sets your interp automatically, adjusting dynamically. I do not use it, and cant give any advice, but the command is cl_interp 0.

 

 

CSS Rates Conclusion

 

These rates you now have apply best for the server you are on, but will be around the best rates for your computer on Counter Strike Source. Factors affecting your rates can change second to second and server to server, but now you know how to lower lag.

 

Credits:etcwiki.org and Me(i made some changes...)

 

I searched but i didnt find something like this :P

Leave CoMmMents!!

  • 2 weeks later...
  • 3 months later...
Posted

For lag i use the comand rate 25000,but i dont have that's kinds of lag because i have a enought good network conection,anyway thx for share if i will got problems with ping,lag i will use your share  ;)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Hundreds of players have already jumped into the world of L2Elixir x3, and the server grows bigger every day! A truly international community is forming — EU, NA, LATAM, Asia — all gathering for the same purpose: To relive the L2Elixir era the right way. Join now and be part of the early wave!   Website: https://l2elixir.org/ Discord: https://discord.gg/5ydPHvhbxs   🎄 Christmas Event Activated! 🎄 Craft your Ordinary or Special Christmas Tree, place it outside of a peace zone, and enjoy festive outfits, boosted EXP/SP, Adena, and Drop Rates, plus the Holiday Festival buff  (more HP/MP/CP, higher P.Def/P.Atk/M.Atk, faster movement, reduced MP cost!) every 12-hours! 🎁 Santa’s Hourly Gifts While you’re actively farming, Santa appears worldwide to drop special rewards such as: Special Christmas Tree Christmas Red Sock Santa’s Weapon Exchange Ticket (12h) Gift from Santa Santa Hats & Rudolph accessories Agathion: Rudolph Chest of Experience Shadow Hats Scrolls Event b.soe / b.rez Loot Crates 🔥 Santa’s Weapon Ticket Gives you a D/C/B-grade weapon based on your level, randomly enchanted +4 to +10!  4-hour expiration time. Celebrate, fight, farm — and let Santa upgrade your holidays! 🎅✨
    • what do u mean i want to change the normal weapons some weapons are working perftect some not getting th effect and the arcana has the effect above the weapons as u see ... i dont what is the probkenm
    • Stop paying for files that are already public and free. Here you can download a fully working Interlude server with C4-like gameplay, including source code so you can compile it yourself and verify everything. People will try to convince you that free releases are “broken”, “full of backdoors”, etc. That’s exactly why I’m also providing the SVN with the full source – so you can: Review the code yourself Remove / modify whatever you don’t like Compile your own binaries What’s included GX-EXT Interlude server (C4-style gameplay) – L2Off Client Interlude tweaked for C4 gameplay Public SVN with source code Downloads: Server GX-EXT: https://www.mediafire.com/file/q5ipkjd36tnhfxv/L2OFF_C4_C4_ACU_GXEXT.rar/file Client Interlude C4 Gameplay: https://www.mediafire.com/file/rdkfc8wwau042oh/Cliente_Interlude_Jugabilidad_C4.rar/file SVN (source code, delayed a couple of months to avoid reselling fresh work): https://svn.l2servers.com.ar/!/#GX-EXT_INTERLUDE User: gx Pass: gx How to compile To compile the source you will need: Visual Studio 2005 (x64 toolset) (Classic L2Off toolchain – yes, it’s old, but that’s what the original server uses.) Use this as you want: learn, test, open your own server, or just audit the code. But please, stop buying the same leaked/resold files over and over when you can get them here for free, with source, and actually know what you’re running.  
    • @GX-Ext Please reupload the pack+web+client because all the links inside that post or in the https://l2servers.com.ar/ are dead
    • Weapon dat is not the same for all, since you have custom things for sure no. You can contact @NevesOma
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock