Mining Space Industries II


Your team was hired by MSI (Mining Space Industries) with a purpose: extract mineral riches from a distant planet, and investigate something else that will be revealed later by the mission control. But you had a terrible accident when landing... again. Will you be able to accomplish the task you were hired for?

Scenarios
a month ago
1.0 - 2.0
10.6K

b Game crash creating new missions

3 months ago

156.995 Error MainLoop.cpp:1510: Exception at tick 2620860: The mod Mining Space Industries II (0.9.7) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Mining-Space-Industries-II::on_nth_tick(60)
Mining-Space-Industries-II/control-missions.lua:765: attempt to index local 'surface' (a nil value)
stack traceback:
Mining-Space-Industries-II/control-missions.lua:765: in function 'create_new_mission'
Mining-Space-Industries-II/control-missions.lua:971: in function 'check_events'
Mining-Space-Industries-II/control.lua:1057: in function <Mining-Space-Industries-II/control.lua:1055>

I haven't remove any custom planets or even triggered the space-age content yet.

3 months ago
(updated 3 months ago)

Patching this line:

if not surface then surface = event.surface end

to have this (probably not the best fix, but it stopped it crashing)

if not surface then surface = event.surface end
if not surface then surface = game.surfaces["nauvis"] end

3 months ago
(updated 3 months ago)

@MFerrari This is a blocker for a multiplayer session, any chance you could apply the above patch (or similar)

This happened on the first session; no changes in mods or mod options

New response