Skip to content

Instantly share code, notes, and snippets.

@mastercoms
Last active November 6, 2016 19:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mastercoms/0ff2d41afa516f404e22437dff1f3c30 to your computer and use it in GitHub Desktop.
Save mastercoms/0ff2d41afa516f404e22437dff1f3c30 to your computer and use it in GitHub Desktop.
beta networking settings for tf2cfg
// --- NETWORKING --- \\
// for both of these commands, 66 is the default max rate, so you can't go higher
// cmdrate is the maximum packets per second the client can send to the server
// so like you tell the server i moved forward or i shot my rocket launcher, crouched, and jumped
cl_cmdrate 66
// updaterate is the maximum packets per second the server can send to the client
// so like the server tells you this pyro is running towards you and
// is using his primary fire on her flame thrower
cl_updaterate 66
// interp is the delay between packets
// using interp ratio is more accurate than setting it manually,
// so set it to 0 to make this happen
cl_interp 0
// There's 132 packets per second
// And packets could be a max possible size of 1288 bytes
rate 170016
// maximum amount of time a packet can be delayed
net_maxcleartime 1
// time before packet is ignored
net_maxpacketdrop 1000
// still split packets
net_splitpacket_maxrate 170017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment