Okay so i followed the garrysmod wiki on how to set it up. But my problem now is how would I add the command line to the files. Like it will automatically start on startup? Also what are some of the command i can put on the commandline? Like how would i put : sv_kickerrornum 0;STEAMWORKSHOP;etc?
[url]http://www.srcds.com/db/engine.php?subaction=showfull&id=1098643920&archive=[/url]
Old, but as long as you have the files already just follow step 3 and replace with the info for Garry's Mod.
[QUOTE=darksoul69;42965290][url]http://www.srcds.com/db/engine.php?subaction=showfull&id=1098643920&archive=[/url]
Old, but as long as you have the files already just follow step 3 and replace with the info for Garry's Mod.[/QUOTE]
I tried this:
[QUOTE]#!/bin/sh
echo "Starting Gmod Server!"
sleep 1
screen -A -m -d -S gmod /home/vnc/gmod/srcds_run -console -game garrysmod +map flat_grass +maxplayers 50 -autoupdate[/QUOTE]
But it did not work.
"it did not work"
you have to be more specific bud
Like it did not start the server. And please do not call me bud.
[QUOTE=tripps41;42968124]Like it did not start the server. And please do not call me bud.[/QUOTE]
...did it give you any errors?
None at all but i bet it does not execute the command.
[QUOTE=tripps41;42967793]I tried this:
But it did not work.[/QUOTE]
gm_flatgrass you mean? Not flat_grass.
c:
[QUOTE=tripps41;42968949]None at all but i bet it does not execute the command.[/QUOTE]
You're putting it in a .sh file, setting that to executable, and then running said file, right?
Yeah C:
So what happens if you run /home/vnc/gmod/srcds_run -console -game garrysmod +map gm_flatgrass +maxplayers 50 -autoupdate
Add me on steam i've set up tons of servers Steam_id: STEAM_0:0:39452311
[QUOTE=Banana Lord.;42969324]So what happens if you run /home/vnc/gmod/srcds_run -console -game garrysmod +map gm_flatgrass +maxplayers 50 -autoupdate[/QUOTE]
Doesnt run.
[CODE]#!/bin/sh
echo "Starting Gmod Server!"
sleep 1
screen -A -m -d -S gmod sh /home/vnc/gmod/srcds_run.sh -game garrysmod +map ttt_office_b1 +maxplayers 50 -autoupdate
[/CODE]
I got it to work. Should i set an executable file?
Sorry, you need to Log In to post a reply to this thread.