ZetosI like following the reasoning for the changes, and the main reason I'm able to do that are through your comments, but you lost me at "in order to calculate your net_maxcleartime if you have an upload rate higher than the max rate, divide 1288 by your upload rate". Care to exemplify? I couldn't get to the default 4 using the values you provided.
And in a few previous iterations, the net_splitpacket_maxrate was the rate +1, then had its same value, now it's halved? For any values, we should use half the rate?
Thank you for your continued updates!
Hi, net_maxcleartime is set at 4 by default so the Source Engine uses rate instead for clear time calculations. net_maxcleartime is basically an upper limit on the time delay between packets uploaded calculated from rate. Past the max rate of 1048576 bytes per second, you will need to set the upper limit to an effective value in order to force a higher effective rate. 1288 is the maximum packet size that can be sent in Source, so this is used to get the time needed to send a packet at a higher effective rate. Of course, this has a side effect of having smaller packets being sent a slower effective rate, but the safety here is needed to ensure large packets don't get sent faster than something your Internet connection can handle.
net_splitpacket_maxrate was the rate + 1 because I wanted to slightly bias the cap towards sending split packets that limited the overall rate if too many were sent.
It was then changed to be equal to rate because it didn't make much of a difference at +1, and larger values would actually be detrimental, since it would lead split packets to hogging the rate, especially in cases where many split packets were sent in a short time, usually with net_splitrate being set to high values.
This was still a problem with net_splitpacket_maxrate being equal to rate, so it was set to half to ensure split packets had an effective cap before they contributed to the overall rate limit.
Also, I would recommend using the upload rate tool for calculations, as it is easier than doing it yourself. https://mastercoms.github.io/mastercomfig/upload
VictorgithubRemoved in favor of the new modules system. Here is a modules.cfg that provides the same functionality as the No Preset VPK. Just put modules.cfg in your cfg folder.
Would you mind updating this to include the network related modules?
The no preset VPK did not disable network related modules. You can add disabling them easily enough within your own modules.cfg by following the pattern that was done for all the other modules.