Mark,
"-maxplayers" does not work from the command line in CS:GO. However, in the
last update they have now added a similar command: "-maxplayers_override x",
although this is a clumsier solution instead of editing the
gamemodes_server.txt as intended.
As per my other email to the list, do NOT edit gamemodes.txt for your own
future sanity. The correct method is to put the amended maxplayers value in
gamemodes_server.txt.
However, the syntax of this catches people out, and why I suspect people
think it doesn't work. This was also changed recently. Please see the
example below:
"GameModes_Server.txt"
{
"gameTypes"
{
"classic"
{
"gameModes"
{
"competitive"
{
maxplayers "24" // << NOTE - maxplayers
is NOT inside the convars section as per all other CVARs - this is a
"special case"!
"convars"
{
Mp_freezetime "10"
}
}
}
}
}
}
From: Mark Clifford-Jones [mailto:[email protected]]
Sent: 17 August 2012 00:49
To: [email protected]
Subject: RE: [Csgo_servers] GameModes_Server.txt - anyone got it working?
Nick, I agree totally. I have only had my test server running since the
preorder beta went live, I have already posted (at least once) how the wiki
was a good starting place but was badly lacking in other details.
Since I don't seem able to access the archived mails on this list, I am
shooting blind at a lot of things - I have managed to get my test server
running, I have even managed to create my own 'mixed' rotation by editing
GameModes_Server.txt - but that wouldn't work until I edited gamemodes.txt
as well, which I am sure is not the correct way to do it.
The max players is another issue for me - how can you lock a server to a
specific number of slots? Setting the max players in the command line
doesn't seem to make any difference, it seems to get overwritten by the
gamemodes file..........
_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers