Playing Source Since the Beginning of Time
Welcome, %1$s. Please login or register.
Did you miss your activation email?
April 29, 2024, 09:40:51 AM

:    
Want to join us in Vent? Ask an admin for info while in game or PM them here on the forums!
74681 6615 681
: kevinson55
*
+  The Elders' House of Pain
|-+  Public Forum
| |-+  Counter-Strike---> Help
| | |-+  Rates What You Need To Know
« previous next »
: [1]
: Rates What You Need To Know  ( 1331 )
MDK22
No Job, No Money, No Car
TE Senior Member
Forum Pro
*

Karma: +2/-8
Offline Offline

: 499


AOL Instant Messenger - Uberarchangel
« : October 12, 2005, 09:48:17 AM »

I am listing this because i am tired of all you nubs not understanding rates.:dontknow:
Yes, sometimes its just your ISP, in which case you cant do anything and we will kick you if you are tooo tooo bad.

So read up and gain knowledge  :downtown:.

You can change these by going into your options --> Keyboard --> Advanced you can turn on your console. To acess your console you hit this key --> ~  . Then you can edit these values listed below but don't edit other ones not listed that can cause major problems with your system.

First command you should use is   net_graph 3    this will tell you how bad your choke is and what your loss is. Choke means too much is trying to be done at once. And loss is the result of choke. To shut this back off just do net_graph 0.


Quote: Widow :notworthy:

I found a few things online that explains pings and rates.

First here is a listing of commands that I will cover.

sv_maxupdaterate
rate
cl_rate
cl_cmdrate
cl_updaterate
cl_giblife
cl_showfps
cl_interp


OK here goes

sv_maxupdaterate ? This is a serverside command, and does not do anything on your client. The reason why I have it here is to explain the command and how it works. Our Source server has an sv_maxupdaterate of 100. This is the maximum number of updates, per second, that the server can send. Even if it is set to 100, if the server is only maintaining 40 FPS then the rate will automatically be defaulted to 40.

rate  (0-25000) ? Maximum amount of bytes that can be received from server in a second. Setting this value too low will cause choke and setting it too high will cause choke(if your connection cannot handle it). It is said the max value of this setting is 20000. Even 32 player CS servers in big battles hardly ever send out more than 12000 bytes a second.

Suggested values:
2000 - 3000 for 56k
10000 - 20000 cable/DSL (this would be the suggested value. I have mine at 15000)

cl_rate (0 ? 9999) - Maximum amount of bytes that can be sent to a server in a second. This command isn't really worth changing, you barely ever send out more than 7K of data a second. The default value of 9K is just fine, well, unless you have 56k it isn't.

cl_cmdrate (10 ? unlimited) - This command is based on your FPS. If you are getting 35 FPS, you will only send out 35 packets of information a second. The higher you set this, the higher your latency will be. Some odd values will cause this to drop in half because it is not a multiple of your current FPS. Also, if you are sending the server 101 packets a second and the server is only running at 55 FPS, then something happens to the extra packets because it cannot read all of them. This easily explains why nothing registers anymore, the servers run at horrible FPS and only process 1/2 of the gameplay.
I would suggest finding out your FPS and setting this accordingly. Also, as stated above, this depends on the server FPS. Hopefully our server is running 100 FPS or more. I would think this should be no higher than 60.

cl_updaterate (10 ? unlimited) - This command is based off of the server's sv_maxupdaterate value. If the server's value is 30, and you set cl_updaterate to 100, it does nothing. You will only receive the maximum amount of the packets that the server can send out(per second), no more. Now, if you set it lower than what the server is sending out, that is fine. Setting cl_updaterate 10 will make you only request 10 packets from a server if the server's sv_maxupdaterate is 60. Server limitations also affect this. If the server is running at 30 FPS and has a sv_maxupdaterate 60, only 30 updates (packets) will be sent out.
I would suggest this also be set around 60.

cl_interp (0 - .05) - This command controls the amount of time that Half-Life uses to predict the player movement during that period of time by using the last know position, speed, and direction of the player. If set too low the player will appear choppy. This accounts for the more accurate positioning of the model. If you set this to 0, CS will calculate it for you. You do not want to set this to 0 because CS uses your current cl_updaterate, not the server's. USE THE SERVER'S SV_MAXUPDATERATE WHEN YOU FIGURE THIS UNLESS YOUR CL_UPDATERATE IS LOWER THAN THE SV_MAXUPDATERATE. 1/sv_maxupdaterate is what you should use unless you cl_updaterate is lower than the server's.
Most of us use a lower cl_updaterate than the server so set it to 1/cl_updaterate for optimal interp.
Example: The sv_maxupdaterate on the server is 100 but your cl_updaterate is 60. you use 1/60 which would be .016. this would be optimal for your connection. If you set ex_interp in your userconfig.cfg or autoexec.cfg to .01 you will get an error and the rate will automatically be set for you. So find your best cl_cmdrate and cl_updaterate then set this accordingly.
   


Quote:Vergas  :-P

here is a good script in which your rates will work correctly and your hitboxes will work

remember if you use this you will need net_graph 3 on and your in sectoin should be about 33.6

your rates should be set before this script as follows rate 20000 cmd 100 updaterate 100

//Developer alias
alias d0 "developer -1; con_notifytime 0"
alias d1 "con_notifytime 4; developer 1"
contimes 4


//cl_interp Adjustment
alias terp01 "cl_interp 0.0667; d1; echo net_graph 3 in = 15.0  updates a second; d0;  alias terpup terp02; alias terpdn terp13"
alias terp02 "cl_interp 0.0500; d1; echo net_graph 3 in = 20.0  updates a second; d0; alias terpup terp03; alias terpdn terp01"
alias terp03 "cl_interp 0.0400; d1; echo net_graph 3 in = 25.0  updates a second; d0; alias terpup terp04; alias terpdn terp02"
alias terp04 "cl_interp 0.0333; d1; echo net_graph 3 in = 30.0  updates a second; d0; alias terpup terp05; alias terpdn terp03"
alias terp05 "cl_interp 0.0298; d1; echo net_graph 3 in = 33.6  updates a second; d0; alias terpup terp06; alias terpdn terp04"
alias terp06 "cl_interp 0.0250; d1; echo net_graph 3 in = 40.0  updates a second; d0; alias terpup terp07; alias terpdn terp05"
alias terp07 "cl_interp 0.0222; d1; echo net_graph 3 in = 45.0  updates a second; d0; alias terpup terp08; alias terpdn terp06"
alias terp08 "cl_interp 0.0200; d1; echo net_graph 3 in = 50.0  updates a second; d0; alias terpup terp09; alias terpdn terp07"
alias terp09 "cl_interp 0.0182; d1; echo net_graph 3 in = 55.0  updates a second; d0; alias terpup terp10; alias terpdn terp08"
alias terp10 "cl_interp 0.0167; d1; echo net_graph 3 in = 60.0  updates a second; d0; alias terpup terp11; alias terpdn terp09"
alias terp11 "cl_interp 0.0152; d1; echo net_graph 3 in = 66.6  updates a second; d0; alias terpup terp12; alias terpdn terp10"
alias terp12 "cl_interp 0.0100; d1; echo net_graph 3 in = 100.0 updates a second; d0; alias terpup terp13; alias terpdn terp11"
alias terp13 "cl_interp 0.1000; d1; echo Default cl_interp of 0.1; d0; alias terpup terp01; alias terpdn terp12"
alias terpup "terp05"
alias terpdn "terp04"
bind "pgdn" "terpdn"
bind "pgup" "terpup"


Night if this is listed elsewhere where nubs can access it delete it, if not could you make it stick at the top of the list.

HongKongPhooey
Guest


« #1 : October 12, 2005, 11:03:02 AM »

One thing to add, the cl_interp rate cannot be changed because of the CSP plugin we have running on the servers, it automatically makes everyones cl_interp rate to the same value.
: [1]  
« previous next »
:
Powered by MySQL Powered by PHP SMF 2.0.18 | SMF © 2021, Simple Machines Valid XHTML 1.0! Valid CSS!