left 4 dead dedicated server что это

Left 4 dead dedicated server что это

This process is the same for all source engine games. If you already have the server files or have installed a SRCDS via SteamCMD before and know how to download server files, you can skip this.

Steam now uses SteamCMD (formerly HLDSUpdateTool) to download server files.

Download SteamCMD for your respective Operating System:
Windows
Linux

After you have downloaded SteamCMD, extract the steamcmd.exe to a folder on your server drive.

This makes it easier to send the directory command as it is shorter.

However, you can paste text to CMD prompts by right clicking in the CMD header:

Run the steamcmd.exe to install the tool’s files, the dialog will appear installing files:

Note: Do not install server files within the SteamCMD folder.

While SteamCMD is downloading the tool, go ahead and setup your server directory.

This guide uses the root of a Hard Drive: E:\L4D2

Note: Using the root of a Hard Drive makes it easier to navigate through file structures and execute Change Directory (cd) commands in SteamCMD, however remember you can paste your server directory into the prompt should you decide to place it alongside the Left 4 Dead 2 game folder in your Steam Client Directory:

You can make a folder anywhere except within the SteamCMD folder!

Once SteamCMD has completed downloading its files, the dialog box will look like:

Left 4 Dead 2 uses the APPID 222860, you can login anonymously to download the server files (see all app ID’s here):

Assuming you have already created your server folder (E:\L4D2) send the following:

Note: Use your server directory!

Note: Here is a list of all Steam Application ID’s for reference to installing other server games.

This process is the same for all game servers, they just have a different (unique) Application ID

This may take some time to download all the necessary files, when complete:

Send the quit command and hit Enter:

There are many resources out there for Port Forwarding. This guide is aimed at servers that are hosting on a provider or system other than the game client. This guide will work for Listen Servers (Listen Servers are servers hosted on the same Computer that you play the game on)

Those creating a Listen Server will encounter Port Forwarding issues which if you know how to access your router control panel, is an easy fix. For those not familiar with the process, please utilize Google and other resources such as the ones below for assistance in forwarding your ports.

If you are hosting your server on a game server provider (GameServers, VPS (Virtual Private Server such as NFOServers) or a host that you actually pay for, then you don’t need to worry about this as your provider should have all ports forwarded automatically depending on what server you are hosting. By default the L4D2 port is 27015 however it may have a range from 27015-27020 or more.

By default the server.cfg does not exist after installing and creating your server. You will need to create one:
Here [www.dropbox.com] is a very detailed server.cfg
Here [www.dropbox.com] is a standard L4D2 server.cfg

Note: Be sure to rename these files to «server.cfg» should you decide to download and install to your server!

To create a new server.cfg, create the cfg within a text editor such as notepad, or Sublime Text [www.sublimetext.com] or notepad++ [notepad-plus-plus.org] and save the file as server.cfg

The server.cfg file should be located at:

Create this file using notepad, simply right-click in the folder and select New⇒Text Document. Don’t name it anything yet; just creat a blank text file.

For a complete list of L4D2 Cvars, see this

For a text file list of all L4D2 Cvars see this [www.dropbox.com]

One of the most important things to keep in mind while writing the server.cfg is the syntax. It is very simple actually.

Every variable has to be put on its own line, or else it will not be read/executed and the server console may report an error about it so you can narrow down the issue.

If you have spaces somewhere (the name of the server for example), be sure to write it between quotes.

Here are some explanations on the most important variables:

sv_maxupdaterate 100:
This variable sets the maximum amount of updates the server will send to each client per second. If you set this to 100, your server will run optimally because the tickrate automatically adjusts this value. Having a tickrate of 33 will make this variable 33 as well. Thus, a setting of 100 for this variable is more or less a “one size fits all.”

sv_minupdaterate 20:
This variable is the opposite of maxupdaterate. During the years I’ve been hosting servers, I’ve found out that when the updates drop below 20 per second, clients start to experience lag. That’s why we set this to 20; just like maxupdaterate, this value fits all servers.

sv_maxrate:
This variable probably has the most impact on the quality of the server performance. It’s the maximum amount of data sent to one client per second. If you don’t have a great connection, you can set this variable to make your server run perfectly. As I explained above, this has something to do with the maxplayers of the server. To calculate this variable we use a formula; it’s simple and 90% accurate.

Читайте также:  что делать если котенок хочет на улицу

Here [www.dropbox.com] is an example server.cfg file you can download and edit. Just be sure to name it server.cfg

return error within the console!

Happy server customizing and configuring!

(This section will be re-written)

Every time a player enters a Left 4 Dead server online, a message of the day screen welcomes them. There’s a default MOTD, but if you’re paying for your own server, you probably want to customize it. This guide will show you how.

First, we’ll look at the actual MOTD screen:

There’s two sections that you are able to customize: the host banner on top and the message of the day which takes up the majority of the screen on the bottom. These two sections are actually just web pages (html files), which can be entered into the files on the server or hosted on your own web server/web host. The two files to control these sections are “host.txt” for the host banner, and “motd.txt” for the MOTD. You can find these in your server’s L4D directory at l4d/left4dead/. Note that this is NOT the same directory as the server.cfg file that you use to change server settings. The server.cfg file is located in l4d/left4dead/cfg/.

One very important thing to realize about the MOTD and host banner is that they change sizes depending on the resolution the player is running at. The following values are in pixels, you can click on the screen resolutions to see what the MOTD looks like on that resolution:

The ratio of width to height for the host banner is 5:1, and the ratio of width to height is 2:1. You have two choices with the host banner: either make it one large size and have it be cropped for people on lower resolutions (which is what I believe Valve does), or you can use some CSS in your HTML code to automatically resize the banner no matter what resolution a player is using. This is the method we use, and it’s a simple little trick.

Источник

Установка и настройка выделенного сервера Left4Dead

Статья максимально упрощена и доступна для любого игрока. Рассматривается только операционная система Windows.

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

Часть 1. Установка сервера

1.1 Технические требования для развертывания сервера

Не рекомендуется устанавливать сервер на той же машине, где запускается клиент л4д (например ваша игровая машина). Ничего кроме проблем себе и другим это не создаст.

1.2 Установка сервера

В той же папке создайте новый файл update-l4d.bat со следующим содержимым:

-game left4dead: параметр определяет, какая именно игра будет установлена. В данном случае нас интересует именно left4dead.

-dir C:\SERVER\GAMES: определяет корневую папку для установки игры.

Запустите update-l4d.bat. При первом запуске произойдет автоматическое обновление утилиты HLDSUpdateTool, после чего программа завершится. Необходимо повторно запустить update-l4d.bat.

При наличии стабильного соединения с интернетом начнется установка игрового сервера. Все файлы игры будут взяты с официального сервера Steam (

3Gb!). Процесс установки показан в консоли утилиты. В зависимости от скорости канала, установка занимает от 10 минут до нескольких часов.

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

Вместо этого произведем тонкую донастройку параметров сервера, используя конфигурационные файлы. В папке C:\SERVER\GAMES\l4d\left4dead\cfg создайте файл l4d-vs1.cfg со следующим содержимым:

1.3 Установка модов и плагинов

Вы должны скачать и установить следующие моды и плагины в указанном порядке:

1.3.1 Metamod

Данный код означает, что при старте сервера будет загружен файл метамода server.dll, расположенный по указанному выше адресу. Ничего менять в этом коде не требуется.

1.3.2 Sourcemod

На текущий момент последней версией Сорсмода является 2.1.4.

Zip-архив распаковать в ту же папку с игрой C:\SERVER\GAMES\l4d\left4dead, по аналогии с метамодом.

1.3.3 Турнирный плагин ReadyUp

1.3.4 Конфиг CEVO

Сервер не будет полным без специального конфига, ограничивающего игровой процесс в рамках турнирных правил. Благодаря конфигу CEVO на картах нет ни одной случайной аптечки (вместо них только таблетки). Кроме того, на каждой карте гарантированно появляется Танк.

Конфиг состоит из 3 файлов, которые необходимо скопировать в папку C:\SERVER\GAMES\l4d\left4dead\cfg. cevo.cfg

// / __ \| ___| | | || _ | | | / | _ \

// \____/\____/ \___/ \___/ \_____/ |_/___/

// Last updated: June 25, 2009

//Adjust tank spawns: 100% chance on every map

sm_cvar versus_tank_chance_intro 1

sm_cvar versus_tank_chance_finale 1

sm_cvar versus_tank_chance 1

//Adjust witch spawns: 0% chance on 1,5, default chance on 2,3,4

sm_cvar versus_witch_chance_intro 0

sm_cvar versus_witch_chance_finale 0

//Adjust boss spawn completion rates: 90% on 1-4

sm_cvar versus_boss_flow_max_intro 0.9

sm_cvar versus_boss_flow_max 0.9

//Tanks spawn in the same place for both teams

sm_cvar versus_tank_flow_team_variation 0.0

//Allow players to switch teams 9999 times per map

sm_cvar vs_max_team_switches 9999

//Turn almost all spawnable medkits into pills

sm_cvar director_convert_pills 0

sm_cvar director_vs_convert_pills 0.0

sm_cvar director_pain_pill_density 5.0

//Disable tank suiciding if no AI path to survivors

sm_cvar tank_stuck_time_suicide 99999999999

//Disable all SM plugins except for core, RUP, scores

//Restart the map after 5 seconds

//Configure the scores plugin

l4d_team_order 3 // ABABA

say «CEVO Config has been loaded, last updated 6/25/2009»

Источник

Left 4 dead dedicated server что это

En este caso vamos a utilizar una aplicación externa para la instalación, Linux Game Server Manager.
Instalaremos en nuestra cuenta principal las dependencias de la aplicación y del
Gameserver.

En este punto es necesario crear otra cuenta, la cuál se encargara de iniciar el GameServer.

Logeamos en la cuenta.

Acá instalamos el script de instalación.

Iniciamos y aceptamos la instalación.

Una vez instalado ejecutamos el servidor para que genere algunos archivos que editaremos.

lo detenemos para editar los archivos.

En fillezilla iniciaremos el gestor de sitios y añadiremos un nuevo sitio ingresando la ip del host, la cuenta de l4d2, el puerto en blanco (por defecto 22) y cambiaremos el protocolo a SFTP.

En algunos casos el script detectara múltiples identidades locales.

Esto se resuelve añadiendo una de las ips que te señalara la consola al archivo de inicio.

Como nuestro objetivo es vanilla, descargaremos sourcemod [www.sourcemod.net] y metamod [www.sourcemm.net] de sus ultimas versiones para linux.

Adicional mente tendremos que descargar el vdf [www.sourcemm.net] de metamod, seleccionamos l4d2 y descargamos.

Descomprimimos y mezclamos las carpetas, reemplazamos el vdf que viene por defecto en metamod, por el que generamos en su web.

Ahora toca Editar algunos archivos para luego subirlos.

Admin.cfg
En este archivos agregaremos a admins al servidor, me reservaré a explicar limitadamente el tema, que para mas información hay muchos videos en youtube.

Nuestro archivo principal será renombrado por el script de «server.cfg» a «l4d2server.cfg» y se encuentra en la siguiente dirección.

Источник

Left 4 dead dedicated server что это

This guide will show you how to set up a server with the SteamCMD.

The following ports must be open:

Also you will need 8GB of hard drive disk space.

I also created a tool, that automates the installation process. You can find this tool here:
https://steamcommunity.com/groups/ServerTool

This will create a folder with the name «l4d2ds» and it will put in the files in this folder.

Now you can start the download with:

You can also change the port with «-port 27015»
With this, you just created your Server!

Important:
If you host your server on the same machine, you should start L4D2 first and then your server.

To edit the «Message of the day» just open the «motd.txt» file.

You can change the serverbanner in your «host.txt» file.

By now there should be an «addons» folder.
Now you need Sourcemod, you can get this here. [www.sourcemod.net]
You can also get the Plugins from there later.

Also extract that in this folder:

For the following you will need your SteamID, you can find yours out here:
http://steamidfinder.com

To configurate an admin, go to:

If you have configurate it, write in the chat «!admin» or in the console «sm_admin» to open the menu.

And that´s it! Have fun! ^_^

I can not see my server / No one can connect to my server
Please make sure, that you have opened all the required ports in your router. If the everything is set correctly, but the problem still occurs, please contact your internet provider.
Or look for your router model here:
https://portforward.com/router.htm

Is there another way instead of opening the ports?
Yes, you can also host your server through a VPN network like «Hamachi». Of course only the people in the VPN network will be able to join the server then.
If forwarding your ports doesn´t work, please contact your ISP, i won´t be able to help you.

How can i change my server port?
Just edit the bat file with «-port 27015»

The SteamCMD download failed! What should I do now?
Mostly you just need to retry the download, then the problem should be fixed.

How do I update my server?
Just open the SteamCMD and login again, then retry the Step «Downloading the files» it will be checked which files need to be updated.

To automate these steps to setup/upgrade a server, i created a tool, the group can be founde here:
http://steamcommunity.com/groups/ServerTool

The tool itself is hosted on Github, which can be found here:
https://github.com/Zeromix9/ServerTool

I hope, that will help you in the future!

I had a problem with MotD not showing and it was because i had mods installed by subscription.
I unsubscribe from the only mod i have downloaded from steam and install it manually.

Since then my motd is working fine.

@Black Cat™ Well, then have fun and good luck, i´ve an auto restart batch script, which I could send you, if you need it.

And no problem, i´m trying to help as much as I can.

Thanks again for your answer and stay safe
🙂

Источник

Left 4 dead dedicated server что это

Пошаговое руководство от установки до запуска сервера и его модификация, согласно вашим предпочтениям

Распаковываем утилиту в любую папку, например: C:\steamcmd
Запускаем steamcmd.exe и ждем пока утилита обновиться до последней версии

Вариант №2: Создание скрипта для автоматического запуска установки сервера

В папке steamcmd создаем текстовый файл run.txt и вносим строку:

Сохраняем файл, изменяем расширение с .txt на .bat у вас будет файл run.bat

Запускаем файл run.bat и ждем пока загрузится сервер

Когда сервер полностью загрузится, в консоли Вы увидите следующее:

После загрузки сервера приступаем к установке базовых модов которые будут основой сервера

Переходим по ссылке выше, в выпадающем списке выбираем Left 4 Dead и нажимаем кнопку Generate metamod.vdf

Сохраняем файл metamod.vdf он нам еще понадобится позже

Установка metamod:
Открываем корень папки сервера, переходим в папку . \left4dead\ копируем содержимое архива metamod в папку . \left4dead\addons\; в итоге у Вас в папке . \addons\ будет папка . \metamod\ и файл metamod.vdf, сюда же копируем наш файл metamod.vdf который мы создали на сайте metamod [sourcemm.net] (копируем с заменой)
Установка metamod завершена

Установка sourcemod:
Открываем корень папки сервера, переходим в папку . \left4dead\ копируем содержимое архива sourcemod в папку . \left4dead\addons\; в итоге у Вас в папке . \addons\ будет папка sourcemod, а также в папке . \left4dead\cfg\ будет папка . \sourcemod\ с файлами конфигурации (о них я расскажу позже)
Установка sourcemod завершена

Настройка metamod не требуется, поэтому переходим к настройке sourcemod

Добавление администратора на сервер:

Переходим по пути . \left4dead\addons\sourcemod\configs\
Открываем файл admins_simple.ini и добавляем в самый конец строчку:

По мимо steam ID, можно использовать IP адрес или Ник игрока (имеется возможность установить пароль, во избежании получения прав другим игроком с таким же ником)

Иммунитет присваивается в диапазоне от 0 до 99, т.е. администратор с меньшим числом может быть кикнут/забанен администратором с большим числом

(тильду), открывается консоль, набираем status

Этот steam ID добавляем в файл admins_simple.ini указывая иммунитет и флаг

Можно пойти по более сложному пути, узнать steam ID на сайте:

Используйте любой другой сайт, я лишь привожу пример одного сайта, не сочтите за рекламу

В левое поле вставляем свой ID профиля или ссылку на профиль

Будет что-то вроде этого https://steamcommunity.com/id/76561198969735404/ нажимаем кнопку «Get disappointed in your life»

В итоге вы получите информацию по вашему профилю, как на примере ниже:

Поле Steam2 ID указан на скриншоте выше, и есть ваш steam ID

На этом мы завершили добавление администратора на сервер

На данном этапе у нас имеется готовый сервер, который требуется предварительно настроить:

Сохраняем и изменяем расширение на .bat, получается файл RUN.bat

Обратите внимание, в зависимости от режима игры необходимо правильно указывать карту

Этот файл является основным конфигурационным и с него читаются настройки при запуске и смене карты на сервере

Переходим по пути . \left4dead\cfg\ создаем текстовый файл server.txt открываем его и вносим строки:

Так же в этом файле могут содержаться общепринятые квары и квары плагинов (об этом поговорим позже)

На этом начальная настройка сервера завершена

На данном этапе у нас есть настроенный сервер готовый к запуску.
Чтобы запустить сервер запускаем RUN.bat, запустится консоль и в ней будет отображаться вся информация о сервере:

После запуска сервера доступны следующие команды:

Таким образом если сервер в консоли показывает информацию так как на скриншоте выше, установка модов правильная, если вы получаете unknown command, значит вы не правильно установили мод(ы), необходимо вернуться к пункту «Установка базовых модов и их настройка»

По мимо основных команд meta и sm, доступны другие команды, которые указаны на скриншоте выше (о них я расскажу позже)

На самом деле запуск сервера и клиента на одном компьютере не желателен, в плане использования больших ресурсов компьютера и стабильности сервера. Но если нет еще одного компьютера под рукой, будем использовать один и тот же компьютер для установки, настройки плагинов, а так же тестирования внесенных изменений

Обычное поведение при попытке запустить сервер и игру на одном ПК: игра может не запустится либо сервер выдаст ошибку или не запустится вовсе.

Создаем ярлык на файл left4dead.exe (главный файл игры), обычно путь к игре по умолчанию:

Чтобы игра запускалась без ошибок, должен быть запущен стим клиент (в любом случае без него Вы не запустите игру)

Теперь можно попробовать запустить сервер и клиент (игру) одновременно. Не забываем запускать игру с ярлыка который мы настроили:

Для просмотра форума Вам необходимы минимальные знания английского языка, а так же не забывайте просмотреть все комментарии к плагину, т.к. можно пропустить полезные советы, исправления багов а так же новые версии плагинов (к сожалению не все авторы обновляют шапку и чтобы найти новую версию плагина приходится пролистывать более 100 коментариев, что не всегда удобно)

Установка плагинов для sourcemod:

Находим файл l4d_superversus.cfg, открываем его и приступаем к редактированию под Ваши нужды.

(по строкам сверху вниз):

1. Описание квара
2. Значение по умолчанию
3. Минимальное значение квара
4. Максимальное значение квара
5. Сам квар с значением

Пример конфигурационного файла l4d_superversus.cfg

И так, после настройки конфигурационного файла сохраняем его, запускаем сервер и начинаем тестировать плагин.

Чтобы проверить правильно ли работает плагин и/или загружен ли он, в консоли пишем sm plugins list

После этого снова пробуем команду sm plugins list проверяем изменился ли статус плагина или же остался прежним.

Если проблема с плагином остается можно порекомендовать загрузить его снова или поискать новую версию (возможно был баг и в новой версии это исправили, но бывает что проблема остается, можно поискать старую версию), а так же поискать альтернативный плагин со схожими функциями.

При установке большинства плагинов не должно возникать конфликтов между плагинами, однако бывает что схожие плагины (с похожими и/или использующими одинаковые квары/функции) могут конфликтовать, которые в свою очередь влияют на стабильность сервера.

всего кваров/команд в списке: 4429

Пояснение по таблице кваров:

15.08.2017
— первая версия руководства

04.01.2018
— исправление орфографических ошибок
— добавлен раздел «История изменений»
— поправил ссылки на VC++ Hybrid
— другие мелкие правки

14.10.2018
— поправил ссылки
— добавлен раздел «В планах»

Источник

Сказочный портал