Jump to content
Sign in to follow this  
Mauricio Britto

BEC for DayZ SA

Recommended Posts

My BEC don't start.

FgGOx3v.png

Config

# 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\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]
#--------------------------------------------------------------------------------------------------------

# Auto run loadbans when ban file(s) changes. 
# 1 or True will turn it on.
# 0 or False will turn it off. 
# If this parameter is not defined it will use False as default.

AutoLoadBans = True

# 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
ServerExeName = DayZServer_x64.exe


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


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


# Max length, kicks players who has to long name when they connect.
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 = NewArmaExeName.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	= 300


# If enabled. Bec will create separate 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 = O servidor está cheio


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


#--------------------------------------------------------------------------------------------------------
[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 = -1
Global = -1
Side = -1
Group = -1
Vehicle	= -1
Command	= -1
Commander = -1
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

 

Share this post


Link to post
Share on other sites
20 minutes ago, Finest_ said:

i fugured it out ! Bec.exe --dsc

did you manage to get dart connectd im still haing problems what do i need to do

Share this post


Link to post
Share on other sites
1 minute ago, mrwolv said:

did you manage to get dart connectd im still haing problems what do i need to do

sure still use the GamePort as Rcon port that was instant working for me 

Share this post


Link to post
Share on other sites
20 minutes ago, Finest_ said:

sure still use the GamePort as Rcon port that was instant working for me 

just tells me the following

 

[2018-09-20 | 15:15:43] Failed to connect. Please make sure that you properly set a password in beserver.cfg and the server is running.

could you show me what you have in your BEServer_x64.cfg

also what do you have in your bat file so when the server is started up it knows to check the BEServer_x64.cfg file for password

 

Edited by mrwolv

Share this post


Link to post
Share on other sites
28 minutes ago, mrwolv said:

just tells me the following

 

[2018-09-20 | 15:15:43] Failed to connect. Please make sure that you properly set a password in beserver.cfg and the server is running.

could you show me what you have in your BEServer_x64.cfg

also what do you have in your bat file so when the server is started up it knows to check the BEServer_x64.cfg file for password

 

sounds like you dont set a config path and your edit the wrong beserver.cfg

Share this post


Link to post
Share on other sites
Just now, Finest_ said:

sounds like you dont set a config path and your edit the wrong beserver.cfg

i am currently using the on inside of the serve folder in bec  c:\Program Files (x86)\Steam\steamapps\common\DayZServer\battleye   inside here i make a file called BEServer_x64.cfg inside that i have the following

RConPassword test

RestrictRCon 0

 

but still dose not connect

 

Share this post


Link to post
Share on other sites
Just now, Finest_ said:

we need still a bit more informations how you start your server

i have a bat file here is the content

 

 @echo off
    cls
    
    set version=1.0
    set wat=Dayz SA

    title %wat% Watchdog

    cd C:\Program Files (x86)\Steam\steamapps\common\DayZServer
    
    :watchdog
    echo (%time%) %wat% started.
    start "Dayz_SA" /wait /affinity FF /high "DayZServer_x64.exe" -config=serverDZ.cfg -dologs  -BEpath=C:\Program Files (x86)\Steam\steamapps\common\DayZServer\battleye
    echo (%time%) %wat% closed or crashed, restarting.
    goto watchdog  

Share this post


Link to post
Share on other sites
4 hours ago, Finest_ said:

we need still a bit more informations how you start your server

any idears please ?

Share this post


Link to post
Share on other sites
16:47:17 : No Valid response. Trying to reconnect.!
16:47:21 : No Valid response. Trying to reconnect.!
16:47:25 : No Valid response. Trying to reconnect.!
16:47:29 : Lost Connection!
16:47:29 : Closing socket & exiting!

This is all i get.. :(
it doesnt make sense.. path looks correct, my server is up, i can connect via dart

Launch Dayz: C:\steamcmd\DayZ-sa_server\DayZServer_x64.exe -config=serverDZ.cfg -port=2302 -profiles=C:\Users\%USER%\Documents\DayZ Server -adminlog -netlog -freezecheck -noFilePatching -BEpath=C:\steamcmd\DayZ-sa_server\battleye -cpuCount=8

Launch Bec: C:\steamcmd\DayZ-sa_server\Bec\Bec.exe -f Config.cfg --dsc

 

Bec Config:
 

# 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:\steamcmd\DayZ-sa_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


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

# Auto run loadbans when ban file(s) changes. 
# 1 or True will turn it on.
# 0 or False will turn it off. 
# If this parameter is not defined it will use False as default.

AutoLoadBans = True

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


# 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 when they connect
DisallowPlayerNameChars	= []{}()0123456789


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


# Max length, kicks players who has to long name when they connect.
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 = DayZServer_x64.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	= 90


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


# 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 = 30
Global = 5
Side = 7
Group = 9
Vehicle	= 11
Command	= 13
Commander = 15
Direct = 17


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


 

Edited by Agusanz
Added launch parameters

Share this post


Link to post
Share on other sites
2 minutes ago, Agusanz said:

16:47:17 : No Valid response. Trying to reconnect.!
16:47:21 : No Valid response. Trying to reconnect.!
16:47:25 : No Valid response. Trying to reconnect.!
16:47:29 : Lost Connection!
16:47:29 : Closing socket & exiting!

This is all i get.. :(
it doesnt make sense.. path looks correct, my server is up, i can connect via dart

there should be no spaces in the path, for example -BEPath=C:\user

Share this post


Link to post
Share on other sites
2 hours ago, Infinite_1st said:

there should be no spaces in the path, for example -BEPath=C:\user

You're talking about Bec config.cfg? It makes no changes.. still the same error. (I did it that way because of the example)

Share this post


Link to post
Share on other sites
8 hours ago, Agusanz said:

You're talking about Bec config.cfg? It makes no changes.. still the same error. (I did it that way because of the example)

my config is in D:\abc\BEServer_x64, -BEPath=D:\abc, server is in D:\Program Files (x86)\Steam\steamapps\common\DayZServer, BAT file contains 

    @echo off
    cls
    
    set version=1.0
    set wat=Dayz SA

    title %wat% Watchdog

    cd D:\Program Files (x86)\Steam\steamapps\common\DayZServer
    
    :watchdog
    echo (%time%) %wat% started.
    start "Dayz_SA" /wait /affinity FF /high "DayZServer_x64.exe" -config=serverDZ.cfg -BEPath=D:\abc
    echo (%time%) %wat% closed or crashed, restarting.
    goto watchdog

BEServer_x64.cgf is

RConPassword ****
RestrictRCon 0
RConPort 2302
RConIP 127.0.0.1

Dart version is 2.3.0.0

Edited by Infinite_1st

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×