• This forum has a zero tolerance policy regarding spam. If you register here to publish advertising, your user account will be deleted without further questions.

Restart,bat,und BEC

Skizz345

New Member
Hallo serversupportforum Community ,

Ich habe folgendes problem wenn ich den server restarte startet sich schon BEC aber ihrgent wie nicht die Scheduler.xml habe mehrmals nachgeschaut ob da einer fehler ist leider nein in der Config.cfg ist auch scheduler angemerkt .


Restart.bat

Code:
@echo off
::MAKE SURE ALL TASKS ARE REALLY STOPPED

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

::IF YOU PLAY ON SAME PC AS SERVER, SOMETIMES RESTARTS GET HUNG UP BECAUSE OF IT SO MAKE SURE TO KILL CLIENTSIDE TOO, I DONT, BUT JUST IN CASE YOU DO

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

:: KILL BATTLEYE IF IT ISN'T ALREADY
taskkill /im Bec.exe

::RESTARTING BATTLEYE
set PboUpdatepath="C:\arma3serverconfig\"
cd /d %PboUpdatepath%
start "" /min "PboUpdate.bat"
timeout 2
echo Updated PBU Dateien


::RESTARTING BATTLEYE
set becpath="C:\arma3serverconfig\BEC\"
cd /d %becpath%
start "" /min "Bec.exe" -f Config.cfg
timeout 3
echo Startet ARMA 3 Server und BEC

::RESTARTING THE ARMA 3 SERVER BE SURE TO EDIT THIS TO YOUR SERVER .EXE LOCATION -NOTE ALSO THIS IS WHERE YOU DEFINE WHERE YOU CONFIG.CFG IS
cd C:\Arma 3 Server
timeout 2
start "arma3" /min /high "arma3server.exe" -port=2302 "-config=C:\arma3serverconfig\TADST_config.cfg" "-cfg=C:\arma3serverconfig\basic.cfg" "-profiles=C:\arma3serverconfig" -name=arma3serverconfig -pid=pid.log -ranking=ranking.log "-mod=@Arma2NET;@life_server;@ASM" -cpuCount=4 -exThreads=7 -maxmem=8192
timeout 3
echo ARMA 3 Server laeuft

exit




scheduler.xml

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

<Scheduler>
 
	<job id="0">
		<time>006000</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>1</loop> 
		<cmd>say -1 Komm doch auf unseren Teamspeak Server: 84.200.240.177</cmd>	
		<cmdtype>0</cmdtype>
	</job>
	
	<job id="1">
		<time>006000</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>1</loop> 
		<cmd>say -1 Besucht unser Forum: www.altis-bruderschaft.de</cmd>	
		<cmdtype>0</cmdtype>
	</job>
	
	<job id="2">
		<time>006000</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>1</loop> 
		<cmd>say -1 Der Server wird um 00:00 | 04:00 | 09:00 | 14:00 | 19:00 neugestartet!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
 
	<job id="3">
		<time>23:00:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 1 Stunde neu gestartet.</cmd>	
		<cmdtype>0</cmdtype>
	</job>
	
	<job id="4">
		<time>23:15:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 45 Minuten neu gestartet.</cmd>
		<cmdtype>0</cmdtype>			
	</job>
 
	<job id="5">
		<time>23:30:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 30 Minuten neu gestartet.</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="6">
		<time>23:45:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 15 Minuten neu gestartet.</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="7">
		<time>23:55:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 5 Minuten neu gestartet. Bitte Fahrzeuge in die Garage abstellen!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="8">
		<time>23:59:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird bald neu gestartet. Nicht vergessen eure Daten zu "Sichern"!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="9">
		<time>03:00:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 1 Stunde neu gestartet.</cmd>	
		<cmdtype>0</cmdtype>
	</job>
	
	<job id="10">
		<time>03:15:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 45 Minuten neu gestartet.</cmd>
		<cmdtype>0</cmdtype>			
	</job>
 
	<job id="11">
		<time>03:30:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 30 Minuten neu gestartet.</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="12">
		<time>03:45:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 15 Minuten neu gestartet.</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="13">
		<time>03:55:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 5 Minuten neu gestartet. Bitte Fahrzeuge in die Garage abstellen!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="14">
		<time>03:59:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird bald neu gestartet. Nicht vergessen eure Daten zu "Sichern"!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="15">
		<time>08:00:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 1 Stunde neu gestartet.</cmd>	
		<cmdtype>0</cmdtype>
	</job>
	
	<job id="16">
		<time>08:15:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 45 Minuten neu gestartet.</cmd>
		<cmdtype>0</cmdtype>			
	</job>
 
	<job id="17">
		<time>08:30:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 30 Minuten neu gestartet.</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="18">
		<time>08:45:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 15 Minuten neu gestartet.</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="19">
		<time>08:55:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 5 Minuten neu gestartet. Bitte Fahrzeuge in die Garage abstellen!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="20">
		<time>08:59:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird bald neu gestartet. Nicht vergessen eure Daten zu "Sichern"!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="21">
		<time>13:00:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 1 Stunde neu gestartet.</cmd>	
		<cmdtype>0</cmdtype>
	</job>
	
	<job id="22">
		<time>13:15:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 45 Minuten neu gestartet.</cmd>
		<cmdtype>0</cmdtype>			
	</job>
 
	<job id="23">
		<time>13:30:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 30 Minuten neu gestartet.</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="24">
		<time>13:45:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 15 Minuten neu gestartet.</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="25">
		<time>13:55:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 5 Minuten neu gestartet. Bitte Fahrzeuge in die Garage abstellen!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="26">
		<time>13:59:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird bald neu gestartet. Nicht vergessen eure Daten zu "Sichern"!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
		
	<job id="27">
		<time>00:00:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>C:\arma3serverconfig\restartserver.bat</cmd>
		<cmdtype>1</cmdtype>			
	</job>
	
	<job id="28">
		<time>04:00:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>C:\arma3serverconfig\restartserver.bat</cmd>
		<cmdtype>1</cmdtype>			
	</job>
	
	<job id="29">
		<time>09:00:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>C:\arma3serverconfig\restartserver.bat</cmd>
		<cmdtype>1</cmdtype>			
	</job>
	
	<job id="30">
		<time>14:00:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>C:\arma3serverconfig\restartserver.bat</cmd>
		<cmdtype>1</cmdtype>			
	</job>
	
	<job id="31">
		<time>006000</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>1</loop> 
		<cmd>say -1 Wenn Fragen auftauchen dann meldet euch bei den Admins: PR1ME | grobi | Alcandur | Transvestor</cmd>	
		<cmdtype>0</cmdtype>
	</job>
	
	<job id="32">
		<time>19:00:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>C:\arma3serverconfig\restartserver.bat</cmd>
		<cmdtype>1</cmdtype>
		</job>
		
	<job id="33">
		<time>18:00:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 1 Stunde neu gestartet.</cmd>	
		<cmdtype>0</cmdtype>
	</job>
	
	<job id="34">
		<time>18:15:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 45 Minuten neu gestartet.</cmd>
		<cmdtype>0</cmdtype>			
	</job>
 
	<job id="35">
		<time>18:30:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 30 Minuten neu gestartet.</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="36">
		<time>18:45:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 15 Minuten neu gestartet.</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="37">
		<time>18:55:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird in 5 Minuten neu gestartet. Bitte Fahrzeuge in die Garage abstellen!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="38">
		<time>18:59:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server wird bald neu gestartet. Nicht vergessen eure Daten zu "Sichern"!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
</Scheduler>


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


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

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


# If enabled. Bec will create seperate 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 isntant 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 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





Recon kann ich mich wunderbar verbinden ^^ weiß villt einer wo da der fehler ist ?

danke im voraus

mfg
 
Back
Top