Sign in to follow this  
Followers 0
Logan

BEC/Mbcon/RCON Setup

4 posts in this topic

I'm at my wits end trying to set BEC/Mbcon/RCON up. I have 

127.0.0.1 www.ibattle.org

127.0.0.1 ibattle.org
 
in my hosts file, I have ServerExeName = arma3server.exe in my config file, and I have a BEServer,cfg in my battleye folder for BEC
 
For Mbcon, I've set it up and it just won't connect to the server.
 
Not entirely sure what else to do, any help is appreciated.
 
EDIT:FIXED
Edited by Logan

Share this post


Link to post
Share on other sites
Advertisement

 

I take some time to make this post because I had such a hard time with this myself. I got Bec running by moving battleye from arma 3 folder  to a folder which has no spaces in the file path that is specified in Bec config like C:\battleye. I specified new battleye path in my server start.bat -bepath=C:\BattlEye. Other voodoo I did was I copied beserver.cfg to Bec folder and unblocked all the .dll files. I dont know if all this was necessary but it works now. And not to forget entries in the hosts file.

127.0.0.1 www.ibattle.org

127.0.0.1 ibattle.org 

This is most important startbec.bat Bec would not run without --dsc and becpath and it and this has to be run in windows scheduler with the highest privileges. I run this every 4 hours.

echo.
echo Starting Bec
timeout 10
:: start bec
set becpath="C:\Program Files (x86)\Steam\SteamApps\common\Arma 3\Bec"
cd /d %becpath%
start  "UEP BattlEye Extended Control"  "Bec.exe" -f "Config.cfg" --dsc
echo.

cls
@exit

Here is my killexileandbec.bat file that I use to kill Exile server and Bec. I run it with windows scheduler every 4 hours.

@echo off
echo.
echo KILL arma3server.exe
set serverkill="C:\Program Files (x86)\Steam\SteamApps\common\Arma 3"
cd /d %serverkill%
taskkill /im arma3server.exe
echo.
echo Kill Bec.exe
set beckill="C:\Program Files (x86)\Steam\SteamApps\common\Arma 3\Bec"
cd /d %beckill%
taskkill /im bec.exe
echo.
cls
@exit

Here is my start.bat that also monitor the server and restarts it when it goes down.

@echo off
cls

set version=0.9.35
set wat=Arma3 Exile

title %wat% Watchdog

:watchdog
echo (%time%) %wat% started.
start "Exile" /wait /high "arma3server.exe" -port=2302 "-serverMod=@ExileServer;@A3XAI;" "-mod=@Exile;@ryanzombies;@rhs_afrf3;@rhs_usf3;@nato_russian_sf_weapons;@tryk;" "-config=@ExileServer\config.cfg" "-cfg=@ExileServer\basic.cfg" -bepath=C:\BattlEye -profiles=config_exile -name=exile -malloc=tbbmalloc -autoinit -enableHT -filePatching -nologs
echo (%time%) %wat% closed or crashed, restarting.
goto watchdog

Edited by bliskin

Share this post


Link to post
Share on other sites
Advertisement

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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.