Server Rate Distributor
Version 1.0
Last Updated: Wednesday, August 26, 2009
Description
We all know the client rates and everyone will tell clients to set their rates(to recommended client rates) to try and 'fix' their lag.
- fps_max 101
- cl_cmdrate 101
- cl_updaterate 101
- rate 25000
Nobody really stresses how important it is that the
server sets server rates. However what a lot of people don't know is that client rates are based off server rates, and server rates will limit the client rates and help assure that clients are not getting too much or too little bytes out of the available amount the server can distribute. So if there is problems with the server rates then client rates in that server are
COMPLETELY useless to have set as it won't make a difference. This plugin goes further than just setting the servers rates it will update the servers rates for the exact amount of players on the server every time players join and leave.
Cvars/Server Settings(server.cfg)
sv_rates_upload (default=1000) - Servers upload speed in kb(Click
HERE to run a speed test to find out your upload speed)
sv_rates_maxrate (default=1) [1 = On, 0 - Off] - If this is on you are allowing this script to adjust your servers sv_maxrate cvar
sv_rates_maxupdaterate (default=1) [1 = On, 0 - Off] - If this is on you are allowing this script to adjust your servers sv_maxupdaterate cvar
sv_rates_staticrate (default=0) [1 = Static, 0 - Dynamic] - If this is set to static the script will just set your server rates to a general number that based on max players allowed in server. Dynamic will set your server rates to a number based on the current amount of players every time players come or go
Features- Updates your server rates to recommended rates based on the amount of players in the server
- For calculations you can set it to be dynamic to the amount of players currently in your server or static to the maxplayers. so basically with the formula for sv_maxrate being sv_maxrate = bandwidth X 125 / server size, the server size variable can either be the general maxplayers or it can be the current amount of players each time players come and go
Changelog
Version 1.0[Wednesday, August 26, 2009] - First version, basic drek formula to calculate your server rates for the current amount of players. Click
HERE to link to drek's post on server rates
To Do- Add a cvar for user to create their own formula
- Add cvars to control minrates
- Add options for those who don't know the servers upload speed(i.e those without dedicated servers) to be able to use this
- Add an automatic ping stabalizer that will try and find the best ping rates, because even using this recommended system or even your own formula later you still may need to manually find good rates(which this will try and do automatically when this is added)
- Add something to take care of clients using less rate than the max rate provided to them and redistribute their extra amount to the rest of the server