BEC Auto Neustart alle 6 Stunden + Nachrichten
Tutorial von stevemcgarrettthierry (Cache Archiv)
Hallo Leute, viele haben Probleme bzw. keine Ahnung, wie man BEC einstellt, hier habe ich eine Version gefunden für 6 Stunden Restartintervalle, das restliche müsste selbsterklärend sein.
Dann fangen wir mal an.
Öffnet eure "hosts" Datei, diese findet ihr unter "C:\Windows\System32\drivers\etc" und fügt folgendes ein:
So sollte es ausschauen:
# 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
Alles anzeigen
Ladet euch BEC runter:
Battleye Extended Controls (BEC)
Fügt den Ordner am besten im Root Verzeichnis von eurem ArmA Server.
Öffnet die "config.cfg", diese ist üblicherweise im BEC Ordner und ändert folgende Angaben:
vvv# Set the ip to your server. normally 127.0.0.1 will be fine.
IP = HIER DIE IP EINTRAGEN
# Set the port to the server. default port is 2302
Port = HIER DEN SERVER PORT
# Set the path to the BattlEye directory that is currently in use by the server.
BePath = config\BattlEye <--- HIER DEN Battleye ORDNER
Geht dann ungefähr auf die Zeile 90:
und setzt einen RAUTEZEICHEN # vor dem "WhiteListFile":
Das war es auch schon mit der configc.fg, wir machen jetzt mit dem Scheduler weiter.
Öffnet die Datei "Scheduler.xml" und ersetzt den gesamten Inhalt mit dem folgenden Inhalt:
<?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>
Alles anzeigen
Konfiguriert jetzt eure [lexicon='Startparameter'][/lexicon]:
start "arma3" /min /high "ARMA 3 root" -port=2302 -ip=VOTRE IP -mod=@Life_server;@extDB2;@infiSTAR_A3 -noPause -name=cfg -profiles=config -config=config\server.cfg -noCB -maxMem=10000 -cpuCount=4
Erstellt eine ".BAT" Datei und fügt folgenden Inhalt ein:
@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 -mod=@Life_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
Alles anzeigen
Fügt die [lexicon='Startparameter'][/lexicon] von vorhin ein, die ihr editiert habt.
Jetzt teste ich euch mal aus, wer schafft es, diese BAT fehlerfrei zu konfigurieren? Wer jetzt nur Copy&Pasted, und das hier nicht liest, den helfe ich nicht.