Killing Floor 2

Killing Floor 2

İstatistiklere Bak:
Bu konu kilitlenmiştir.
TUTORIAL !!! HOW TO HOST KF2 SERVER
KF 2 did everything fine!

Except for hosting games. Not enought server's to play with your friends.


I'm here to explain how to create a DEDICATED SERVER FOR KF 2.

Seriously, this is EASY PEASY LEMON SQUEZY. Just follow steps one by one and have fun.

*NOTE*¹


On the END of the post you'll find common issues with servers and how to fix them.


*NOTE*¹

___________________________________________________________________________

*NOTE*

I usually have to open ports on my modem, for hosting something.

I didn't for that, i just did those steps right there and everything is Working.

I RECOMMEND TO SKIP THIS PART AND GO FOR STEP 1.


IF doesn't works AND you need to open your ports, here what you need:

7777 UDP
27015 UDP
8080 TCP
20560 UDP

Open all ports for UPD AND TCP, and you should be fine.

I have 30 mb of download and 3 mb of UPLOAD. Everyone get's 60-70 of ping. If is "international" player, gets 120-140 ping.

*NOTE*

************EDIT**************

For beta servers, check beta instructions on step 5.


STEP 1:

Download steamCMD.exe

http://media.steampowered.com/installer/steamcmd.zip

( you need it for download the "dedicated server" files for kf 2, you'll use it only to download the server files once, that's no reason to run this or keep it running after that. You will need this to UPDATE the server, if kf 2 recieve any updates. Keep that in mind.)

Step 2:

Execute steam cmd.

This step will trigger automatic update, and will download the cmd files to current folder.

( do not open on desktop, if you want to keep on desktop just create a folder and put it inside. You dont want 40 files on your desktop.)

After update is done, exit the program and go to next step.

Step 3:

Open it again, and type:

Login anonymous

Wait for steam connection. Once connected, go for next step.

Step 4: ( OPTIONAL)

*If you dont want to choose the folder and let it inside steam.cmd folder, just skip this step.*

Type this command line: "force_install_dir " plus directory you want to kf 2 server will be downloaded.

For exemple: force_install_dir c:\KF2Server\

The program will "lock on" the directory.


NEEEEXT STEEEP

Step 5:

Type this command line: "app_update 232130" to DOWLOAD the KF 2 Server files.

Once download is finished, close the CMD. You won't need him again until they update the game.


IMPORTANT


To update your kf 2 server to currently patch, just type:

force_install_dir *your kf 2 server directory* ( if you don't choose the path, just skip directly for the command_line for update)

and

app_update 232130 validate

The cmd will verify the files and download the update when finished.

To update your server to BETA patch, you just need to add the beta "code" on the end.

For example, i want to host my server for playing the new beta patch ( Firebug and Demo)

I'll type this command line:

app_update 232130 -beta preview

With this command, you can update to recent beta. Enjoy.


NEEEEXT STEP

Step 6:

Now, you downloaded all the files you need. You'll just config the server. Nothing more.

Execute your server first time, for default configurations appears.

just go for your kf2server folder and execute : KF2Server.bat

( I really recommend to create an shortcut for desktop, for easy acess.)

Wait until he loads the map, will take some time on the first time. When the server is done and executing, this thing will appears on KF2Server.bat window:

"
KF2 Version XXXXX
Initializing game engine completed.

STEAM GAME SERVER UID XXXXXXXXX

"

This last one: "STEAM GAME SERVER UID" Indicates that your server is working and communicating with steam servers just fine.

If this don't appears try to execute again.

If is not working yet, get back to CMD and try to verify the kf2 server files with the command line: "app_update 232130 validate"

This will repair any missing files or missing patchs.



Now, try to join on "LAN" servers on your browser and wait a little for some one connects if you want to test. or invite a friend to play.
( it's really fast to some one join, if takes more then 5 minutes something is wrong. )

Congrats, your server is running. I'll teach you to config the server right now.

If you did everything right, should work. CHECK your firewall and anti-virus programs, make sure nothing is blocking the server to works.

After you joing the game and test, close it and close KF2server.bat window for config the server on next step.

Step 7:

WEBADMIN.


Here you can control everything. Kick, ban, password, maps and difficulty of your server.


You just need your IPV4.


Go to WINDOWS cmd and type ipconfig


Copy your IPV4 and go to your browser.

Now, just add :8080 on the end of it and try to acess.

Should look like this : http://192.168.25.22:8080/

LOGIN admin
PASSWORD 123


Have fun.


NOTE: This can ONLY be used if the server is running.


Step 8: OPTIONAL


You will ONLY need this if you CANT acess the webadmin.

Webadmin is much better.


Go to KF 2 Server folder, and go to>KFGame>Config

And open this file on TXT

PCServer-KFGame.ini

You'll reach the games config, i'll put here the lines and what it does.


GameDifficulty= change the difficulty of the game. 0 for normal, 1 for hard, 2 for suicidal and 3 for HoE.

GamePassword= Set the password to join the server

GameLength= Set the number of waves, 0 for 4 waves, 1 for 7 waves, 2 for 10 waves.




------------------------------------------------------------COMMON ISSUES------------------------------------------------

-STEAM UID line is not appearing on server note.

> First of all, this represent your server ID on STEAM servers. So, this will appear everytime when the server is working and sending info to steam. Try Close the game before running the server, Open your ports or make an exception for KF servers on firewall or anti-virus.

-HOW TO OPEN DMZ?

>To config DMZ, you'll need to find out your IP adress.( the local one)

Go to CMD, type : ipconfig

Copy the IPV4 Adress into DMZ.

Save and restart the modem.


- Can't acess WEBADMIN

>Go to your server files, one special line is about enable WEBADMIN.

Try to check it.

-I Can see the server but friends can't join and neither appears on serverbrowser.

> Probably Bad DMZ configuration or port fowarding.


- KF 2 server won't download on steamCMD

> Try to put it on another disk or folder. Execute on ADMIN mode.




END

========___________________===========__________________________========


that's all you need to config the basis of server. I wont put here Advanced config's cuz you dont need it.

Every time you want to host, open the kf2server.bat and have fun. Remember to update the server everytime the game recieve a patch, and saying the obvius, do not close the KF2server.bat when you are hosting! THANKS CPT OBVIUS.

You're done here!!

Wtf, are you still here? GO PLAY KF2 WITH FRIENDSS!!! 10/10 GOTY
En son Bruxo tarafından düzenlendi; 8 Eyl 2015 @ 17:45
< >
652 yorumdan 436 ile 450 arası gösteriliyor
Check map cycles tab, the list on the right is your cycle, check map list selection is the correct list (active) if not theres a 'make active' button below the cycle list
İlk olarak Qlimax tarafından gönderildi:
Check map cycles tab, the list on the right is your cycle, check map list selection is the correct list (active) if not theres a 'make active' button below the cycle list

I checked my map cycle and it's active. Could it have something to do with the .bat file? I have it set to load The Descent when I launch the server.
Does this still work with this method?
the .bat file will not effect the map cycles
My server Runs and I can connect to it no problem but my friends are not able to join, they just get booted to the main menu. Any ideas?
Rascal (Yasaklı) 29 Nis 2017 @ 20:30 
İlk olarak lhroyden tarafından gönderildi:
My server Runs and I can connect to it no problem but my friends are not able to join, they just get booted to the main menu. Any ideas?
Why did you necro this thread?
İlk olarak Bruxo tarafından gönderildi:
IF some one need's help, just ask here and i'll reply
:v


Thumbs up for everyone who need it!!
i cant open the kf server bat file, when i click to open it closes instantly wtf
put a pause at the bottom of the bat this should keep it open so you can see any errors
My server opens but I can't see the Game UID thing in console and I can't see my server in the server list and neither my friend, what's the deal?

EDIT: Nevermind It's working now.
En son Shapeshifter tarafından düzenlendi; 9 May 2017 @ 4:55
I followed all your steps but the STEAM GAME SERVER UID did not appear. I don't know how to forward ports so I didn't. Other than that, I tried everything
İlk olarak Shapeshifter tarafından gönderildi:
My server opens but I can't see the Game UID thing in console and I can't see my server in the server list and neither my friend, what's the deal?

EDIT: Nevermind It's working now.

How did you get it to work?
İlk olarak KUL_Bon Scotty tarafından gönderildi:
İlk olarak Shapeshifter tarafından gönderildi:
My server opens but I can't see the Game UID thing in console and I can't see my server in the server list and neither my friend, what's the deal?

EDIT: Nevermind It's working now.

How did you get it to work?
If I remember corectly I was trying to open the server after I opened the game and that is not working for one reason or another. You have to start your server first then the game BUT if you didn't port forward the ports it will not work at all it doesn't matter what you do. It's not that hard actually it all depends on your router. I didn't know how to port forward either it seemed like an alien job for me but after I learned and then I was like "I was really that dumb?" And now I can port forward any game. Search for your router model on google and how to port forward that might help, it helped me.
i cant change the ♥♥♥♥♥♥♥ game mode to weekly challenge

server resets itself to survival
adding he weeklysurvival thing to the server .bat file dont work
my server only appear on lan not internet
İlk olarak Ben tarafından gönderildi:
my server only appear on lan not internet
Yeah exactly, because you didn't openend your ports only you can see your server
< >
652 yorumdan 436 ile 450 arası gösteriliyor
Sayfa başına: 1530 50

Gönderilme Tarihi: 23 Nis 2015 @ 22:14
İleti: 652