So i dont know about you guys but im getting a "Failed to get session data" error after i try to connect to my server a second time. And when that happens i can't join any team.
For example:
*I restart the server, join the server via the server browser, map loads, select teams, i spawn, no problems.
*Now i disconnect from the game, in the main menu i select the server again via the server browser and then after 2 seconds or so a message appears: "DISCONNECTED: Failed to get session data."
*Now i click ok, try to join the server again via the server browser, the map now loads, the team selection menu appears as normal but when i choose one of the teams, CT or T, i get stuck on the image background.
My GameModes_Server.txt:
Code:
// Values here override the default gamemodes.txt
"GameModes_Server.txt"
{
"gameTypes"
{
"classic"
{
"gameModes"
{
"competitive"
{
"maxplayers" "30" // 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.
"exec"
{
"exec" "gamemode_competitive.cfg"
}
"mapgroupsMP" // List of mapgroups valid for this game mode ( competitive )
{
"mg_bomb" ""
}
}
"casual"
{
"maxplayers" "30"
"exec"
{
"exec" "gamemode_casual.cfg"
}
"mapgroupsMP" // List of mapgroups valid for this game mode ( casual )
{
"mg_bomb" ""
}
}
}
}
}
//////////////////////////////////////////////////////////////////////////////////////////////
// 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" // mapgroup definition
{
"name" "mg_bomb"
"maps"
{
"cs_italy" ""
"cs_office" ""
"de_dust2" ""
"de_dust" ""
"de_aztec" ""
"de_inferno" ""
"de_nuke" ""
"de_train" ""
"cs_office" ""
"cs_italy" ""
}
}
}
}
My startup command line:
-game csgo -console +ip MY IP +net_public_adr MY IP +hostport 27015 -maxplayers_override 30 -steamport 27500 +clientport 27600 -nohltv -usercon -strictportbind +exec gamemode_casual.cfg +game_type 0 +game_mode 0 +mapgroup mg_bomb +map de_dust2 -tickrate 128 +sv_pure 0
any help is appreciated