ballhaa.blogg.se

Arma 3 server status
Arma 3 server status










save the file with the name restart_arma_server.batĥ. Start /b arma3server.exe -port=2302 "-config=E:\Games\Steam\SteamApps\common\Arma 3\my_server_config\default\TADST_config.cfg" "-cfg=E:\Games\Steam\SteamApps\common\Arma 3\my_server_config\default\TADST_basic.cfg" "-profiles=E:\Games\Steam\SteamApps\common\Arma 3\my_server_config\default" -name=default -filePatching "Restarting arma 3 server."ġ. If %restartTime% LSS %theCurrentTime% goto KillRestartServerĮcho Please wait while the server is restarted.Ĭhdir /d "E:\Games\Steam\SteamApps\common\Arma 3\"įOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %EXE%"') DO IF %%x = %EXE% goto KillRestartServer

arma 3 server status

Set theCurrentTime=%timeHour%:%timeMinute%:%timeSeconds% If "%mod%"="2" start /b arma3server.exe -port=2302 "-config=E:\Games\Steam\SteamApps\common\Arma 3\my_server_config\default\TADST_config.cfg" "-cfg=E:\Games\Steam\SteamApps\common\Arma 3\my_server_config\default\TADST_basic.cfg" "-profiles=E:\Games\Steam\SteamApps\common\Arma 3\my_server_config\default" -name=default -filePatching "%mod%"="3" start /b arma3server.exe -port=2302 "-config=E:\Games\Steam\SteamApps\common\Arma 3\my_server_config\default\TADST_config.cfg" "-cfg=E:\Games\Steam\SteamApps\common\Arma 3\my_server_config\default\TADST_basic.cfg" "-profiles=E:\Games\Steam\SteamApps\common\Arma 3\my_server_config\default" -name=default -filePatching 10 >nulįOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %EXE%"') DO IF %%x = %EXE% goto ServerFound If "%mod%"="1" start /b arma3server.exe -port=2302 "-config=E:\Games\Steam\SteamApps\common\Arma 3\my_server_config\default\TADST_config.cfg" "-cfg=E:\Games\Steam\SteamApps\common\Arma 3\my_server_config\default\TADST_basic.cfg" "-profiles=E:\Games\Steam\SteamApps\common\Arma 3\my_server_config\default" -name=default -filePatching "-mod=Heli Kart Mark" Set restartTime=%timeHour%:%timeMinute%:%timeSeconds%Įcho The server was started at %cTime% and will auto restart at %restartTime%.Įcho Starting Arma 3 Server, The server has been restarted %restartCounter% times. If %timeMinute% lss 10 set timeMinute=0%timeMinute% If %timeHour% lss 10 set timeHour=0%timeHour% Set /A timeHour=newTime/60, timeMinute=newTime%%60 Set /A newTime=timeHour*60 + timeMinute + %secondsToRestart% Set cTime=%timeHour%:%timeMinute%:%timeSeconds% Rem Change this to the amount of Minutes you want the server to restart each time.Įcho Invalid Server Code, Press Any Key To Enter Another One.įor /F "tokens=1-3 delims=." %%a in ("%time%") do ( SETLOCAL EnableExtensions enabledelayedexpansion Like the time the server started, when its going to restart next and total restarts this off

#Arma 3 server status update

The command line options i added below are examples of what your command lines should look like, you can remove them and add your own options.Įach time the server restarts the command window will update telling you some information,

arma 3 server status

The 240 below to the amount of MINUTES you desire. If you would like to restart the server in shorter or longer periods of time, you can change using the config you selected at the start. Your server will now completely restart every 4 hours from the time it was started.

arma 3 server status

for the win double click the shortcut on your desktop and select which server config you want to use. now add your actual server command line options in the :StartArma3Server part againħ. Add your different server config option in the :SelectServerType part incrementing each config numberĥ. copy the below into the created.bat file.Ĥ. make a shortcut to your desktop from the. I just made this, its a dos batch file that will auto restart a local arma 3 server every 4 hours.ġ.










Arma 3 server status