aboutsummaryrefslogtreecommitdiff
path: root/doc/notes.txt
blob: c186101c8acdec7ae2cdeb6817478509e3d2137a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
There's lots of stuff that is modified on this server, I will briefly explain the gist of the changes

My test server, Alec's Otherwise, is running on a Debian Linux server. Instructions for installing gmod dedicated server on linux can be found here:
http://wiki.garrysmod.com/page/Linux_Dedicated_Server_Hosting
There is a saved version of the webpage (saved 1/1/2016) in
wintersurvival2/to-do/notes-resource/Linux Dedicated Server Hosting - Garry's Mod.htm

I have downloaded the following packages for the server:


using the fallowing starting script:

---------------------------run_server.sh----------------------------------------

#update the server with the code from queue branch
cd garrysmod/gamemodes/wintersurvival2/
sudo git checkout master
sudo git merge queue
cd ../../../

#run the gmod server
./srcds_run -game garrysmod -disableluarefresh +maxplayers 28 +map ws_abandon_night +gamemode wintersurvival2

-----------------------end run_server.sh----------------------------------------

As the script might suggest, gamemodes/wintersurvival2 is a git directory that is symlinked to another user's directory that I use to manage all the git directories.

Additionally, this server will not automatically refresh lua code (doing so breaks the gamemode slightly) so that I can checkout and merge code while the server is running. (this can be reset by remove the -disableluarefresh flag)

as an additional note, I usually run the script from a tmux session, so that I can log in remotely later and still attach to the tmux session