Saltar al contenido
Bits antidisturbios

Bits antidisturbios

  • Hogar
  • Noticias
  • Guías
  • Videoguías
  • Notas del parche
  • Reportar abuso
  • Alternar formulario de búsqueda

SCP: 5k – Automatic Restart After Server Crash

Publicado el 06/24/2023 Por [LOKE]YourC3PH No hay comentarios en SCP: 5k – Automatic Restart After Server Crash
  • Título: SCP: 5k
  • Fecha de lanzamiento:
  • Revelador:
  • Editor:
Información sobre SCP: 5K sigue siendo incompleto. Por favor ayúdanos a completar los detalles del juego usando esto formulario de contacto.

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. Como consecuencia, 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 artículos de segunda clase.

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. Afortunadamente, 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 («X») as per your preference.

To configure an automatically restarting server, follow the steps below:

  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)
colocar "SERVERNAME=(ENTER NAME OF YOUR SERVER HERE)"
set MAXPLAYERS=(ENTER MAXIMUM AMOUNT OF PLAYERS HERE)

título "%MAP%"
comenzar "" 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; de lo contrario, your server will fail to start!

Valores predeterminados:

MAP=Area12_PersistentLevel
PORT=7777
QUERYPORT=27015

The value

"SERVERNAME"

y

MAXPLAYERS

Por último, 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

(dónde «X» represents the desired number of seconds to wait), y guarda el archivo.

Eso es todo lo que estamos compartiendo hoy para este SCP: 5k guía. Esta guía fue originalmente creada y escrita por [LOKE]YourC3PH. En caso de que no actualicemos esta guía, puede encontrar la última actualización siguiendo este enlace.

Si cree que alguno de los contenidos de este sitio viola sus derechos, incluyendo sus derechos de propiedad intelectual, por favor contáctenos inmediatamente usando nuestro formulario de contacto.
Guías Etiquetas:SCP: 5k

Navegación de entradas

Publicación anterior: Cómo arreglar SCP: 5K FPS Drop, Retraso, y problemas de tartamudeo
Publicación siguiente: How to Fix Nova Lands Crashing, Accidente en el lanzamiento, y problemas de congelación

Deja una respuesta Cancelar la respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

  • Título: SCP: 5k
  • Fecha de lanzamiento:
  • Revelador:
  • Editor:
Información sobre SCP: 5K sigue siendo incompleto. Por favor ayúdanos a completar los detalles del juego usando esto formulario de contacto.

Descargo de responsabilidad

Todo el contenido citado se deriva de sus respectivas fuentes.. Si cree que hemos utilizado su contenido sin permiso, asegúrese de comunicarse con nosotros y lo tomaremos en serio.
  • Sobre nosotros
  • Contáctenos
  • política de privacidad
  • Términos de servicio

Derechos de autor © 2025 Bits antidisturbios.

Funciona con Tema PressBook Noticias para WordPress