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

i have tryed doing this on a dedicated box nothing seems to work ;( server wont start and when it does it crashes. anyone know where a thread is dedicated to installing a server on a dedicated box

 

might help if you post the rtp file, it should show the error. As for a guide to set up a server on a dedicated box, this thread is it.

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
Link to comment
Share on other sites

  • 0

I tried this again, but i got a different error.

 

 

It's this :

 

Windows cannot find 'Expansion\beta\arma2oaserver.exe'. Make sure you typed the name correctly, and then try again.

 

 

 

 

 

 

Anyone know how to fix this?

Link to comment
Share on other sites

  • 0

After reading a couple of guides ...

 

A step that I've noticed left out of 9/10 guides that I think might do well to at least be noted in a cautionary section if nothing else, is that for steam users, after installing each of their steam-library entries (Arma2, A2OA, PMC and BMF) it is necessary to open not only Arma2 and A2OA but also open (click "play" in steam) each of the DLC listed there. ACR automatically finalizes installation upon opening my steam copy of A2OA, not sure why they don't all do that.

 

But without doing this later on down the road you might put two and two together and say "Hey, why in "Expansions" does it list half of my DLC as a lite version and display the textures from those DLC in seemingly a quarter of the correct resolution?" Well, this would be why. I just never expected the process to be so convoluted to play what I was able to BUY as a single solitary purchase and package. =\ Good times.

Link to comment
Share on other sites

  • 0

So to echo Kieran's post, will these steps work if I'm installing a brand new server using the latest 1.63 version with no OA Beta?  Or are there any differences?  I know I'll have to convert my licenses since they were purchased directly from Bohemia, not Steam.  Then the question is - since I have a client installed on my regular PC, how does the GUID or player ID changing with the Steam update impact my playability?  Will my client still be able to connect to my server that is fully updated, as well as older servers via DayzCommander that have not ben updated yet?  My client would still have my old GUID/player ID configured.

 

Thanks,

Bob

Link to comment
Share on other sites

  • 0

Okay so i need some advice.. i have other people who have gotten their server working look at my folders/files through team viewer.. so it keeps saying something along the lines of Deleted; cherno and then lists stuff likes .. vehicles.. and other stuff.. plz help very interested in developing and this is so annoying.. i have redid and redid the files about 10 times.. redownloaded arma 2 and oa and commanders files multiple times

 

you cannot play/edit this missions; it is dependent on downloadable content that has been deleted.chernarus, dayz_anim, dayz_code, dayz_cammunityassets, dayz_weapons, dayz_equip, dayz_epoch, dayz_vehicles, glt_m300t, pook_h13, csj_gyroac, map_eu, jetskiyanuiaddon

 

 

also while trying to join ths status stays at = creating..

 

15:16:36 Dedicated host created.
15:16:36 BattlEye Server: Initialized (v1.193)
15:16:36 Host identity created.

(says this in lilttle box after opening .bat file)

 

 

for some reason i cannot join any cherno map.. i have never had this problem so.. if anyone could help plz post

Link to comment
Share on other sites

  • 0

gus im new to all this modding and scrpting. does anyone know any links to videos to get ais/bloodbagging.build limit. would really appreciate any help as im a noob and i suck badly lol

 

Check out DZMS for some AI

 

Self bloodbag was built into epoch, you can enabled it by putting DZE_selfTransfuse = true;  into your mission init.sqf

Link to comment
Share on other sites

  • 0

well this tutorial doesnt work.. well not for me and many others.. after doing this and i start my server.. and try to join it.. Authentication Timeout... no way to work around it either.. something is fishy

Tutorial works, you're obviously doing something wrong.

Link to comment
Share on other sites

  • 0

Hello,

 

Great comprehensive tutorial, I only have 3 small issues, hopefully they are easy fixes,

 

1, I have a message that pops up when starting the server, (Addon 'dayz_server' requires addon 'dayz_code'), click ok and all seems to boot fine, I have tried a couple of methods to rid this however it is still persistant.

 

2. I can only see the server over LAN, I have opened ports 2302 to 2305 but still fails to show over the net, I found that in the configs that the server reporting address is still gamespy which is now dead, could this be the issue? and if so does anyone have the new URL we need to replace it with?

 

3. I seen someone else also had part of this issue but I did not see a fix for it, I have now tried 3 different instances including Cherno but continue to get the same error, Here is a screenshot of ingame and also one of the console:

Ingame:

8PMJRwA.png

Console:

O5fpPf2.png

Link to comment
Share on other sites

  • 0

Hello,

 

Great comprehensive tutorial, I only have 3 small issues, hopefully they are easy fixes,

 

1, I have a message that pops up when starting the server, (Addon 'dayz_server' requires addon 'dayz_code'), click ok and all seems to boot fine, I have tried a couple of methods to rid this however it is still persistant.

 

2. I can only see the server over LAN, I have opened ports 2302 to 2305 but still fails to show over the net, I found that in the configs that the server reporting address is still gamespy which is now dead, could this be the issue? and if so does anyone have the new URL we need to replace it with?

 

3. I seen someone else also had part of this issue but I did not see a fix for it, I have now tried 3 different instances including Cherno but continue to get the same error, Here is a screenshot of ingame and also one of the console:

Ingame:

 

Console:

 

 

you specified ports Steam?

 

Server Steam version

 

example

config.cfg

//
// config.cfg
//
// comments are written with "//" in front of them.


// GLOBAL SETTINGS
hostname = "Dayz Epoch (1.0.5.1/125548) XXXXXXXX ";
password = "";					

passwordAdmin = "XXXXXXX";		// Password to become server admin. When you're in Arma MP and connected to the server, type '#login xyz'
reportingIP = "arma2oapc.master.gamespy.com";	// For Arma2: Operation Arrowhead
logFile = "Bliss\server_console.log";		// Tells ArmA-server where the logfile should go and what it should be called


// WELCOME MESSAGE ("message of the day")
// It can be several lines, separated by comma
// Empty messages "" will not be displayed at all but are only for increasing the interval
motd[] = {
	"Server hosted by Vert Hosting!",
};
motdInterval = 5;					// Time interval (in seconds) between each message

steamPort = 2354;
steamQueryPort = 2353;


// JOINING RULES
// DO NOT CHANGE THIS - IT MAY GET YOUR ACCOUNT SUSPENDED
maxPlayers = 40;				// Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player.

// CONTINUE CHANGING HERE
kickDuplicate = 1;					// Each ArmA version has its own ID. If kickDuplicate is set to 1, a player will be kicked when he joins a server where another player with the same ID is playing.
verifySignatures = 2;					// Verifies .pbos against .bisign files. Valid values 0 (disabled), 1 (prefer v2 sigs but accept v1 too) and 2 (only v2 sigs are allowed). 
equalModRequired = 0;					// Outdated. If set to 1, player has to use exactly the same -mod= startup parameter as the server.
requiredBuild = 125548;					// Require clients joining to have at least build 12345 of game, preventing obsolete clients to connect
requiredSecureId = 2;

// VOTING
voteMissionPlayers = 1;					// Tells the server how many people must connect so that it displays the mission selection screen.
voteThreshold = 1;					// 33% or more players need to vote for something, for example an admin or a new map, to become effective


// INGAME SETTINGS
disableVoN = 0;						// If set to 1, Voice over Net will not be available
vonCodecQuality = 10;					// Quality from 1 to 10
persistent = 1;						// If 1, missions still run on even after the last player disconnected.
timeStampFormat = "short";				// Set the timestamp format used on each report line in server-side RPT file. Possible values are "none" (default),"short","full".
BattlEye = 1;                                           // Server to use BattlEye system


// SCRIPTING ISSUES
onUserConnected = "";					//
onUserDisconnected = "";				//
doubleIdDetected = "";					//
regularCheck = "{}";                                  //  Server checks files from time to time by hashing them and comparing the hash to the hash values of the clients. Causes heavy I/O, uncomment to disable feature


// SIGNATURE VERIFICATION
onUnsignedData = "kick (_this select 0)";		// unsigned data detected
onHackedData = 	"kick (_this select 0)";	//"ban (_this select 0)";			// tampering of the signature detected
onDifferentData = "";					// data with a valid signature, but different version than the one present on server detected


// MISSIONS CYCLE (see below)
class Missions
{
	class DayZ {
		template = DayZ_Epoch_27.Napf; // DO NOT CHANGE THIS, IT WILL BREAK YOUR SERVER
		difficulty = "veteran";    // change this for other difficulty settings, regular, expert is valid
	};
};
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...