Difference between revisions of "Dedicated Server"
(Updated for current version) |
Conquintor (Talk | contribs) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
<br> | <br> | ||
− | = | + | = Server commands = |
+ | |||
+ | [[Admin/User Server Commands]] | ||
+ | |||
+ | <br> | ||
+ | |||
+ | = Windows = | ||
'''Step 1a: Download the game''' | '''Step 1a: Download the game''' | ||
Line 27: | Line 33: | ||
##* Microsoft .NET Framework 4.7.2: <code>download_depot 228980 229006</code> | ##* Microsoft .NET Framework 4.7.2: <code>download_depot 228980 229006</code> | ||
##* Microsoft Visual C++ 2012 Redistributable (x86): <code>download_depot 228980 228984</code> | ##* Microsoft Visual C++ 2012 Redistributable (x86): <code>download_depot 228980 228984</code> | ||
− | '''Step 2: Validating | + | '''Step 2: Validating your server''' |
You will need an SSK (Standalone Server Key) to allow your server to be validated. To get one you need to use the full Interstellar Rift client, however it does not need to run on the same machine as the dedicated server. [[File:GenerateSSK.png|thumb|right|Where to find the "Generate SSK" button]] | You will need an SSK (Standalone Server Key) to allow your server to be validated. To get one you need to use the full Interstellar Rift client, however it does not need to run on the same machine as the dedicated server. [[File:GenerateSSK.png|thumb|right|Where to find the "Generate SSK" button]] | ||
Line 34: | Line 40: | ||
# A file called <code>SSK.txt</code> will be generated at: <code>%APPDATA%\InterstellarRift</code>. | # A file called <code>SSK.txt</code> will be generated at: <code>%APPDATA%\InterstellarRift</code>. | ||
# Copy this file to the same location on the server machine, this key will be valid for 30 days and then you will have to redo this step. | # Copy this file to the same location on the server machine, this key will be valid for 30 days and then you will have to redo this step. | ||
− | '''Step 3: Configuring | + | '''Step 3: Configuring your server''' |
Configuring your server is done by editing the <code>server.json</code> file located at: <code>%APPDATA%\InterstellarRift</code>. | Configuring your server is done by editing the <code>server.json</code> file located at: <code>%APPDATA%\InterstellarRift</code>. | ||
− | '''Step 4: Running | + | '''Step 4: Running your server''' |
The game folder contains an auto-restart script called <code>start_server_autorestart.ps1</code> that will automatically restart your server when it crashes, you can either use this script to run your server or use it as an example for making your own. To execute it, right click the script and then use the "Run with PowerShell" option. | The game folder contains an auto-restart script called <code>start_server_autorestart.ps1</code> that will automatically restart your server when it crashes, you can either use this script to run your server or use it as an example for making your own. To execute it, right click the script and then use the "Run with PowerShell" option. | ||
+ | '''Step 5: Forwarding ports''' | ||
+ | |||
+ | The Interstellar Rift server uses UDP over port 8905 by default. Make sure your router is forwarding this port to the machine your server is running on. | ||
<br> | <br> | ||
− | = Linux | + | = Linux = |
Running a Linux server is not officially supported but the Steam user 7thCore has made a Steam Guide explaining how to set up a dedicated server on Linux through Wine [https://steamcommunity.com/sharedfiles/filedetails/?id=1774601676 here] | Running a Linux server is not officially supported but the Steam user 7thCore has made a Steam Guide explaining how to set up a dedicated server on Linux through Wine [https://steamcommunity.com/sharedfiles/filedetails/?id=1774601676 here] |
Latest revision as of 17:45, 7 August 2019
This is a guide for setting up your own Interstellar Rift dedicated server. If you have any questions or issues please post in the Steam forum or ask in the #technicalsupport channel on Discord. This guide assumes you already know how to install the Steam client and/or SteamCMD.
Server commands
Windows
Step 1a: Download the game
You can either download the game through the Steam client, or you can use SteamCMD.
When using SteamCMD you need to customize and run the following command:
.\steamcmd +login <steam_username> "<steam_password>" +force_install_dir <installation_path> +app_update 363360 validate +quit
For example, the resulting command for a given user dummy
with password dummy password
installed to the subdirectory ir
of the steamcmd location would be:
.\steamcmd +login dummy "dummy password" +force_install_dir .\ir +app_update 363360 validate +quit
(More info on SteamCMD usage can be found here.
Step 1b: Download and install dependencies
- When using the Steam client dependencies should be installed by Steam on first run, if this does not happen, install the following dependencies:
- Microsoft .NET Framework 4.7.2:
%PROGRAMFILES(X86)%\Steam\steamapps\common\Steamworks Shared\_CommonRedist\DotNet\4.7\NDP472-KB4054530-x86-x64-AllOS-ENU.exe
- Microsoft Visual C++ 2012 Redistributable (x86):
%PROGRAMFILES(X86)%\Steam\steamapps\common\Steamworks Shared\_CommonRedist\vcredist\2012\vcredist_x86.exe
- Microsoft .NET Framework 4.7.2:
- When using SteamCMD you will have to install the dependencies yourself, you have two options to download the installers:
- Directly from Microsoft
- Using SteamCMD
- Microsoft .NET Framework 4.7.2:
download_depot 228980 229006
- Microsoft Visual C++ 2012 Redistributable (x86):
download_depot 228980 228984
- Microsoft .NET Framework 4.7.2:
Step 2: Validating your server
You will need an SSK (Standalone Server Key) to allow your server to be validated. To get one you need to use the full Interstellar Rift client, however it does not need to run on the same machine as the dedicated server.- Open your IsR client and go to Play Interstellar Rift > Host Game and then click the "Generate SSK" button, don't close the client until you've reached the end of the guide
- A file called
SSK.txt
will be generated at:%APPDATA%\InterstellarRift
. - Copy this file to the same location on the server machine, this key will be valid for 30 days and then you will have to redo this step.
Step 3: Configuring your server
Configuring your server is done by editing the server.json
file located at: %APPDATA%\InterstellarRift
.
Step 4: Running your server
The game folder contains an auto-restart script called start_server_autorestart.ps1
that will automatically restart your server when it crashes, you can either use this script to run your server or use it as an example for making your own. To execute it, right click the script and then use the "Run with PowerShell" option.
Step 5: Forwarding ports
The Interstellar Rift server uses UDP over port 8905 by default. Make sure your router is forwarding this port to the machine your server is running on.
Linux
Running a Linux server is not officially supported but the Steam user 7thCore has made a Steam Guide explaining how to set up a dedicated server on Linux through Wine here
Troubleshooting and Errors
Error Message | Description | How to Fix |
Announcing server to masterserver: invalid steam ticket | This means your SSK is not valid | Repeat Step 2. The server does not need to be shut down |