[BEC] BEC problems - "Waiting for server startup"

ZEULU

New Member
Hey guys,

So I have an issue with my favorite ARMA 2 addon (sarcastically), I have followed many tutorials and they all lead me to the same defeat. I am using a very simplistic config with only the things I need to get it running. I am launching BEC as a separately from the arma2oaserver.exe with the .BAT listed bellow:

Code:
bec.exe -f config.cfg

At first I though it was a problem with the launch script and it was no luck trying other things, so I have tried simplifying my config so I can look at it all in one place. It here bellow:

Code:
[Bec]
Ip = 127.0.0.1
Port = 2302
BePath = C:\DayZServer\instance_11_Chernarus\Battleye
Admins = Admins.xml
Commands = Commands.xml
[Misc]
ServerExeName = arma2oaserver.exe
Color = 0f
Timeout = 120
KickLobbyIdlers = 500
Scheduler = Scheduler.xml

Other things I have tried to get working:
- Chainging the IP to the external IP
- Changing the location of the Batteye folder and config.
- Deleting and rewriting the battleye "BEServer.cfg"
- Deleting and reinstalling BEC

Over an over for the past 48 hours I have tried and tried, I hope it's not a stupid mistake, but I am at a loss and got no response on any other forums I have posted. I have a feeling that everyone hates BEC and wishes to avoid it, but can't . :p If you need any other config files please let me know and I will post them as soon as I see them.

Thanks in advanced!
 
try this config.cfg:
just change the paths and other necessary things (Port maybe)
Code:
# 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 = 127.0.0.1


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


# Set the path to the BattlEye directory that is currently in use by the server.
BePath = Arma 2 Operation Arrowhead\cfgdayz\BattlEye


# Set the path to your Admins.xml file containing your admins.
Admins = Arma 2 Operation Arrowhead\Config\Admins.xml


# Set the path to your Commands.xml file.
Commands = Arma 2 Operation Arrowhead\Config\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 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 = false


# 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 = 5


# 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    = 16


# 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 = arma2oaserver1.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
# WhileListKickMsg = you are not whitelisted on this server.


# Kick people with offensive names
NickFilterFile = BadNames.txt


# Set the path to the Scheduler.xml file.
Scheduler = Arma 2 Operation Arrowhead\Config\Scheduler_PVP.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    = 300


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

# 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 isntant kick.
# If the number is higher than 0 players will be sent warnings.

Lobby = 30
Global = 0
Side = -1
Group = -1
Vehicle    = -1
Command    = 0
Commander = 0
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 consern.
# 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
 
are you having a small timeout so the server has definitly completly started before BEC is trying to connect?
 
BEC Config:
Code:
# 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 = 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:\DayZServer\instance_11_Chernarus\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 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 = false


# 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 = 5


# 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    = 16


# 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 = arma2oaserver.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
# WhileListKickMsg = 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    = 300


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

# 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 = 120


#--------------------------------------------------------------------------------------------------------
[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 isntant kick.
# If the number is higher than 0 players will be sent warnings.

Lobby = 30
Global = 0
Side = -1
Group = -1
Vehicle    = -1
Command    = 0
Commander = 0
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 consern.
# 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
 
you need to do some more additions:
set the path to your:

Code:
Commands.xml
Admins.xlm
Scheduler.xml
Should be for you something like:
C:\DayZServer\...\Admins.xml

And by timeout i meant till the arma2OAserver.exe started up.
try to add this line in your batch file BEFORE the BEC startup line:

Code:
timeout /t 60

Tell me the results ;)
 
I changed the admin.xml, commands.xml and scheduler.xml to be set to their actual paths and still the same result, as for the .bat I am not quite sure where you are recommending to add the timeout. I have the server startup .bat and the BEC start .bat separate . I followed this tutorial,
, I am not using DayZCC, but I figured it would be mostly the same.

The new BEC config.cfg:
Code:
# 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 = 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:\DayZServer\instance_11_Chernarus\Battleye


# Set the path to your Admins.xml file containing your admins.
Admins = C:\DayZServer\BEC\Config\Admins.xml


# Set the path to your Commands.xml file.
Commands = C:\DayZServer\BEC\Config\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 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 = false


# 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 = 5


# 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    = 16


# 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 = arma2oaserver.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
# WhileListKickMsg = you are not whitelisted on this server.


# Kick people with offensive names
NickFilterFile = BadNames.txt


# Set the path to the Scheduler.xml file.
Scheduler = C:\DayZServer\BEC\Config\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    = 300


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

# 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 = 120


#--------------------------------------------------------------------------------------------------------
[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 isntant kick.
# If the number is higher than 0 players will be sent warnings.

Lobby = 30
Global = 0
Side = -1
Group = -1
Vehicle    = -1
Command    = 0
Commander = 0
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 consern.
# 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

Here is the .bat I use to run BEC:
Code:
bec1.exe -f config.cfg

Here is the .bat I use to start the actual server:
Code:
@echo off
start "arma2" /min "Expansion\beta\arma2oaserver.exe" -port=2302 "-config=instance_11_Chernarus\config.cfg" "-cfg=instance_11_Chernarus\basic.cfg" "-profiles=instance_11_Chernarus" -name=instance_11_Chernarus "-mod=@DayZ_Epoch;@DayZ_Epoch_Server;@DayzOverwatch" "-BEpath=C:\DayZServer\instance_11_Chernarus\Battleye"
 
Still no connection, I don't think has anything to do with any timeout waiting for the server to start. I want to say it has to be that it can't connect through RCon or it may not know that the process is not running.
 
I have tried getting BEC to work on my local machine and it works flawlessly first try... I have duplicated the fix on my VM multiple times and no result. Are there any ports I need to open up for BEC?
 
Back
Top