hosts.txt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(adding hosts.txt)
 
m (Text replacement - "y[ _]*\|[ _]*ofp[ _]*\|[ _]+" to "y|ofp|")
(16 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[[category:Multi Player|S]]
{{GameCategory|ofp|Multiplayer}}
'''''Description:'''''
'''''Description:'''''


The '''hosts.txt''' file is a special file that Operation FlashPoint recoginizes. When you select the multi player option, OFP will scan this file for you and list servers those servers for you.  
The '''hosts.txt''' file is a special file that Operation FlashPoint, ARMA, ARMA 2, ARMA2: Operation Arrowhead recognizes.


You will need to create this file by making a new text file in the root of your OFP folder and calling '''hosts.txt'''
When you select the multi-player option, engine will scan this file for you and list those servers for you.
 
You will need to create this file by making a new text file in the root of your game folder and calling it '''hosts.txt'''


The syntax of the file is as follows:
The syntax of the file is as follows:


  IP:port
  IP:port
  dnsname.com:port
  dnsname.com:port number
   
  192.168.1.1:2302
The list can be as long as you like.
The list can be as long as you like. Port number is optional, default 2302 is used when not specified.
 
[[Category:Multiplayer Hints and Tips]]
{{GameCategory|arma2|Multiplayer}}
{{GameCategory|arma1|Multiplayer]]
[[Category:Take On Helicopters}}

Revision as of 14:14, 22 June 2021

Description:

The hosts.txt file is a special file that Operation FlashPoint, ARMA, ARMA 2, ARMA2: Operation Arrowhead recognizes.

When you select the multi-player option, engine will scan this file for you and list those servers for you.

You will need to create this file by making a new text file in the root of your game folder and calling it hosts.txt

The syntax of the file is as follows:

IP:port
dnsname.com:port number
192.168.1.1:2302

The list can be as long as you like. Port number is optional, default 2302 is used when not specified. {{GameCategory|arma1|Multiplayer]] [[Category:Take On Helicopters}}