User Tools

Site Tools


goldeneye:server_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
goldeneye:server_install [2018/06/05 20:27]
soupcan
goldeneye:server_install [2019/01/01 17:40] (current)
Line 1: Line 1:
-======= ​GoldenEye: Source ​Server Install =======+======= ​Windows ​Server Install =======
  
-Setting up your own game server is only recommended if your players will be connecting to it locally, or if you have a fast and consistent enough connection to be able to sustain 16 players with low ping. **Do not** host a public server if your connection is slow or inconsistent in a way that may affect the experience of connected clients.+===== Before You Begin =====
  
-If you don't have a capable Internet connection or the below section seems daunting to you, you are encouraged to use services provided by a game server ​host such as [[https://​jestservers.com/​panel/​cart.php?​gid=16|Jest]] ​or [[https://​www.nfoservers.com/order.php?​type=ges|NFO Servers]].+/​************************************************** 
 +NOTE 
 +This section is included in the Linux server ​page 
 +Keep that in mind before changing ​or renaming it 
 +***************************************************/
  
-=====Downloads=====+If you wish to run a public (Internet) server, here are some important recommendations for you to consider before you install your server. ​
  
-First, start by downloading the latest GoldenEye: Source release from the [[r:​server_download]] page. The following table can be used to verify ​your download. You can continue with the next section ​while you wait for the download ​to complete.+<​sup>​(If ​your intention is to run a LAN server, this section ​may not apply to you)</​sup>​
  
-^ File  ^ Digest (SHA-256) ^ +  * **It is recommended that the server has a static IP address**\\ If your public-facing IP address changes, it will make it hard for returning players to find your serverWhen self-hosting,​ you typically need to pay your provider extra for a Static IP.
-| GoldenEye_Source_v5.0.6_full_server_windows.7z 🛈 | 79643189e9d6549e13ed9545d2277cb34bac05fff645d44d9de1f0ab030610d3 | +
-| GoldenEye_Source_v5.0.6_server_patch.7z ⚠ | 1d1c5e2e23df2402f4195e643a7a1c6f340cb952e3aad27c41235952fb3aa36a |+
  
-🛈 Despite its namethis file can be used for either Linux or Windows.+  * **It is required that your Internet is fast enough**\\ This means not just speedbut latency as well. Speedtest.net or the DSLReports Speedtest ​can show you your Internet speed and latency (ping).\\ \\ Recommended Internet Speed: 1Mbps download, 8Mbps upload (16-player server).\\ \\ Recommended Ping (round-trip time): No more than 25ms to a nearby speedtest server. More will work, but players who are distant ​or have less capable connections will suffer.
  
-⚠ This file should only be used to update ​a server ​running 5.0.0 or 5.0.1. See ''​gesource/version.txt''​ to determine which version your server is currently running.+If you don't have a capable Internet connection or the instructions seem daunting ​to you, you are encouraged to use services provided by game server ​host such as [[https://​jestservers.com/panel/cart.php?​gid=16|Jest]].
  
 +=====File Paths in This Guide=====
  
-=====SteamCMD and Prerequisites=====+For this guide, we will install things to certain directories as examples. However, provided that you modify any references to a path, everything we download can be put wherever you like.
  
-Instructions for setting up SteamCMD can be found on the [[https://​developer.valvesoftware.com/​wiki/​SteamCMD|Valve Developer Wiki]].+These are the installation directories we will use in this guide:
  
-**Windows Only**: Download and install the 32-bit [[https://www.microsoft.com/en-us/download/​details.aspx?​id=30679|Visual Studio C++ 2012 redistributable]]. Make sure you choose ​''​vcredist_x86.exe''​.+//SteamCMD//''​C:\steamcmd''​
  
-=====Downloading ​Source 2007 Dedicated Server ​Using SteamCMD=====+//Source 2007 Dedicated Server//: ''​C:​\servers\GEServer''​
  
 +//​GoldenEye:​ Source//: ''​C:​\servers\GEServer\gesource''​
  
-When at the ''​Steam>'' ​prompt, log onto Steam anonymously by typing:+It is the writer's preference to install the Source 2007 DS and GE:S under the same root folder (''​GEServer'' in this case) and keep one copy of the Source 2007 DS per GE:S server, as this is sometimes easier, ​ particularly when using game server control panels such as UGCC.
  
-  logon anonymous+However, this is not required. You can optionally install one shared copy of Source 2007 DS to save space. This guide will assume you want to go with the layout specified by the file paths above, in which each GE:S server has its own copy of the Source 2007 DS.
  
-To choose where SrcDS 2007 will be installed, type 
  
-  force_install_dir <​your_install_path>​+=====Prerequisites=====
  
-Install Source 2007 Dedicated server+Download and install the 32-bit [[https://​www.microsoft.com/​en-us/​download/​details.aspx?​id=30679|Visual Studio C++ 2012 redistributable]]. Make sure you choose ''​vcredist_x86.exe''​.
  
-  app_update 310+=====Source 2007 Dedicated Server=====
  
-If you ever believe your SrcDS installation became corrupt, you can validate it:+To download Source 2007 Dedicated Server, you need SteamCMD, the command-line version of Steam. You can download SteamCMD from the following URL: https://​steamcdn-a.akamaihd.net/​client/​installer/​steamcmd.zip
  
-  app_update 310 validate+Extract the contents of the archive you downloaded to ''​C:​\steamcmd''​ and then run the newly-extracted ''​C:​\steamcmd\steamcmd.exe''​.
  
-Once you're all donesafely exit Steam using ''​quit''​.+After you have downloaded and run SteamCMDit will update and eventually you will land at the ''​Steam>'' ​prompt.
  
-You will need to repeat ​the above process if Valve releases an update for Source 2007 that breaks compatibility with its older versions.+When at the ''​Steam>''​ prompt, log onto Steam anonymously by typing:
  
-You can automate all of the above at the command line, in a batch script (.bat, Windows) or shell script (.sh, Linux). Simply run the executable, appending the commands in the order you want them to run in, with a plus sign (+) before each command. For example:+  logon anonymous 
 +   
 +Set the target install directory:
  
-  ​steamcmd +logon anonymous +app_update 310 validate +quit+  ​force_install_dir "​C:​\servers\GEServer"​
  
-=====Setting Up GoldenEye: ​Source=====+Install ​Source ​2007 Dedicated server: ​
  
-Once you've finished downloading one of the mod archives as described in [[#​downloads|Downloads]], you can start setting up GoldenEye: Source.+  app_update 310 
 +   
 +<WRAP round important>​ 
 +If the dedicated server files are ever corrupted, you can validate the integrity of game files and check for updates by running the update command with the validate option (''​app_update 310 validate''​) 
 +</​WRAP>​
  
-Extract the contents of the archive ​you downloaded to a folder named ''​gesource''​.+Once you're all done, safely exit Steam using ''​quit''. You now have Source 2007 Dedicated Server installed. You may need to repeat this process if Valve releases an update for Source 2007.
  
-Like SteamCMD, you can automate ​SrcDS startup using both launch options (-option) and commands (+command)as you can see in the following examples. Note that these examples assume that ''​srcds''​ and the ''​gesource''​ folder are both in the current working directory. You will have to modify the ''​-game''​ path or the ''​srcds''​ path if either are not true. These examples also assume that you want to limit the server ​to 16 players and then load Archives as your first map. A maxplayers value higher than 16 is strongly discouraged.+You can automate ​all of the above at the command ​line. Simply run the executableappending ​the commands ​in the order you want them to run in, with a plus sign (+) before each command. This is useful for automating future installations and updates of the server. ​For example:
  
-===Windows===+  steamcmd +logon anonymous +force_install_dir "​C:​\servers\GEServer"​ +app_update 310 validate +quit
  
-Create a new .bat file and open it with a text editor such as Notepad. Paste the following:+=====GoldenEyeSource=====
  
-  srcds.exe -game .\gesource\ ​-console +maxplayers 16 +map ge_archives+Grab the Server install archive from the [[r:​server_download|Server Downloads]] pageThen, extract the ''​gesource''​ folder to ''​C:​\servers\GEServer\gesource''​.
  
-===Linux===+With the files in place, you are now ready to run the server.
  
-Create a new .sh file, open it with a text editor, ​and then mark it as executable. Paste the following into the file:+Using Notepad or another ​text editor, ​create the file ''​C:​\servers\GEServer\start.bat''​. Paste the following into the file:
  
-  ​#​!/​bin/​bash +  ​srcds.exe -console ​-game gesource +maxplayers 16 +map ge_archives 
-  export MALLOC_CHECK_=0 + 
-  ​./​srcds_run ​-game ./gesource+maxplayers 16 +map ge_archives +Run ''​start.bat'' ​and if all goes well, your server ​is now runningIf you are on the same LAN as the game serveryou should see the server pop up under the "​LAN"​ tab of the server browser. 
-   + 
-If you get a segmentation fault or other error message, check that all dependencies are satisfied. This can be checked by using the ''​ldd'' ​command against the server ​binaryFor example''​ldd ​./gesource/​bin/​server_i486.so''​. ​This will output a list of required libraries and whether they are found. You can use a tool such as apt-file (or your distribution'​s equivalent) to match a package name with the library fileMake sure that you install the 32-bit version of the required libraries -- on 64-bit distributions,​ this can be done by adding ':i386' to the package name, or installing a special package usually named with the convention '​lib32//​xx//'​Also note that **files ending in ''​_i486.so''​ can be ignored**.+=====Accessing Your Server From the Internet===== 
 + 
 +/************************************************** 
 +NOTE 
 +This section is included in the Linux server page 
 +Keep that in mind before changing ​or renaming it 
 +***************************************************/​ 
 + 
 +To access ​your server over the Internet, you need to allow port 27015 TCP **and** UDP through any firewallsIf you're behind a NAT router, you also need to forward these ports to the device hosting your server. 
 + 
 +**Note:** A local server will //always// appear under the LAN tab, not the Internet tab. The best way to verify the server is reachable online is for a friend to connect to it.
  
-====Accessing Your Server From the Internet====+If you're running multiple servers from a single host, you may want to specify a custom port number for each server using the ''​-port''​ launch option. For example, ​ you would add ''​-port 27016''​ to the launch parameters. You do, of course, need to whitelist/​forward whatever port number(s) you decide to use.
  
-For your server to be accessible from the Internet when behind a NAT router, you need to configure your router to forward incoming data on the port 27015 TCP **and** UDP. You can change the ports a server uses using the ''​-port''​ launch option (useful when, for example, hosting multiple servers from a single IP Address). Please also allow these ports through any firewalls you are using.+=====Configuring Your Server=====
  
-====Configuring Your Server====+/​************************************************** 
 +NOTE 
 +This section is included in the Linux server page 
 +Keep that in mind before changing or renaming it 
 +***************************************************/​
  
-After you have a functional GoldenEye: Source server, you can customize settings to your liking. For information on server customization,​ please check the [[goldeneye/​server/​start]] page.+After you have a functional GoldenEye: Source server, you can customize settings to your liking. For information on server customization,​ please check the [[goldeneye/​server/​start]] page. 
goldeneye/server_install.1528244855.txt.gz · Last modified: 2019/01/01 16:41 (external edit)