After reading a couple of guides on setting up a DayZ Server for people to play on I have noticed that many tutorials have missing information or the user is left with different error messages to deal with or ignore.
The following tutorial is based on my knowledge, trial and error, debugging and contact with different users on the issue. I hope to provide the most detailed, and easy-to-follow tutorial on the web.
Copy "@DayZ_Epoch" from the Client files into "DayZ Epoch Server" on your Desktop.
Copy "@DayZ_Epoch_Server" from the Server files into "DayZ Epoch Server" on your Desktop.
Copy the "Keys" folder from the Server files into "DayZ Epoch Server".
Open the "Battleye" folder inside the Server files and copy everything inside into the "BattlEye" folder inside the "DayZ Epoch Server folder" on your Desktop. (Note the difference in Capitalization.)
Open up "MPMissions" from your Server files and find the mission that you want. I will be using "DayZ_Epoch_11.Chernarus" for this tutorial.
Copy that to your "MPMissions" folder inside the "Dayz Epoch Server" folder that is on your Desktop.
Open "Config-Examples" from your Server files, then copy the matching instance number as your Mission to your "Dayz Epoch Server" folder. We will use "instance_11_Charnarus".
Copy "DayZ_Epoch_instance_11_Chernarus.bat" from that same folder into the "Dayz Epoch Server" on your Desktop.
Setup and install XAMPP, then make sure mysql and apache are started.
Click the "Admin" button next to MySQL in the XAMPP control panel.
Once the phpMyAdmin page is loaded, at the top, click "Users".
Under the Users overview, click Add user.
Enter "Epoch_User" as the User name. (without the "" ).
As the Host, select "Local" from the dropdown box.
Enter a password. I will use "password123" but please make sure to use something more secure.
Scroll down and click "Check All" from the Global privileges then remove ALL Administration privileges like GRANT and SUPER.
At the bottom, click Go on the right.
Now you have your user created. Click "Databases" at the top.
Under Create database, type in "Epoch_Database" as the Database name then click Create.
Now you have your database. You can go ahead and stop Apache from the XAMPP control panel, you dont need it enabled anymore.
Inside your Server files, open up the SQL folder and copy "epoch.sql" to your Desktop.
Open HeidySQL.
As the session name in the top left, we will have it just named as "DayZ Server SQL"
Hostname / IP should be "127.0.0.1".
User should be "Epoch_User"
Password is "password123" or whatever you specified in your user setup.
Click "Save" at the bottom left. then click Open.
On the left hand side, you should see "Epoch_Database" go ahead and double click it.
It should say "Database: Epoch_Database" at the middle tab on top.
Click the "Query" tab.
You should be presented with a text box, just drag your "epoch.sql" from your desktop into that textbox.
Click the blue Play button above the Query tab or press F9.
It should start executing the SQL into your database. You might get a "3 Warnings" popup at the end, ignore that.
Restart HeidySQL and double click your database on the left, you should see some tables created. http://i.imgur.com/xBknVUv.png
Close HeidySQL.
Take another deep breath. The hard part is now done, you are nearly finished with your server!
Go to your desktop and open your DayZ Epoch Server folder. It should look something like this. http://i.imgur.com/CHeOg9o.png
Open up your instance_11_Chernarus folder.
Open "config.cfg" with Notepad++.
Edit this file to your liking, and set a "passwordAdmin" value for you to be able to login as an admin from ingame.
Add requiredSecureId = 2; under BattlEye = 1; This is to prevent the UID spoofing.
At the bottom, change your difficulty="veteran"; to difficulty="regular";
Save and close.
Open up "HiveExt.ini" with Notepad++.
Scroll down to the [Database] section.
Make sure Host = 127.0.0.1
Same with Database = Epoch_Database
The same with Username = Epoch_User
And finally, Password = password123
Save and close.
Run DayZ_Epoch_instance_11_Chernarus.bat to start your server.
(Optional) Open up "cmd" from your start menu and type ipconfig to get your server's ip. Put that into DayZ Commander as a favorite so you can connect easily.
(Note) If your MySQL hosting is provided by your host, you can skip the MySQL setup part and not download XAMPP / Wamp and just use that info from your host.
(Linux Note) If you are running a linux machine, and running Wine to allow you to run windows applications, please put "msvcp120.dll" & "msvcr120.dll" into your "DayZ Epoch Server" folder. A simple google search should help you find those two files. <Credits to Flodding for reminding me about this.>
(NEW) Created an Auto-Restarter.
I hope that my tutorial has covered any questions you may have, and good luck with all your servers!
Question
Guest
After reading a couple of guides on setting up a DayZ Server for people to play on I have noticed that many tutorials have missing information or the user is left with different error messages to deal with or ignore.
The following tutorial is based on my knowledge, trial and error, debugging and contact with different users on the issue. I hope to provide the most detailed, and easy-to-follow tutorial on the web.
[Files Required]
(Optional) Download this package made by Rotzloch https://mega.co.nz/#!uc9E0SgK!pZxZflTVTSs2jgYuBM6tUmBsYksAC4DtUeitSgmRfTU
[Prerequisites]
[Creating your server]
If you have any of the games installed previously, I would recommend deleting them to not face any problems in the future.
(Optional) Open up "cmd" from your start menu and type ipconfig to get your server's ip. Put that into DayZ Commander as a favorite so you can connect easily.
(Note) If your MySQL hosting is provided by your host, you can skip the MySQL setup part and not download XAMPP / Wamp and just use that info from your host.
(Linux Note) If you are running a linux machine, and running Wine to allow you to run windows applications, please put "msvcp120.dll" & "msvcr120.dll" into your "DayZ Epoch Server" folder. A simple google search should help you find those two files. <Credits to Flodding for reminding me about this.>
(NEW) Created an Auto-Restarter.
I hope that my tutorial has covered any questions you may have, and good luck with all your servers!
Link to comment
Share on other sites
Top Posters For This Question
9
7
7
6
Popular Days
Jan 9
12
Oct 22
10
Aug 30
5
Jul 1
5
Top Posters For This Question
oSoDirty 9 posts
nathan9117 7 posts
Lunastone 7 posts
Pro_Speedy 6 posts
Popular Days
Jan 9 2017
12 posts
Oct 22 2015
10 posts
Aug 30 2014
5 posts
Jul 1 2014
5 posts
Popular Posts
Guest
After reading a couple of guides on setting up a DayZ Server for people to play on I have noticed that many tutorials have missing information or the user is left with different error messages to deal
Rotzloch
Thanks for this Tutorial, but there is something missing. You have a link to "Visual C++ Redistributable Packages for Visual Studio 2013" but you need also "Visual C++ Redistributable Packages for V
MrMackeyMKayyy
Go to your server config and change your hostname server/arma versions. 1.5.0.1/112555
168 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now