Top > Comments > サーバーの立て方

Comments/サーバーの立て方
HTML ConvertTime 0.013 sec.

サーバーの立て方

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

set watch=DayZ Server

title %watch% Watchdog

cd "DayZServer_x64.exeがある場所のパス"

:watchdog
echo (%time%) %watch% started.
start "DayZ Server" /wait "DayZServer_x64.exe" -config=serverDZ.cfg -port=2302 -profiles= -dologs -adminlog -netlog -freezecheck "-bepath=beserver_x64.dllがある場所のパス" -mod
:echo (%time%) %watch% closed or crashed, restarting.

set /p ANSWER="(%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