Jump to content
  • 0
SirRapplez

Having trouble setting up BEC [Battleye Extended Controls]

Question

Hello! So, I am not experienced with big server setups like that of ArmA's (so don't expect me to be too computer-smart), but I have come a long way with setting up my ArmA 3 server until I got to my BEC setup. I've gone through everything the instructions say and everything should all be connected and working, but...

I keep getting and error saying: BePath is not a valid directory

Now, i know this should be a simple fix, but no matter what i do the error won't go away!

I'm using TADST for my server setup, so I'm using the Battleye directory stored there.

the path I put in the config.cfg for BEC is:

C:\Users\andre\Desktop\Arma3_server_stuff\server_files\TADST\SirRapplez\BattlEye

(yes I made sure I didn't have an accidental space put in anywhere... I'm not that stupid)

I also put a BeServer.cfg file in the same directory as the BeServer.dll with the following:

RConPassword password

RConPort 2309

If anyone knows what my problem is, please help. I hope my question isn't super dumb, but I'm lost so, again, help would be much appreciated! Thanks.

Share this post


Link to post
Share on other sites

11 answers to this question

Recommended Posts

  • 0
8 hours ago, RC_Robio said:

Server port in BEC Config.cfg will then also need to be 2309, and epochserver.ini as well. Also make sure the battleye directorys are the same as well in both files.

I made sure the ports all corresponded and checked the directories, but the error still popped up. Since I use TADST to launch my server, it asks for the path to my server file which is: C:\Users\andre\Desktop\Arma3_server_stuff\server_files\arma3server.exe, since that is where arma3server.exe is and is where its supposed to be, but that's not the Battleye path... So I am only aware of one Battleye directory... I checked around and can't find where another one is supposed to be as you specified. Could you specify where they're both required? Thanks!

Share this post


Link to post
Share on other sites
  • 0
8 minutes ago, RC_Robio said:

You can put your battleye where ever you want. But for Epoch server files they are in sc/battleye by default. So direct TADST to that folder.

Alright I finally got that problem fixed, thank you so much! But now I'm getting an error saying that the BEServer.cfg file cannot be found... even though the file exists in the directory used (and in the other if that one even matters)

Share this post


Link to post
Share on other sites
  • 0
9 hours ago, RC_Robio said:

Make sure you have a beserver.cfg in the sc/battleye folder. There is an example-beserver.cfg Just remove the example- and edit it with your password.

 

Okay I got the config fixed, I had a silly formatting issue. But now there's another error... This is just error after error isn't it? Now its saying that BE Bans.txt does not exist. So, I created a file named Bans.txt in all the battleye directories I have and the error is still there. Is there something I have to put in the file? I couldn't find any resource for it online, just other people with the same problem.

EDIT: I named the file "bans.txt", but it was just looking for "bans" that was a text document. Now BEC finally starts, BUT NOW: the cmd loads up and everything and it checks for server startup, then, since my server is on, it goes to "checking for new BEC version...", then it just closes without any warning or error.

Share this post


Link to post
Share on other sites
  • 0
2 hours ago, RC_Robio said:

You need to edit your host file as administrator in Windows and add these lines.

 

127.0.0.1 ibattle.org
127.0.0.1 www.ibattle.org

Sorry I did a lot of work on this issue but forgot to edit this. I did get aprind to doing that, and now BEC starts up and everything, but it just says >>Problem connecting to server<< and then it closes even though I have all the ports open and all the ips are correct and the hosts file was changed... Don't know where to go from here. Could it be something with my startup parameters?

Share this post


Link to post
Share on other sites
  • 0
21 hours ago, RC_Robio said:

Try adding --dsc flag to bec.exe

Did that, now all I see in the prompt is:

Please wait... Connecting to server when the timeout has expired!

It says this immediately on bec startup, and I changed the timeout in Config.cfg from 30 to 60 to 180 and all of them make no difference (so i put it back to 30). 

I am using a batch file to start my bec and the parameters there are:

start Bec.exe -f Config.cfg --dsc

Share this post


Link to post
Share on other sites
  • 0

Try using your local ip in BEC config, epochserver.ini, and your start batch. On my local server I use a simple bat like:

@echo off

:initialize
cls
echo Killing current running server ...
taskkill /IM arma3server_x64.exe
taskkill /IM Bec.exe
echo Done!
timeout 10
echo.

goto start

:start
cd D:\arma3server_x64
start "arma3" arma3server_x64.exe [email protected]; [email protected]; -config=D:\arma3server_x64\sc\server.cfg -port=2302 -profiles=SC -cfg=D:\arma3server_x64\sc\basic.cfg -name=SC -autoinit
echo.

:start bec
timeout 15
echo.
cd D:\arma3server_x64\Bec
echo Restarting BEC again...
@start Bec.exe --dsc

taskkil /IM cmd.exe
exit

 

Share this post


Link to post
Share on other sites
  • 0
2 hours ago, RC_Robio said:

Try using your local ip in BEC config, epochserver.ini, and your start batch. On my local server I use a simple bat like:

@echo off

:initialize
cls
echo Killing current running server ...
taskkill /IM arma3server_x64.exe
taskkill /IM Bec.exe
echo Done!
timeout 10
echo.

goto start

:start
cd D:\arma3server_x64
start "arma3" arma3server_x64.exe [email protected]; [email protected]; -config=D:\arma3server_x64\sc\server.cfg -port=2302 -profiles=SC -cfg=D:\arma3server_x64\sc\basic.cfg -name=SC -autoinit
echo.

:start bec
timeout 15
echo.
cd D:\arma3server_x64\Bec
echo Restarting BEC again...
@start Bec.exe --dsc

taskkil /IM cmd.exe
exit

 

I changed the ip addresses (I changed them back to default after testing), and I changed my batch parameters using yours as a template (but gutting most of it because I didn't need most of it) so now it looks like:

@echo off

:start Bec.exe
timeout 10
echo.
cd C:\Users\andre\Desktop\Arma3_server_stuff\Bec -ip=127.0.0.1 -port=2309 "-config=config.cfg" "-cfg=basic.cfg" -BEpath=C:\Users\andre\Desktop\Arma3_server_stuff\server_files\TADST\SirRapplez\BattlEye -noPause -noSound -nosplash
echo Restarting BEC again...
@start Bec.exe -f Config.cfg --dsc

taskkil /IM cmd.exe
exit

And now, after waiting for a little bit after the cmd says "trying to connect when the timeout expired" it tries to reconnect and I'm pretty sure it's successful (it says RCon Admin #0 logged in) so I believe it's working now. I can't thank you enough for your help! If there's anything i should know please don't hesitate to tell me.

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

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

Loading...

  • Similar Content

    • 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!!
    • By Face-1337
      Hey Guys,
      i updated my Epoch Server on 1.0.6.2 and get the whole time this error message in my client.rpt
      I know before i updated on 1.0.6.2 we never got this message in our logs. It's new with this update :-/
      I checked the file between 1.0.6.1 and 1.0.6.2. This Code is 100% the same. That's why i'm really confused.
       
      Error in expression <wn",_serverTime]);
      _age = _serverTime - _zombied;
      if ((_age == 0) or (_age > 300>
        Error position: <_zombied;
      if ((_age == 0) or (_age > 300>
        Error Nicht definierte Variable in Ausdruck: _zombied
      File z\addons\dayz_code\compile\player_spawnCheck.sqf, line 151
       
      Did you have any ideas to fix that unreal issue. 
       
      Greetings Face
    • By Honey Bee
      Hey,
      after last Arma Update, BEC doesn´t work for my Epoch Servers. Did anybody had the same problem and con help me?
      Thanks
      Honey Bee
    • By ufukinwotm8
      Hi guys, have a problem with the server I help run. The hotkeys (1-2-3 for guns, 4-5-6 meds etc.) don't work. Setting the variable dayz_quickSwitch to true or false doesn't change anything.
    • By ziggah
      I got DayZlauncher and I find a server, assign the Arma2 and click on it. It tells me which mods I need to download, so I do it (DayZ, Epoch and Overwatch). Not ethat I had these installed for like 2 years, so I only needed to update them.
      Click play on teh server after tehy're done only to get:
      Arma 2: Operation Arrowhead is attempting to launch with the optional parameters shown below.
      " -connect=172.106.106.33 -port=mod=C:\Program Files(x86)\Steam\SteamApps\Common\ArmA 2;Expansions;C:\Users\Ziggah\Documents\mods\@DayZ_Epoch" "
      If you did not request this launch or do not understand this options, select Cancel.
      Note, my arma 2 and arma 2 OA location is on D drive. I click ok. I get the "battleEye is installing thingey. I get it every time". I get another error message after that. a window titles "Arma 2 Army of the Czech republic Se..." with the message " !!! MISSING STRING" Have no clue what AotCR has anything to do with dayz so I click okay.
      After this I get a window titled "arma2 OA" with the message "Addon 'sauerland' requers addon 'Chernarus'" Again, I have no clue why I need an addon which is a part of the default game, so I click okay.
      I get the DayZ Epoch screen, you know it, the black one. After a while, bout half a minute I get:
      "No entry bin/congfig.bin/CfgVehicles/Land_Company3_2.scope"
      Then it fianlly, crashes with one last error, a window titled "Arma 2 OA" with the message "cannot load world 'ca\chernarus\chernarus.wrp'"
      Also, if it helps, my Mods/download path in dayzlauncher is "C:\Users\Ziggah\Documents\mods"
      I know I could google this, but such a huge batch with these specific combination of erros seems only specific to me. Or alteast no one asked on the internet yet and gave up on ever playing the game. Which I am close to. Can someone help me fix this errorfest of a game, please. I have about 1200 hours in epoch and I really wanna play it again. Seriously. I fix one error, BAM, now you got 2 more.
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...