Stránka 1 z 1

Mapgroups

Napsal: 25 říj 2015, 22:55
od AsraelCZ
Server: 81.0.217.177:27993

Zdravim, pridal jsem na server mapu surf_year3000, a když se chcu připojit, tak mi to píše toto:
Konzole:

Kód: Vybrat vše

ApplyGameSettings: Map surf_year3000 not part of Mapgroup
ApplyGameSettings: MapGroup  not part of type classic mode casual
Executing server command:
nextlevel surf_year3000
map surf_year3000 reserved


Mapu jsem do gamemodes_server.txt přidal, ale možná špatně, nevím

Gamemodes_server.txt:

Kód: Vybrat vše

// 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"      "12"            // Note that maxplayers doesn't go in the convar block.
                                    // Another way to set maxplayers is to add -maxplayers_override XX to thecmd line.

               "exec"
               {
                  "exec"            "server.cfg"
               }

               "mapgroupsMP"                  // List of mapgroups valid for this game mode ( competitive )
               {
                  "fakaheda_custom"      ""

               }
            }

            "casual"
            {

               "maxplayers"      "32"

               "exec"
               {
                  "exec"            "server.cfg"
               }

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

         }
      }
   }

//////////////////////////////////////////////////////////////////////////////////////////////
// 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.
//
// 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"
   {
      "fakaheda_custom"                           // mapgroup definition
      {
         "name"         "fakaheda_custom"
         "maps"
         {
            "de_dust"      ""
            "de_dust2"      ""
            
            "de_nuke"      ""
            "de_train"      ""
            "de_inferno"      ""
            "de_aztec"    ""
                                "surf_year3000"    ""
         }
      }   

   }



}

Re: Mapgroups

Napsal: 26 říj 2015, 01:14
od Mysteria
Takhle by to mělo být OK za předpokladu, že tam není nějakej problém se závorkama (jako že tam nějaká chybí nebo přebývá). Jenom snad ten soubor se musí jmenovat gamemodes_server.txt s podtržítkem mezi a né tečkou (jak to máš napsané ty tady, ale tos mohl špatně opsat jenom sem).

Re: Mapgroups

Napsal: 26 říj 2015, 01:45
od AsraelCZ
Jo, špatně jsem to napsal a opravil jsem to, ale ta mapa se stejně nenačte :/

Re: Mapgroups

Napsal: 26 říj 2015, 20:41
od Mysteria
Zkus to ještě s nějakou jinou mapou, ať vyloučíš problém v ní. Pokud to bude dělat to samé, tak mě přidej jako administrátora serveru v Control Panelu (na nick Mysteria) a dej mi tam práva jako spolumajitel (všechno sice nepotřebuju, ale je to rychlejší než to klikat po jednom).

Re: Mapgroups

Napsal: 27 říj 2015, 00:43
od AsraelCZ
Tak ostatní mapy se zdá, že fungujou, ale stejně mě trápí, že tahle nejde .. na ostatních serverech funguje, čím mysllíš že by to mohlo být? :)

Re: Mapgroups

Napsal: 27 říj 2015, 18:47
od Mysteria
Tak pokud jiné mapy jdou a tuhle zapisuješ úplně stejně, tak bych řekl že asi mapou. Ale když jde jinde, tak to asi mapou tak úplně být nemůže. Bohužel nic mě nenapadá.