Jump to content

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.

  • Admin Menu Wont Show/Spawn Menu Greyed Out etc

No admin menu when F1 is pressed:

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.

ex. http://forums.bistudio.com/showthread.php?147537-Tutorial-How-to-run-ArmA3-on-a-dedicated-server

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)

Also replace "xxx.xxx.xxx.xxx" with the servers remote IP address. (The one the public see, not your lan/local address, you can use http://whatismyipaddress.com/).

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!

Share this post


Link to post
Share on other sites

27 answers to this question

Recommended Posts

  • 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 this post


Link to post
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 this post


Link to post
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:

adminMenu_Owner[] = {}; //{{"STEAMID","ADMINNAME"},{"STEAMID","ADMINNAME2"},...};
needs an extra set of brackets to match the commented out instructions when only using one admin:
adminMenu_Owner[] = {{"#","name"}}; //{{"STEAMID","ADMINNAME"},{"STEAMID","ADMINNAME2"},...};
 
 

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 this post


Link to post
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 this post


Link to post
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 this post


Link to post
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 this post


Link to post
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 this post


Link to post
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 this post


Link to post
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 this post


Link to post
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 this post


Link to post
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 this post


Link to post
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 this post


Link to post
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 this post


Link to post
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 this post


Link to post
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 this post


Link to post
Share on other sites
  • 0

Help me please.

 

Redis Database Server Problems:

wY81tw0.png

 

In game stuck at server initializing 

i6BME0e.png

 

And server not ready (Error 02)

DlakkNl.png

 

And back to Role assignment

pUDv62i.png

 

 

 

9WaJLFd.png

 

IxfYSPe.png

 

 

 

 

 

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
Password = Changeme9832

[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

Share this post


Link to post
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


  • Similar Content

    • By looter809
      Hey there everyone, I ran this server for a year and then due to server hosting complications and a busy schedule I shut it down 4 months ago. Now I have more time on my hands and am ready to start it back up. The server has been in testing mode for 2 weeks and it will be finished being set up November 11th and I hope to see many new players join the server. I have also already talked to many of the old players from the server who missed the server and it sounds like I'll have 15 to 20 old players returning.
      So, if you are wanting a chance to start fresh on a server and features below sound interesting to you, please come visit us Saturday for the grand reopening. I'm ZzBombardierzZ on steam and in game, feel free to come talk to me about the server, suggestions, or questions via the following: teamspeak (proplayground.us), the website (proplayground.enjin.com), or the new discord (https://discord.gg/zWFe8eh).
       
      Features:
      *Updated: 11/8/17*
      Coin Economy.
      Fully Militarized - All weapons and most vehicles are in the game.
      75M plot pole radius. Bases have a 10 day maintenance. Bases have a max of 350 parts, but get more expensive to maintain as you build more.
      Precise Building. Objects after restart save currectly instead of having gaps in floors/walls.
      (Not yet) Modded Vehicles: See Balota and Roaming trader.
      Vehicle Plot God. Vehicles locked in plot pole radius are godmoded.
      Plot Management. Owner of plot can add himself and his friends so those added can build even after death.
      Pro building with vectors and degrees. Scroll wheel while building an object to be able to rotate the object in an direction in any degree.
      Combat logging Crate. Combat logging (leaving the server in any form while the combat indicator is red) will make a crate on the ground with the player's gear.
      3 types of normal DZMS missions (with more to come) with pretty fast spawn times and all 3 types can be spawned at one time:
      If you have negative humanity, AI give you negative for killing. If you have positive humanity, AI give you default positive humanity.
      Roaming AI Patrol units
      Non AI Events such as rubble towns, weapons crates, building supplies, medical crates, explosive crates, and roaming trader crate. These have arrays of loot possible to spawn in each one.
      Expert mission. 1 of 6 possible spawns. This is the highest loot mission, but also the hardest (mainly due to PvP) and longest time needed.
      How to do Alpha-Foxtrot: 1. Activate the mission at the flagpole (beware AI might spawn now or when the crate spawns). 2. You can leave or wait for 30 minutes. 3. After 30 minutes the crate has spawned, and it is time to find it. 4. Once you are within 4 meters of the crate, you will be warned it was "looted" this means you need to figure out where it is and fast. 5. After 25 seconds the bomb goes boom on top on the crate and if you haven't left yet, you are dead.
      Active Admins.
      Tow & Lift. Sometimes you have to relog to be able to tow/lift an object.
      Automated Starter kits - The first time on the server you have the option to spawn yourself a plot pole, safe, mozzie parts, motorcycle deploy kit, large gunbag, and enough wood building supplies to make a very small base.
      Indestructible bases. All is indestructible except wood doors and wood garages.
      Walking zombies, but note that zombies do very high damage.
      Custom map additions around the map.
      (Not yet) Added traders - Balota Aircraft (cheaper to buy, better to sell but no safezone), Pro Hero, Pro Bandit, Elecktro trader (for selling L39 from NWAF mission) and a Roaming Trader who moves location every restart. We also have Advanced Trader for all traders.
      Earplugs (press F1). Auto Run (Press 0). Group Management (Press F5)
      Deploy bike & mozzie (right click toolbox), Deploy Motorcycle (right click Offroad Performance upgrade paper).
      Suicide (right click your pistol, use F3 menu, or type "killme" in chat).
      Check for nearby players/AI (right click GPS).
      CCTV Cameras! (Right click Ruby for deploy option).
      Summon Car to Your Location: Whaaat!? This sounds amazing doesn't it. It doesn't work if the car is in your base and costs 1,000,000 coins!
      We have added so many right click options. You can now even build trees! See: http://proplayground.enjin.com/forum/m/38708249/viewthread/28152977-small-update-81116
      Custom debug. "end" to turn on and off.
      Custom kill feed (top left).
      Vehicles automatically unlock after not being used for a week.
      Safes 0000 after 14 days. Lockboxes Red00 after 14 days.
    • By Sieegfreed
      Hello, I'm having a problem to play DayZ EPOCH mod.
      I already uninstall and reinstall the game from steam, move AddOns to OA, used  "[email protected]_Epoch;" and I have been tried lots of things to try to fix this error.
      this message continue every time I try to log in any server, a .pbo problem...
      please, can some one help me to fix this issue? 
      thank you for the attention!
       

    • By Blestda86ta
      RogueGaming|1Millstart|FullMilly|CustomArmedVehicles
      server ip- 74.201.57.199:2000
      TeamSpeak- 74.201.57.199
      *Server started 2 weeks ago*
      Some of our current scripts and features:
      -Virtual Garage
      -Lift/tow
      -Single currency
      -WAI mission system with very high loot boxes and high-end armed vehicle missions
      -DZ mission system with very high loot boxes
      -Deployable gems into static weapons, toolbox into bike/mozzie, scrap metal with other parts into unarmed pook
      -Select spawn
      -Class selection with good weapons
      -Indestructible bases! (base raiding to be added in the future)
      -Full military (all vehicles/weapons)
      -Custom armed vehicles (SUV with YakB, Cargo plane with SPG-9, C130 with 2 GBU's, and many others!)
      -Events (gem ore veins, weed farms, drug bust, bombcrate)
      -Custom traders
      -Service points
      -Right-click scripts (map- locate vehicle, grass on/off, ambient sound on/off, color corrections) (binocular/vector- adjust view distance up to 5k with many other options) *No stupid GPS scans for players*
      -Key actions (right click your vehicle key to eject unwanted players from the vehicle, lock/unlock, and start the engine within 100m)
      -Weather effects, fog off!
      -Random selected fugitive when the server reaches 5 players (fugitive has to survive 20min to get a loot crate of gems/high-end weapons, but if he is killed the box will spawn and the killers can take the loot)
      -Yellow smoke works as tear gas (acts like being drugged for a short time)
      -Custom loot tables with high loot
      -Custom military loot area's with weapon crates
      -Custom map area's
      -Static weed field (great place to get money)
      -Vote day/night
      -1 Mill start in bank, max bank cap 5mil
      -Easy to get started and make money
      -Great server FPS
      -Report any glitches/exploits and receive a safe full of building supplies!
    • By samnotts
      hi had a view distance script of someone but cnat remember who i would like it again as the one i found does work any one help me please 
    • By Liquid Ass
      Hi I'm new around here so please go easy on me :P

      Myself an a few others have started a new overpochins server called [SS]|Overpochins|Coins|ActiveADMINS|FullCustom|Semi-Militarized
      IP:193.111.186.217:2306

      Me and a few others have added some features/scripts like unpack little bird,towlift,missons,bankmoney ect...
      but were having problems finding a working sector b script which isn't out of date an a origins build trader w/buildings.

      Would appreciate it if anyone could help us an would be willing to give you guys who help some goodies on the server to start with.
      The server only holds upto 20 people so far but we will increase it when a few more people join.

      Using GTX servers.
      Cheers.

       
  • Advertisement
  • Donation Box

    Please donate to support the community.
    We appreciate all donations!
  • Advertisement
  • Supporters
  • Latest Donations

  • Advertisement
  • Discord

×