2,733
edits
Red Leader (talk | contribs) mNo edit summary |
Red Leader (talk | contribs) (Save) |
||
Line 38: | Line 38: | ||
# In the <tt>Multiplayer Options</tt> area … | # In the <tt>Multiplayer Options</tt> area … | ||
#* Type your desired callsign into the box. | #* Type your desired callsign into the box. | ||
#* Set the parameters for the two other boxes; see below for correct syntax. | #* Set the parameters for the two other boxes; see [[#Using multiplayer from the command line|below]] for correct syntax. | ||
#* Click {{button|OK}}, then run FlightGear. | #* Click {{button|OK}}, then run FlightGear. | ||
{{-}} | {{-}} | ||
=== Using multiplayer from the command line === | === Using multiplayer from the command line === | ||
When running FlightGear from the [[command line]], you can specify multiplayer settings. The two arguments are as follows: | When running FlightGear from the [[command line]], you can specify multiplayer settings. The two arguments are as follows: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
Line 84: | Line 83: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Additionally, the | Additionally, the <code>in</code> argument above tells FG to listen '''only''' on the loopback/local interface - it will not receive packets arriving on the other network interface(s). If you want to also bind to other interfaces, just omit the IP address by using | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
--multiplay=in,10,,5000 | --multiplay=in,10,,5000 | ||
Line 92: | Line 91: | ||
==== Now, going more slowly for those who are completely lost... ==== | ==== Now, going more slowly for those who are completely lost... ==== | ||
Although this section shoould be unnecessary with newer versions of [[FGMS]], you may still run into problems. | |||
First of all, you need to know the IP address of the network interface you'll be using for multiplayer FG. | |||
If your Internet connection is via an ADSL modem that plugs directly into your computer, you should be able to find your IP address by visiting http://www.whatismyip.com. | |||
{{Note|Your {{Abbr|ISP|Internet Service Provider}} might not give you the same IP address each time.}} | |||
If your connection is via an Ethernet connector or by a wireless link. | |||
* | * '''Linux:''' Log in as root and run <code>ifconfig</code> in the terminal. In the text that is returned, you should to look for an interface name such as <code>eth0</code> or <code>wlan0</code>. Finally, look in the text below the interface name for <code>inet addr:ip.address</code>. For example, this should read something like <code>inet addr:192.168.0.150</code>. | ||
* | * '''Windows:''' | ||
* | ** '''Windows XP or later''', click start, run, and type "cmd". In the terminal window which appears, type "ipconfig" This should show you your IP address - write it down. | ||
** '''Windows 98''', click start, run, and type "winipcfg" to get information about your IP address. | |||
This section ''ought'' to be unnecessary now with recent versions of the FG server. If you have problems though, it won't hurt to follow through. | This section ''ought'' to be unnecessary now with recent versions of the FG server. If you have problems though, it won't hurt to follow through. | ||
Line 123: | Line 126: | ||
Call: john51a,model: Aircraft/ufo/Models/ufo.xml | Call: john51a,model: Aircraft/ufo/Models/ufo.xml | ||
You MUST give your local, behind-the-router IP address for | You MUST give your local, behind-the-router IP address for multiplayer to work. Trust me on this one! | ||
You should check that your firewall is not causing problems - either turn it off _temporarily_ or add an exception to allow incoming connections on port 5000. | You should check that your firewall is not causing problems - either turn it off _temporarily_ or add an exception to allow incoming connections on port 5000. | ||
Line 140: | Line 143: | ||
To chat with other pilots, go to the <tt>Multiplayer</tt> menu and select <tt>Chat Menu</tt> at the bottom of the menu. Note that the other pilots may not have their chat box open nor chat messages enabled, so they may not see your messages. | To chat with other pilots, go to the <tt>Multiplayer</tt> menu and select <tt>Chat Menu</tt> at the bottom of the menu. Note that the other pilots may not have their chat box open nor chat messages enabled, so they may not see your messages. | ||
The shortcut for chatting is {{Key press|<nowiki> | The shortcut for chatting is {{Key press|Shift|<nowiki>-</nowiki>}} (underscore) and it brings up a small window that you can type in. By default, other people's messages are displayed at the top of FlightGear's window for a few seconds, but it will appear for a much longer time in the window at <tt>Network > Chat</tt>. So if you think you have missed anything, go check there. | ||
== Dealing with abusive behaviour == | == Dealing with abusive behaviour == |