I tried this (as I've been having a lot of trouble getting my clan server up
and running again) but without success.

I did exactly as you suggested (no server.cfg or change of gamemodes.txt)
using only the command line and gamemodes_server.txt specified below* and I
had even less success than previously. Before I could at least connect to my
server via the LAN tab on the browser but with these setting I couldn't even
get that. :-(

 

Thanks for trying anyway!

 

*I did have to change one thing; the batch file wouldn't run with the
"srcds_run" command so I changed it back to "srcds" instead.

 

 

From: Nick Emson [mailto:[email protected]] 
Sent: 17 August 2012 16:03
To: [email protected]
Subject: Re: [Csgo_servers] server.cfg and gamemodes.txt

 

Mark (and all),

 

No, no, nooOooo.. Stop editing the file.. ARGHHH!!!

 

If you are reading this on the list, you are choosing the wrong emails to
turn to and in turn spreading mis-information. 

Ido of Valve re-stated the stance on this just yesterday so you don't need
archives to see this.

 

1/ Leave gamemodes.txt alone - SERIOUSLY. It will get replaced next server
patch anyway. The message to not edit it is there for a reason.

2/ Define your own mapgroup as desired in gamemodes_server.txt using the
same syntax.

3/ Make sure thar mapgroup is in the list of multiplayer mapgroups for that
game mode (classic casual etc)

3/ Call your mapgroup and a valid map within it from the launch command.

 

Here is an example command line and gamemodes_server.txt for:

-          A classic-casual server

-          With a modified freeze-time of 10 seconds

-          Custom map group with ALL cs_ and de_ maps included

-          Using ONLY the new gamemodes_server.txt - no gamemodes.txt or
server.cfg modifications are required (!)

 

COMMAND LINE EXAMPLE:

 

srcds_run -game csgo -console -usercon -ip x.x.x.x -port yyyyy
+net_public_adr x.x.x.x 

+game_type 0 +game_mode 0                  // 0 - 0 = Classic Casual mode in
gamemodes_server.txt

+mapgroup mg_allclassic_custom            // mg_allclassic_custom custom map
group I defined

+map cs_office                                                 // cs_office
is a member of my custom map group and thus valid

 

GAMEMODES_SERVER.TXT EXAMPLE:

 

"GameModes_Server.txt"

{

        "gameTypes"

        {

                "classic"

                {

                        "gameModes"

                        {

                                "casual"

                                {

                                        "convars"

                                        {

                                                mp_freezetime "10"
//Buyt time at round start before round commences

                                        }

 

                                        "mapgroupsMP"
// List of mapgroups valid for this game mode

                                        {

                                                "mg_allclassic_custom"
""

                                        }

                               }

                        }

                }

        }

        "mapgroups"

        {

                "mg_allclassic_custom"
// mapgroup definition

                {

                        "name"                  "mg_allclassic_custom"

                        "maps"

                        {

                                "cs_office"             ""

                                "cs_italy"              ""

                                "de_dust2"              ""

                                "de_train"              ""

                                "de_inferno"            ""

                                "de_dust"               ""

                                "de_aztec"              ""

                                "de_nuke"               ""

                        }

                }

        }

}

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

Reply via email to