Howto:Multiplayer: Difference between revisions

Jump to navigation Jump to search
m
Save
mNo edit summary
m (Save)
Line 4: Line 4:


== Connecting to Multiplayer ==
== Connecting to Multiplayer ==
=== In-sim dialog ===
=== In-sim Dialog ===
[[File:Multiplayer settings dialog.jpg|thumb|Multiplayer settings dialog]]
[[File:Multiplayer settings dialog.jpg|thumb|Multiplayer settings dialog]]
The easiest way to get online is to use the in-sim Multiplayer dialog. All you need to do is enter a callsign and select a server from the menu. Press Connect to go online.
The easiest way to get online is to use the in-sim Multiplayer dialog. All you need to do is enter a callsign and select a server from the menu. Press Connect to go online.


{{Note|Before starting tests, you might want to check the [[#Problems associated with specific Internet Service Providers|Problems associated with specific Internet Service Providers]] section.}}
{{Note|Before starting tests, you might want to check the [[#Problems associated with specific Internet Service Providers|Problems associated with specific Internet Service Providers]] section.}}
 
{{-}}
=== Using FGRun ===
=== Using FGRun ===
==== From the last page ====
[[File:Multiplayer.jpg|thumb|Multiplayer settings in [[FGRun]]]]
[[File:Multiplayer.jpg|thumb|Multiplayer settings in [[FGRun]]]]
# Select your [[aircraft]] and starting airport as normal in [[FGRun]].
# Select your [[aircraft]] and starting airport as normal in [[FGRun]].
Line 17: Line 18:
#* '''Callsign''' of your choice.
#* '''Callsign''' of your choice.
#* '''Hostname:''' Enter <code>mpserverXX.flightgear.org</code> (with <code>XX</code> being the [[#Servers|server number]]).
#* '''Hostname:''' Enter <code>mpserverXX.flightgear.org</code> (with <code>XX</code> being the [[#Servers|server number]]).
#* '''In/out:''' Set both ports to 5000.
#* '''In/Out:''' Set both ports to 5000.
# Click {{button|Run}} and you'll soon be flying with other pilots!
# Click {{button|Run}} to start FlightGear.


To confirm that it's working, you can go to the multiplayer map at http://mpmap02.flightgear.org/ (in Hong Kong). Once FlightGear has started, you will notice chat messages that say "Hello" indicating pilots that are online.  They will also pop up when a pilot joins the MP network.  You can change this message by editing this line in <tt>''[http://sourceforge.net/p/flightgear/fgdata/ci/next/tree/preferences.xml#l763 $FG_ROOT/preferences.xml]''</tt>:
To confirm that it's working, you can go to the multiplayer map at http://mpmap02.flightgear.org/ (in Hong Kong). Once FlightGear has started, you will notice chat messages that say "Hello" indicating pilots that are online.  They will also pop up when a pilot joins the MP network.  You can change this message by editing this line in <tt>''[http://sourceforge.net/p/flightgear/fgdata/ci/next/tree/preferences.xml#l763 $FG_ROOT/preferences.xml]''</tt>:
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<chat type="string" preserve="y">Hello</chat></code>
<chat type="string" preserve="y">Hello</chat>
</syntaxhighlight>
</syntaxhighlight>
You may wish to use a different server, especially one closer to you.  
You may wish to use a different server, especially one closer to you.  
==== Network settings ====
[[File:FGRun Advanced dialog - Network.png|thumb|The <tt>Network</tt> tab of the <tt>Advanced</tt> dialog in [[FGRun]] (in [[Changelog 3.2|FlightGear 3.2.0]]).]]
[[File:FGRun Advanced dialog - Network.png|thumb|The <tt>Network</tt> tab of the <tt>Advanced</tt> dialog in [[FGRun]] (in [[Changelog 3.2|FlightGear 3.2.0]]).]]
For more advanced settings, the {{Button|Advanced}} > <code>Network</code> tab in FGRun can be opened.
You can also change multiplayer settings in the Network tab of the Advanced FGRun settings.
 
# On the last page, click {{button|Advanced}}.
# Click <code>Network</code>.
# In the
{{-}}


=== Using multiplayer from the command line ===
=== Using multiplayer from the command line ===

Navigation menu