Jump to content
MoNtEcRiStO©

[Tutorial] BEC auto reboot 6h + messages

Recommended Posts

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Difficulty: Medium

Author: stevemcgarrettthierry 

support by: @harmdhast

Translate and adjuste by: MoNtEcRiStO©

Source: AltisDev.com Link

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

First we put the BEC localhost

 

C:\Windows\System32\drivers\etc 

and you put at the end this:

127.0.0.1 ibattle.org  
127.0.0.1 www.ibattle.org 

look like:

# Copyright (c) 1993-2009 Microsoft Corp.  
#  
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.  
#  
# This file contains the mappings of IP addresses to host names. Each  
# entry should be kept on an individual line. The IP address should  
# be placed in the first column followed by the corresponding host name.  
# The IP address and the host name should be separated by at least one  
# space.  
#  
# Additionally, comments (such as these) may be inserted on individual  
# lines or following the machine name denoted by a '#' symbol.  
#  
# 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       localhost  
127.0.0.1 ibattle.org  
127.0.0.1 www.ibattle.org  

Now the BEC is at localhost.

 

Step 1:

Download: http://ibattle.org/downloads/

 

Step 2:

in Bec\Config->open->config.cfg

you have to change all maj so/IP /PORT/BEPATH

vvv# Set the ip to your server. normally 127.0.0.1 will be fine.  
IP = METTRE IP DU SERVER PAS LOCAL  

# Set the port to the server. default port is 2302  
Port = METTRE PORT DU RCON   

# Set the path to the BattlEye directory that is currently in use by the server.  
BePath = config\BattlEye CHEMIN VERS BEPATH ACTIVE DEFAULT VOTRE DOSSIER config\BattlEye

Go ligne 90 :

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

add this # befor: WhiteListFile = WhiteList.txt

like that:

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

go down  config.cfg and search for:

#–------------------------------------------------------------------------------------------------------  
[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 = Password  

Replace the Password for your rcon password.

Now we have finish with the config.cfg

Now open Scheduler.xml in the same folder and replace all by that [edit the server message as you wish]

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>  

<Scheduler>  
	<job id='0'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>000120</start>  
		<runtime>000800</runtime>  
		<loop>-1</loop>  
		<cmd>say -1 INFO ! MOTDXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX MOTD|| </cmd>  
	</job>  
	<job id='1'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>000124</start>  
		<runtime>013000</runtime>  
		<loop>-1</loop>  
		<cmd>say -1 INFO ! Server : The server reboot 5 times per day ! (00H00 / 06H00 / 12H00 / 18H00 / 00H00)</cmd>  
	</job>  
	<job id='2'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>000128</start>  
		<runtime>001200</runtime>  
		<loop>-1</loop>  
		<cmd>say -1 Welcom to xxxxxxx !</cmd>  
	</job>  
	<job id='3'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>23:00:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 1 hrs.</cmd>  
	</job>  
	<job id='4'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>23:30:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 30 minutes.</cmd>  
	</job>  
	<job id='5'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>23:45:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 15 minutes.</cmd>  
	</job>  
	<job id='6'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>23:55:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 5 minutes.. Dont forget SYNC.</cmd>  
	</job>  
	<job id='7'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>23:59:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 1 minutes.</cmd>  
	</job>  
	<job id='8'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>23:59:45</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 15 secondes.</cmd>  
	</job>  
	<job id='9'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>23:59:55</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 5 secondes.</cmd>  
	</job>  
	<job id='10'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>05:30:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>C:\Users\root\Desktop\Arma\@STARTALTISLIFE.bat</cmd>  
	</job>  
	<job id='11'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>05:00:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 1 hrs.</cmd>  
	</job>  
	<job id='12'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>05:30:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 30 minutes.</cmd>  
	</job>  
	<job id='13'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>05:45:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 15 minutes.</cmd>  
	</job>  
	<job id='14'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>05:55:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 5 minutes.. Dont forget SYNC</cmd>  
	</job>  
	<job id='15'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>05:59:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Le serveur reboot dans 1 minutes.</cmd>  
	</job>  
	<job id='16'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>06:00:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>C:\Users\root\Desktop\Arma\@STARTALTISLIFE.bat</cmd>  
	</job>  
	<job id='17'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>11:00:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 1 hrs.</cmd>  
	</job>  
	<job id='18'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>11:30:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 30 minutes.</cmd>  
	</job>  
	<job id='19'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>11:45:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 15 minutes.</cmd>  
	</job>  
	<job id='20'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>11:55:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 5 minutes.. Dont forget SYNC</cmd>  
	</job>  
	<job id='21'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>11:59:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Le serveur reboot dans 1 minutes.</cmd>  
	</job>  
	<job id='22'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>11:59:45</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 15 minutes.</cmd>  
	</job>  
	<job id='23'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>11:59:55</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 5 secondes.</cmd>  
	</job>  
	<job id='24'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>12:00:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>C:\Users\root\Desktop\Arma\@STARTALTISLIFE.bat</cmd>  
	</job>  
	<job id='25'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>17:00:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 1 hrs.</cmd>  
	</job>  
	<job id='26'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>17:30:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 30 minutes.</cmd>  
	</job>  
	<job id='27'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>17:45:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 15 minutes.</cmd>  
	</job>  
	<job id='28'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>17:55:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 5 minutes.. Dont forget SYNC</cmd>  
	</job>  
	<job id='29'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>17:59:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Le serveur reboot dans 1 minutes.</cmd>  
	</job>  
	<job id='30'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>17:59:45</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 15 minutes.</cmd>  
	</job>  
	<job id='31'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>17:59:55</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 5 secondes.</cmd>  
	</job>  
	<job id='32'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>18:00:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>C:\Users\root\Desktop\Arma\@STARTALTISLIFE.bat</cmd>  
	</job>  
	<job id='33'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>23:00:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 1 hrs.</cmd>  
	</job>  
	<job id='34'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>23:30:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 30 minutes.</cmd>  
	</job>  
	<job id='35'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>23:45:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 15 minutes.</cmd>  
	</job>  
	<job id='36'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>23:55:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 5 minutes.. Dont forget SYNC</cmd>  
	</job>  
	<job id='37'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>23:59:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Le serveur reboot dans 1 minutes.</cmd>  
	</job>  
	<job id='38'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>23:59:45</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 15 minutes.</cmd>  
	</job>  
	<job id='39'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>23:59:55</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>say -1 Server reboot in 5 secondes.</cmd>  
	</job>  
	<job id='40'>  
		<day>1,2,3,4,5,6,7</day>  
		<start>00:00:00</start>  
		<runtime>000000</runtime>  
		<loop>0</loop>  
		<cmd>C:\Users\root\Desktop\Arma\@STARTALTISLIFE.bat</cmd>  
	</job>  
</Scheduler>  

 

Step 3: 

Edit your .bat

start "arma3" /min /high "ARMA 3 root" -port=2302 -ip=VOTRE IP  [email protected]_server;@extDB2;@infiSTAR_A3 -noPause -name=cfg -profiles=config -config=config\server.cfg -noCB -maxMem=10000 -cpuCount=4  
@echo off  

taskkill /f /fi "status eq not responding" /im arma3serverexe  
taskkill /f /im arma3server.exe  
timeout 1  

cd C:\VOTRE CHEMIN VERS ARMA 3  
timeout 3  
start "arma3" /min /high "c:\ARMA 3 root" -port=2302 -ip=VOTRE IP [email protected]_server;@extDB2;@infiSTAR_A3 -noPause -name=cfg -profiles=config -config=config\server.cfg -noCB -maxMem=10000 -cpuCount=4  
timeout 3  
echo ARMA 3 launch  
timeout 30  
cd "C:ROOT of BECEXE & Start Bec.exe myParam  
exit   

 

Now for the .bat is done!

 

Go to the config\BattlEye root

 

RConPassword YOUR PASSWORD IN THE CONFIG.SQF BEC  
RConip IP THE SPECIFIC IP NOT THIS 127.0.0.1 BECAUSE IS A DISTANCE CONEXION   
RConport PORT WE RECOMMEND 2312 HAVE TOBE PUT IN CONFIG.SQF  BEC   OF THE BEC
MaxPing 350  

 

Launch the .bat

 

DONE !

  • Like 2

Share this post


Link to post
Share on other sites

@MoNtEcRiStO©

Thanks for the credits.

Please note that RConIP is not mandatory and will be 0.0.0.0 by default (binded to all addresses), if you use the Rcon directly on your server please ensure that you are using 127.0.0.1, as well as BEC should be configured for using localhost so if you use Remote Control don't use this parameter at all. However, I recommend not allowing remote control of the RCon because it can be easily bruteforced (use at your own risk).

Also note that the used port could be 2306 as 2302 to 2305 are restricted for Arma usage only and it seems logic to make the RConPort 2306 as any server added on the same server could just be like 2302...2312...2322 (and RconPort 2306,2316,2326).

 

 

Share this post


Link to post
Share on other sites
3 hours ago, harmdhast said:

@MoNtEcRiStO©

Thanks for the credits.

Please note that RConIP is not mandatory and will be 0.0.0.0 by default (binded to all addresses), if you use the Rcon directly on your server please ensure that you are using 127.0.0.1, as well as BEC should be configured for using localhost so if you use Remote Control don't use this parameter at all. However, I recommend not allowing remote control of the RCon because it can be easily bruteforced (use at your own risk).

Also note that the used port could be 2306 as 2302 to 2305 are restricted for Arma usage only and it seems logic to make the RConPort 2306 as any server added on the same server could just be like 2302...2312...2322 (and RconPort 2306,2316,2326).

 

 

True! Thank for the follow and support us in the rebuild community!

Share this post


Link to post
Share on other sites

Thanks for the Tutorial!

Hello all and sorry for my bad English^_^

Have a Problem with BEC Update

qu9ax4uy.png

 

Working on Dedicated Server.

[Rcon]
IP = 127.0.0.1
Port = 2301
Password = ##### "same as BEServer.cfg"

 

BEServer.cfg

RConPassword #####
RConIP 127.0.0.1
RConPort 2301
MaxPing 350

 

What i have tried... 

*Restarts Host and reinstall Arma.

*different Ports like 2306, 2316... Ports are open

*[Rcon]

*RConIP 0.0.0.0 and without IP

 

Config.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 = 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:\Steam\steamapps\common\Arma 3 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

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

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

 

 

start.bat

Spoiler
@echo off
taskkill /f /fi "status eq not responding" /im arma3serverexe 
taskkill /f /im arma3server.exe 
timeout 1
echo ==============================
echo Starting the Altis Life Server
echo ==============================
echo.
set svExe=arma3server.exe
set svPort=2302
set [email protected]_server;@extDB3;
IF not exist "basic.cfg" (
  echo ==============================
  echo    Creating basic.cfg file
  echo ==============================
  echo.
  echo MaxMsgSend = 128; >> basic.cfg
  echo MaxSizeGuaranteed = 512; >> basic.cfg
  echo MaxSizeNonguaranteed = 256; >> basic.cfg
  echo MinBandwidth = 131072; >> basic.cfg
  echo MaxBandwidth = 2097152000; >> basic.cfg
  echo MinErrorToSend = 0.001; >> basic.cfg
  echo MinErrorToSendNear = 0.01; >> basic.cfg
  echo MaxCustomFileSize = 1310720; >> basic.cfg
  echo class sockets{maxPacketSize = 1400;}; >> basic.cfg
  echo adapter=-1; >> basic.cfg
  echo 3D_Performance=1; >> basic.cfg
  echo Resolution_W=0; >> basic.cfg
  echo Resolution_H=0; >> basic.cfg
  echo Resolution_Bpp=32; >> basic.cfg
  echo terrainGrid=25; >> basic.cfg
  echo viewDistance=2000; >> basic.cfg
  echo Windowed=0; >> basic.cfg
  PING -n 2 127.0.0.1>nul
)
IF not exist "config.cfg" (
  echo ==============================
  echo    Creating config.cfg file
  echo ==============================
  echo.

  echo hostName = "#######"; >> config.cfg
  echo password = ""; >> config.cfg
  echo passwordAdmin = "#######"; >> config.cfg
  echo serverCommandPassword = ""; >> config.cfg
  echo logFile = ""; >> config.cfg
  echo motd[] = { >> config.cfg
  echo }; >> config.cfg
  echo. >> config.cfg
  echo motdInterval = 3; >> config.cfg
  echo kickduplicate = 1; >> config.cfg
  echo verifySignatures = 2; >> config.cfg
  echo allowedFilePatching = 0; >> config.cfg
  echo requiredSecureId = 0; >> config.cfg
  echo voteMissionPlayers = 1; >> config.cfg
  echo voteThreshold = 2; >> config.cfg
  echo disableVoN = 0; >> config.cfg
  echo vonCodecQuality = 10; >> config.cfg
  echo persistent = 1; >> config.cfg
  echo timeStampFormat = "none"; >> config.cfg
  echo BattlEye = 1; >> config.cfg
  echo. >> config.cfg
  echo doubleIdDetected = ""; >> config.cfg
  echo onUserConnected = ""; >> config.cfg
  echo onUserDisconnected = ""; >> config.cfg
  echo onHackedData = ""; >> config.cfg
  echo onDifferentData = ""; >> config.cfg
  echo onUnsignedData = ""; >> config.cfg
  echo regularCheck = ""; >> config.cfg
  echo. >> config.cfg
  echo class Missions >> config.cfg
  echo { >> config.cfg
  echo  class Mission_1 >> config.cfg
  echo  { >> config.cfg
  echo      template = "Altis_Life.Altis"; >> config.cfg
  echo      difficulty = "regular"; >> config.cfg
  echo  }; >> config.cfg
  echo }; >> config.cfg
  PING -n 2 127.0.0.1>nul
)
:folder
set Folder=ServerProfiles
IF not exist %Folder% (
  echo ==============================
  echo Creating ServerProfiles Folder
  echo ==============================
  echo.
  mkdir %Folder%
  PING -n 2 127.0.0.1>nul
)
echo ==============================
echo Server .exe: %svExe%
echo ==============================
echo.

start "" "%svExe%" -cfg=basic.cfg -config=config.cfg -profiles=ServerProfiles -nosound -port=%svPort% -serverMod=%svMod%;
PING -n 2 127.0.0.1>nul
echo ==============================
echo Listening to port: %svPort%
echo ==============================
echo.
PING -n 2 127.0.0.1>nul
echo ==============================
echo Mods: %svMod%
echo ==============================
echo.
PING -n 8 127.0.0.1>nul
start "" /D "C:\Steam\steamapps\common\Arma 3 Server\BEC" Bec.exe -f Config.cfg
@exit

 

hosts

Spoiler
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# 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
0.0.0.0         .psf
0.0.0.0         psf
127.0.0.1 mewebmail.localhost
127.0.0.1 meprotocols.localhost
127.0.0.1 ibattle.org
127.0.0.1 www.ibattle.org

 

 

i read over Google and some Tutorials but nothing worked

Share this post


Link to post
Share on other sites
On 20/9/2016 at 11:32 PM, MoNtEcRiStO© said:

True! Thank for the follow and support us in the rebuild community!

Linux?

Share this post


Link to post
Share on other sites
9 hours ago, ReUnix.Bloodyyy said:

Hello, little question,
Has anyone already an idea what we should do with the x64 version?
BEC Does not work anymore!

Thx.

Rename BEServer.cfg into BEServer_x64.cfg and you'll witness a miracle

Share this post


Link to post
Share on other sites
On 9/21/2016 at 7:32 AM, MoNtEcRiStO© said:

True! Thank for the follow and support us in the rebuild community!

I can get the server up but I can't get Bec up as well!

Share this post


Link to post
Share on other sites

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

×