Jump to content
  • 0

[How To] Setup A DayZ Epoch server (out of date) being revised!


Guest

Question

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]  

  1. Steam. http://store.steampowered.com/about/
  2. Arma 2 (Look at "Creating your server" section.)
  3. Arma 2 : Operation Arrowhead (Look at "Creating your server" section.)
  4. DayZ Commander, http://www.dayzcommander.com/
  5. Visual C++ Redistributable Packages for Visual Studio 2013, http://www.microsoft.com/en-us/download/details.aspx?id=40784 (x86 is for 32 Bit.)
  6. Visual C++ Redistributable Packages for Visual Studio 2010, http://www.microsoft.com/en-us/download/details.aspx?id=5555
  7. WAMP / XAMPP, http://www.wampserver.com/en/ or https://www.apachefriends.org/download.html (XAMPP for this tutorial)
  8. HeidySQL, http://www.heidisql.com/download.php (I recomend getting the installer)
  9. uTorrent, http://www.utorrent.com/
  10. DayZ Epoch Client Files, http://goo.gl/IN1Pt1 (Taken From http://epochmod.com/a2dayzepoch.php)
  11. DayZ Epoch Server Files, http://goo.gl/3GyZ0P (Taken From http://epochmod.com/a2dayzepoch.php)
  12. WinRar, http://www.rarlabs.com/download.htm
  13. Notepad++, http://notepad-plus-plus.org/

(Optional) Download this package made by Rotzloch https://mega.co.nz/#!uc9E0SgK!pZxZflTVTSs2jgYuBM6tUmBsYksAC4DtUeitSgmRfTU

 

[Prerequisites]

  1. A Computer with atleast 2GB Ram for a smooth experience for about 24 players. (4GB for around 60 players.)
  2. Harddrive of atleast 25GB for the game files.
  3. A Good connection (40Mbit Upload / Download)
  4. Atleast a Two-Core CPU.

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

  1. Install the C++ Redistributable Packages and restart your computer/box. (I recommend to install both x64 and x86 if you have a 64bit Operating system.
  2. Create a folder, preferably on your Desktop called "Dayz Epoch Server".
  3. Launch steam, login.
  4. Download Arma 2.
  5. Download Arma 2 : Operation Arrowhead.
  6. Wait until they are complete.
  7. Launch Arma 2 in windowed mode, wait until you are at the main menu, then close the game.
  8. Do the same for Arma 2 : Operation Arrowhead.
  9. Launch DayZ Commander.
  10. Click "install/update" in the top right of the window.
  11. Install the Arma 2 Beta Patch http://i.imgur.com/RwNq8ti.png
  12. Wait until that is complete.
  13. Now, go to your Steam Folder. Usually C:\Program Files (x86)\Steam\SteamApps\common\
  14. Copy everything from inside your "Arma 2" Folder inside the "DayZ Epoch Server" folder we created on your desktop in Step 1.
  15. Do the same for your "Arma 2 Operation Arrowhead" Folder EXCEPT any folders starting with an @.
  16. Click "Yes" to any popups asking you to overwrite the files.
  17. Take a deep breath. The easy part is now done.
  18. Take the Epoch Client and Server files that you downloaded earlier and put them on your Desktop.
  19. Open them up with WinRar http://i.imgur.com/g48k2s5.png
  20. Copy "@DayZ_Epoch" from the Client files into "DayZ Epoch Server" on your Desktop.
  21. Copy "@DayZ_Epoch_Server" from the Server files into "DayZ Epoch Server" on your Desktop.
  22. Copy the "Keys" folder from the Server files into "DayZ Epoch Server".
  23. 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.)
  24. Copy all the 4 ".dll" files from your Server files into the "Dayz Epoch Server" folder. http://i.imgur.com/vzYLZ4v.png
  25. 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.
  26. Copy that to your "MPMissions" folder inside the "Dayz Epoch Server" folder that is on your Desktop.
  27. 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".
  28. Copy "DayZ_Epoch_instance_11_Chernarus.bat" from that same folder into the "Dayz Epoch Server" on your Desktop.
  29. Setup and install XAMPP, then make sure mysql and apache are started.
  30. Click the "Admin" button next to MySQL in the XAMPP control panel.
  31. Once the phpMyAdmin page is loaded, at the top, click "Users".
  32. Under the Users overview, click Add user.
  33. Enter "Epoch_User" as the User name. (without the "" ).
  34. As the Host, select "Local" from the dropdown box.
  35. Enter a password. I will use "password123" but please make sure to use something more secure.
  36. Scroll down and click "Check All" from the Global privileges then remove ALL Administration privileges like GRANT and SUPER.
  37. At the bottom, click Go on the right.
  38. Now you have your user created. Click "Databases" at the top.
  39. Under Create database, type in "Epoch_Database" as the Database name then click Create.
  40. Now you have your database. You can go ahead and stop Apache from the XAMPP control panel, you dont need it enabled anymore.
  41. Inside your Server files, open up the SQL folder and copy "epoch.sql" to your Desktop.
  42. Open HeidySQL.
  43. As the session name in the top left, we will have it just named as "DayZ Server SQL"
  44. Hostname / IP should be "127.0.0.1".
  45. User should be "Epoch_User"
  46. Password is "password123" or whatever you specified in your user setup.
  47. Click "Save" at the bottom left. then click Open.
  48. On the left hand side, you should see "Epoch_Database" go ahead and double click it.
  49. It should say "Database: Epoch_Database" at the middle tab on top.
  50. Click the "Query" tab.
  51. You should be presented with a text box, just drag your "epoch.sql" from your desktop into that textbox.
  52. Click the blue Play button above the Query tab or press F9.
  53. It should start executing the SQL into your database. You might get a "3 Warnings" popup at the end, ignore that.
  54. Restart HeidySQL and double click your database on the left, you should see some tables created. http://i.imgur.com/xBknVUv.png
  55. Close HeidySQL.
  56. Take another deep breath. The hard part is now done, you are nearly finished with your server!
  57. Go to your desktop and open your DayZ Epoch Server folder. It should look something like this. http://i.imgur.com/CHeOg9o.png
  58. Open up your instance_11_Chernarus folder.
  59. Open "config.cfg" with Notepad++.
  60. Edit this file to your liking, and set a "passwordAdmin" value for you to be able to login as an admin from ingame.
  61. Add requiredSecureId = 2; under BattlEye = 1; This is to prevent the UID spoofing.
  62. At the bottom, change your difficulty="veteran"; to difficulty="regular";
  63. Save and close.
  64. Open up "HiveExt.ini" with Notepad++.
  65. Scroll down to the [Database] section.
  66. Make sure Host = 127.0.0.1
  67. Same with Database = Epoch_Database
  68. The same with Username = Epoch_User
  69. And finally, Password = password123
  70. Save and close.
  71. 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!

Link to comment
Share on other sites

Recommended Posts

  • 0

thankyou ispan55, 

 

After placing those port detials into my config it made no change, so I replaced almost all the text in the file with a copy of yours and edited it to suit my server, this did fix the console spam issue, however I still get stuck on wait for host before the lobby and cannot gat passed it, I have now removed ALL arma 2/ dayz related files from my server and done clean installs, but I am still having the issue of getting stuck on wait for host, If anyone knows how to get around this bug it would be much appreciated, it seems to have something to do with the dayz code error box, here is a copy of the RPT file, hopefully it helps, and yes this is everything in my file, lol.

=====================================================================
== C:\Users\Scott\Desktop\DayZ Epoch Server\arma2oaserver.exe
== "arma2oaserver.exe"  -port=2302 "-config=instance_11_Chernarus\config.cfg" "-cfg=instance_11_Chernarus\basic.cfg" "-profiles=instance_11_Chernarus" -name=instance_11_Chernarus "-mod=@DayZ_Epoch;@DayZ_Epoch_Server;"
=====================================================================
Exe timestamp: 2014/08/06 19:12:51
Current time:  2014/08/06 22:11:29

Version 1.63.125548
Warning Message: Addon 'dayz_server' requires addon 'dayz_code'
Link to comment
Share on other sites

  • 0

 

Hi everyone

I am desperate for help.

I did follow this guide exactly as it says, and it worked fine. Worked.

I think I know what the problem is, but I don't get it fixed.

For some reason, HiveExt doesn't boot up anymore. It did before, and there was in the Console of Arma 2 OA a spam of green text and stuff.

Now, when I boot the server again, no settings changed, I get this effect in the console:

 

 0:38:14 Mike Ehrmantraut uses modified data file
 0:38:14 Player Mike Ehrmantraut connecting.
 0:38:14 Mission DayZ Epoch Panthera read from directory.
 0:38:18 Player Mike Ehrmantraut connected (id=1XXXXXXXX).
 0:38:21 Roles assigned.
 0:38:21 Reading mission ...
 0:38:48 Mission read.
 0:39:05 Game started.
 
That's it, nothing more!
Normally, HiveExt begins spamming with stuff loaded in, but now, it doesn't, and I don't know why, because I did not change any settings, I did not install any mods. Well, as you can see, It's a panthera server, but furthermore, nothing special.
 
I have booted up MySQL, and I can acces the database via HeidiSQL.
Please help, because I don't know what to do. Also tried to check if there was any port blocked; it wasn't.
 
Thanks for helping me out. Im stuck for over a week now.
 
Thanks!
Mike Ehrmantraut

 

Mike I am now having the same problem it worked fine now this has happened ive updated the hive and config still get this.. and i cant play ether.. I need a fix asap someone help  I had a bunch of scripts working and now this happens.

Link to comment
Share on other sites

  • 0

***Bump***   Anyone got any ideas?

 

 however I still get stuck on wait for host before the lobby and cannot gat passed it, I have now removed ALL arma 2/ dayz related files from my server and done clean installs, but I am still having the issue of getting stuck on wait for host, If anyone knows how to get around this bug it would be much appreciated, it seems to have something to do with the dayz code error box, here is a copy of the RPT file, hopefully it helps, and yes this is everything in my file, lol.
=====================================================================
== C:\Users\Scott\Desktop\DayZ Epoch Server\arma2oaserver.exe
== "arma2oaserver.exe"  -port=2302 "-config=instance_11_Chernarus\config.cfg" "-cfg=instance_11_Chernarus\basic.cfg" "-profiles=instance_11_Chernarus" -name=instance_11_Chernarus "-mod=@DayZ_Epoch;@DayZ_Epoch_Server;"
=====================================================================
Exe timestamp: 2014/08/06 19:12:51
Current time:  2014/08/06 22:11:29

Version 1.63.125548
Warning Message: Addon 'dayz_server' requires addon 'dayz_code'


Link to comment
Share on other sites

  • 0

Same issue..... I tore the server back down to base OS and reinstalled everything, including Steam, Arma2, etc. from the ground up.  Not once, but three times, each time following a different set of "building a new server" instructions on the various forums and websites.  Exactly the same problem with each.   I've even tried many of the "fixes" out there but there are so many different things that people have tried, with mixed results, that I don't think anyone really knows what the issue is.  All seem to be grasping at straws and hoping something works.  And when something does work, it doesn't seem to be repeatable across servers having the same issue. 

 

At this point, I've resigned myself to waiting for 1.0.5.2 and see if it works.

Link to comment
Share on other sites

  • 0

Same issue..... I tore the server back down to base OS and reinstalled everything, including Steam, Arma2, etc. from the ground up.  Not once, but three times, each time following a different set of "building a new server" instructions on the various forums and websites.  Exactly the same problem with each.   I've even tried many of the "fixes" out there but there are so many different things that people have tried, with mixed results, that I don't think anyone really knows what the issue is.  All seem to be grasping at straws and hoping something works.  And when something does work, it doesn't seem to be repeatable across servers having the same issue. 

 

At this point, I've resigned myself to waiting for 1.0.5.2 and see if it works.

 

 

***Bump***   Anyone got any ideas?

=====================================================================
== C:\Users\Scott\Desktop\DayZ Epoch Server\arma2oaserver.exe
== "arma2oaserver.exe"  -port=2302 "-config=instance_11_Chernarus\config.cfg" "-cfg=instance_11_Chernarus\basic.cfg" "-profiles=instance_11_Chernarus" -name=instance_11_Chernarus "-mod=@DayZ_Epoch;@DayZ_Epoch_Server;"
=====================================================================
Exe timestamp: 2014/08/06 19:12:51
Current time:  2014/08/06 22:11:29

Version 1.63.125548
Warning Message: Addon 'dayz_server' requires addon 'dayz_code'


Shoot me a PM.

Link to comment
Share on other sites

  • 0

I have a small issue with this tutorial. Since it is using steam, I can't open it up on my dedi box and on my regular pc. So i`ll never be able to test things out of it works etc. Is there any way it removes that "steam launch" idea? Or is there a way to do it with TADST ? I was just wondering because I've tried to do it like this :

Install it all. 
Turn off steam on dedi box

Turn on Steam on regular pc

Result : Server isn't starting up. ( Due to steam not active )

 

Tried it with TADST but I've forgot those steps and couldn't find a tut with that program.

 

Kind regards,

 

Triplestacks.

Link to comment
Share on other sites

  • 0

I followed all the steps and started the server up and it seemed to work but when I join or one of my friends joins if kicks us right away and gives us a big missing file error http://imgur.com/XPPm8pt. This is what the console reads when i join and get kicked:

 

17:31:55 Dedicated host created.
17:31:56 BattlEye Server: Initialized (v1.194)
17:31:56 Host identity created.
17:38:34 [WG]Sterling Archer uses modified data file
17:38:34 BattlEye Server: Player #0 [WG]Sterling Archer (127.0.0.1:2316) connected
17:38:34 Player [WG]Sterling Archer connecting.
17:38:35 Mission DayZ Epoch Chernarus read from directory.
17:38:36 BattlEye Server: Player #0 [WG]Sterling Archer - GUID: ********************** (unverified)
17:38:36 Player [WG]Sterling Archer connected (id=**********************).
17:38:36 BattlEye Server: Verified GUID (**********************) of player #0 [WG]Sterling Archer
17:38:36 Player [WG]Sterling Archer disconnected.
17:38:36 BattlEye Server: Player #0 [WG]Sterling Archer disconnected
17:38:36 All users disconnected, waiting for users.
17:38:38 BattlEye Server: IMPORTANT: Effective immediately BattlEye is no longer providing protection for servers using outdated non-Steam versions of the game. We're sorry, but this is due to GameSpy suddenly marking ALL cd-keys as valid, even if they are fake/generated.
 
Please help.
 
Link to comment
Share on other sites

  • 0

 

I followed all the steps and started the server up and it seemed to work but when I join or one of my friends joins if kicks us right away and gives us a big missing file error http://imgur.com/XPPm8pt. This is what the console reads when i join and get kicked:

 

17:31:55 Dedicated host created.
17:31:56 BattlEye Server: Initialized (v1.194)
17:31:56 Host identity created.
17:38:34 [WG]Sterling Archer uses modified data file
17:38:34 BattlEye Server: Player #0 [WG]Sterling Archer (127.0.0.1:2316) connected
17:38:34 Player [WG]Sterling Archer connecting.
17:38:35 Mission DayZ Epoch Chernarus read from directory.
17:38:36 BattlEye Server: Player #0 [WG]Sterling Archer - GUID: ********************** (unverified)
17:38:36 Player [WG]Sterling Archer connected (id=**********************).
17:38:36 BattlEye Server: Verified GUID (**********************) of player #0 [WG]Sterling Archer
17:38:36 Player [WG]Sterling Archer disconnected.
17:38:36 BattlEye Server: Player #0 [WG]Sterling Archer disconnected
17:38:36 All users disconnected, waiting for users.
17:38:38 BattlEye Server: IMPORTANT: Effective immediately BattlEye is no longer providing protection for servers using outdated non-Steam versions of the game. We're sorry, but this is due to GameSpy suddenly marking ALL cd-keys as valid, even if they are fake/generated.
 
Please help.

 

I think you're starting the game with too many launch parameters or mods/expansions enabled. Try to launch with -mod=@Dayz_Epoch; and from the main screen go into expansion and make sure to have Epoch 1.0.5 and 1.0.5.1 enabled.

Link to comment
Share on other sites

  • 0

Hi, I'm a complete noob to hosting.

 

I've followed everything in this tutorial. When I run the .bat file which starts the server, a window pops up (with command prompt blank in the background) saying "Windows cannot find '-port =2315'. Make sure you typed the name correctly, and then try again."

 

I have really no idea what to do here. Any help? - Thanks!

Link to comment
Share on other sites

  • 0

Okay so my server is all setup, when I join everything seems to be working.. After about 1-2 minutes I get kicked and it says Authentication Timeout and I log back in and it saves my position but getting kicked every 2 minutes everytime I join is pretty annoying. Anyone have this problem and managed to fix it? Help would be greatly appreciated.

 

Edit: I changed my servers version to 112555 and it doesn't seem to kick me, but I see almost all servers running 125548 and I doubt people will want to downgrade to 112555  to join. Any ideas?

Link to comment
Share on other sites

  • 0

i have a issue, when i join my server i see:

 

"This server is running an incorrect version....."

 

Whats wrong? 

Have you checked in your config file that the version in there matches the version of DayZ Epoch you have downloaded aswell as the beta patch?

Link to comment
Share on other sites

  • 0

I did everything step by step but when i ran the .bat file this is what only comes up in the corner not else

 

 

14:29:01 Dedicated host created.

14:29:07 BattlEye Server: Initialized (v1.194)

14:29:07 Host identity created.

 

please help

Once you join the server and start loading in it should start loading up all of the objects and vehicles

Link to comment
Share on other sites

  • 0

NinjaEdit:

 

Stuck on "Wait for Host" screen.

 

Console verifies that I can connect, and generates a GUID.

 

 

Has anyone found a fix?

 

 

All steam ports have been forwarded, port 2302 has been forwarded both ways as well.

 

 

Add the following database to your SQL:

 

Epoch_Database

 

(Pastebin files if current files go down)

 

Epoch.sql - http://pastebin.com/n3iMhC0w (You'll experience 3 errors, ignore.)

add_recommended_mysql_events.sql - http://pastebin.com/dNpDXkA4 (you may find duplication errors, ignore)

1.0.5_Updates.sql - http://pastebin.com/yXygCT5W

 

 

 

 

  1. DayZ Epoch Client Files, http://goo.gl/IN1Pt1 (Taken From http://epochmod.com/a2dayzepoch.php)
  2. DayZ Epoch Server Files, http://goo.gl/3GyZ0P (Taken From http://epochmod.com/a2dayzepoch.php)

You'll find the SQL files from here

 

 

  1. Click "Databases" at the top.
  2. Under Create database, type in "Epoch_Database" as the Database name then click Create.
  3. Now you have your database. You can go ahead and stop Apache from the XAMPP control panel, you dont need it enabled anymore.
  4. Inside your Server files, open up the SQL folder and copy "epoch.sql" to your Desktop.
  5. Open HeidySQL.
  6. As the session name in the top left, we will have it just named as "DayZ Server SQL"
  7. Hostname / IP should be "127.0.0.1".
  8. User should be "Epoch_User"
  9. Password is "password123" or whatever you specified in your user setup.
  10. Click "Save" at the bottom left. then click Open.
  11. On the left hand side, you should see "Epoch_Database" go ahead and double click it.
  12. It should say "Database: Epoch_Database" at the middle tab on top.
  13. Click the "Query" tab.
  14. You should be presented with a text box, just drag your "epoch.sql" from your desktop into that textbox.
  15. Click the blue Play button above the Query tab or press F9.
  16. It should start executing the SQL into your database. You might get a "3 Warnings" popup at the end, ignore that.
  17. Restart HeidySQL and double click your database on the left, you should see some tables created. http://i.imgur.com/xBknVUv.png
  18. Close HeidySQL.

 

In HiveExt, edit the following line:

;Database name to connect to.
Database = dayz_overwatch
Database = Epoch_Database

Otherwise when you join, you'll receive errors such as "Cannot connect to database"

 

For some reason, dayz_overwatch does not include the needed database files for character creation. Had a brain blast, so I thought I'd share!

 

 

 

Thought I'd throw that out there.

Link to comment
Share on other sites

  • 0

 

I followed all the steps and started the server up and it seemed to work but when I join or one of my friends joins if kicks us right away and gives us a big missing file error http://imgur.com/XPPm8pt. This is what the console reads when i join and get kicked:

 

17:31:55 Dedicated host created.
17:31:56 BattlEye Server: Initialized (v1.194)
17:31:56 Host identity created.
17:38:34 [WG]Sterling Archer uses modified data file
17:38:34 BattlEye Server: Player #0 [WG]Sterling Archer (127.0.0.1:2316) connected
17:38:34 Player [WG]Sterling Archer connecting.
17:38:35 Mission DayZ Epoch Chernarus read from directory.
17:38:36 BattlEye Server: Player #0 [WG]Sterling Archer - GUID: ********************** (unverified)
17:38:36 Player [WG]Sterling Archer connected (id=**********************).
17:38:36 BattlEye Server: Verified GUID (**********************) of player #0 [WG]Sterling Archer
17:38:36 Player [WG]Sterling Archer disconnected.
17:38:36 BattlEye Server: Player #0 [WG]Sterling Archer disconnected
17:38:36 All users disconnected, waiting for users.
17:38:38 BattlEye Server: IMPORTANT: Effective immediately BattlEye is no longer providing protection for servers using outdated non-Steam versions of the game. We're sorry, but this is due to GameSpy suddenly marking ALL cd-keys as valid, even if they are fake/generated.
 
Please help.

 

Did you copy over your @Overwatch folder to the root directory?

 

 

http://i.imgur.com/gdo3swM.png

 

(Please ignore the mess :D )

Link to comment
Share on other sites

  • 0

When run heidSQL  error msg:

/* SQL Error (1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'eepoch_databaseepoch_databasepoch_databasecharacter_datacharacter_dataobject_dat' at line 1 */

any help?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...