Member
|
08-27-2012
, 14:33
[CS:GO] gamemodes_server.txt just not working.
|
#1
|
Hello everyone
I had problems setting up a CS:GO Server using a custom map because of the gamemodes_server.txt. To find the issue I tracked it down and tried to just copy the contents of gamemodes_server.txt.example to gamemodes_server.txt.
These are the example configs by valve so it should work, right?
Well it doesn't.
I get lots of errors like
Quote:
RecursiveLoadFromBuffer: got empty keyname in file gamemodes_server.txt
|
Below is the important part of the startup console log.
What do I have to do in order to make it play only one custom map in classic casual?
Many thanks!
(Hope this is the correct sub forum)
Quote:
#GameTypes: merging game types interface from gamemodes_server.txt.
#KeyValues Error: RecursiveLoadFromBuffer: got empty keyname in file gamemodes_server.txt
#GameModes_Server.txt, #{, #(*gameTypes*), #(*classic*), #(*gameModes*), #(*casual*), #(*mapgroupsMP*), #
#KeyValues Error: LoadFromBuffer: missing { in file gamemodes_server.txt
#(*GameModes_Server.txt*), #(*{*), #(*gameTypes*), #(*classic*), #(*gameModes*), #(*casual*), #(*mapgroupsMP*), #
#KeyValues Error: LoadFromBuffer: missing { in file gamemodes_server.txt
#(*GameModes_Server.txt*), #(*{*), #(*gameTypes*), #(*classic*), #(*gameModes*), #(*casual*), #(*mapgroupsMP*), #
#KeyValues Error: LoadFromBuffer: missing { in file gamemodes_server.txt
#(*GameModes_Server.txt*), #(*{*), #(*gameTypes*), #(*classic*), #(*gameModes*), #(*casual*), #(*mapgroupsMP*), #
#KeyValues Error: LoadFromBuffer: missing { in file gamemodes_server.txt
#(*GameModes_Server.txt*), #(*{*), #(*gameTypes*), #(*classic*), #(*gameModes*), #(*casual*), #(*mapgroupsMP*), #
#KeyValues Error: LoadFromBuffer: missing { in file gamemodes_server.txt
#(*GameModes_Server.txt*), #(*{*), #(*gameTypes*), #(*classic*), #(*gameModes*), #(*casual*), #(*mapgroupsMP*), #
#KeyValues Error: LoadFromBuffer: missing { in file gamemodes_server.txt
#(*GameModes_Server.txt*), #(*{*), #(*gameTypes*), #(*classic*), #(*gameModes*), #(*casual*), #(*mapgroupsMP*), #
#KeyValues Error: LoadFromBuffer: missing { in file gamemodes_server.txt
#(*GameModes_Server.txt*), #(*{*), #(*gameTypes*), #(*classic*), #(*gameModes*), #(*casual*), #(*mapgroupsMP*), #
#GamesTypes: game type/mode (gungame/gungameprogressive) is missing convar "hostname".
#GamesTypes: game type/mode (gungame/gungametrbomb) is missing convar "hostname".
#GamesTypes: game type/mode (training/training) is missing convar "bot_quota".
#GamesTypes: game type/mode (training/training) is missing convar "hostname".
Server is hibernating
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.
Convar developer has conflicting FCVAR_CHEAT flags (child: no FCVAR_CHEAT, parent: has FCVAR_CHEAT, parent wins)
Particles: Missing 'particles/maps/gg_vietnam.pcf'
maxplayers set to 32
Required key "game_info" missing.
Unknown command "cl_bobamt_vert"
Unknown command "cl_bobamt_lat"
Unknown command "cl_bob_lower_amt"
Unknown command "cl_viewmodel_shift_left_amt"
Unknown command "cl_viewmodel_shift_right_amt"
Unknown command "cl_teamid_min"
Unknown command "cl_teamid_max"
Unknown command "cl_teamid_overhead"
Unknown command "cl_teamid_overhead_maxdist"
--------------------------------------------------------
|
This is the untouched gamemodes_server.txt:
Code:
// 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"
{
"hostname" "SE SERVER 24/7"
"mp_startmoney" "888"
"mp_maxmoney" "9999"
}
"mapgroupsMP" // List of mapgroups valid for this game mode ( competitive )
{
"mg_bomb_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" ""
}
}
}
}
Last edited by Devils Child; 08-27-2012 at 14:35.
|
|