Hello,

 

i have a problem with the gamemodes_serverfile start option.

 

My Start command: ./srcds_run -game csgo -console -usercon +game_type 0
+game_mode 1 -ip theip +net_public_adr theip -port 27015 +exec server.cfg
-gamemodes_serverfile gamemodeswar.txt -maxplayers_override 10 +map
de_dust2_se +mapgroup mg_war_se -tickrate 128 -autoupdate

 

The gamemodeswar.txt is in the same directory as the gamemodes.txt.

 

I dont know what i am doing wrong. Do you have any suggestions?

 

Regards Milkakuh

 

P.S.: Sorry for my bad english.

// To use this file, rename it to GameModes_Server.txt
//
// Values here override the default gamemodes.txt 

"GameModes_Server.txt"
{
        "gameTypes"
        {
                "classic"
                {
                        "gameModes"
                        {
                                "competitive"
                                {

                                        "maxplayers"            "8"             
                // Note that maxplayers doesn't go in the convar block.
                                                                                
                                // Another way to set maxplayers is to add 
-maxplayers_override XX to the cmd line.

                                        "convars"
                                        {
                                                
                                        }

                                        "mapgroupsMP"                           
                // List of mapgroups valid for this game mode ( competitive )
                                        {
                                                "mg_bomb_se"            ""
                                                "mg_war_se"             ""
                                        }
                                }

                                "casual"
                                {

                                        "maxplayers"            "25"

                                        "convars"
                                        {
                                                "hostname"                      
                                        "SE SERVER 24/7"
                                                "mp_startmoney"                 
                                "15998"
                                                "mp_maxmoney"                   
                                "99999"

                                        }

                                        "mapgroupsMP"                           
                // List of mapgroups valid for this game mode ( casual )
                                        {
                                                "mg_bomb_se"            ""
                                        }
                                }

                        }       
                }
        }

//////////////////////////////////////////////////////////////////////////////////////////////
// Map groups
//
// To use a mapgroup, it needs to be defined in a keyvalues
// block such as the example below, as well as listed in the 
// 'mapgroupsMP' block within the game mode that will run it,
// such as the example above.
2//
// Then launch the server with '+mapgroup MAPGROUPNAME'
//
// Example:
//
// srcds -game csgo +game_mode 1 +mapgroup mg_bomb_se +map de_nuke_se
//
//
// Check the developer wiki for updated community info
// 
https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers
//////////////////////////////////////////////////////////////////////////////////////////////


        "mapgroups"
        {
                "mg_bomb_se"                                                    
                // mapgroup definition
                {
                        "name"                  "mg_bomb_se"
                        "maps"
                        {
                                "de_dust_se"            ""
                                "de_dust2_se"           ""
                                "de_nuke_se"            ""
                                "de_train_se"           ""
                                "de_inferno_se"         ""
                                "de_aztec_se"           ""
                        }
                }
                "mg_war_se"
                {
                        "name"                  "mg_war_se"
                        "maps"
                        {
                                "de_dust_se"            ""
                                "de_dust2_se"           ""
                                "de_nuke_se"            ""
                                "de_train_se"           ""
                                "de_inferno_se"         ""
                                "de_aztec_se"           ""
                        }
                }
        }
}
_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

Reply via email to