How to setup a Dedicated server for Killing Floor 2
Publisher: Psychz Networks, April 06,2021The game hones in on the primary appeal of killing Zombies without the complications of reaching waypoints or setting up intricate fortifications. Killing Floor 2 is a first-person shooter video game that can be played alone or cooperatively with up to six players. The game is based on events from Killing Floor, in which biotech firm Horzine attempted to create military clones and was hijacked by an insane researcher who unleashed the clones across the UK.
The following article will see how to deploy Killing Floor 2 on a Windows 2019 Server Edition dedicated server.
- Configuration
- Ports required
- Setting up Steam
- Installing Killing Floor 2
- Starting Game server
- Connecting to the game server
System Configuration(Recommended)
- Processor: CPU 2.2GHz, 2 cores
- Ram: 4 GB RAM
- Storage: 10GB Free space
Server ports
The following list of ports need to be open for a server to run successfully:
- 7707 UDP/IP (Game Port)
- 7708 UDP/IP (Query Port)
- 7717 UDP/IP (GameSpy Query Port)
- 28852 TCP/IP and UDP (Allows your Server to Connect to the Master Server Browser)
- 8075 TCP/IP (Port set via ListenPort that your WebAdmin will run on)
- 20560 UDP/IP (Steam Port)
Since the game runs with the Steam backend, if you are running more than one server per IP, you will need to make sure that you have some additional ports open beyond the default Killing Floor 2 ports. If you change the default Game Port from 7707, this change will be reflected in the Master Server Port (28852) and the Steam Port (20560).
Note: You must also change OldQueryPortNumber=7717 under [IpDrv.UdpGamespyQuery] in the KillingFloor.ini to match the increase of the 7707 port. So if you change 7707 to 7807, then 7717 would change to 7817. If this is not done, the server will crash when starting.
Setting up Steam
First, create a folder for SteamCMD.
e.g.
Download SteamCMD from the following link https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip
Now, unzip all the contents to C:\steamcmd folder
Installing Killing Floor 2 server
We will now login to the steamcmd server. Double click on the steamcmd.exe. This should open a console with a command prompt.
Output
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Steam>
Now let us login to the steam account using anonymous. You can log in from your account if you have one.
Steam>login anonymous
Output
Waiting for user info...OK
Steam>
Now, let us create a folder where we would like to install all game files and dependencies.
Steam> force_install_dir c:\kf2
Now, Install the game server. If you selected the directory that already contains the game, it would be updated:
steam> app_update 215360 validate
Output:
Update state (0x61) downloading, progress: 95.08 (2262656960 / 2379859763)
Update state (0x61) downloading, progress: 95.08 (2262656960 / 2379859763)
Update state (0x61) downloading, progress: 95.08 (2262656960 / 2379859763)
Update state (0x61) downloading, progress: 95.08 (2262656960 / 2379859763)
Update state (0x61) downloading, progress: 95.08 (2262656960 / 2379859763)
Update state (0x61) downloading, progress: 95.08 (2262656960 / 2379859763)
Update state (0x61) downloading, progress: 96.72 (2301832601 / 2379859763)
Update state (0x101) committing, progress: 81.66 (1943365121 / 2379859763)
Success! App '215360' fully installed.
Once finished, type 'quit' at the Steam> prompt to properly log off the Steam servers.
Starting the Server
Use the batch file downloaded with the server or create your own. To launch a server with default settings on Survival Biotics Lab, use the following batch script:
start .\Binaries\win64\kfserver kf-bioticslab
By default, the game will launch into the Survival coop game mode, which is a six-player game mode.
Connecting to Killing Floor 2 server
You can Start Killing Floor 2 on your local machine and open the console by pressing the '~' key right above the TAB button.
Enter the command
open ServerIP:Port?password=your_password
e.g.
You should be able to now connect to your server.
Congratulations!! You have successfully installed and launched Killing Floor 2 on your Windows dedicated server. You can now invite your friends or other players online by promoting your server name or simply sharing your Public IP address.
We hope you have found this guide helpful and could successfully deploy Killing Floor on your Windows server. Please click on the up-vote button to show your appreciation.