SRCDS Steam group


Gamemode change for GMod 13 SRCDS
#1
Hey guys, I'm trying to make a private RP server for me and a couple of friends and I'm finding it near impossible to change the gamemode. I've downloaded the latest DarkRP from here: https://github.com/FPtje/DarkRP and it won't work.

My .bat script:
Code:
@echo off
cd c:\srcds/orangebox
echo Starting game server.
echo Beginning "Garry's Mod"
srcds.exe -console +map rp_downtown_v4c -game garrysmod +maxplayers 45 +ip 0.0.0.0 -port 27015 -gamemode darkrp
echo "Garry's Mod" has now started.
echo It is recommended that you start Server Crash Recovery aswell.

My server.cfg
Code:
hostname           "darkrp private server"
sv_defaultgamemode "darkrp"
rcon_password      "gggggg"
sbox_noclip        "0"
sbox_godmode       "0"
sbox_plpldamage    "0"
rp_toolgun         "1"
sbox_maxprops      "1000"
sbox_maxragdolls   "0"
sbox_maxeffects    "0"
sbox_maxdynamite   "0"
sbox_maxlamps      "0"
sbox_maxthrusters  "0"
sbox_maxwheels     "4"
sbox_maxhoverballs "0"
sbox_maxvehicles   "0"
sbox_maxbuttons    "20"
sbox_maxemitters   "0"
sbox_maxspawners   "0"
sbox_maxturrets    "0"

My autoexec.cfg:
Code:
log on
sv_defaultgamemode "darkrp"
sv_scriptenforcer 1

Any help is appreciated, thanks.
Reply
#2
Try to add this at srcds.exe Smile


Code:
-console -game garrysmod -port 27015 +map *mapname* +maxplayers *players* +gamemode DarkRP +sv_defaultgamemode "DarkRP"

Or add this in the srcds console after it loaded

Code:
changegamemode (map) DarkRP
Reply
#3
FIX

Goto orangebox\garrysmod\cfg
Make a file called autoexec.cfg
Open autoexec.cfg with notepad.
On a free line type gamemode darkrp or whatever gamemode you need.
If it doesent work, check if you spelled the gamemode name correct in autoexec.cfg
Reply
#4
(12-30-2012, 04:18 AM)Refslund Wrote:  FIX

Goto orangebox\garrysmod\cfg
Make a file called autoexec.cfg
Open autoexec.cfg with notepad.
On a free line type gamemode darkrp or whatever gamemode you need.
If it doesent work, check if you spelled the gamemode name correct in autoexec.cfg

Thank you for this!


Animal Control
Reply
#5
Even if it's just pretend bass guitar lessons
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)