Difference between revisions of "Hosting a Server"
(Moved Bogies faq entry here.) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | There are | + | ==== Overview ==== |
+ | There are three disctinct ways of hosting a server | ||
− | + | ==== Using the ingame UI ==== | |
+ | This is the easiest way to go about hosting a server. It allows the start of the Listen and Dedicated Server. | ||
− | + | * In the Main Menu select either "[Inter]Net Game..." or "Lan Game...". | |
+ | * Click the "Host Game" button. | ||
+ | * Click "Server Mode" to select between Listen and Dedicated Server. | ||
− | hcc.exe server 01_NYC_UNATCOIsland?Mutator=( | + | Notes: |
+ | * Using a Dedicated Server is recommended due to the higher stability. You can start up HX again afterwards and join your local Dedicated Server. | ||
+ | * A Net Game will still be joinable from the local LAN. | ||
+ | |||
+ | ==== Using the HX.exe executable ==== | ||
+ | This will only allow the start of a Dedicated server. The graphical frontend will consist of a tray icon and a log window. | ||
+ | |||
+ | You need to start HX.exe with additional commandline parameters. If you are unsure how to do this, you can look up how to add additional commandline parameters to a Link or basic use of the windows console or powershell (change directories, launch executables, etc.) | ||
+ | |||
+ | .\hx.exe server 01_NYC_UNATCOIsland?[Mutator=<mutatorlist>] | ||
+ | |||
+ | Where <mutatorlist> is an optional comma seperated list of [[Mutator|Mutators]] to use (e.g. "hx.exe server 01_NYC_UNATCOIsland" to start without any Mutators). | ||
+ | |||
+ | ==== Using the HCC.exe executable ==== | ||
+ | This will only allow the start of a Dedicated server. This is a pure console application. | ||
+ | |||
+ | hcc.exe server 01_NYC_UNATCOIsland?[Mutator=<mutatorlist>] | ||
+ | |||
+ | Where <mutatorlist> is described as above. | ||
+ | |||
+ | You can use this on a linux (after installing wine) with wineconsole to run on a headless server. | ||
+ | |||
+ | ==== Further Notes ==== | ||
+ | You still need to make sure your firewall settings, router settings and ISP allow other people to reach your server over the internet. See [[Ports]] for details. | ||
+ | |||
+ | Starting a Lan or Net Server from the ingame UI will toggle the internal variable DoUplink in the HX.ini config file. If it is set to false it will not broadcast the presense of your server to the masterserver and by extend may not show up in the server list for other people. This however will not affect the abiltiy to join by ip directly. |
Latest revision as of 11:10, 17 July 2024
Contents
Overview
There are three disctinct ways of hosting a server
Using the ingame UI
This is the easiest way to go about hosting a server. It allows the start of the Listen and Dedicated Server.
- In the Main Menu select either "[Inter]Net Game..." or "Lan Game...".
- Click the "Host Game" button.
- Click "Server Mode" to select between Listen and Dedicated Server.
Notes:
- Using a Dedicated Server is recommended due to the higher stability. You can start up HX again afterwards and join your local Dedicated Server.
- A Net Game will still be joinable from the local LAN.
Using the HX.exe executable
This will only allow the start of a Dedicated server. The graphical frontend will consist of a tray icon and a log window.
You need to start HX.exe with additional commandline parameters. If you are unsure how to do this, you can look up how to add additional commandline parameters to a Link or basic use of the windows console or powershell (change directories, launch executables, etc.)
.\hx.exe server 01_NYC_UNATCOIsland?[Mutator=<mutatorlist>]
Where <mutatorlist> is an optional comma seperated list of Mutators to use (e.g. "hx.exe server 01_NYC_UNATCOIsland" to start without any Mutators).
Using the HCC.exe executable
This will only allow the start of a Dedicated server. This is a pure console application.
hcc.exe server 01_NYC_UNATCOIsland?[Mutator=<mutatorlist>]
Where <mutatorlist> is described as above.
You can use this on a linux (after installing wine) with wineconsole to run on a headless server.
Further Notes
You still need to make sure your firewall settings, router settings and ISP allow other people to reach your server over the internet. See Ports for details.
Starting a Lan or Net Server from the ingame UI will toggle the internal variable DoUplink in the HX.ini config file. If it is set to false it will not broadcast the presense of your server to the masterserver and by extend may not show up in the server list for other people. This however will not affect the abiltiy to join by ip directly.