Crash upon running headless server with Space Age

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
CJCWIS
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Apr 12, 2020 1:10 pm
Contact:

Crash upon running headless server with Space Age

Post by CJCWIS »

Should preface this all by saying:
Since there's no guide on how to run a headless server with Space Age, I dragged the elevated-rails, quality, and space-age folders from the ./Factorio/data/ folder (from my main install) to the headless server, and also enabled them using mod-list.json. I have no idea if this is the right way to do this. Would either like a guide on how to install Space Age on a headless server (if I did something wrong), or any possible solution for my crash. Thank you.

OS: Windows 10
Factorio version: 2.0.60
Space Age (and all other optional add-ons) version: 2.0.60

I ran my startup script, and the server immediately crashes. This only happens with Space Age and its related dependencies enabled. I expected the server to boot up into the world I provided (this crash still happens even on a different world). It always happens, even after a reboot.

My startup script:

Code: Select all

start /wait .\bin\x64\factorio.exe --start-server-load-latest --server-settings .\server-settings.json
pause
Attachments
SpaceAgeLamp.zip
(2.57 MiB) Downloaded 4 times
factorio-dump-current.dmp
(421.68 KiB) Downloaded 4 times
factorio-current.log
(6.75 KiB) Downloaded 11 times
robot256
Smart Inserter
Smart Inserter
Posts: 1242
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: Crash upon running headless server with Space Age

Post by robot256 »

The headless server build already includes the DLC files, so no copying is necessary. Just create a Space Age save file on your client, same the map, and transfer it to the headless server saves directory. It will automatically load the DLC when it detects it in the save. (At least that's how it worked for me.)
My mods: Multiple Unit Train Control, RGB Pipes, Shipping Containers, Rocket Log, Smart Artillery Wagons.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Loewchen
Global Moderator
Global Moderator
Posts: 10247
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Crash upon running headless server with Space Age

Post by Loewchen »

Well, there is no headless build on windows, you need to use the standard space age install and run that in headless mode.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15881
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Crash upon running headless server with Space Age

Post by Rseding91 »

The log says “device or resource busy” as the crash reason, but much is odd but maybe indicates that you already have the game open when trying to start the server with the same write data directory?
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Technical Help”