Post4VPS Forum | Free VPS Provider
Making a Garry's Mod Server [WINDOWS] - Printable Version

+- Post4VPS Forum | Free VPS Provider (https://post4vps.com)
+-- Forum: VPS Discussion (https://post4vps.com/Forum-VPS-Discussion)
+--- Forum: Tutorials (https://post4vps.com/Forum-Tutorials)
+--- Thread: Making a Garry's Mod Server [WINDOWS] (/Thread-Making-a-Garry-s-Mod-Server-WINDOWS)



Making a Garry's Mod Server [WINDOWS] - Sagnik - 12-29-2015

Some history of Garry's Mod:
Garry's Mod (commonly abbreviated as GMod), is a sandbox physics game created by Garry Newman and later by his company, Facepunch Studios for Microsoft Windows and OS X. Garry's Mod was originally a mod for Valve's Half-Life 2, but was later made into a standalone release in 2006.
Okay...now lets get to work...
WAIT...THIS TUTORIAL IS ONLY FOR THE WINDOWS VERSION OF GARRY'S MOD DEDICATED SERVER...NOT THE LINUX...
STEPS:
1. DOWNLOAD THIS:
https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip
2. CREATE A FOLDER FOR STEAMCMD(like D:\steamcmd) and UNZIP THE FILE IN THAT FOLDER.
3. RUN THE EXTRACTED EXE FILE.
4. TYPE
Code:
login anonymous
5. CREATE A FOLDER FOR GARRY'S MOD(like D:\gmod)
6.TYPE
Code:
force_install_dir (path to directory)
In my case it was:
Code:
force_install_dir D:\gmod
7.THEN TYPE
Code:
app_update 4020 validate
NOTE: THE validate attribute IS OPTIONAL. You can also write
Code:
app_update 4020
BUT USING validate is RECOMMENDED.
8. STEAMCMD WILL START DOWNLOADING THE FILES...
9. ONCE IT IS DONE, IT WILL SAY:
Code:
App 4020 installed successfully
10. SO NOW YOU CAN SAFELY TYPE
Code:
exit
AND EXIT THE STEAM CONSOLE.
11. NOW FOR THE SAKE OF EASILY STARTING UP THE SERVER WE ARE GOING TO MAKE A BATCH(.bat) FILE TO DO THE WORK.
12. CREATE A NEW FILE IN NOTEPAD++ AND COPY AND PASTE THE FOLLOWING THING:
Code:
@echo off
cls
echo Protecting srcds from crashes...
echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter.
title srcds.com Watchdog
:srcds
echo (%time%) srcds started.
start /wait srcds.exe -console -game garrysmod +gamemode sandbox +ip 1.2.3.4 +map gm_construct +maxplayers 80 -strictportbind 27015
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds
ALTERNATIVELY YOU CAN DOWNLOAD THE FILE GIVEN AS AN ATTACHMENT.

.zip   start.zip (Size: 443 bytes / Downloads: 2)
DON'T FORGET TO CHANGE the ip field.
13. ALL IS DONE AND NOW YOU CAN RUN start.bat TO START YOUR GAMESERVER.
P.S.: i)THIS GUIDE DOESN'T FOCUS ON CUSTOMISING THE SERVER.
        ii)SECONDLY, THIS TUTORIAL DOESN'T MENTION HOW TO DO PORTFORWARDING.
HOPE YOU LIKED THIS...PLEASE COMMENT BELOW OR REP+ ME IF THIS HELPS YOU...


RE: Making a Garry's Mod Server [WINDOWS] - perry - 12-29-2015

very well done!

love the tuturial.