hosts.txt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "y[ _]*\|[ _]*ofp[ _]*\|[ _]+" to "y|ofp|")
(13 intermediate revisions by 7 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 recognizes.
The '''hosts.txt''' file is a special file that Operation FlashPoint, ARMA, ARMA 2, ARMA2: Operation Arrowhead recognizes.


When you select the multiplayer option, OFP will scan this file for you and list those servers for you.  
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 OFP folder and calling it '''hosts.txt'''
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:
Line 14: Line 14:
  192.168.1.1:2302
  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.
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}}