Comments/サーバーの立て方 のバックアップ(No.1)

サーバーの立て方

  • 自動でリスタートされたくない方は↓↓
    @echo off
    cls

set watch=DayZ Server

title %watch% Watchdog

cd "D:\Program Files (x86)\Steam\steamapps\common\DayZServer"

:watchdog
echo (%time%) %watch% started.
start "DayZ Server" /wait "DayZServer_x64.exe" -config=serverDZ.cfg -port=2302 -profiles= -dologs -adminlog -netlog -freezecheck "-bepath=D:\Program Files (x86)\Steam\steamapps\common\DayZServer\battleye" -mod
:echo (%time%) %watch% closed or crashed, restarting.

set /p anser="(%time%) %watch% closed or crashed, restarting. (Y/N)"

if /i {%ANSWER%}=={y} (goto :yes)
if /i {%ANSWER%}=={yes} (goto :yes)

exit /b

:yes

echo (%time%) %watch% restarting.
goto watchdog -- 匿名? 2020-05-24 (日) 10:01:34


ホーム リロード   新規 下位ページ作成 コピー 編集 添付 一覧 最終更新 差分 バックアップ 検索   凍結 名前変更     最終更新のRSS