• 0

# Unofficial F.A.Q - Common Setup Problems

## Question

Just thought I would do a good deed and try get thread spam lower :).

Here I will cover the most common problems for installing 0.2.5.1 on a Windows Server;

START WITH VANILLA (NO CUSTOM MODS ETC). ONCE THE SERVER WORKS, THEN EDIT WHAT YOU WANT / ADD ADMIN ETC. ONE THING AT A TIME.

• Battleye: Public Variable Restriction #0

When a player joins they get kicked

Check the RPT log, probably mentions something like SERVER VERSION MISMATCH or something. Client doesnt have the same version as the server.

When using the admin tool you get kicked:

Make sure you are using the latest server files and the latest BE Filters included in the SC/Battleye Folder.

Check the Paths to your Battleye folder (in files @EpochHive/EpochServer.ini and BEC/Config/Config.cfg) point to the SC/BattlEye Folder.

Check to make sure BEC has loaded the Watchdog plugin correctly (It should say in the BEC console window).

If you still get kicked there may be a bug (unconfirmed) where your txt filters will be overridden with incorrect values every restart, If this is the case, be patient for a fix.

Workarounds modifying publicvar.txt manually can cause security issues.

(Could be the log rotator, need confirmation).

• Mission Read From Bank / Server Auto-Closes or Crash Upon Joining / Stuck at Server Initializing / Server not Ready (Error 02)

This occurs when there is a problem loading the mod. This could be due to several causes:

Redis Database Server Problems:

Check Redis Database Server Issues below for the solution.

Incorrect Configuration of Database:

Check your DB/Redis.conf file and make sure the ip/port and the password you chose is correct;

Then check your @EpochHive/EpochServer.ini file and make sure the ip/port and password are the same as in redis.conf.

Incorrect Configuration of Server/Mod Files:

Check that anything you modified in any of the following files didnt cause any syntax errors/problems (best to start fresh just to get it working):

@EpochHive/epochAH.hpp

@EpochHive/epochconfig.hpp

SC/config.cfg

SC/basic.cfg

SC/Users/SC/SC.Arma3Profile

Check that you have placed all the files (DB/SC/MPMissions/@EpochHive/Keys Folders etc) in the correct locations in the correct place etc, just copy the entire contents of the server file zip to your arma 3 main directory, where your arma3server.exe is located.

• Redis Database Server Issues

Nothing is saving to the database:

Either your configuration (ip/port/passsword) dont match (check Mission Read From Bank ->Incorrect Configuration of Database)

or the redis-server.exe in not running. If the redis-server.exe is not in the process list then check below;

Redis-Server.exe not in Process list/No Console window:

There are two causes I know of for this, the first is to check if you have all the redistributables required (it is like extra Microsoft files that the program needs to work).

To do this, check your event log (start menu->type event viewer. On the left pane click Windows Logs->Application). Look for "Side-By-Side" Errors, you need to find the part of the error description that gives you a package name, for ex. "Dependent Assembly Microsoft.VC90.CRT".

Put that string in google and you should find the package you need quite easily.

The second cause could be a low filespace/virtual memory/ram issue. To check this, Hold shift and right click in the redis-server.exe folder (DB folder) and select "Open Command Line Here". Type "redis-server.exe redis.conf". You should get and error or some kind of output stating a process fork failed due to space/memory issues.

If this is the case you can either lower the "maxmemory" config in redis.conf (Minimum I would say 2gb, but personally I prefer the second option next) or you can increase your Paging File Size, You may need to experiment with this to get it stable, I currently have 16gb page file and it seems to run perfectly fine with maxmemory=4gb on a 3gb RAM machine.

• BEC Closes/Wont Connect/Scheduler Issues

BEC Auto Closes when you try to run it

Make sure you have the correct Visual C++ Redistributables, vc 2008 and vc 2003 should be sufficient, you can check your event log (windows->startmenu->type event viewer) under windows logs->applications and look for "side by side" errors for bec.exe. Google the description you find.

BEC Wont connect to the server

Make sure your ip from your command line is your actual IP address, also make sure the IP in the BEC/Config/Config.cfg file is correct.

Or alternatively you can try omitting the -ip parameter from your command line and using the IP 127.0.0.1 in the BEC Config file.

BEC Scheduler is not working, no messages/restarts/errors

First thing to check is that you have un-commented the Scheduler Path line in your BEC Config. If not simply remove the # from start of the line

If you setup your scheduler paths correct and it still will not work you should get some "error loading scheduler.xml" in the BEC Console window. If not, then maybe your timings are off? Consult the Scheduler Help File inside the BEC Config Directory.

Some things to note: The scheduler must be in _precise_ format. eg,

Id starts at 0 and increments by one for each new job.

Older syntax from BEC prior to 1.6 will not work, they need to be modified (very simple)

Data type none

You might have forgotten to rename "example_BEServer.cfg" to "BEServer.cfg" in "Arma/SC/Battleye" folder. (Thanks to hogscraper)

I can add some scheduler templates if people find it necessary though the scheduler has a very nice readme that explains everything you need to know.

Basically put - assuming you havn't disabled the anti-hack, your steamid64 is not in the admin list in epochAH.hpp

You need to get your steamid64 (You can get your normal steam id here, you can then convert that to steamid64 here.

Admin menu shows, but Spawn or other options are greyed out (Server is currently disabled)

Looks like you put your steamid64 into the wrong admin slot, make sure you just put your id into the owner slot, once, that will give you full permissions. for ex;

adminMenu_Owner[] = {{"7656xxxxxxxxxxx21","Any name you like (will go in admin log)"}};
• Mission Select Screen Joining Server

Server Files Is out of date

If you have access to the server file system and can execute, update your server files using STEAMCMD.

Plenty of tutorials online on updating dedicated arma 3 servers, same routine.

Startup Command-line Incorrect (Not loading SC/Config.cfg File)/Servername not same as in config.cfg

Either you have something wrong with your startup parameters, or

A problem with your config.cfg file, or - more likely;

Your command line parameters are setup incorrectly.

To remedy this:

Make sure you copied the SC folder from the zip file to your arma3 server directory. Then use this command line to start your server:

arma3server.exe [email protected];@EpochHive; -config=C:\Path\to\Arma3server\SC\config.cfg -ip=xxx.xxx.xxx.xxx -port=2302 -profiles=SC -cfg=C:\Path\to\Arma3server\SC\basic.cfg -name=SC

Be sure to replace "C:\Path\to\Arma3server" with the correct path to your arma 3 server directory. (With arma3server.exe inside)

Note: You may omit the "-ip=xx... parameter completely if BEC still wont connect after reading the above tips.

Note: You can also omit the full path to your config params, (Thanks to Scoo) eg

-config=SC\config.cfg -cfg=SC\basic.cfg

Feel free to post anything that I may have missed or that you would like to contribute to this faq.

I can guaruntee there are spelling errors but this will do for now :).

Good Luck!

## Recommended Posts

• 0

Thanks for taking the time to write this up, I will pin it.

##### Share on other sites
• 0

I got a suggestion for this FAQ. I think you should mention BEC a little bit more, especially how to install and configure it on root servers. I think alot of ppl don't want to host their stuff at nitrado etc.

I set up an arma3 server for the first time and missed instructions to BEC itself in the install.txt, I've never heard about it. It is easy to configure but I think this would help some ppl.

regards

##### Share on other sites
• 0

Heya,

arma3server.exe [email protected];@EpochHive; -config=C:\Path\to\Arma3server\SC\config.cfg -ip=xxx.xxx.xxx.xxx -port=2302 -profiles=SC -cfg=C:\Path\to\Arma3server\SC\basic.cfg -name=SC

Be sure to replace "C:\Path\to\Arma3server" with the correct path to your arma 3 server directory. (With arma3server.exe inside)

Actually you can set the path starting from arma 3 server root folder, like so:  -config=SC\config.cfg -cfg=SC\basic.cfg

I think this can makes things easier, since you dont have to change arma 3 path anymore.

##### Share on other sites
• 0

Thanks for the feedback, added scoo's tip. Also, I will think about adding a short install guide for bec or just a link to an existing guide, no need to re invent the wheel :).

Thanks, keep em coming xD

##### Share on other sites
• 0

It's mentioned in another thread but it's worth pointing out that if BEC is complaining about a side-by-side configuration error then you need to install vcredist 2008: http://www.microsoft.com/en-us/download/details.aspx?id=29

This tripped me up while setting up my server and I'm sure it'll catch a few more people out.

##### Share on other sites
• 0

Thanks the iron giant, but this is already in the F.A.Q. The link is handy though.

Cheers

##### Share on other sites
• 0

I've run into two issues.

I was getting the Server not Ready 02 error then an immediate kick for publicvariable #0. In the included epochAH.hpp file the line:

needs an extra set of brackets to match the commented out instructions when only using one admin:

If BEC loads up and closes itself out with an error about "data type none" it means you skipped the step about renaming the example_BEServer.cfg to BEServer,cfg in the SC\BattlEye folder. I was trying to help a guy with that one for an hour going through settings before I thought to regroup from step one.

##### Share on other sites
• 0

Thanks hog, updated FAQ (the syntax of the admin line in epochAH.sqf is already in the FAQ.)

Peace

##### Share on other sites
• 0

The password for the redis database needs to be the same in 2 locations - in redis.conf and in Epochserver.ini

For some reason the default files come with 'Changeme9832' in redis.conf and 'foobared' in EpochServer.ini and the install.txt makes no mention of needing to change them.

##### Share on other sites
• 0

Also, I would put in for issues you may be having with the ArmaServer.exe crashing whenever it loads the mission, make sure the DB port is set to the 6379 in the EpochServer.ini.

Had some issues with that whilst setting my server up...

##### Share on other sites
• 0

Battleye: Public Variable Restriction #0

When a player joins they get kicked

Check the RPT log, probably mentions something like SERVER VERSION MISMATCH or something. Client doesnt have the same version as the server.

When using the admin tool you get kicked:

Make sure you are using the latest server files and the latest BE Filters included in the SC/Battleye Folder.

Check the Paths to your Battleye folder (in files @EpochHive/EpochServer.ini and BEC/Config/Config.cfg) point to the SC/BattlEye Folder.

Check to make sure BEC has loaded the Watchdog plugin correctly (It should say in the BEC console window).

If you still get kicked there may be a bug (unconfirmed) where your txt filters will be overridden with incorrect values every restart, If this is the case, be patient for a fix.

Workarounds modifying publicvar.txt manually can cause security issues.

(Could be the log rotator, need confirmation).

Does anyone know a permanent fix for the admin tools kick. I mean I can fix the issue every time the exact same way, it is just annoying to do every single time I start the server. This also make auto restarts a pain in the ass since I need to manually restart it after renaming my Beserver.cfg back to normal.

Whenever the cfg files is renamed by the server to "Beserver_active_random#sandletters" my admin tools will not work. I tried making two copies of the cfg, i.e left the renamed one and made a new one beside it. The new just gets renamed as well T_T. Any help is appreciated to help resolve this very annoying issues.

##### Share on other sites
• 0

If you use your own batch file you can easily copy over the txt file each time but i think that will create a security issue, without bloating this topic can you PM me and tell me:

Before restart, values in both publicvariable.txt and .original files.

then restart and tell me the new values.

Thanks.

##### Share on other sites
• 0

Does anyone know a permanent fix for the admin tools kick. I mean I can fix the issue every time the exact same way, it is just annoying to do every single time I start the server. This also make auto restarts a pain in the ass since I need to manually restart it after renaming my Beserver.cfg back to normal.

Whenever the cfg files is renamed by the server to "Beserver_active_random#sandletters" my admin tools will not work. I tried making two copies of the cfg, i.e left the renamed one and made a new one beside it. The new just gets renamed as well T_T. Any help is appreciated to help resolve this very annoying issues.

I feel the same way. Some times it works and other times it doesn't

One guy they told me that my server wasn't fast and that it wouldn't process the panel correctly.

But I have 8 gig ram and 2x Quad core procs for just this.

ALSO I added -autoInit to my start up line and it worked for a sec then now not working anymore.,

##### Share on other sites
• 0

Any Problems with CPU using 100% also with just 20 ppl on from some time on?

##### Share on other sites
• 0

Any Problems with CPU using 100% also with just 20 ppl on from some time on?

I'd make a new thread, as it will bloat this thread, if u do, post as much info as possible. EG, system spec, and screenshot of process list/resource monitor. Not here though :p.

Please only post if it is concerning this FAQ, either suggestion or question about the FAQ itself.

Thanks guys.

##### Share on other sites
• 0

Kinda getting sick of battleye its messing shit up on my server every time it restarts... but the sucky thing is we cant even turn it off as its needed.

##### Share on other sites
• 0

Kinda getting sick of battleye its messing shit up on my server every time it restarts... but the sucky thing is we cant even turn it off as its needed.

I have set up a few servers helping out, and have yet to have battleye problems. If you are running a scripted server then that is up to you to fix the filters. OP's post is for Pure Epoch servers.

##### Share on other sites
• 0

It is a hosted Epoch server. But yeah I have scripts but battleye keeps rewriting the BE filters :D

##### Share on other sites
• 0

My hosters just done some searching though files and noticed BE / Epoch is indeed forcing the battleye filters to rewrite after a while, So it seems some of the scripts that require us to change some filters will end up been rewritten :(

Here it shows you the filters are been recreated... https://www.dropbox.com/s/p658q4kulnprknz/8f83a6e114b7c78a07bde2d94431703a.png?dl=0

Since when has BE done this? On my ArmA 2 Epoch I have never had my filters rewrite themselves...

The kick shown at the bottom is because BE removed my filters and then my script starts kicking me for the things I had already fixed in the BE filters earlier..

Is this something Epoch has made happen or is it BE?

Ps. Feel free to delete my 2 posts if there not to do with the OP :)

**EDIT**

It's actually Watchdogs doing this I guess I can get it removed or disabled... wft is watchdogs anyway only watchdogs I know is the TV program and the game... xD

##### Share on other sites
• 0

Does anyone know a permanent fix for the admin tools kick. I mean I can fix the issue every time the exact same way, it is just annoying to do every single time I start the server. This also make auto restarts a pain in the ass since I need to manually restart it after renaming my Beserver.cfg back to normal.

Whenever the cfg files is renamed by the server to "Beserver_active_random#sandletters" my admin tools will not work. I tried making two copies of the cfg, i.e left the renamed one and made a new one beside it. The new just gets renamed as well T_T. Any help is appreciated to help resolve this very annoying issues.

For you guys getting the admin tools kick you need the WatchDog plugin for Battleye, it will stop the re-writing of the battleye files.

"To use our Anti-Hack and Admin panel you need to also use BEC + the watchdog plugin. Check the Install notes."

I had this issue as well and this will stop the issues.  GL!  Hope this helps!

##### Share on other sites
• 0

Guys, I am trying to setup a dedicated arma 3 server and having some problems. I am useing the following command line and it is not reading my config.

arma3server.exe [email protected];@EpochHive; -config=C:\arma3 epoch main\SC\config.cfg -ip=142.4.215.109 -port=2337 -profiles=SC -cfg=C:\arma3 epoch main\SC\basic.cfg -name=SC

can anyone tell me if there is something wrong with this?

I have also checked the config file and it is correct.

also if anyone would like to assist me briefly I have a teamspeak server. my ts is......... ht.ts0.eu

Thanks

##### Share on other sites
• 0

Prepare your TS with lube. ;).

Probably because you have spaces in your paths. Im sure I added the fact you can use relative paths in the faq. Eg,

Arma.exe -config=SC/config.cfg

It would be much easier if you start your own thread if you have problems. This thread is for the FAQ. Like suggestions etc or other unmentioned problems.

For anyone else with their own problem, I would kindly ask to start your own thread in the server install help sub forum.

Thanks

good luck

##### Share on other sites
• 0

I came across two issues (I think) when setting up a local testing server.

1. Even with port forewarding and firewall setup, server will not connect to serverlist when using 2302 as the server port.

I'm guessing some isp's block this or something allong these lines. I changed to port 2322 and it listed perfectly.

So if your server doesn't show after everything else, change port.

2. Before I found it was a port issue, I noticed a line missing in the config.cfg file. (not sure if this is even required now)

reportingIP = "arma3pc.master.gamespy.com";

Is this even being used anymore? I haven't taken it out to see if my server still lists. I know gamespy was getting phased out. Has this happened already?

##### Share on other sites
• 0

1. Sounds like a router issue to me, very strange. Never had taht problem before I would be surprised if an ISP actually bocked game ports. very surprised.

2. Not needed, gamespy was officially dropped from arma 2 about a week ago. (Fully). And arma 3 I believe never used it.

Thanks :)

##### Share on other sites
• 0

Redis Database Server Problems:

In game stuck at server initializing

And server not ready (Error 02)

And back to Role assignment

redis.conf

bind 127.0.0.1
maxmemory 4gb
save 900 1
save 300 10
save 60 1000
requirepass Changeme9832


EpochServer.ini

[EpochServer]
BattlEyePath = D:\SteamLibrary\SteamApps\common\Arma 3 Server\SC\BattlEye
InstanceID = NA123

[Redis]
IP = 127.0.0.1
Port = 6379
DB = 0

[SteamAPI]
Logging = 0
Key =
VACBanned = 0
VACMinimumNumberOfBans = 0
VACMaximumDaysSinceLastBan = 0
PlayerAllowOlderThan = 0



Cmd start server

@echo off
start arma3server.exe [email protected];@mas18;@Epoch;@EpochHive;@Emod02; -config=SC\config.cfg -port=2302 -profiles=SC -cfg=SC\basic.cfg -name=SC
exit



## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×

• ### Similar Content

• By McLovin
NOTICE: Duplicate of another question posted in the wrong section.

So I've been playing this server that has a number of mods installed. I've been playing it for quite a while with the only errors I've been getting are regarding a 45 round RPK mag being missing, but other than that I've had no errors or any issues loading. Upon trying to place a plot pole, nothing happens; absolutely nothing, like no preview shows up, no prompt saying "starting construction" or anything like that, just blankness. When I try to do it again it says "building already in progress" and I can't do anything, not even lock my vehicle. Is there anything that can be done, or that can explain this phenomenon? To further the understanding of how this came to be, I bought a plot pole from the trader in Trader City Stary and tried placing it near Stary, but not too near it (near a thicket of bushes in the distance). Upon right clicking and hitting the build option, that's when I face my issue.
• By Sandbird
Dayz.Epoch.1.0.62 - 3d.Editor.Live.Mission with Database interaction

What is this
A custom mission file for the purpose of testing/writing scripts for DayZ Epoch without the need of a server.
It emulates the dayz_server and dayz_mission files, so you can write scripts using the 3d editor. No need to use a dayz_server for debugging anymore. We all know how time consuming that is.

Features
Full Database integration (yes thats right... [:)] I would suggest to have a maximum of 100 objects in your object_data table for faster results.
Took 5 min to load 10000 objs from my real database, so also make sure you dont go crazy with the MaxVehicleLimit, MaxDynamicDebris values in the init.sqf Fully working GUI, zombies, hit registration, addactions, everything! Write code and execute it on the fly. No need to start a server and join with a client to test things. 100% of your scripts will work! (dynamic weather, default loadouts, custom scripts etc) 2 setups. A default 3d editor player with a default loadout or a Real database character based on your UID Includes most of BIS_fnc functions, so actions like BIS_fn_invAdd will work (i've added most common ones...more included though...check details bellow.) Everything works...when i say everything i mean EVERYTHING !. (Spawning objects on mission start, traders (buy/sell), maintenance, character update, events, stats...etc) New Features!
All .FSM files have been converted to .SQF meaning the mission acts as a full fledged server / client merge. New character creation has been ignored though, so the server expects that the client that is about to connect exists in the database. The server will start, wait for a 'fake client connection to happen' (you pressing the Preview button), and then it will load your character from the database, spawn Hive objects and create new based on your MaxVehicleLimit values etc, then initialize the events and finally spawn the character to his worldspace location. Use AdminTools to spawn any Perm, Temp vehicle you want, including buildings, crates etc. Building objects is working as expected with a little AddAction trick. Unfortunately the primary display (eg: findDisplay 46) isnt working inside the editor. That means that building stuff or placing objects is very hard to do since we can't 'capture' keystrokes.
Further details below after the Installation instructions. Arma2Net is not allowed by Battleye anymore, so i am using extDB3 now. Requirements:
A mysql server on the same machine as your Arma2 editor. Well...a remote PC would work as well...just make sure YOU ARE NOT using your original database. Make a copy of it!. This mission will interact with your database !
If you don't have a mysql server on your pc...i suggest you get WampServer. It's the easiest php/mysql server out there.
Installation
When the game launches, press Alt+E, select Chernarus, then Load mission 3d.live1062.DayzEpochTemplate.Chernarus
Open \My Documents\ArmA 2\missions\3d.live1062.DayzEpochTemplate.Chernarus\init.sqf
Go to line 61 and start editing the values there. DB_NAME is the name of your database (same as the extdb3 config file).
Add your PlayerUID value (same as the DB one) in line 72. (That the player you want to load from the database)
Depending which map you want to use, you have to change the dayZ_instance variable and also the MarkerP values (line 62) based on your mission.sqm file. Its for the Hive to spawn random vehicles, roadblocks and mines at proper locations based on the map. Just read the comments there for how to get the values. Its really simple. Just copy paste stuff from your mission.sqm file.
Default setup vs Database setup
There are 2 ways of initializing your player.
A live database player based on his UID in the character_data table (coordinates, medical states, inventory etc) A default 3d editor player with a basic loadout. (Ignores Hive Loadouts and initial vehicle spawns) Default setup (extDB3)
[DefaultTruePreMadeFalse = true;] This option is now the default one, because it's so much easier to set up, plus a lot of things have changed in the 1062 Epoch version. I couldn't totally separate the server files from the client files, so in the end a Database is necessary for the Mission files to work properly. To setup your character with this method, leave DefaultTruePreMadeFalse to true;  Everything is database based..so no need to do anything else. The mission will start with all your stats, inventory, conditions and spawn you where your world coordinates are. Premade Character Setup
[DefaultTruePreMadeFalse = false;] This setup DOES NOT initialize the character based on a database entry, or does any HIVE related queries on mission start. (like load objects etc). Instead it uses some premade stats that you set, and only uses the Database on updates (buy vehicles etc) The loadout of the player is set in the init.sqf in line 77
player setVariable ["CharacterID", "1", true]; // Set here the characterID of the player. It can be anything...just leave it 1 if you want. player setVariable ["playerUID", "111111", true]; // Set here the playerUID of the player you want to have. player setVariable["Z_globalVariable", 100000]; player setVariable["Z_BankVariable", 100000]; player setVariable["Z_MoneyVariable", 100000]; player setVariable["humanity", 11000]; player setVariable["humanKills", 10]; player setVariable["banditKills", 20]; player setVariable["zombieKills", 30]; player setVariable ["friendlies", ["222222","333333"], true]; //Both DZE_Friends and this must be set for friendlies to work properly DZE_Friends = ["222222","333333"]; Everything else should work fine with the database....like traders, salvaging, etc...Unfortunately since the 1062 ver had many differences from the 1051 one, i couldn't really make this Profile option a standalone one, without any Database interaction. So in order for you to minimize any errors in the log file, i would suggest you load my sample db file provided, and also change those CharacterID and PlayerUID values in PLAYER_Data and CHARACTER_Data tables to the ones you set up here, just in case.... The Premade character setup is for people that want to fast debug a script they are making and don't want to wait for the Hive to load all map objects and authenticate the player first. Further Details to change (in both Profile Cases)
The description.ext, mission.sqf, mission.biedi files have your character's name in them. Just search for the word Sandbird in all of them and change it according to the PlayerName value you have in your Player_DATA table for your PlayerUID value.
Example taken from description.ext. DONT change the actual My_Player text. The mission file needs that string to read what you typed in the name field.
class My_Player { name="Sandbird"; face="Face20"; glasses="None"; speaker="Male01EN"; pitch=1.1; };
Important info
Init.sqf values
DefaultTruePreMadeFalse = true; // True: Read player's data from the database (based on UID), False: the normal player the editor has StaticDayOrDynamic = true; // A static date is set at the bottom of \dayz_server\init\server_function.sqf. Set this to false if you want real time/date inside the mission. DZEdebug = false; // Set to true if you want a more detailed log file Enable Keyboard actions (menu option) // (findDisplay 46) wont work inside the editor. That means that building stuff or placing objects is very hard to do since we cant 'capture' keystrokes. I kinda fixed this with a trick. In order to build something first you have to initiate the building action (holding the object in your hands) and then scroll with your mouse wheel and select Enable Keyboard actions. This will create a layer on your screen capturing your keystrokes thus allowing you to change orientations etc. Pressing ESC twice after and it will close the fake display and return to normal play mode. You will have to do this every time you want to build something. Related to coding
Since the Editor has some limitations because its not a real server some things will never work. For example:
_playerUID = getPlayerUID player; will never work in the editor. To get the _playerUID you have to do this:
_playerUID = player getVariable ["playerUID", 0];
This is the most important thing to remember. Lots of scripts use getPlayerUID. You have to remember to change it every time you want to use it.  Of course the player value is just an example here. If you were inside a loop and it had (getPlayerUID _x) then you have to rewrite it like this: (_x getVariable["PlayerUID",0]) findDisplay 46 does not work in the editor. If you are using/making a script that uses Display 46 try using my Enable Keyboard action. It might work in your case. publicvariableServercommands don't exist in the editor. There is no server to accept the command. If you want to use addpublicvariableeventhandler you can do it with call/spawn commands. You can find the handlers usually in the PublicEH.sqf.
Example: PVDZE_plr_Save = [player,dayz_Magazines,false,true]; publicVariable "PVDZE_plr_Save"; can be written like:
PVDZE_plr_Save = [player,dayz_Magazines,false,true]; publicVariableServer "PVDZE_plr_Save"; // keeping this so when you move the code to the real server you remember to add it. [player,dayz_Magazines,false,true] spawn server_playerSync; // what to call is usually inside publicEH.sqf. In this case search for PVDZE_plr_Save in the PublicEH file and check the call it makes in the end. You could also change the publicVariableServer to publicVariable. That should work inside the editor. But keep in mind these changes wont work on the live server, since one command broadcasts something to the server while the other just to the client running it. I would suggest you keep the original value and do the PublicEH call instead, marking it down with some debug comments next to it, so when you are done and want to transfer the files to your live server you just remove the call and everything should work as expected.
Don't forget to change the paths when you are adding addons to test/modify them. For example, notice the differences here:  player_switchModel = compile preprocessFileLineNumbers "dayz_code\compile\player_switchModel.sqf"; player_checkStealth = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_checkStealth.sqf"; The first line will look up for player_switchModel.sqf inside the editor mission files, while the 2nd one will go to the @Dayz_Epoch map file and get the .sqf file. Same thing applies for the dayz_server files (server_functions.sqf). Once you are done with your script and you have added new compile lines, you need to fix them back to their proper values before you upload them to your live server.
If you are missing any BIS_fnc functions then check the folder dayz_code\system\functions and see if it's available there to include it in the compiles.sqf. Set DZEdebug = true;  in the init.sqf. And ALWAYS check your RPT log file for debugging. Its located at : %AppData%\Local\ArmA 2 OA folder. Related to mission file included
You'll notice when you start the mission there are 2 bots standing there. If you double click the soldier you'll see that he initiates this script scripts\BotInit.sqf. I left that in purpose in case you want to do some scripting that requires 'another player', and you want to initialize the fake player like that. The other bot can be deleted. I just left it there because i was testing a Tag Friendly script, and needed a 3rd 'player' that has me as a friend. I've included a simple Fireworks script i made a while back only this time i used some better effects taken from aliascartoons work. Just add a 'SMAW_HEDP' into your inventory and right click on it to test it out. Here is how the old script used to look like Fireworks. Also you'll find a little 'hat script' in the files, just right click a 'IRStrobe' item to add a hat to your player. Both script were written inside the editor using the mission file above...just a small example to show you how easy it is to write code there. The @extDB folder contains a folder called debug_files. These .dlls (when replaced the ones provided) activate a more detailed log file (found under arma 2 operation arrowhead\logs folder). It will show ALL MySQL queries going in/out of the database. Very useful if you are running any custom SQL queries and the RTP log file isn't enough.
Final Notes
These are heavily modified files...Dont overwrite them with your own files. Add to them instead of replacing them.
If you are writing scripts that dont require the server to restart, then you can just go to 2D editor and press Preview again after you make the changes. No need to hit Restart. As long as you are doing changes that doesnt affect the Hive loading you can basically run things on the fly. For example in the init.sqf at the bottom i added a Add BankMonkey example. That command just loads the custom\money.sqf and shows a simple extDB3 example on how to select/update a DB table. Since this command doesnt require the server to restart, you can just hit Preview, test things out, and if you want to make changes, go back to 2D Editor, edit your changes in the money.sqf file and hit Preview again. No need to hit Restart and wait for the dayz_server functions to do their thing again.
The whole purpose of this project was to not waste any more time trying to code on this god forsaken Arma engine.
And a personal note....You will NEVER find an easier way to code stuff for Dayz....period. This is the fastest way to write code and see it in action.

Hope this code will help you write code faster and easier !
### Credits
This mission file would not be possible without the help of these addons/people

DayzEpochTeam | http://epochmod.com
killzonekid | http://killzonekid.com
extDB3 | https://bitbucket.org/torndeco/extdb3/wiki/Home
ebayShopper | https://github.com/ebayShopper/TestKit
• By gamefail
Welcome to Arma II DayZ Stratego
============================================================================
Website: https://game.fail
Teamspeak: ts.game.fail
Discord: Connect.

Name: [NEW]ARMA II DAYZ STRATEGO OVERPOCH CHERNARUS
Game: Arma 2
IP: a2.game.fail
Port: 2202
Player Limit: 100
Restart Time: Every 3 Hours
Map: Chernarus
Mods: Epoch, Overwatch
Extra:
Server is Semi militarized Rocket Launchers in trader Heavy ground and air vehicles
Scripts
============================================================================
safeZoneRelocate Stormz Craft menu AntiDupe Tow/and Lift Plot management (maintain) 10 days New Effect map right click remove grass, map right click Custom trader Added trader (Gem and sniper trader) Custom loot Remove zombies plot pole and trader zone Tab menu script Stary parking custom build script Hard loot Hotwire door and vehicles
Modules
============================================================================
Abandoned Vault Death Corpse Drug Bust Gems Weed

• First off I'm sure this question would be more appropriate on the DayZ Launcher Forums, but their email servers are screwed and i cant login, so im hoping someone here might be able to help me.
I used this youtube video to set up my bare bones epoch server.
Everything went well, and the server runs with no errors in the .RPT file. I can join it through the LAN server browser within Arma 2 OA just fine. What I am trying to do now is make my server joinable in public server lists like dayz launcher.
I have port forwarded the arma ports and steam client ports as well.

I have also allowed arma 2, arma 2 OA, arma2oaserver, and steam client through my firewall.
My server does show up on dayz launcher but as "Offline" with 0/0 players and 9999 ping. ( I dont know if I can only see it because its on my own network maybe? ) *Linksys Router*
but that is my issue.
This server is running on my dedi box at home with high speed download and upload (should be plenty) .
I also made my dedi box's ip static. ( i did this after i created the server so maybe thats a no no?)
Like I said I can join in just fine but only through the LAN browser in game.
I used a port checker to ensure my ports were in fact open, and used the dayz launcher server checker to ensure it can be found, and it did find it and said it would be added to the server list within 30 minutes. ( it did! but it shows up as offline! and unjoinable)
*I have no idea if this means anything but i used mySQL with HeidiSQL when setting up my server* (I also ensure that the mysql service is running when i start my server up).
At this point I have no idea what to do, so any thoughts would mean the world to me, thanks!
Server IP = 97.91.203.245:2302 (steam query = 2303)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
P.S. Here is my "11_chenarus.cfg" and "basic.cfg" (again, im not sure if these are helpful but ill include them anyway)

• By JakeQue
Hi, me again.

For some reason when i spawn in and collect coins or loadout the next time i disconnect and come back it puts me back into spawn and money is all disappeared.

There's no hive errors.
The only error in the Server RPT is :
And I have 2 errors in my client RPT. Looks like they relate to zsc but I have reinstalled it from scratch and still the same.
and

Sorry to be such a noob with this one!!