Transport Drones

by Klonan

Adds transport drones and transport depots

Content
11 months ago
0.18 - 1.1
77.4K
Logistics

g Crash after update while loading a savefile

4 years ago

Hey, first of all thank for that great mod, really like the new mechanic.
I get crashes while loading a savefile (from factorio 0.18.18-1) with the following mods:

Construction Drones 0.4.11
FNEI 0.3.0
Krastorio2 0.9.11
Mining_Drones 0.5.3
VehicleSnap 1.18.1
YARM 0.8.101
aai-signal-transmission 0.2.3
alien-biomes 0.5.2
base 0.18.18
even-distribution 0.3.17
factoryplanner 0.18.11
jetpack 0.1.13
road-grid 0.0.3
robot_attrition 0.4.2
space-exploration 0.2.16
space-exploration-graphics 0.2.1
space-exploration-hr-graphics 0.2.1
space-exploration-postprocess 0.2.4
windturbines 0.18.11

The error message is the following:

Error while running event Transport_Drones::on_configuration_changed
Transport_Drones/script/depot_common.lua:124: attempt to index local 'node' (a nil value)
stack traceback:
Transport_Drones/script/depot_common.lua:124: in function 'add_depot_to_node'
Transport_Drones/script/depot_common.lua:372: in function 'on_configuration_changed'
core/lualib/event_handler.lua:87: in function <core/lualib/event_handler.lua:84>

I got the crashes after updating factorio and my mods to 0.18.19, I'm currently on version 0.18.21, the only mod that relies on yours is road-grid by Soggs. A new savegame with the same mods starts without problems.

This is the savefile if that helps: https://drive.google.com/open?id=1ptBXTj1j9FefmS4C1y02TUEWROmY8GP9

4 years ago

Hey, first of all thank for that great mod, really like the new mechanic.
I get crashes while loading a savefile (from factorio 0.18.18-1) with the following mods:

Construction Drones 0.4.11
FNEI 0.3.0
Krastorio2 0.9.11
Mining_Drones 0.5.3
VehicleSnap 1.18.1
YARM 0.8.101
aai-signal-transmission 0.2.3
alien-biomes 0.5.2
base 0.18.18
even-distribution 0.3.17
factoryplanner 0.18.11
jetpack 0.1.13
road-grid 0.0.3
robot_attrition 0.4.2
space-exploration 0.2.16
space-exploration-graphics 0.2.1
space-exploration-hr-graphics 0.2.1
space-exploration-postprocess 0.2.4
windturbines 0.18.11

The error message is the following:

Error while running event Transport_Drones::on_configuration_changed
Transport_Drones/script/depot_common.lua:124: attempt to index local 'node' (a nil value)
stack traceback:
Transport_Drones/script/depot_common.lua:124: in function 'add_depot_to_node'
Transport_Drones/script/depot_common.lua:372: in function 'on_configuration_changed'
core/lualib/event_handler.lua:87: in function <core/lualib/event_handler.lua:84>

I got the crashes after updating factorio and my mods to 0.18.19, I'm currently on version 0.18.21, the only mod that relies on yours is road-grid by Soggs. A new savegame with the same mods starts without problems.

This is the savefile if that helps: https://drive.google.com/open?id=1ptBXTj1j9FefmS4C1y02TUEWROmY8GP9

EDIT: dang, realised i posted under the wrong tag

4 years ago

There was some depot without road tile for some reason.

I added a satefy check, it should load now, and corrupt depots should try to correct themselves (which worked in your case), and if they can't correct they will kill themselves....

4 years ago

Thank you very much! I will check it in a few hours.

New response