hosts.txt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[Cc]ategory:[ _]?Operation Flashpoint:[ _]?(.*)(\|.*)?\]\]" to "{{GameCategory|ofp|$1}}")
m (Text replacement - "\[\[[Cc]ategory:[ _]?ArmA:[ _]([^|]*)[ _]?\|.*\]\]" to "{{GameCategory|arma1|$1}}")
Line 17: Line 17:
[[Category:Multiplayer Hints and Tips]]
[[Category:Multiplayer Hints and Tips]]
{{GameCategory|arma2|Multiplayer}}
{{GameCategory|arma2|Multiplayer}}
[[Category:ArmA: Multiplayer]]
{{GameCategory|arma1|Multiplayer]]
[[Category:Take On Helicopters|MultiPlayer]]
[[Category:Take On Helicopters}}

Revision as of 10:09, 6 January 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}}