aboutsummaryrefslogtreecommitdiff
path: root/to-do/notes.txt
diff options
context:
space:
mode:
authorAlexander Pickering <Alexander.Pickering@anondomain.site90.net>2016-01-01 16:35:50 -0500
committerAlexander Pickering <Alexander.Pickering@anondomain.site90.net>2016-01-01 16:35:50 -0500
commit8255b72a639956b1756d5ffc331d4502d334f5cb (patch)
tree9f1bf0d86ae1a4eb5c84d020111f0f0d2c291cc4 /to-do/notes.txt
parentd5464ef9956be52c030210208be755fe8d5a039a (diff)
downloadwintersurvival2-8255b72a639956b1756d5ffc331d4502d334f5cb.tar.gz
wintersurvival2-8255b72a639956b1756d5ffc331d4502d334f5cb.tar.bz2
wintersurvival2-8255b72a639956b1756d5ffc331d4502d334f5cb.zip
Started some notes for how to set up server
Diffstat (limited to 'to-do/notes.txt')
-rw-r--r--to-do/notes.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/to-do/notes.txt b/to-do/notes.txt
new file mode 100644
index 0000000..c186101
--- /dev/null
+++ b/to-do/notes.txt
@@ -0,0 +1,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