Everytime I turn on my server, it always loads up in sandbox. It doesn't matter what gamemode it is however when I do a map change in server.cfg it works.
My server.cfg looks like this
"ServerSettings"
{
"hostname" "{DD} DarkDrive || FRETTA FUN!"
"sv_defaultgamemode" "terrortown"
"sv_lan" "0"
"maxplayers" "40"
"sbox_allownpcs" "0"
"sbox_maxprops" "0"
"sbox_maxragdolls" "0"
"sbox_maxnpcs" "1"
"sbox_maxballoons" "10"
"sbox_maxeffects" "1"
"sbox_maxdynamite" "2"
"sbox_maxlamps" "5"
"sbox_maxthrusters" "25"
"sbox_maxwheels" "20"
"sbox_godmode" "0"
"sbox_plpldamage" "0"
"sbox_playergod" "0"
"sbox_noclip" "1"
"sbox_maxhoverballs" "25"
"sbox_maxvehicles" "1"
"sbox_maxbuttons" "15"
"rcon_password" ""
"sv_loadingurl" "c:\srcds\orangbox\garrysmod\loadingscreen\loadingscreen.html"
"sv_password" ""
and serverstart.bat line looks like this:
@echo off
cd c:\srcds/orangebox
echo Starting game server.
echo Beginning "Garry's Mod"
srcds.exe -console -game garrysmod -port 27015 +map cs_office +maxplayers 40 +gamemode terrortown
echo "Garry's Mod" has now started.
echo It is recommended that you start Server Crash Recovery aswell.
My server.cfg looks like this
"ServerSettings"
{
"hostname" "{DD} DarkDrive || FRETTA FUN!"
"sv_defaultgamemode" "terrortown"
"sv_lan" "0"
"maxplayers" "40"
"sbox_allownpcs" "0"
"sbox_maxprops" "0"
"sbox_maxragdolls" "0"
"sbox_maxnpcs" "1"
"sbox_maxballoons" "10"
"sbox_maxeffects" "1"
"sbox_maxdynamite" "2"
"sbox_maxlamps" "5"
"sbox_maxthrusters" "25"
"sbox_maxwheels" "20"
"sbox_godmode" "0"
"sbox_plpldamage" "0"
"sbox_playergod" "0"
"sbox_noclip" "1"
"sbox_maxhoverballs" "25"
"sbox_maxvehicles" "1"
"sbox_maxbuttons" "15"
"rcon_password" ""
"sv_loadingurl" "c:\srcds\orangbox\garrysmod\loadingscreen\loadingscreen.html"
"sv_password" ""
and serverstart.bat line looks like this:
@echo off
cd c:\srcds/orangebox
echo Starting game server.
echo Beginning "Garry's Mod"
srcds.exe -console -game garrysmod -port 27015 +map cs_office +maxplayers 40 +gamemode terrortown
echo "Garry's Mod" has now started.
echo It is recommended that you start Server Crash Recovery aswell.