콘텐츠로 건너뛰기
라이엇 비트

라이엇 비트

  • 집
  • 소식
  • 가이드
  • 비디오 가이드
  • 패치 노트
  • 남용 신고
  • 검색 양식 전환

SCP: 5케이 – Automatic Restart After Server Crash

에 게시됨 06/24/2023 에 의해 [LOKE]YourC3PH 코멘트 없음 ~에 SCP: 5케이 – Automatic Restart After Server Crash
  • 제목: SCP: 5케이
  • 출시일:
  • 개발자:
  • 발행자:
SCP에 대한 정보: 5K is still incomplete. 이것을 사용하여 게임의 세부 정보를 입력할 수 있도록 도와주세요. 문의 양식.

Considering the instability introduced by the latest game patch, I have encountered numerous problems while hosting my server. It unexpectedly crashes without any clear cause, and I have also heard similar complaints from other users. 따라서, I have developed a quick batch script that automatically checks if the server is running and restarts it after a short delay of just 5 초.

Setting up the Script

If you are facing the same issues and wish to resolve them, the challenge lies in starting the server using a separate batch file, which makes it difficult to utilize Watchdog/Supervisor applications that handle such tasks. 다행스럽게도, I have devised a simple batch script that allows you to restart your server immediately after a crash, with the option to adjust the delay (“엑스”) as per your preference.

To configure an automatically restarting server, 아래 단계를 따르십시오:

  1. Create a new .bat file in the directory of your server. You can name it anything since the specific name is not important.
  2. Copy and paste the following code into the file:
@echo off
:A
Set "MyProcess=PandemicServer.exe"
set MAP=(ENTER MAP NAME HERE, CHECK FOR DEFAULTS BELOW)
set PORT=(ENTER SERVER PORT HERE, CHECK FOR DEFAULTS BELOW)
set QUERYPORT=(ENTER QUERY PORT HERE, CHECK FOR DEFAULTS BELOW)
세트 "SERVERNAME=(ENTER NAME OF YOUR SERVER HERE)"
set MAXPLAYERS=(ENTER MAXIMUM AMOUNT OF PLAYERS HERE)

제목 "%MAP%"
시작 "" WindowsServer/PandemicServer.exe %MAP% -log -servername="%SERVERNAME%" -SteamServerName="%SERVERNAME%" -port=%PORT% -queryport=%QUERYPORT% -maxplayers=%MAXPLAYERS% -force_steamclient_link
goto B

:B
tasklist | find /i "%MyProcess%">nul || goto A
TIMEOUT /T 5
goto B
  1. Save the file and execute it. It is crucial to adjust the values accordingly; 그렇지 않으면, your server will fail to start!

Default values:

MAP=Area12_PersistentLevel
PORT=7777
QUERYPORT=27015

The value

"SERVERNAME"

그리고

MAXPLAYERS

마지막으로, if you wish to modify the interval at which the watchdog checks if the server is running or not, you can adjust the value as per your preference.

TIMEOUT /T x

(어디 “엑스” represents the desired number of seconds to wait), and save the file.

이것이 오늘 우리가 공유하는 모든 것입니다. SCP: 5케이 가이드. 이 가이드는 원래 작성자가 작성하고 작성했습니다. [LOKE]YourC3PH. 이 가이드를 업데이트하지 못한 경우, 다음을 수행하여 최신 업데이트를 찾을 수 있습니다. 링크.

이 사이트의 콘텐츠가 귀하의 권리를 침해한다고 생각하는 경우, 귀하의 지적 재산권을 포함하여, 문의 양식을 사용하여 즉시 문의하십시오..
가이드 태그:SCP: 5케이

탐색 후

이전 게시물: How to Fix SCP: 5K FPS Drop, 지연, 및 말더듬 문제
다음 게시물: Nova Lands 충돌을 해결하는 방법, 실행 시 충돌, 및 동결 문제

답장을 남겨주세요 답장 취소

귀하의 이메일 주소는 공개되지 않습니다. 필수 입력란이 표시되어 있습니다 *

  • 제목: SCP: 5케이
  • 출시일:
  • 개발자:
  • 발행자:
SCP에 대한 정보: 5K is still incomplete. 이것을 사용하여 게임의 세부 정보를 입력할 수 있도록 도와주세요. 문의 양식.

부인 성명

인용된 모든 콘텐츠는 해당 소스에서 파생됩니다.. 귀하의 콘텐츠를 허가 없이 사용했다고 생각되는 경우, 우리에게 연락하면 진지하게 받아 들일 것입니다..
  • 회사 소개
  • 문의하기
  • 개인 정보 정책
  • 서비스 약관

저작권 © 2025 라이엇 비트.

에 의해 구동 프레스북 뉴스 WordPress 테마