Killing floor 2 как настроить сервер

Killing floor 2 как настроить сервер

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.

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

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.

For beta servers, check beta instructions on step 5.

( 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.)

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.

Open it again, and type:

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.

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.

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)

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.

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.

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.

LOGIN admin
PASSWORD 123

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

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.

-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.

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

IF some one need’s help, just ask here and i’ll reply
:v

Thumbs up for everyone who need it!!

Is the server local when its creating the server on your local adress?

[0008.18] ScriptLog: Web Server Created http://192.168.2.30:8080 Port: 8080 MaxCon 18 ExpirationSecs 86400 Enabled True

It worked 2 days ago but then they updated the server and now friends cannot join and they dont get any error message but my console says a steam ID and all ports are open

Источник

Killing floor 2 как настроить сервер

11,839 уникальных посетителей
495 добавили в избранное

  1. Установить steamcmd используя команду:

У сервера есть необходимое ПО для запуска и корректной работы, если есть проблемы с корректной работой, прежде всего стоит переустановить его, лежит оно в .\Binaries\Redist

Для работы необходимо открыть следующие порты в вашем роутере/брэндмауере

  • Карты:
    • kf-BioticsLab
    • kf-BurningParis
    • kf-Catacombs
    • kf-EvacuationPoint
    • kf-Manor
    • kf-Outpost
  • Режимы:
    • Game=KFGameContent.KFGameInfo_Survival
    • Game=KFGameContent.KFGameInfo_VersusSurvival

Опции

По дефолту, игра в режиме кооператива на 6 человек.

Для смены режима игры через WA необхожимо выбрать «VersusSurvival» в «Change Map» вкладке.

PvP возможен на следующих картах:

  • BurningParis
  • BioticsLab
  • Prison
  • VoltorManor
  • Farmhouse

Файлы для настройки сервера лежат \KFGame\Config\

Для корректного входа, необходимо ввесте заранее заданые имя и пароль администратора.

В правом верхнем углу предсавлены данные на текущий момент игры. Внизу Chat Console, при ее помощи можно отслеживать чат в игре

  • Server info — Данные сервера, представленны на скриншоте выше.
  • Change Map — смена карты и режима игры, добавление мутаторов и возможность смены порта для доступа к web admin.
  • Players — Информация по всем подключившемся к вашему серверу игрокам с возможностью производить на ними действия:
    • Kick — Выкинуть игрока.
    • Session ban — Забанить на время работы сервера.
    • Ban IP — Забанить игрока по IP-адрессу.
    • Ban Unique ID — Забанить игрока по уникальному ID.
    • Mute Voce — Заглушить игрока.
    • Unmute Voce — Снять заглушку с игрока.
  • Password — Смена пароля доуступа к сервера, и достуа к администрированию сервера.
  • Session bans — Список банов на время жизни сервера.
  • Banned IDS — Забаненые ID.
  • IP Masks — Действия над IP-маской:
    • Allow— Разрешить входить на сервер только данной IP-маске.
    • Deny — Запретить входить на сервер только данной IP-маске.
  • General -Различная информация сервера:
    • Server information — Имя сервера.
    • Connection — Максимально кол-во игроков и впемя АФК.
    • Cheat Detection — Защита от читов.
    • Game — Сложность и длинна игры.
    • Administration — Обьявлять когда админ заходит, возможность ставить игру на паузу.
    • Map voting — Голосование за карту.
    • Kick Voting — Голосование за изганание игрока.
    • Chat — Возможность использования чата игроками.
  • Gametypes — Режим игры, настройки различного времени ожидания.
  • Map Cycles — Цикл карт, выбор и задания цикла карт
  • Server Actors — Список мутаторов сервера.
  • Welcome Screen — Окно приветсвия сервера, с сообщением, изображением и ссылкой сервера.
  • Managment Console — Консоль.
  • Webadmin Settings — Настройки Web admin
  • Log Out — Выход

Где KF-Exmpl название карты.

  • = id предмета в адресной строки
  • Пример:
    Для карты по адрессу http://steamcommunity.com/sharedfiles/filedetails/?id=535769647строка примет вид
  1. Убедитесь что сервер не запущен.
  2. В файле PCServer-KFGame.ini найдите:
  • BannerLink — изображение должно быть в формате PNG >8bit
  • ServerMOTD — Сообщение отображаемое под изображением, используйте «\n» для разрыва строки.
  • WebsiteLink — Ссылка на ваш сайт
  • Сохраните изминения и запустите сервер
  • Мутатор — модификация игры, которая лишь частично изменяет игру. Согласно одному из подходов, «полноценные» моды нельзя совмещать (в игре одновременно может быть активно не более одного мода), в то время как в одной игре может быть одновременно включено несколько мутаторов.

    Для установки и работы мутаторов небходимо:

    1. Полложить файл с расширением *.u в папку .\KFGame\BrewedPC
    2. Положить файл с расширением *.ini в папку где хранятся ваши настройки сервера(по умолчанию .\KFGame\Config)
    3. Добавить название мутатора в Server Actors, в WebAdmine
      • Либо добавить название мутатора в командную строку запуска

    Найти и скачать мутаторы можно с офф.форума(темы с префиксом [Mutator]):

    • Готовые релизы [forums.tripwireinteractive.com]
    • Бета релизы [forums.tripwireinteractive.com]

    Это функция позволяющая задать настойки игры такие как: карта, длительность, режим, приватность и сложность и подстроить под эти настройки ближайший не занятый к вам сервер. Важно заметить, что сменятся только параметры игры, все пароли админов и прочее останутся не затронутыми.

    Написаное ниже, кастомная настройка и установка для UNIX систем с сайта: https://gameservermanagers.com/lgsm/kf2server/
    Приведенное ниже запускать на свой страх и риск.

    Рекомендуемый дистрибутивы и необходимые пакеты:

      Ubuntu 14.04+
    1. Создать пользователя и залогиниться за него
    • Обновить и автоматически перезапустить сервер:
    • Вытащить пароли, порты и прочие настройки:

    Позволяет провести простую установку, настройку сервера, а так же позволяет запускать и останваливать работу сервера на ОС семейства Windows.

    • Исходники приложения — https://github.com/IndigoSMDT/KF2—ServerApp
    • Само приложение — mega .nz/#!NUFCXSLY!4ESt2J39N4K9qQL-xs5o7PD7-XfoFxg_ljaJRlfhQU8

    Сканирование приложение VirusTotal [www.virustotal.com]

    Приложение не обновлялось пару лет и писалось на колене для личных нужд, поэтому возможны баги и прочее.

    Источник

    Читайте также:  Гироскутер не работает одна сторона мигает красным
    Оцените статью