Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
You can set any cvar in the commandline by adding a + infront
so:
+sv_maxupdaterate <#> or +sv_maxcmdrate <#>
Posts: 2,270
Threads: 45
Joined: May 2007
Reputation:
11
try putting a - instead of +
realchamp Wrote:Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
Here's how it goes:
commandline is the first thing that loads immediately at the same time the server starts, those values are instantly loaded.
Beginning of the startup sequence it will load autoexec.cfg
When it's in the second stage of the startup sequence it will load the server.cfg (which is exec'ed later than the commandline and autoexec.cfg), resulting in reloading and "overwriting" duplicate settings set in the commandline, so if you set +maxplayers 10 in the commandline and maxplayers 20 in the server.cfg it will reload to 20 players.
Also - is used for actual REAL commandline parameters like -ip -port -game -console etc. there's only a select few of those, CVars have to be used with +, - will not work and will throw an unknown command or simply won't work.