SRCDS Steam group


[RESOLVED] Garrysmod server always loads up in sandbox
#1
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.



#2
Add the gamemode to the start command. This should solve the problem, else add it to autoexec.cfg Smile

Code:
srcds.exe -console -game garrysmod -port 27015 +map cs_office +maxplayers 40 +gamemode terrortown +sv_defaultgamemode "terrortown"
#3
Thank you, problem solved
#4
No worries Smile

Thread closed and added resolved. Smile


Forum Jump:


Users browsing this thread: 1 Guest(s)