Killing floor 2 is the second game in the series from tripwire. The dedicated server setup is very similar to the first edition and works for both windows and linux operating systems (Linux not available in Beta Release). As the game is in early release right now expect that the servers will need to be updated constantly and crashing may happen on occasion. Killing floor 2 dedicated servers are setup using the SteamCMD program so expect some command line action for the basic setup.
I rented a 2gb Windows VPS server from cheapwindowsvps.com for 17 bucks (code: SAVE15) to test this out on. I will be going over hardware requirements after testing is complete. I use Windows Server 2012 for my testing of Killing floor 2 Dedicated Server files.
Ports Used: Make sure to port forward from your router and allow through your firewall!
Steam Ports: 27015 and 20560
Killing Floor 2 Ports: 7777
Windows Killing Floor 2 Dedicated Server Setup
PreReqs:
For a clean install of Server 2012 I needed to install DirectX runtime and C++ packages. You can download and install it directly from microsoft
- https://www.microsoft.com/en-us/download/details.aspx?id=35
- https://www.microsoft.com/en-us/download/details.aspx?id=26999
- Download the SteamCMD Update Tool: http://media.steampowered.com/installer/steamcmd.zip
- Extract the Zip folder to another directory (c:\steam)
- After extracting is complete open a Command Prompt Window
- Start
- Type “cmd”
- Select cmd.exe
- Navigate to the folder where you extracted SteamCMD too.
-
cd c:\steam
-
- Launch SteamCMD
-
steamcmd
-
- Login
-
login anonymous
- NOTE:
You must own Killing Floor 2 in order to Download the Killing floor 2 Dedicated Server Setup files. Make sure to use an account that has KF2. This has been changed - NOTE: If you have SteamGuard You will need to verify the account with SteamCMD. It will prompt you for this. The SteamGuard code should be in your email
-
- Set the Path to for the killing floor 2 dedicated server files to go to
-
force_install_dir c:\KF2Server\
- NOTE: You can set this to wherever you want. Just make sure the folder is already made and you have all full permissions to it
-
- Download or Update your Killing Floor 2 Dedicated Server
-
app_update 232130 validate
- NOTE: You can remove the validate part for updating your server
-
- Start your server
-
start c:\KF2Server\Binaries\win64\kfserver kf-bioticslab
- NOTE: This is the default server startup. Check the Advance configuration TAB for more options.
-
The KF2 beta is limited right now.
Killing Floor 2 Dedicated servers have optional setup procedures.
Inside the extracted folder you will see the \KFGame\Config\PCServer-KFGame.ini
Open this with a standard Text Editor (notepad++)
What can be edited
AdminPassword – This is the password for admin access
GamePassword – Set this if you want to have a password to connect to the game
ServerName – Set this if you want to have a non default name for your server
AdminContact – Add contact information (email/names) for players to contact the admins if needed
WebAdmin
Webadmin allows for easier management of your server. If you are not a command line wizard I recommend trying it out.
Open the KFweb.ini
Confirm line: bEnabled=true
ListenPort=8080
Change if you do not want default settings
Navigate to the IP of your machine plus :8080 with your favorite web browser
EXAMPLE: http://192.168.0.2:8080
Log in with your normal access credentials that you set in the above .ini file.
Videos are coming soon.
Hello,
Thanks for the guide! There is one problem for me tho, the start command doesn’t seem to be working. It says that start is not a correct command.
Whats wrong?
Hello,
Thanks for the guide! There is one problem for me tho, the start command doesn’t seem to be working. It says that start is not a correct command.
Whats wrong?
I think I solved it. Was starting it from the wrong folder.
Awesome! Glad it got resolved.
Happy gaming!
Hey man. I get this bug after I launch steamcmd by dragging it into the Command Prompt: Error: Steam needs to be online to update, Please confirm your network connection and try again. My steam is online tho, so I don’t really understand why this happens. Please help me
That is a wierd one. Try running the command prompt as admin
right click on cmd.exe > Run as Administrator
….
A restart is always a good idea as well
Hey, which folder were you starting it from? Having the same problem.
Hey! This guide is a nice condensed version from the wiki page but I did run into a problem. I can’t seem to get the dedicated server to download. It gives me an error and says (No Subscription) when I typed in that command. I may have not properly set the directory because when I type in that command there is no verification, is there suppose to be?
You need to log into steamcmd with an account that owns Killing Floor 2 in order to download the dedicated server files. That is what that error means. Steam is saying you do not own kf2 🙁
Thank you for the compliment!
Well that is strange, I’m using the only steam account I have and I just bought KF2 at around 3:30 today, it let me log in and everything just fine but that account definitely has KF2 on it… Any suggestion as to why it might do that? :/
try logging in as anonymous, worked for me.
I just baught the game, and i have followed all the steps, but when i get to the updating part, it either says failed to update no subscription, or that i am offline. I’m not sure what i am doing wrong!
Wait wait i just realized i installed it in D:\
Is that gonna be a problem?
Not at all! Just make sure that when you use the start command that you have the right path listed.
lol yeah i looked it up. still have the issue of it thinking i dont own it. everything works perfect until i try to update
same here Jon, it’s quite confusing!
Hey, I seem to have ran into a problem. Everything is working fine, but my friend cannot join the server. Any idea as to what could have gone wrong?
THE UPDATE CODE IS WRONG! THATS WHAT IT IS!!!!!!
lololololoololooolooo
the actual code should be 215350, unless thats just for me, but the tripwire siki said 215350
It shows 232130 on the wiki and on steams server home site. Not sure where that code came from…
Jon,
Have you actually tried that code and can confirm it works? The wiki does say 232130 but that also does not work for me.
Eh ill wipe my server and test it but it will be a couple hours before I respond! Sorry for the delay
Your code worked for me. but since my school got all the ports locked as i expected the batch file doesn’t run.
You’re right…was looking at the wiki for the original killing floor…
Haha it happens 😛 Wish I knew how to help you guys
well the last thing is it will not accept start as a command
Yes, I have this issue as well. It says “command not found: start”.
What now?
I am having the exact same “command not found: start” issue as well.
Anybody find a fix to this?
I really need help! I set the password inside the kfgame ini and im using the default admin username but it says invalid login for wbadmin
I set it up but apparently its a LAN server by default…how do I change that?
on app_update 232130, it tells me that it failed (No subscription), but I have kf2 on my account.
I do have the deluxe edition, could it be affecting it, even though I have the tool in my steam library
NEVERMIND I found a fix to this!
You simply have to log in as “anonymous”, no password necessary.
Great thank you for the update!
Ooo I bet that deluxe edition is the issue! Try logging in as anonymous and see if that works. Please let me know so I can update the guide.
Cheers for the guide. was easy enough to get going with your instructions. Found a few minor problems that I struggled with, but i eventually got there 🙂 cheers for the help.