Automatic Train Fuel Stop deprecated


This mod allows trains with low fuel to automatically enter the fuel stop to replenish fuel.

Content
3 years ago
0.15 - 1.1
53.5K
Trains

b Headless Server Crash, Can't Join

5 years ago
(updated 5 years ago)

Greetings! Our headless server encountered a crash while a player was in a train that stopped for refueling. No one could subsequently join the server and it had to be restarted. The restart appears to have resolved the issue, but the train that was fueling has disappeared completely. I believe the server failed to save on exit. Here's a log from the server:

0.000 2019-02-12 21:25:38; Factorio 0.16.51 (build 36654, win64, alpha)
0.001 Operating system: Windows 10 (version 1803)
0.002 Not rotating logs.
0.002 Program arguments: "./bin/x64/factorio" "--start-server-load-latest" "--server-settings" "./server-settings.json" "--no-log-rotation"
0.003 Read data path: C:/Game Servers/Factorio Dedicated Server/data
0.004 Write data path: C:/Game Servers/Factorio Dedicated Server [2610896/2859922MB]
0.005 Binaries path: C:/Game Servers/Factorio Dedicated Server/bin
0.141 System info: [CPU: Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz, 4 cores, RAM: 2745/8125 MB, page: 4682/13935 MB, virtual: 4244/134217727 MB, extended virtual: 0 MB]
0.143 Running in headless mode
1.245 Loading mod settings Chainsaw 1.16.0 (settings.lua)
1.246 Loading mod settings EquipmentHotkeys_fixed 1.0.3 (settings.lua)
1.247 Loading mod settings folk-stopthat 0.1.4 (settings.lua)
1.248 Loading mod settings FuelTrainStop 0.16.3 (settings.lua)
1.249 Loading mod settings Geothermal 1.0.164 (settings.lua)
1.249 Loading mod settings Inventory Sensor 1.6.8 (settings.lua)
1.250 Loading mod settings nixie-tubes 0.16.4 (settings.lua)
1.251 Loading mod settings Orbital Ion Cannon 1.6.3 (settings.lua)
1.252 Loading mod settings SpaceMod 0.3.16 (settings.lua)
1.252 Loading mod settings Switch_Button 0.1.7 (settings.lua)
1.253 Loading mod settings there-is-my-ghost 0.16.7 (settings.lua)
1.264 Loading mod core 0.0.0 (data.lua)
1.367 Loading mod base 0.16.51 (data.lua)
2.067 Loading mod beautiful_bridge_railway 0.1.3 (data.lua)
2.166 Loading mod Blueprint_Flip_Turn 1.0.0 (data.lua)
2.239 Loading mod Chainsaw 1.16.0 (data.lua)
2.313 Loading mod ControlCombinator 2.2.3 (data.lua)
2.388 Loading mod EquipmentHotkeys_fixed 1.0.3 (data.lua)
2.460 Loading mod expanded-rocket-payloads 0.16.8 (data.lua)
2.559 Loading mod Extra_Floors 1.2.5 (data.lua)
2.655 Loading mod Flashlight On Off 1.16.0 (data.lua)
2.732 Loading mod FuelTrainStop 0.16.3 (data.lua)
2.809 Loading mod Geothermal 1.0.164 (data.lua)
2.888 Loading mod Honk 2.1.4 (data.lua)
2.967 Loading mod Inventory Sensor 1.6.8 (data.lua)
3.046 Loading mod nixie-tubes 0.16.4 (data.lua)
3.128 Loading mod Orbital Ion Cannon 1.6.3 (data.lua)
3.213 Loading mod ProgressiveRunning 1.0.16 (data.lua)
3.291 Loading mod pushbutton 0.16.0 (data.lua)
3.371 Loading mod SpaceMod 0.3.16 (data.lua)
3.454 Loading mod Switch_Button 0.1.7 (data.lua)
3.544 Loading mod there-is-my-ghost 0.16.7 (data.lua)
3.623 Loading mod Vehicle Wagon 1.2.5 (data.lua)
3.705 Loading mod Warehousing 0.1.3 (data.lua)
3.787 Loading mod SpaceXGAR 0.16.2 (data.lua)
3.868 Loading mod base 0.16.51 (data-updates.lua)
3.957 Loading mod beautiful_bridge_railway 0.1.3 (data-updates.lua)
4.039 Loading mod Command_and_Conquer_RedAlert_Sounds 0.2.0 (data-updates.lua)
4.120 Loading mod folk-stopthat 0.1.4 (data-updates.lua)
4.201 Loading mod Geothermal 1.0.164 (data-updates.lua)
4.282 Loading mod Orbital Ion Cannon 1.6.3 (data-updates.lua)
4.364 Loading mod EquipmentHotkeys_fixed 1.0.3 (data-final-fixes.lua)
4.449 Loading mod nixie-tubes 0.16.4 (data-final-fixes.lua)
4.536 Loading mod SpaceMod 0.3.16 (data-final-fixes.lua)
4.619 Loading mod Warehousing 0.1.3 (data-final-fixes.lua)
4.702 Loading mod SpaceXGAR 0.16.2 (data-final-fixes.lua)
...
144540.760 Info AppManagerStates.cpp:1639: Saving finished
144845.847 Error MainLoop.cpp:1035: Exception at tick 30690300: Error while running event FuelTrainStop::on_nth_tick(300)
FuelTrainStop/lua/logic_event_handler.lua:161: attempt to index local 'schedule' (a nil value)
144845.849 Error ServerMultiplayerManager.cpp:96: MultiplayerManager failed: "Error while running event FuelTrainStop::on_nth_tick(300)
FuelTrainStop/lua/logic_event_handler.lua:161: attempt to index local 'schedule' (a nil value)"
144845.860 Info ServerMultiplayerManager.cpp:699: mapTick(30690300) changing state from(InGame) to(Failed)
149064.166 Received SIGINT, shutting down

I'm happy to offer any other data needed.

5 years ago

now it should work

5 years ago

Thanks for the rapid fix!

New response