Dayz свой сервер linux

Dayz свой сервер linux

/r/dayz — Discuss and share content for DayZ, the post-apocalyptic open world survival game.

Brief guide which I’ll update as I go.

This was done on Linux Mint 18.3, tried using PlayOnLinux to install steam which worked but couldn’t get a x64 version of wine loaded so I did this instead.

  1. Follow the steps on here to install Wine directly — https://wiki.winehq.org/Ubuntu (I used the staging branch)
  2. That installed wine to /opt/wine-staging, this is just for information.
  3. Download the windows steam installer https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe
  4. When downloaded, right click on it and select open with wine (or words to that effect).
  5. Go through the install process and log in to your steam account.
  6. When in steam, click on library / tools, right click on DayZServer and select install.
  7. This will install to Home/.wine/drive_c/program files (x86)/steam/steamapps/common/dayzserver
  8. Create a batch file as described elsewhere in this sub reddit.
  9. Right click on your batch file and run it with wine.
  10. The screen did lock up for a while but just minimising the windows (windows key + D) seemed to sort it out.
  11. Configure your router firewall to port forward your port (TCP), i.e. mines 2302.
  12. That should be about it.

Hope it helps someone who doesn’t have a spare Windows license 🙂

I found that no dynamic zombies where spawning so after a bit of digging I came across this post https://forums.dayz.com/topic/239757-zombies-not-spawning-regular/

In particular this section;

I messed around with the loot economy xml files and perhaps found some kind of a fix.

In events.xml I noticed that the ambient animal «children» all had both max and min values, whereas the infected all had max=0. By changing the max to a value equal to or higher than the min, I’ve been able to have infected in more than one town.

As an example for InfectedVillage:

I haven’t done a lot of testing, but so far managed to spawn into Gorka, then run to Polana and Orlovets and see infected in both villages. On a second attempt, I spawned in Solnichniy, ran north to Nizhnoye and also found infected there.

Perhaps it’s more akin to treating the symptoms than actually fixing the issue, but it at least makes the server more fun!

My current events.xml is here: https://www.dropbox.com/s/zywrb7swa1ezh6l/events.xml?dl=0 . I’m sure the values can be optimized with further testing.

Читайте также:  Install lan driver in linux

Edited 22 minutes ago by ColKernel
Added link to my events.xml»

Источник

Dayz свой сервер linux

Detailed Guide to setup a DayZ Server on a Linux machine running Debian or Ubuntu!
For dedicated Root and V-Server with SSH/Console access running on a remote/local installed system.

2

3

2

4

2

1

1

1

1

1

sudo dpkg —add-architecture i386; sudo apt update; sudo apt install tmux nano htop curl lib32gcc1 lib32stdc++6 psmisc wget rename -y

sudo dpkg —add-architecture i386; sudo apt update; sudo apt install tmux nano htop curl lib32gcc-s1 lib32stdc++6 psmisc wget rename -y

The installation of steamcmd and the serverfiles starts automatically!
*update the script with ‘./dayzserver us‘ to get fixes
**(nano: ctrl+x then yes to save)

Now you can modify the serverDZ.cfg (located in the serverfiles folder),
More information at: the dayz-server-files-documentation [forums.dayz.com]

The following command show you the config files to setup your server.
(nano will be used to open the files)

Information! Press «CTRL+b» then «d» to exit console.
Warning! Do NOT press CTRL+c to exit. It will shut down the Server!

The Script can download and update Mods from the Steam Workshop.
It will look for the Workshop ID in the ‘.workshop.cfg’ file.

You can find the ID in the Steam Adress bar.

To load the desired Mod, the script config ‘[1] (.dayzserver.cfg)‘ contains the «-mod=» parameter.

# Steam Workshop # to enable mods, remove the # below and enter the Mods like this: «-mod=@Mod1;@Mod2;@Mod3» #workshop=»-mod=»

If you are up to modify the Mission, keep in mind that an update can overwrite the files!
Make a copy of it and change whatever you want!

cp -r ~/serverfiles/mpmissions/dayzOffline.chernarusplus/ ~/serverfiles/mpmissions/mydayzmission.chernarusplus/

class Missions
class DayZ
template=»mydayzmission.chernarusplus»; // Mission to load on server startup. .
>;
>;

You can find the Logfiles under «$/serverprofile/»
(folder will be created upon serverstart)

Every start the Server will create a new file:

The Script will copy the key files into the right place (as long as the mod also have it in a keys folder)

The default mission dayzoffline.chernarusplus will be set to default if you verify the server files (./dayzserver v)

To get the help you need please provide enough information as possible about your issue.
This will reduce the potential back and forth between you and those
who want to help resolve your issue.

The script is not 100% perfect, but it does it’s job and takes a lot of work from you, so you can focus on tweaking the settings and jump into the game.

Читайте также:  Кряк 1с для линукс

If you don’t want to use the script but host a server on Linux, look into the code to understand what is necessary to run a DayZ Server on Linux.

But keep in mind that the serverfiles are still on experimental and any update can break it for us and then you may seek help on the dayz forum.

Do you ever tryed a install on a mountet ramdisk with backup at main server shutdown on a local Drive? Maybe better Performence because faster write and read as a normal drive?

Good job btw works for me too. Some trouble with crontab but my fault changed Servertime before -.-

Thanks for the tutorial! It started, but I can’t connect. I started the experimental client but it don’t show up in my browser, even in favorites bt I guess, I’ll wait till stable 😀

@Kuper: add your server to the steam serverbrowser favorites —
as Xanth already said, you can only see and connect to the server with the dayz experimental client

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

deannreid/DayZEpoch-Linux-Server

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Original Git was only active until 1.0.5.1..

** This Git has been updated to 1.0.6.2 — Please expect bugs. If you find any. let me know through Github issues and i’ll get them sorted.** ** Please test this before upgrading your production server** ** I won’t be held responsible for any lost data **

Читайте также:  Astra linux журналы аудита

A private hive DayZ Epoch 1.0.6.2 server on Linux

  1. The following programs must be installed on your Linux system: screen, gcc, perl, mysql.
  2. Download and install ArmA beta patch (http://www.arma2.com/downloads/update/beta/ARMA2_OA_Build_108074.zip).
  3. Copy the whole «ArmA 2: Operation Arrowhead» directory from Windows to server Linux-directory.
    ArmA2 directory should contain subdirectories «Addons», «Dta», «Expansion», etc.
    Example: pack with PKZIP (WinZip, PowerArchiver, etc.) on Windows and unpack with «unzip» on Linux.
    DO NOT use upper case letters in the ArmA2 directory name (or in any files that the server uses like missions or mods):
    GOOD: «/home/bob/arma2arrowhead»
    BAD: «/home/bob/ArmA2ArrowHead»
  4. Download and install DayZ Epoch Mod 1.0.6.2 (https://github.com/EpochModTeam/DayZ-Epoch/releases/download/1.0.6.2/DayZ_Epoch_Server_1.0.6.2_Release.7z).
  5. Run ./install
    Watch the messages — they might inform you whether your installation failed! Double check that all directories were renamed to lower case. Remove any .dll files you might still find (in battleye, expansion and expansion/battleye directories).
    When adding mission .pbo’s or mods remember to run ./tolower again or manually change the filenames to lowercase.
    ANY uppercase letter in a filename will crash the server!
$ for x in *; do mv $x `echo $x | tr [A-Z] [a-z]`; done
$ mysql -u root -p mysql mysql> create database epoch; mysql> GRANT ALL PRIVILEGES ON epoch.* TO 'dayz'@'localhost' IDENTIFIED BY 'dayz'; mysql> use epoch; mysql> source tables.sql; mysql> source data.sql;

Please do not forget that the production server must run by «restarter.pl» !

Источник

Создание сервера Dayz Linux

2. Запуск под Wine, инструкций на эту тему что то маловато не стал заморачиваться
3. Запуск под Oracle® VM VirtualBox как говорят на работу виртуалбокс нужно 512мб оперативы ну и от версии винды 4гб и в космос
Установка в принципе вариативна или качаем deb пакет и запускаем или через менеджер пакетов находим и ставим видео по установке вагон, единственный момент думаю при установке размер диска лучше указать динамический дабы влезли моды
Создаем виртуальную машину 7 или 10 винда

4. Далее как и на винде ставим сервер
И вот тут возникает затык тк машина виртуальная и изолированная и подключится к ней нельзя
5. Открываем порты на линукс машине, я порты открываю переконфигурацией dpkg-reconfigure arno-iptables-firewall
6. Пробрасываем порты в VirtualBox
Снимок экрана от 2022-09-06 16-16-48.png
Снимок экрана от 2022-09-06 16-16-37.png
Снимок экрана от 2022-09-06 16-13-59.png

некоторые инструкции предлагают в качестве адрес хоста писать 127.0.0.1 а адрес гостя 10.0.2.15 у меня так не работает хз почему может из за того что у меня две сети
В качестве адрес хоста указываю внешний IP, а адрес гостя не пишу, порты UDP, потом запускаем виртуальную машину

Источник

Оцените статью
Adblock
detector