Jump to content

Recommended Posts

This is an article I read on [url="http://www.radclan.net/showthread.php?5423-Setting-the-Right-Rate-Settings-for-The-R-A-D-gt-CSGO-Server"]another website[/url], great information though so I thought I would share :)

[b][color=#ff0000]EDIT: These are for a 100 Tic Server, if you are on a 60 Tic server see the 2nd post.[/color][/b]

Following these instructions will help improve your gameplay experience with this server, most importantly involving hit registry. These instructions apply for most people. If you have a decent broadband connection, these settings should be optimal for you, and they shouldn't hurt you at all for playing on other servers.
[list=1]
[*]Open the console.
[list]
[*]To enable the console, hit Escape. Go to Options --> Keyboard --> Advanced. Check "Enable Developer Console".

[*]To open the console, hit the backtick ( ` ) key. It's the key with the tilde ( ~ ) on it, above Tab, next to 1.
[/list] [*]Type the following commands individually. Hit Enter after each command.
[list]
[*]cl_cmdrate 101

[*]cl_updaterate 101

[*]cl_interp 0

[*]cl_interp_ratio 1

[*]fps_max 121
[/list] [*]Close the console (the same way you opened it).
[/list]
You may want to put the above commands in your configs, because cl_interp often gets reset when the game is reloaded. The simplest way is to put all 4 commands in a text file, one on each line. Rename the text file to autoexec.cfg and put it in your Counter-Strike: Source config directory. An example of this location for many people is C:\Program Files (x86)\Steam\steamapps\johnsmith\counter-strike source\cstrike\cfg. Make sure you have "Hide extensions for known file types" unchecked in Windows' "Folder Options" --> "View" tab.
How To Know It's Working Right

To verify the above settings and make tweaks if necessary, do the following:[list=1]
[*]Open the console (as explained above).

[*]Type net_graph 3 . Hit Enter. Close the console.

[*]Look at the network graph at the bottom-right of your screen. If your lerp is 10.0 ms, you've very likely entered the correct commands as described above. If not, try again.

[*]Keep an eye on choke and loss in the network graph. Play a round or two, keeping a mental note of both of them. Pay special attention to encounters with enemy players, especially when you near groups of them.

[*]If you had any loss, at all, go back into the console and enter the command cl_interp_ratio 2 . Your loss won't go away, but you'll have a more ideal setting to compensate for it. If your loss is really high (consistently 2 or above or spiking to even higher numbers regularly), get a better connection.

[*]If you had a choke greater than about 5 at any point, or your choke is consistently higher than 0, go back into the console and enter the command cl_updaterate 90. If your choke goes down to good levels, you're good. If not, keep lowering it (increments of 10 are good) until it does. If your choke never goes down to reasonable levels, get a better connection.

[*]If you want to get rid of the network graph, open the console. Type net_graph 0 and hit Enter.
[/list]
Why Do This At All?

This server runs at a 100 tickrate. This means it updates 100 times every second with new information about what's going on in the game. Most servers run at 66 tick, as this is the rate Valve forces Counter-Strike: Source to normally run at, the same as all other Orange Box Source engine games. We use a plugin to allow this server to run at 100 tick.
Because our server runs at a higher tickrate than the default, it always has more up-to-date information to work with about who hit who, where each person is, where they were hit, etc. By using the right settings, you'll have a much better gameplay experience because your shots will register more accurately, and the game should feel smoother in general.
Why Those Specific Settings? (Technical)

cl_cmdrate and cl_updaterate

The server can process up to 100 updates per second. With a cl_cmdrate of 100, your game client will send the server 100 snapshots of information about its current situation every second. With cl_updaterate 100, the server will give your client 100 updates about the rest of the game every second. Any lower would be using less than the full potential the server and your game can use to make decisions. Any higher would be pointless, as the server can process a maximum of 100 updates a second.
cl_interp

cl_interp sets the minimum value for your client-side linear interpolation (LERP). Setting it to 0 disables the minimum, allowing cl_interp_ratio to manage your LERP value.
cl_interp_ratio

The game calculates your client-side linear interpolation (LERP) based on the following formula: Interp_Ratio/Update_Rate. If your cl_interp value is greater than this value, it will be used instead. It uses the actual values, taking into account limits the server puts on you client, not necessarily exactly based on your cl_updaterate and cl_interp_ratio. For example, if your update rate is 100, and your interp. ratio is 1, your LERP will be 1/100, or 0.01 seconds (10ms). By default, a Counter-Strike: Source client runs at an update rate of 20 snapshots per second (assuming the server doesn't have sv_minupdaterate set to something higher, as we do). It also has a default cl_interp of 0.1 (100ms). Since 20 snapshots per second means there is a snapshot sent to your client every 50ms in this case, a LERP of 100ms means that in addition to the current snapshot, there are always 2 extra snapshots your client keeps around to interpolate between in case it loses one. For someone with a lame connection (one that has packet loss between the client and the server, shown as "loss" in net_graph 3), this is a pretty safe setting. If you lose a packet, it won't be too big of a deal, because your client can interpolate between the other 2 snapshots in order to show you something reasonable on your screen. This default setting corresponds to a cl_interp_ratio of 2.

If you were to run the default of cl_interp 0.1 while running with an update rate of 100, your client would be saving 10 extra snapshots instead of the default 2. This is way overkill, and if you had 10 loss (10 lost snapshots per second), you'd be pretty well screwed anyway, and LERP would be the last of your problems. If you set your cl_interp_ratio to 2, you'll always have 2 extra snapshots (20ms LERP at 100 update rate) to work with.
Since most people don't have loss (and if you have loss, you should probably be getting a better connection anyway), most people will have the best experience with cl_interp_ratio 1. This means you only have 1 snapshot to work with in the case 1 is lost. Since 2 snapshots are required to interpolate between in cases, this means that your client will have no interpolation delay at the expense of not being resilient in the case your connection does actually get loss. As this concept is hard to understand/explain, it may be helpful to study the graphic in the [url="http://developer.valvesoftware.com/wiki/Source_Multiplayer_Networking#Entity_interpolation"]Entity interpolation section[/url] of the Source Multiplayer Networking article on the Valve Developer Community.
In short, set cl_interp_ratio to 1 if you don't have loss. Set it to 2 if you do have loss.

Link to comment
Share on other sites

  • 3 weeks later...

[quote name='Metal' timestamp='1346954228' post='367']
Are you aware the server was set to 33tick last night? Maybe it has something to do with when it went down the other day.
[/quote]

Whoa! Nope I wasn't and now that you mention it I just checked and it still is. Going to get taken care of today. Thanks for the heads up!

Link to comment
Share on other sites

Yes they are, I made it easier to do here: [url="http://osgamers.net/forums/topic/93-optimum-rates-for-osg-128-tic-public-server/"]http://osgamers.net/forums/topic/93-optimum-rates-for-osg-128-tic-public-server/[/url]

Link to comment
Share on other sites

Settings should not be the same for a 128 tic server.

Should be something like
rate "80000"
cl_cmdrate "128"
cl_updaterate "128"
fps_max "300"
oh and you should be using Net_graph 1 to see your rates in game if you aren't already.
Your FPS should not be lower than your cmdrate, if it is your computer/connection sucks and you should upgrade but in the meantime you should lower your cmdrate.
Don't let your lerp be in the red either.

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...