Multiplayer Getting Started Guide

From FreeSpace Wiki
Revision as of 20:37, 17 August 2007 by Shade (talk | contribs)
Jump to: navigation, search

This detailed step-by-step guide will help you set up a current installation of Freespace Open for online multiplayer gaming, either on FS2NetD or through a direct IP connection. The guide is aimed at those who have little to no experience with Freespace Open and covers everything that might be needed to get multiplayer up and running, so more experienced users may want to just read the headlines to make sure they don't forget an important step.

Preparation

Before starting the actual game, there are a few outside factors that need to be taken care of first:

FS2NetD Account Registration

The first thing to do is to register your multiplayer account with FS2NetD. To do that, follow the steps below.

Note: If you do not intend to play on FS2NetD, this step can be safely skipped as registration is not required for IP play, but registering is recommended nonetheless in case you change your mind.

FS2NetD login box



  • Step 2: Click the Register button (highlighted in image on the left) in the login box on the top-left of the page. This brings you to the registration screen for new users. Do not write anything in the two boxes for Pilot and Password, those are for users who have already signed up.



  • Step 3: You now have 3 fields to fill out, as shown in the image to the right.

    In the Pilot Name field, write the name of the pilot you intend to use when playing on FS2NetD.

    FS2NetD registration screen
    In the Password field, write a password of your choice. As always with passwords, it is a good idea to use one that is difficult to guess - If you need tips on that, here is a quick guide: Choosing a Good Password. It would also be a very bad idea to reuse an existing password that is already being used for something sensitive.

    Then, in the Email field, put in a valid E-mail address. Upon completion of registration, a confirmation email will be sent to this address with a link you must follow to active your account, so do not put in a bogus address. If you do not wish to give up your usual email address, then you can use a web-based email service instead - As long as you can recieve the mail and follow the link, you're good to go.

    Finally, click the Process Registration button (highlighted in image to the right).


  • Step 4: Two mails have now been sent to the address you provided, one containing your login information (may want to write this down) and one containing an activation link. Open the one titled FS2NET Registration Authorization for: *****, then follow the link inside to activate your FS2NetD account.

Note: A pilot registered with FS2NetD can be used with all supported mods. It is not necessary to register seperate pilots for Freespace, Beyond the Red Line and Wing Commander Saga, though you do have the option of doing so.


Firewall/Router Setup

As Freespace Open uses port 7808 for multiplayer games, it is necessary to allow communication on this port to pass through your firewall and, if applicable, router unhindered. To do this, call up the control panel for your firewall/router and add an rule that opens up port 7808 to both ingoing and outgoing traffic, for both the TCP and UDP protocols. Detailed walkthroughs of how to do this for some common firewalls and routers can be found in the Port Forwarding article, so consult that if you have trouble figuring out how to do it.

Failure to do this will make you unable to host games, though depending on circumstances you may still be able to join games hosted by others.


Config File Setup

Freespace Open relies on a config file to tell it the location of the FS2NetD server, and depending on how you acquired the game this file may not be present. If you downloaded the game using Turey's Online Installer, or used the official installers to get either Beyond the Red Line or Wing Commander Saga, then you will already have a correct version of this file appropriate to your installation and can skip this step. Otherwise, proceed.

The file in question, called fs2open_pxo.cfg, should be located in the /data/ folder under your Freespace installation directory and should contain the following two lines depending on what you have installed:

Standard Freespace Open installation:

fs2netd.game-warden.com
12000

Beyond the Red Line installation:

fs2netd.game-warden.com
12001

Wing Commander Saga installation:

fs2netd.game-warden.com
12003

If this file is not present, or does not contain the exact lines above, then create a new text file in the /data/ folder, copy the appropriate lines to it, and save it as fs2open_pxo.cfg.

Note: The current IP address of fs2netd.game-warden.com is 64.92.160.250, so if the first line says that instead then it will still work. However, using the URL is safer in case the IP address changes.

Note: For those using the MediaVPs with a standard Freespace Open installation, a version of this file containing the same two lines may also be found in /mediavps/data/.


Launcher Setup

Before being able to play online, your internet connection must be correctly configured in the launcher. To do that, follow the steps below:

Network tab in the Freespace Open launcher


  • Step 1: Start the Freespace Open launcher and go to the Network tab (pictured left).


  • Step 2: In the Internet Connection field, choose Dialup Networking if you are using a standard or ISDN modem to connect to the internet. If you are using broadband connection such ADSL, Cable or (heavens forbid) a Fiber-Optic connection, choose the LAN/Direct Connection (And AOL) option.


  • Step 3: In the Connection Speed field, simply choose the option that best fits your connection. Note that faster cable connections may belong in the T1, ADSL, T3, etc category as speeds have been upped significantly over the last few years.


  • Step 4: Click Apply at the bottom-right of the launcher to save the settings.

Note, do not put anything into the Force local port or Force IP address fields at the bottom. Leave them as is. Doing otherwise can make it impossible for you to connect to FS2NetD.










In Game

With the above preparations taken care of, there are still a few in-game things to take care of.

Creating a Multiplayer Pilot

The first thing to do is to create a multiplayer pilot, by following these steps:


Pilot selection screen in standard Freespace
  • Step 1: Start the game using the launcher, and you will arrive at the pilot selection screen (pictured right).


  • Step 2: Click on the Multi button in the top-right corner (highlighted) to go to the multiplayer pilot screen.


  • Step 3: Click on the Create button in the bottom-left corner (highlighted) as when creating a normal pilot. However, since we are now on the multiplayer screen, it will create a multiplayer pilot instead.


  • Step 4: Type in the pilot name you used when you registered your FS2NetD account, and hit enter to create the pilot. It is not a problem if this name is the same as one of your singleplayer pilots, as they are stored seperately.


  • Step 5: Select the pilot by clicking the name, and click Select to enter the game.

Note: If you can't remember the pilot name you used when you registered, check your email - Upon registration, an email titled FS2NET Login Information For: ***** is sent to the email address you provided. The name in the title (here replaced with asterisks) is the pilot name you need.


Options screen navigation bar

Multiplayer Setup

Once in the game, go to the options screen (F2), then click on the Multi button (highlighted in image) in the top navigation bar. Here there are a number of settings to go over, some which vary depending on whether you want to play FS2NetD games or IP games, and some which apply to both.


Global Settings

These settings apply to both IP and FS2NetD games.

Protocol selection


  • Protocol Selection: These two buttons, found in the upper-left corner of the options screen, determine the network protocol used by the game to communicate with other machines. Set this to TCP as shown in the image to the left. The IPX protocol, while once popular, is no longer widely used and has been superceded by TCP in practically all areas, so unless specifically instructed otherwise, always leave this setting on TCP.



Multidata button


  • Multidata: This button, found in the middle-left of the options screen, currently has no effect. Leave if Off as shown in the image to the left.



Object Update buttons


  • Object Update: These four buttons, found in the upper-right part of the options screen, determine the rate at which your machine recieves updates on objects in a mission. Most of the time, you will want to leave this on Low (as shown in the image to the right), as it can cause severe stress for a server if everyone in a game has this set to High, which in turn causes lag. So while it may seem counterintuitive, having updates set to Low does in fact make for a better multiplayer experience.

    There is one exception to this - When you are hosting a game. In this case, and in this case only, set object update to High. Just remember to set it back to Low once you are done playing host.



Pilot/Squad images buttons


  • Pilot/Squad Images: These buttons, in the middle-right of the options screen, determine whether you will automatically download any pilot and squadron images used by other players when you connect to a server, if you don't already have them. The recommended setting is Yes as shown in the image to the right, but it is up to you whether you want to download them or not.



Transfer missions buttons


  • Transfer Missions: These two buttons, in the middle-right part of the options screen, determine the location to which auto-transferred missions are saved. Always leave it on /Missions as shown in the image to the right, as selecting /Multidata can currently leave you unable to play the missions that are automatically transferred.



Cache Flush buttons


  • Cache Flush: These buttons, in the lower-right part of the options screen, determine when the multiplayer cache will be cleared. With the size of today's harddrives, it is best to simply leave this on Never as shown in the image to the right, as it may cut waiting times a little when joining a game with people you have played with before.


FS2NetD Specific Settings

These settings apply only when you want to play games over the FS2NetD service. In the PXO login box (pictured below) you need to type in the information you used when you registered your FS2NetD account:

PXO login box


  • First, make sure the PXO button in the top-left of the login box is turned on.


  • In the Login field, write the name of the FS2NetD multiplayer pilot you are currently using.


  • In the Password field, write the password you used when you registered that pilot.


  • Finally, if you have joined a multiplayer squadron, type the name of that squadron in the Squadron field. This last field is optional, so it is OK to leave it blank for those who are not in a squadron.


With this done, you will automatically enter the multiplayer lobby when you click on the briefing room from the main hall, and see any FS2NetD games that are currently running.

Note: If you can't remember the pilot name or password you used when you registered, check your email - Upon registration, an email titled FS2NET Login Information For: ***** is sent to the email address you provided. This email contains both the name and the password you need for your FS2NetD login.


Direct IP Specific Settings