View Single Post
DJPlaya
Senior Member
Join Date: Nov 2014
Location: Germany
Old 10-29-2017 , 15:52   Re: CS:GO Server Lag Spikes
Reply With Quote #20

Quote:
Originally Posted by Elitcky View Post
Try this on your server.cfg
Code:
//ForceRates
sm_cvar sv_maxrate 128000
sm_cvar sv_minrate 128000
sm_cvar sv_maxcmdrate 128
sm_cvar sv_mincmdrate 128
sm_cvar sv_minupdaterate 128
sm_cvar sv_maxupdaterate 128
sm_cvar net_splitpacket_maxrate 100000
sm_cvar sv_maxunlag 0.5
sm_cvar sv_unlag 1
>Nononononono, never force a Rate depending on the Tickrate, and also dont force them to have the same min/maxrate! 128 means 128kbs/s, you know someone with a connection that bad? Set the maxrate to 0, its bullsheet to force Players to this.
>Also the mincmd/update Rate should be lower, else Clients will get in trouble when having bad Computers that cant hold up that Tickrate
>Settings sv_unlag is totally useless, its allways enabled and disabling it will never be usefull in any way beside Hacking.

This is my Networking Config for CSGO 128Tick
Code:
// ********** Rates **********

sv_minrate 0 // Min Bandwidth 0=unlimited
sv_maxrate 0 // Max Bandwidth 0=unlimited

// Min Updates per Sec to the Client
// 128TICK: sv_minupdaterate 70
// 66TICK: sv_minupdaterate 40
// 33TICK: sv_minupdaterate 15
sv_minupdaterate 70

// Max Updates per Sec to the Client
// Should be the Tickrate
sv_maxupdaterate 128

// Min Updates of the Client per Sec
// 128TICK: sv_minupdaterate 70
// 66TICK: sv_mincmdrate 40
// 33TICK: sv_mincmdrate 15
sv_mincmdrate 70

// Max Updates of the Client per Sec
// Should be the Tickrate
sm_cvar sv_maxcmdrate 128

sm_cvar sv_client_cmdrate_difference 30 // Max Difference between cmd and updaterate
sm_cvar cl_updaterate 128 // Should be the Tickrate
sm_cvar cl_cmdrate 128 // Should be the Tickrate

sm_cvar sv_client_min_interp_ratio 0 // Min Value of cl_interp_ratio
sm_cvar sv_client_max_interp_ratio 0 // Max Value of cl_interp_ratio


// ********** Network internal **********

sv_lan 0 // Lan Mode

sv_parallel_packentities 1
sm_cvar net_compresspackets 0
sm_cvar sv_enable_delta_packing 1
sv_parallel_sendsnapshot 0 // Can cause up to 15% Package Loss!
sm_cvar net_earliertempents 1

sm_cvar sv_maxunlag 0.1
sm_cvar net_minroutable 1200
net_splitrate 2
sm_cvar net_maxcleartime 0.001
sm_cvar net_queued_packet_thread 1 // Use a high priority Thread to send queued Packets out instead of sending them each Frame.

net_threaded_socket_burst_cap 1024
net_threaded_socket_recovery_rate 6400
net_threaded_socket_recovery_time 60
__________________
My biggest Projects: Kigen AC Redux, Forlix Floodcheck Redux

Last edited by DJPlaya; 10-29-2017 at 15:54.
DJPlaya is offline
Send a message via Skype™ to DJPlaya