• 0
HeadRox

BEC not connecting to server

Question

Posted (edited)

Hi all,

I have red so many articles about this issue and so many solutions were given.
None so far did the trick for me.
Ill explain as clear as possible how my server is set up and where i have put stuff.
This is the given issue:

bec.PNG.20f3b7db4566bdcafd61a98b7f3c9ad8

My server structure is:
C:\steamCMD\steamapps\common\Arma3Server  (with arma3server.exe)
C:\steamCMD\steamapps\common\Arma3Server\battleye  (incl BEconfig.cfg with rcon and max ping set)
C:\steamCMD\steamapps\common\Arma3Server\@ExileServer (with config.cfg)
C:\BEC  (with bec.exe shorcut with: C:\BEC\Bec.exe -f config.cfg --dsc

In my start.bat

 @echo off
start "arma3" /min /high "arma3server.exe" -port=2302 "-config=@ExileServer\config.cfg" "-profiles=Config\log" "-BEpath=C:\steamCMD\steamapps\common\Arma3Server\battleye" "-cfg=@ExileServer\basic.cfg" -name=Exile "-mod=@Exile;@ExileServer;@Ryanzombies;" -world=empty -nosplash -noSound -noPause -enableHT -malloc=system -autoinit
 
exit 

My config.cfg in C:\BEC

[Bec]
#--------------------------------------------------------------------------------------------------------

# Set the ip to your server. normally 127.0.0.1 will be fine.
Ip = 127.0.0.1

# Set the port to the server. default port is 2302
Port = 2302

# Set the path to the BattlEye directory that is currently in use by the server.
BePath = C:\steamCMD\steamapps\common\Arma3Server\battleye

# Set the path to your Admins.xml file containing your admins.
Admins = Admins.xml

# Set the path to your Commands.xml file.
Commands = Commands.xml

My config.cfg (server)

hostname        = "MyServerName - Free TS3 (0.9.61|1.60)";
password         = "";
passwordAdmin      = "MyAdminPW";
serverCommandPassword= "MycommPW";
logFile            = "server.log";
verifySignatures   = 1;
BattlEye            = 1;
requiredBuild = 136341;

(  is this line correct?   BattlEye =1;   )


What i tryed to alter / add & remove:
- no spacing in the foldernames like Arma 3 and Arma3
- diffrent ip's in the config.cfg from bec: 127.0.0.1 of 192.168.0.20 or internet ip 77.xx.xx.xx
- add bec to the startup.bat as command line
- add  -f config.cfg --dsc
- download latest beserver.dll
- changed port
- added some info to the host file 

# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#127.0.0.1       localhost
#::1             localhost
127.0.0.1 ibattle.org
127.0.0.1 www.ibattle.org


What does work is the server with database. So the database is setup to ip 127.0.0.1, think that bec could find it to.

It must be some small thing that i dont see why it doenst connect to the server.

Anyone got a idea?

Thx for your help

ps. i'm online wachting the forum so any tips i can respond to or try out directly.
Also sorry wrong discussion, cant seem to move it anymore to support etc.
 

Edited by HeadRox

Share this post


Link to post
Share on other sites

5 answers to this question

  • 0

This is not the place for help topics. Lucky you, I found this before a mod =p, in your battleye folder is a a file called beserver.cfg   put  "RConIP 127.0.0.1" in the file. (no quotes).
 

Share this post


Link to post
Share on other sites
  • 0

Posted (edited)

Thx for your reply! 
Woopz ye can move my topic i think to another discussion, thx for the headsup.

I did this in the battleye folder, the beconfig.cfg -  C:\steamCMD\steamapps\common\Arma3Server\battleye  :
RConPassword MyPW
RConIp 127.0.0.1
MaxPing 600

Same result, no joy.

Edited by HeadRox

Share this post


Link to post
Share on other sites
Advertisement
  • 0

Posted (edited)

1 hour ago, HeadRox said:

Thx for your reply! 
Woopz ye can move my topic i think to another discussion, thx for the headsup.

I did this in the battleye folder, the beconfig.cfg -  C:\steamCMD\steamapps\common\Arma3Server\battleye  :
RConPassword MyPW
RConIp 127.0.0.1
MaxPing 600

Same result, no joy.

Thats because since the recent update for arma3 you are required to set the RCON port in your BEServer.cfg

 Starting with Arma 3 1.58 all server admins will have to define a dedicated port in BEServer.cfg in order to be able to use BE RCon. Please see https://www.battleye.com/support/documentation/ for details.

Example BEServer.cfg: 

RConPassword PASSWORDHERE
MaxPing 600
RConPort 2313

 

 

Ensure you match your BEC Controls port also.

Edited by Jamie
1 person likes this

Share this post


Link to post
Share on other sites
  • 0
12 minutes ago, Jamie said:

Thats because since the recent update for arma3 you are required to set the RCON port in your BEServer.cfg

 

Example BEServer.cfg: 


RConPassword PASSWORDHERE
MaxPing 600
RConPort 2313

 

 

Ensure you match your BEC Controls port also.

THAT does the trick!
Thanks man! > you guys repond realy quick.

Now to see what i messed up next 
bec1.thumb.PNG.c1f08d2ee7ce3dc077a560066

Share this post


Link to post
Share on other sites
  • 0
5 minutes ago, HeadRox said:

THAT does the trick!
Thanks man! > you guys repond realy quick.

Now to see what i messed up next 
bec1.thumb.PNG.c1f08d2ee7ce3dc077a560066

Glad I could be of some help to you.

1 person likes this

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

  • Recently Browsing   0 members

    No registered users viewing this page.