Sign in to follow this  
Followers 0
bustednuts

BEC will not connect to the server

14 posts in this topic

Ok I have had my server set up for a few days and it for whatever reason didn't have BEC in the files. My buddy has a server and I downloaded the files I needed.  This is my startup script.

Spoiler

@echo off
color 0a
echo Killing current running server ...
timeout 5
taskkill /IM arma3serverexess.exe /F
taskkill /IM Bec_A3exess.exe /F
echo Starting Server ...
timeout 5
start "arma3" "C:\Arma\Server\arma3server.exe" cpuCount=4 -ip=64.74.97.206  -port=3306 "-config=C:\Arma\Server\TADST\TheOrderExileNamalsk\TADST_config.cfg" "-cfg=C:\Arma\Server\TADST\TheOrderExileNamalsk\TADST_basic.cfg" "-profiles=C:\Arma\Server\TADST\TheOrderExileNamalsk" -name=TheOrderExileNamalsk -filePatching "-mod=@CBA_A3;@CUP_Units;@CUP_Vehicles;@CUP_Weapons;@Exile;@ExileServer;@Namalsk;@NIArsenal" -autoInit
:start_bec
timeout 20
echo.
cd C:\Arma\Server\BEC
echo Starting BEC again ...
start Bec_A3exess.exe -f Config.cfg

The server starts and BEC starts ,but it will not connect.  This is my Battleye.cfg

Spoiler

RConPassword abc321
MaxPing 600
RConIP 64.74.97.206
RConPort 3310

This is BEC.cfg

Spoiler

# This config file is only provided as an example file.
# Edit it to sute your needs.
# For more info on how to edit this file. use the Readme.txt file or visit http://www.ibattle.org/install-and-configure


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

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


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


# Set the path to the BattlEye directory that is currently in use by the server.
BePath = C:\Arma\Server\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
 

I dont know why it will not connect.  It's driving me mad!  This is set up on a vds and the firewall is off.  I dont know what else to check? Also I noticed that if the server is running and you try to run the batch again it wont kill the current running server and it will just start another . I dont know it that is right or not. 

Share this post


Link to post
Share on other sites

Take out the RConIP, it's only needed for multihomed servers. Make sure 3310 is open on the firewall. Check your instance folder to see if there's another beconfig file. Battleye will sometimes make a separate BEConfig that has a hex value of the instance info (I think hex value of the port number), for instance, mine looks like this: BEServer_active_9f2.cfg. If there is one of those in your battleye folder, make sure that has RConPort specified.

Share this post


Link to post
Share on other sites
Advertisement

Should I just delete that folder because I got it from a different server? Better question is where could I get these file fresh instead of using my buddys files.  Were in the firewall would i check to see if a port is open?  

Share this post


Link to post
Share on other sites

OK Here is what i have now and it still is not working . 

Spoiler

#--------------------------------------------------------------------------------------------------------
[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 = 3302


# Set the path to the BattlEye directory that is currently in use by the server.
BePath = C:\ExileEsseker\Server\TADST\ExileEsseker\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
 

BEC Logs

Spoiler

09:56:39 : Starting plugin : WatchDog V.0.16
09:56:39 : Creating watchdog for admin file...
09:56:39 : Creating watchdog for command file...
09:56:39 : Creating watchdog for BE filter files...
09:57:15 : No Valid response. Trying to reconnect.!
09:57:19 : No Valid response. Trying to reconnect.!
09:57:23 : No Valid response. Trying to reconnect.!
09:57:27 : Lost Connection!
09:57:27 : Closing socket & exiting!
 

Start up bat

Spoiler

@echo off
echo Killing current running server ...
timeout 5
taskkill /IM arma3server.exe /F
taskkill /IM Bec_A3exess.exe /F
echo Starting Server ...
timeout 5
start "arma3" "C:\ExileEsseker\Server\arma3server.exe" -port=3302 -BEpath=C:\ExileEsseker\Server\TADST\ExileEsseker\Battleye "-config=C:\ExileEsseker\Server\TADST\ExileEsseker\TADST_config.cfg" "-cfg=C:\ExileEsseker\Server\TADST\ExileEsseker\TADST_basic.cfg" "-profiles=C:\ExileEsseker\Server\TADST\ExileEsseker\Battleye" -name=ExileEsseker -pid=pid.log -ranking=ranking.log "-mod=@CBA_A3;@CUP_Units;@CUP_Vehicles;@CUP_Weapons;@Exile;@ExileServer;@NIArsenal;@Ryanzombies;@CUP Terrains - Core;@CUP Terrains - Maps;@CUP Units;@DonkeyPuncheD_Exile_Addon_Mod;@Esseker" -enableHT -maxMem=3048 -autoInit
:start_bec
timeout 45
echo.
cd C:\ExileEsseker\Server\Bec
echo Starting BEC again ...
@start Bec_A3exess.exe -f Config.cfg --dsc

Exit

I dont understand why it wont connect.

Share this post


Link to post
Share on other sites

Make sure there's not another beconfig.cfg in your BE directory, battleye will create a new config with the running parameters sometimes. Make sure both have the rcon port specified if that's the case.

Share this post


Link to post
Share on other sites
1 hour ago, bustednuts said:

OK Here is what i have now and it still is not working . 

  Reveal hidden contents

#--------------------------------------------------------------------------------------------------------
[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 = 3302


# Set the path to the BattlEye directory that is currently in use by the server.
BePath = C:\ExileEsseker\Server\TADST\ExileEsseker\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
 

BEC Logs

  Reveal hidden contents

09:56:39 : Starting plugin : WatchDog V.0.16
09:56:39 : Creating watchdog for admin file...
09:56:39 : Creating watchdog for command file...
09:56:39 : Creating watchdog for BE filter files...
09:57:15 : No Valid response. Trying to reconnect.!
09:57:19 : No Valid response. Trying to reconnect.!
09:57:23 : No Valid response. Trying to reconnect.!
09:57:27 : Lost Connection!
09:57:27 : Closing socket & exiting!
 

Start up bat

  Hide contents

@echo off
echo Killing current running server ...
timeout 5
taskkill /IM arma3server.exe /F
taskkill /IM Bec_A3exess.exe /F
echo Starting Server ...
timeout 5
start "arma3" "C:\ExileEsseker\Server\arma3server.exe" -port=3302 -BEpath=C:\ExileEsseker\Server\TADST\ExileEsseker\Battleye "-config=C:\ExileEsseker\Server\TADST\ExileEsseker\TADST_config.cfg" "-cfg=C:\ExileEsseker\Server\TADST\ExileEsseker\TADST_basic.cfg" "-profiles=C:\ExileEsseker\Server\TADST\ExileEsseker\Battleye" -name=ExileEsseker -pid=pid.log -ranking=ranking.log "-mod=@CBA_A3;@CUP_Units;@CUP_Vehicles;@CUP_Weapons;@Exile;@ExileServer;@NIArsenal;@Ryanzombies;@CUP Terrains - Core;@CUP Terrains - Maps;@CUP Units;@DonkeyPuncheD_Exile_Addon_Mod;@Esseker" -enableHT -maxMem=3048 -autoInit
:start_bec
timeout 45
echo.
cd C:\ExileEsseker\Server\Bec
echo Starting BEC again ...
@start Bec_A3exess.exe -f Config.cfg --dsc

Exit

I dont understand why it wont connect.

Edit the BEServer.cfg in the Battleye directory of your server to include:

 

 RCON Password

Max Ping

RCON Port

 

NOTE: The Rcon port must be different from the Arma 3 server port as it is taken, this has been like this since the 1.58 arma 3 update.

 

Best practice to add 10 to the server port.

Share this post


Link to post
Share on other sites

So This is what I have done now will still no BEC . This is my start up file 

Spoiler

@echo off
echo Killing current running server ...
timeout 5
taskkill /IM arma3server.exe /F
taskkill /IM Bec_A3exess.exe /F
echo Starting Server ...
timeout 5
start "arma3" "C:\ExileEsseker\Server\arma3server.exe" -port=3302 -BEpath=C:\ExileEsseker\Server\TADST\ExileEsseker\Battleye "-config=C:\ExileEsseker\Server\TADST\ExileEsseker\TADST_config.cfg" "-cfg=C:\ExileEsseker\Server\TADST\ExileEsseker\TADST_basic.cfg" "-profiles=C:\ExileEsseker\Server\TADST\ExileEsseker\Battleye" -name=ExileEsseker -pid=pid.log -ranking=ranking.log "-mod=@CBA_A3;@CUP_Units;@CUP_Vehicles;@CUP_Weapons;@Exile;@ExileServer;@TRYK's Multi-Play Unifrom's pack;@NIArsenal;@Ryanzombies;@CUP Terrains - Core;@CUP Terrains - Maps;@CUP Units;@Esseker" -enableHT -maxMem=3048 -autoInit
:start_bec
timeout 45
echo.
cd C:\ExileEsseker\Server\Bec
echo Starting BEC again ...
@start Bec_A3exess.exe -f Config.cfg --dsc

Exit

This is the bec config

Spoiler

# This config file is only provided as an example file.
# Edit it to sute your needs.
# For more info on how to edit this file. use the Readme.txt file or visit http://www.ibattle.org/install-and-configure


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

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


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


# Set the path to the BattlEye directory that is currently in use by the server.
BePath = C:\ExileEsseker\Server\TADST\ExileEsseker\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


#--------------------------------------------------------------------------------------------------------
[Misc]
#--------------------------------------------------------------------------------------------------------

# Set which type of hacks that will be added to your banlist.
# 0 = none. 1 = GameHack. 2 = Battleye Hack. 3 = both GameHack & Battleye Hack. 
# value 3 is set as default if this parameter is not defined.
Ban = 3


# Set the names of your custom ban files, Separate each file with "," (comma): file1.txt, banfile2.txt, newfile.txt
# If you do not use any custom ban files. delete this option or leave this option commented.
# This option will check ban files for changes and automatic do a loadbans file when a file gets changed
# Do not specify the default bans.txt file here.
# BeCustomBanFiles = Bans1.txt, file2.txt, file3.txt


# Set the height & width of Becs console window
ConsoleHeight    = 45
ConsoleWidth    = 165


# Only allow english chars.
AsciiNickOnly = False


# Only allow english chars to be typed on the chat. Note, Warnings must be enabled. 0 or more.
AsciiChatOnly = True


# If AsciiChatOnly is set True. you can define none english chars that will be accepted.
# You separate each char with a , "note you need to define lower and upper case of the chars."
IgnoreChatChars    = €,£,æ,Æ,ø,Ø,å,Å,ö,ä,ü,ß


# Set the amount of warnings a player will get before kicked. -1 is disabled. 0 instant kick
# 1 == one warning on a bad word. next bad word results in kick
# Warnings = 3


# Kick players who has listed chars in their name
# DisallowPlayerNameChars    = []{}()0123456789


# Min length, kicks players who has to short name.
MinPlayerNameLength    = 3


# Max length, kicks players who has to long name.
MaxPlayerNameLength    = 45


# Set the name of your Arma3server.exe if it has been renamed from arma3server.exe to something else!
# if the exe has its original name. comment it out.
# DO NOT SET FULL PATH TO THE EXE FILE
#ServerExeName = arma3server.exe


# Set path to the file containing a list of bad words. Note, Warnings must be enabled. 0 or more.
# WordFilterFile = BadWords.txt


# Set the path to the file containing whitelisted guids.
# WhiteListFile = WhiteList.txt


# Set custom whitelist kick message. Text must be in ascii letters.  MAX 58 CHARS. BE only does ascii on messages
# WhiteListKickMsg = You are not whitelisted on this server.


# Kick people with offensive names
# NickFilterFile = BadNames.txt


# Set the path to the Scheduler.xml file.
Scheduler = Scheduler.xml


# Kick people who are idleing in the lobby, kick will happen after given time, Min time is 90 sec. use 0 to disable this function.
KickLobbyIdlers    = 0


# If enabled. Bec will create separate chat files for each channel along with the main file.
# ChatChannelFiles = false

# Set the amount of Normal players who can connect. Set it to -1 to disable it. 
# If set to 0 it means only players who are listed in the Admins.xml, (or whatever you call it) will be able to connect to the server.
# Quick Example 1: server can holed 50 players. and you want to reserve 5 slots for admins. then set SlotLimit to 45.
# Quick Example 2: server can holed 50 players. and you want to reserve 5 slots for admins and 5 slots for friends. then set SlotLimit to 40,
# AND edit your admins.xml. ADD in all your frineds guid and remaining data, put them in group example 100. or whatever you feel likt.
# by using this method you can give some of your friends some access to some commands if you like or none. 
# in general this is works like .Whitelisting X player slots for admins and friends, while leaving the remaining Y slots for public.
SlotLimit = -1

# Set the message people will get when they try to connect and is not whitelisted. Text must be in ascii letters.
SlotLimitKickMsg = The Server has reached its player limit.


# The amount of time Bec will wait for the server to start up.
Timeout = 30


#--------------------------------------------------------------------------------------------------------
[Reporter]
#--------------------------------------------------------------------------------------------------------
# Reporter account. Fill in the username and password for your reporter account.
# GameHacks, BattlEye Hacks will be reported to a database. all players who connect will also be checked against this database.

# Set the Username for your account
# User = alfred


# Set the Password for your account
# Password = 123456


#--------------------------------------------------------------------------------------------------------
[ChatRestriction]
#--------------------------------------------------------------------------------------------------------
# Set max amount of chat lines a player is allowed to send for each channel. 
# Going passed the number will result in kick. -1 is disabled, 0 instant kick.
# If the number is higher than 0 players will be sent warnings.

Lobby = 0
Global = 5
Side = -1
Group = -1
Vehicle    = -1
Command    = 13
Commander = 15
Direct = -1


#--------------------------------------------------------------------------------------------------------
[ChatSpam]
#--------------------------------------------------------------------------------------------------------

# Set max amount of chat lines per channel allowed within given time frame.
# Set the values to 0 to disable this function(s)

# Quick Example:
# Lobby = 5
# Lobby_Time_Lower = 10
# Lobby_Time_Upper = 15

# If the time between each new chatlines from a player is less than CHANNEL_Time_Lower the spam counter increases by + 1. 
# Consider the CHANNEL (Lobby) as the spam counter.
# When a player has (CHANNEL - 1) in spam counting. a warning will be sent to whom it may concern.
# If the time between each new chatline from the player is Greater than CHANNEL_Time_Lower and Less than CHANNEL_Time_Upper the spam counter stay as it is.
# If the time since the last chatline is greater then CHANNEL_Time_Upper the spam counter is reset to 1.
# To get optimal result play around a bit with the values on your server.

Lobby = 0
Lobby_Time_Lower = 0
Lobby_Time_Upper = 0

Global = 0
Global_Time_Lower = 0
Global_Time_Upper = 0

Side = 0
Side_Time_Lower    = 0
Side_Time_Upper    = 0

Group = 2
Group_Time_Lower = 1
Group_Time_Upper = 3

Vehicle    = 0
Vehicle_Time_Lower = 0
Vehicle_Time_Upper = 0

Command = 0
Command_Time_Lower = 0
Command_Time_Upper = 0

Commander = 0
Commander_Time_Lower = 0
Commander_Time_Upper = 0

Direct = 0
Direct_Time_Lower = 0
Direct_Time_Upper = 0

And this is the batteyecfg

Spoiler

RConPassword abc123
RConPort 3312

 

Share this post


Link to post
Share on other sites

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


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

That is what's wrong.

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.