REDDEATH 0 Posted January 15, 2002 I have the hosts.txt file in the root directory of OFP, but it doesn't work. I put several IP address in the file that I tested via remote connection (where I manually entered the IP) and they work fine that way, but when I put them in the hosts.txt file it doesn't do anything. Anyone else got this working? I have V1.4 OFP Share this post Link to post Share on other sites
suma 8 Posted January 15, 2002 Surprisingly, I have it working. If you will post your copy of hosts.txt here and exact location of this file and file OperationFlashpoint.exe on your computer, we may start guessing what is wrong with it. My working copy is plain text as follows: 128.40.90.130 216.103.128.25 208.251.17.94 193.163.220.211 24.190.155.132 130.89.231.145 217.35.5.107 Share this post Link to post Share on other sites
REDDEATH 0 Posted January 15, 2002 Thanks for the reply... the only thing I see different on your hosts.txt file to mine, is that I have the port number on the end. Let me try to remove those and see if it works then. Share this post Link to post Share on other sites
REDDEATH 0 Posted January 16, 2002 I found the problem..... The direction in rtf file in the Server 1.40 zip file says that you need to create a hosts.txt. When your really only need a file calll hosts. Â Once I removed the .txt extension it started to work. Â It was a typo in the directions. Share this post Link to post Share on other sites
zovirl 0 Posted January 16, 2002 Reddeath, I expect the docs are correct and what you are seeing is a feature of windows. By default it hides the extension for known file types. You can turn it off by going to the folder options. Probably when you saw a file called "hosts.txt" windows was hiding one extra extension from you and the actual name was "hosts.txt.txt" Share this post Link to post Share on other sites
REDDEATH 0 Posted January 21, 2002 Actually that wasn't the case. I don't have the hide known extension option on, and I created the file right from notepad which puts the .txt extension on it. Once I removed the .txt extension everything started working. The file now has no file type associated with it at all. Share this post Link to post Share on other sites
nordin dk 0 Posted January 21, 2002 I thought that was impossible in Windows... Share this post Link to post Share on other sites
suma 8 Posted January 22, 2002 To avoid any confusion: I just checked the sources. File loaded is hosts.txt from main OFP directory (as stated in docs). Share this post Link to post Share on other sites