[Windows/Headless] Reboot on crash and automatic save fixer

Find multiplayer games.
Tools/scripts to run a dedicated server.
Post Reply
KirovAir
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue May 10, 2016 8:58 am
Contact:

[Windows/Headless] Reboot on crash and automatic save fixer

Post by KirovAir »

Hi all,

I just wanted to share my setup on a windows server. I use a reboot batch script and a small tool (FMx, Factorio Map Fixer) to rename the latest save file to the save file you are using so the map gets no rollbacks on a crash. :)
The batch script:

Code: Select all

:reboot
fmx "C:\Factorio\saves\map.zip"
start /wait Factorio.exe --start-server map.zip
timeout 10
goto reboot
FMx takes 1 parameter: the used map.
I have included the files used for my server and the source code for FMx.

Maybe they can help you out.

Cheers!
Attachments
headlesstools.zip
FMx and batch script
(3.04 KiB) Downloaded 116 times
fmx_source.zip
FMx.exe source
(767 Bytes) Downloaded 104 times

Post Reply

Return to “Multiplayer / Dedicated Server”