Nasagames.files.wordpress.com



MBA Dedicated Servers: A How-to GuideIf you are behind a firewall, see the “Router configuration” section below for information on setting up port forwarding.Launch the STEAM? client. The Steam client does not need a person logged in; the client only needs to be “active.” You can log into an account and use the following steps; however doing so will consume that particular login for the duration of the server’s lifetime.Open a command window in the “<MoonBaseAlpha install directory>\Binaries\Win32” directory.To start a server, run the following command in the command line:MoonBaseAlphaGame.exe server <Map Name>[?Game Params] [-Server Params]Example – The following file launches the dedicated server with the map that supports up to 6 players and plays the cinematic at the start of each game:"C:\Program Files\Steam\steamapps\common\moon base alpha\Binaries\Win32\MoonBaseAlphaGame.exe" server mba_5_6?cinematic=1See below for information regarding the parameters which must be included in the launch string.At this point the server is active and running. You can actually log into the (already running) Steam client at this point and the dedicated server will continue to run and you will be able to play in it (or another server!) at the same mand-line parametersMap Name - The map name MUST be specified or the server will not show up in the Steam server browser. The available map options are:mba_1_2mba_3_4mba_5_6mba_madnessmba_sandboxGame Parameters – There are several game specific parameters you can include in the launch string that modify how the gameplay of the map will work. One or more of these parameters may be appended to the end of the map name and delimited with a ‘?’ character. Note: there is no space between the map name and the question mark.Freeplay=<0|1> – The Freeplay parameter specifies whether the map should be run in ‘competitive’ or ‘free play’ mode. In Competitive mode the team must restore oxygen to the settlement before time runs out; in Free play mode there is no time limit. If this option is specified with a value > 0 the map will run in free play mode; otherwise the map will default to ‘competitive’ mode if this parameter isn’t provided or if the value is “0,” “F,” or “false.”Sample Usage:?MoonBaseAlphaGame.exe server mba_1_2?freeplay=1Launches a server with the mba_1_2 level in freeplay mode.Cinematic=<0|1> – The Cinematic parameter specifies whether the level introduction cinematic will play when the level starts. If this option is specified with a value > 0, the introduction cinematic will play when the level starts. If the parameter isn’t provided or if the value is “0,” “F,” or “false,” the cinematic will not play.Sample Usage:MoonBaseAlphaGame.exe server mba_1_2?cinematic=1Will launch the mba_1_2 level in competitive mode, and will show the introduction cinematic when the level begins.GamePassword=<ServerPassword> - Use the GamePassword parameter if you wish to password protect your server to prevent unknown players from joining. The password should be alpha-numeric without any spaces in it. When players attempt to join your server, they will be presented with a password entry dialog; if they specify the correct password the server will allow them to join, otherwise their connection will be denied.Sample Usage:MoonBaseAlphaGame.exe server mba_3_4?GamePassword=helloThis launches a server with the mba_3_4 level, and with ‘hello’ as the game server password.MaxPlayers=<integer> By default, the maximum number of players is 6 on any map (in freeplay mode), but you can play with more players by specifying this parameter in conjunction with setting the Game parameter to “MoonBaseAlphaGame.MBA_GameInfoExtended,” as in the following example.Sample Usage:MoonBaseAlphaGame.exe server mba_5_6?Game=MoonBaseAlphaGame.MBA_GameInfoExtended?MaxPlayers=8Setting this parameter will automatically disable uploading stats to Steam, so it is impossible to cheat on the leaderboards by having more people on your team. For the MBA_Madness map, you don’t have to set the Game parameter; e.g.,Sample Usage:MoonBaseAlphaGame.exe server mba_madness?MaxPlayers=8This launches the server with the mba_madness level allowing 8 players. Note: playing with more than 6 players is not officially supported. In particular, the in-game UI only supports displaying 6 player names, and you may need a fairly powerful machine to handle the extra activity on the server. However, we provide the MaxPlayers parameter as an option for advanced users who wish to experiment with gameplay.NeverEnd=<0/1> For the sandbox map, this parameter prevents a dedicated server from resetting the level after the oxygen has been restored and all players leave the game (in freeplay mode). This is expected to be desirable for the sandbox level, where you may want your creations to persist. Note: the sandbox level defaults to Freeplay=1.Sample Usage:MoonBaseAlphaGame.exe server mba_sandbox?NeverEnd=1BeaconSafeZoneRadius=<integer> (only for MBA_Madness) Controls the radius of the beacon safe zone in Unreal units in the madness map. The default value is 300. Sixteen Unreal units are approximately one foot.SabotageDelay=<integer> (only for MBA_Madness) Controls the delay, in seconds, when sabotaging enemy circuit boards. The default value is 4.MuteOtherTeam=<0/1> (only for MBA_Madness). Controls whether or not the other team is muted in MBA_Madness. By default, the other team is muted.Examples:MoonBaseAlphaGame.exe server mba_madness?GamePassword=hello?BeaconSafeZoneRadius=125?SabotageDelay=0?MuteOtherTeam=0This launches the server with the mba_madness level with the beacon safe zone modified to 125 Unreal units (about 8 feet in-game), no sabotage delay, and no automatic muting of the other team, with a maximum of 6 players. Also, a password of “hello” is set.MoonBaseAlphaGame.exe server mba_3_4?GamePassword=hello?Freeplay=1?Cinematic=0This launches the server with the mba_3_4 level with a password of “hello,” in freeplay mode, not showing the introductory cinematic.Server Parameters – First, see below under “Router configuration” for information on how to set up your game server behind a router. It’s likely that you won’t need to use the following server parameters depending on how you configure your router. However, if you need to change the ports on which the game server listens, you can specify the following server parameters when launching it. One or more of these parameters may be specified in the server launch string, separated by a space character and prefixed with a ‘-.’Port=<port number> - This specifies the TCP and UDP port the server will listen on for new connections and handle general game communication. By default the server port is 9777 if this parameter isn’t specified. This should be used if you plan to run 2 or more servers on the same machine; each server should use a separate port to prevent conflicts.?Sample Usage:MoonBaseAlphaGame.exe server mba_1_2 -Port=7777This launches a server running on port 7777.SteamAuthPort=<port number> - This specifies the UDP port the server will use for Steam authentication tasks. By default the server will use port 8766 if this parameter isn’t specified. This should be used if you plan to run 2 or more servers on the same machine, each server should use a separate port to prevent conflicts.Sample Usage:MoonBaseAlphaGame.exe server mba_1_2 -Port=7777 -SteamAuthPort=8780This launches a server running on port 7777 and routing Steam Authentication tasks through port 8780.SteamMSUPort=<port number> - This specifies the UDP port the server will use to expose itself to the Steam Master Server Updater. The Steam Master Server will periodically communicate to the server through this port. By default the server will use port 27016 if this parameter isn’t specified. This should be used if you plan to run 2 or more servers on the same machine, each server should use a separate port to prevent conflicts.Sample Usage:MoonBaseAlphaGame.exe server mba_1_2 -Port=7777 -SteamAuthPort= 8780 -SteamMSUPort=8781This launches a server running on port 7777, routing Steam Authentication tasks through port 8780 and Steam master server update tasks through port 8781.----Here is a sample batch script of this in action:?"C:\Program Files\Steam\steamapps\common\moon base alpha\Binaries\Win32\MoonBaseAlphaGame.exe" server mba_5_6?cinematic=1For the batch script, this can be put into Wordpad and saved initially as a .txt file...You need to change the path of the MoonBaseAlphaGame.exe to wherever the game is installed.Needs to be saved as a “.bat” extension in order to work correctlyTo change the NAME of the dedicated server you need to modify the DefaultGame.ini and MoonBaseAlphaGame.ini. These are located in the following: …\Steam\steamapps\common\moon base alpha\MoonBaseAlphaGame\Config\Router configurationBy default, the game server listens on the following three ports:9777: game traffic8766: Steam authentication tasks27016: Steam master server updater tasksIf you are behind a firewall, such as that typically enforced by a home router connected to a broadband internet connection, you will probably have to set up port forwarding on your router configuration. Here’s how to do that.Access your router’s control panel. You can typically access this through a normal web browser by visiting the URL 192.168.1.1 or similar IP address (see your router’s instructions).Find the local network IP address of the computer that will be running the Moonbase Alpha server. This will probably be listed in a DHCP Clients table in your router control panel and typically starts with 192.168. (Or you can run the ipconfig utility from the command-line to find your computer’s local IP address.)In your router’s configuration, find the tab for Port forwarding. Set the three ports (9777, 8766, 27016) to forward to your computer’s local IP address. The 9777 port needs both TCP and UDP open, whereas the 8766 and 27016 ports only need the UDP protocol open. The following is a screenshot of the GUI for the dd-wrt firmware for wireless routers with the Moonbase Alpha server ports correctly configured with the server machine’s local IP address 192.168.1.121. Your GUI may look significantly different, depending on your router, but the same settings should be accessible. V02_2012 ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download