Killing Floor Dedicated Server on Linux

From banana_wiki
Jump to: navigation, search

This tutorial will cover installing Killing Floor dedicated server on a debian linux server.

dependencies

if on a x64 system.

dpkg --add-architecture i386 && apt-get update
apt-get install lib32stdc++6 ia32-libs

make a directory for steamcmd

mkdir steamcmd && cd steamcmd

download steamcmd and extract

tar zxf steamcmd.tar.gz

run steamcmd once so that it makes the correct directories

./steamcmd.sh

now login to steamcmd (use a blank steam account)

login <username> <password>

you will have to get the steamguard code from the email attached to the account and then login again.

set_steam_guard_code yourcodehere
login <username> <password>

Now on to the actual Killing Floor installation.

force_install_dir /home/user/killingfloor
app_update 215360 validate

This will take awhile, as it pulls in all the files it needs, once it is done you have a server installed!

Running the server

This will start the server in basic form, stock and ready to go.

./ucc-bin server KF-bioticslab.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6 -nohomedir

KillingFloor.ini

Some settings you will want to adjust:

edit KillingFloor.ini in the System folder

for an admin setup

Server name and passwords
ServerName=Killing Floor Server
GamePassword=
Adminpassword=

This will be the credentials for in game and webadmin (http://yourserverip:8075)

Adding custom maps with fast download

Download custom map and place in “maps” folder.

Compress the maps with:

./ucc-bin compress ../Maps/KF-Porn-Shop-Beta6.rom

Go to your map folder and you’ll see the compressed map as <mapname.rom.uz2>.

Remove this compressed map from your map folder and upload it to your web folder (maybe /var/www/maps ?).

Go to your KillingFloor.ini and under:

[IpDrv.HTTPDownload]
RedirectToURL=http://www.yourhost.com/maps/

Now you have the custom maps installed and with faster downloading, just add them to your maplist from webadmin..

Mutators

Reserved Slots
This add-on allows you to add reserved slots. Players with the correct login details can still enter a server that is at capicity. This add-on replaces the AccessControl (both the single admin and multiple admin system are supported), so this mod doesn’t work with other mods that replace the AccessControl.

Download ServerExt-v110.zip archive

Extract the files to the KillingFloor server directory

Edit KillingFloor.ini

[Engine.GameInfo]
AccessControlClass=ServerExt.ReservedSlots

and add

[ServerExt.ReservedSlots]
bSilentAdmin=false
SlotManagerClasses=ServerExt.SlotManager 

Now you can go into your webadmin page and add reserved slots in.

Max Players

Download the (KFMaxPlayers.zip)[1]

Extract the file to the System folder in the killing floor folder.

Edit the max players in KillingFloor.ini

and also add

ServerActors=IpDrv.MasterServerUplink
ServerActors=UWeb.WebServer
ServerActors=KFMaxPlayers.KFMaxPlayers

Notes:

Server ports

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)

Sources:

1 2 3 4 5