gamemodes_server.txt works fine. If anyone bothered to read the notes in the 
text file, maxplayers was moved out of the convars bracket area.

"GameModes_Server.txt"
{
        "gameTypes"
        {
                "gungame"
                {
                        "gameModes"
                        {
                                "gungameprogressive"
                                {
                                        "maxplayers"                    "20"
                                        
                                        "convars"
                                        {
                                                "hostname"                      
        "      myhostname"
                                                "mp_friendlyfire"               
"0"
                                        }
                                }
                        }       
                }
        }
}

Above example works fine, sets the server to 20

On Aug 11, 2012, at 2:11 PM, Collin Howard <[email protected]> wrote:

> Saint, ignore the gamemodes_server.txt change the maxplayers setting in the 
> gamemodes.txt, refer to the email i sent before about "things changed on 
> gamemodes.txt side" it explains the stuff thats diff now.
> 
> 
> From: Saint K. <[email protected]>
> To: "[email protected]" 
> <[email protected]> 
> Sent: Saturday, August 11, 2012 2:24:34 PM
> Subject: Re: [Csgo_servers] 1 slot server?
> 
> I removed my old gamemodes.txt file and had it re-download. Now I have 20 max 
> servers....
> 
> Where exactly should I put this cvar in gamemodes_server.txt?
> 
> I have this, but apparently that's not enough;
> // To use this file, rename it to GameModes_Server.txt
> //
> // Values here override the default gamemodes.txt 
> 
> "gameModes_server.txt"
> {
>     "gameTypes"
>     {
>         "classic"
>         {
>             "gameModes"
>             {
>                 "casual"
>                 {
>                     "convars"
>                     {
>                         "mp_startmoney"                        "800"
>                         "mp_maxmoney"                            "16000"
>                         "maxplayers"                            "32"
>                     }
> 
>                     "mapgroupsMP"                        // List of mapgroups 
> valid for this game mode
>                     {
>                         "mg_bomb_se"        ""
>                     }
>                 }
>             }    
>         }
>     }
> 
> 
> The need to over complicate things is big with these dev's... What about the 
> good old days of just specifying +maxplayers on the cmd line....
> 
> Saint K.
> ________________________________________
> From: [email protected] 
> [[email protected]] On Behalf Of Stephen Bevan 
> [[email protected]]
> Sent: 11 August 2012 17:45
> To: [email protected]
> Subject: Re: [Csgo_servers] 1 slot server?
> 
> Check out the gamemodes_server.txt and make sure you define your maxplayers 
> there... also, make sure you're not starting your game server with the 
> training mapgroup, which is set to 1 maxplayer
> 
> 
> _______________________________________________
> Csgo_servers mailing list
> [email protected]
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
> 
> 
> _______________________________________________
> Csgo_servers mailing list
> [email protected]
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

Reply via email to