setari optime in functie de banda de net si tickrate
testate de altzi
Citat: |
// bandwidth rates/settings sv_minrate 13000 sv_maxrate 20000 sv_minupdaterate 22 sv_maxupdaterate 34 sv_mincmdrate 22 sv_maxcmdrate 34 sv_client_cmdrate_difference 1 sv_client_predict 1 sv_client_interpolate 1 sv_client_min_interp_ratio -1 sv_client_max_interp_ratio -1 |
Citat: |
// bandwidth rates/settings sv_minrate 13000 sv_maxrate 20000 sv_minupdaterate 33 sv_maxupdaterate 67 sv_mincmdrate 33 sv_maxcmdrate 67 sv_client_cmdrate_difference 1 sv_client_predict 1 sv_client_interpolate 1 sv_client_min_interp_ratio -1 sv_client_max_interp_ratio -1 |
Citat: |
// bandwidth rates/settings sv_minrate 20000 sv_maxrate 30000 sv_minupdaterate 66 sv_maxupdaterate 101 sv_mincmdrate 66 sv_maxcmdrate 101 sv_client_cmdrate_difference 1 sv_client_predict 1 sv_client_interpolate 1 sv_client_min_interp_ratio -1 sv_client_max_interp_ratio -1 |
Cod: |
"sv_minrate" = "13000" ( def. "3500" ) - Min bandwidth rate allowed on server, 0 == unlimited
"sv_maxrate" = "30000" ( def. "0" ) - Max bandwidth rate allowed on server, 0 == unlimited
"sv_minupdaterate" = "33" ( def. "10" ) - Minimum updates per second that the server will allow
"sv_maxupdaterate" = "67" ( def. "60" ) - Maximum updates per second that the server will allow
"sv_mincmdrate" = "33" ( def. "0" ) - This sets the minimum value for cl_cmdrate. 0 == unlimited.
"sv_maxcmdrate" = "67" ( def. "40" ) - (If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate.
"sv_client_cmdrate_difference" = "1" ( def. "20" ) - cl_cmdrate is moved to within sv_client_cmdrate_difference units of cl_updaterate before it is clamped between sv_mincmdrate and sv_maxcmdrate.
"sv_client_predict" = "1" ( def. "-1" ) - This can be used to force the value of cl_predict for connected clients (only while they are connected). -1 = let clients set cl_predict to anything 0 = force cl_predict to 0 1 = force cl_predict to 1
"sv_client_interpolate" = "1" ( def. "-1" ) - This can be used to force the value of cl_interpolate for connected clients (only while they are connected). -1 = let clients set cl_interpolate to anything 0 = force cl_interpolate to 0 1 = force cl_interpolate to 1
"sv_client_min_interp_ratio" = "1" - This can be used to limit the value of cl_interp_ratio for connected clients (only while they are connected). -1 = let clients set cl_interp_ratio to anything any other value = set minimum value for cl_interp_ratio
"sv_client_max_interp_ratio" = "1" ( def. "2" ) - This can be used to limit the value of cl_interp_ratio for connected clients (only while they are connected). If sv_client_min_interp_ratio is -1, then this cvar has no effect. |
se calculeaza in functie de upload si numarul de jucatori
Citat: |
upload bandwidth in kilobits per second / 8 * 1000 / player number = the theoretical maximum sv_maxrate you can run your server at[/code] |
detali aici -->>>
http://whisper.ausgamers.com/wiki/index.php/Tickrate enables the lag compensation
sv_maxunlag 0.5 The netcode will compensate for 500ms. (default)
daca crezi ca ai lag pe server maresti sv_maxunlag
sv_maxunlag 1 sau sv_maxunlag 1.5 dar precizia loviturilor va mai scade un pic
la mine cu tick 66 setarile astea mi sau parut cele mai bune
Citat: |
// bandwidth rates/settings sv_unlag "1" sv_maxunlag "0.3" sv_maxrate "20000" sv_minrate "15000" sv_client_predict "1" sv_client_interpolate "1" sv_client_min_interp_ratio "0.01" sv_client_max_interp_ratio "1" sv_minupdaterate "33" sv_maxupdaterate "66" sv_maxcmdrate "66" sv_mincmdrate "33" sv_client_cmdrate_difference "1" sv_forcepreload "1"
|