PDA

View Full Version : Server.cfg


khashayar007
01-12-2017, 04:25
I have a server always full of players but I don't know why ping for all players goes high when the server has a lot of players.
Are these codes good for the server?
sv_allowupload "0"
sv_allowdownload "1"
sv_maxspeed "9999999"
sv_unlagpush "0"
sv_rcon_banpenalty "5"
sv_rcon_maxfailures "10"
sv_rcon_minfailures "5"
sv_rcon_minfailuretime "30"
sv_logbans "0"
sv_log_onefile "0"

sv_maxunlag "0.5"
sv_unlag "1"
sv_unlagsamples "1"
sv_maxrate "100000"
sv_minrate "25000"
sv_maxupdaterate "101"
sv_minupdaterate "90"
sv_maxcmdrate "101"
sv_mincmdrate "0"
max_queries_sec_global "150"
max_queries_sec "3"
sv_stats "1"

Relaxing
01-12-2017, 12:24
CS Servers don't have lag a.k.a high ping for players.
It's root fault, may is using Max. GPU Usage.

khashayar007
01-12-2017, 15:29
The server is running on 8 GB ram - 8 core cpu - SSD - 700 MB download and upload speed

fysiks
01-12-2017, 21:04
It is likely either your bandwidth or your server's PC resources.

FYI, sv_maxcmdrate and sv_mincmdrate don't exist. Also, you should probably reduce minupdaterate.

khashayar007
01-13-2017, 02:13
It is likely either your bandwidth or your server's PC resources.

FYI, sv_maxcmdrate and sv_mincmdrate don't exist. Also, you should probably reduce minupdaterate.
Thanks
What number should I set for sv_minupdaterate?

Godofwar
01-13-2017, 04:49
sv_maxrate 90000
sv_minrate 30000
sv_maxupdaterate 100
sv_minupdaterate 40

i have that and it works good.

SomewhereLost
01-14-2017, 08:59
sv_maxrate 75000
sv_minrate 0
sv_maxupdaterate 100
sv_minupdaterate 10
sv_maxcmdrate 150
sv_mincmdrate 20

fysiks
01-14-2017, 14:47
sv_maxcmdrate 150
sv_mincmdrate 20

These don't exist in any HLDS game.

khashayar007
01-15-2017, 15:08
so which one should I choose?

fysiks
01-15-2017, 16:54
Just try different settings. There are several "rate calculators" around that you could consult. If, after trying different settings, you still can't fix your issue then it is likely something else causing it. You should ask your game server provider.

Most of the setting that you posted are purely preference so you can set them however you like.

edon1337
01-16-2017, 10:11
sv_maxunlag "0.5"

-- >

sv_maxunlag "1"