Host a Server

FEAR Server supports both Windows and Linux.

If you want to host a server in Windows, you can do It with the FEAR Combat Installer, but the prefered method is with the Dedicated Server package.

Update: This bug should be fixed. Host your server as usual.

There’s a known bug when you try to host a server using the ingame Host option, this is easy to workaround.
First, configure your server and host It as usual. This will hang and the server won’t start, that’s ok.
Close the game and then go to the Start Menu / FEAR Combat (SEC2)/FEAR Dedicated Server (SEC2)

This will run the server and show It in a small window. Now you can open the game and join in the LAN Section.

For Linux, you keep the exact same process than before!

You can also Add custom content and maps to your FEAR Combat Server.

Advanced Server Options.

For special needs, like running multiple servers you may need to create a .bat file to start the server.

Create a new text file in the game (or server) folder and name It MyServerA.bat for example.

You can use this sample code:

@ECHO OFF
set datetimef=%date:~-4,4%-%date:~-10,2%-%date:~-7,2%_%time:~0,2%%time:~3,2%%time:~6,2%
set LOGF=C:\Users\fredcpp\Desktop\Logs\fearserver.tdm.%datetimef%.log
start fearserver.exe -optionsfile ServerOptions-TDM +errorlog 1 +alwaysflushlog 1 +errorlogfile “%LOGF%”

Then create a shortcut to the file, It can be for example, in the desktop, so you have easy access to It.

This sample will:

  • Use a specific “ServerOptions-TDM” txt file for ServerOptions. You can specify different options file for hosting several servers.
  • Create a log file with date/time on the filename (for example: fearserver.tdm.2014-04-06_205924.log). Please note that this date/time format may be locale-dependant. You can change the path where you want the file to be created.

You can also use a different MPCustomizations.txt file, you need to use the parameter:

-mpcustomizations C:\PathTo\AnotherMPCustomizationsFile

When hosting more than 1 server, remember to use a different port for each server! Using the same port for more than 1 server will eventually make the Master Server Ignore all of the servers comming from that IP.

 

 Troubleshooting.

1) I can’t see my server In the ingame & FEAR-Community.org page!

This can be caused by several reasons:

a) First you need to check If your server is listed here:

http://master.fear-combat.org/api/serverlist-raw.php

If you can’t see your server listed here, It’s being blocked by your AV/firewall.

b) If you can see the server in the previous list, but not ingame, the server can reach the master server, but clients can’t. So you are behind NAT, and you need the proper port forwarding. This changes depending on your hardware and the way you connect to the web, so you need to google about It.

c) I still can’t see my server, or my server stops responding after some mins.

You may have too much custom content files added to your server. This is known to cause problems like this; To get a 100% responsive server, max num or custom content files, including mods and maps, should be maximum 10, with a players limit of 18 players. for 10 players you can add 1 or 2 custom files more.

You can actually add more files, but this could make the server stop repplying once you get more players. This is currently being reseached, you can get more updates in this forum thread.

FEAR Combat powered by FEAR Combat Community © 2015