Maritime Industry


Build island industry, survey remote resources, and automate ocean bulk shipping with industrial ports, bulk carriers, offshore oil and maritime power on an ocean-first archipelago world.

Content
a day ago
2.1
125
Transportation Logistics Trains Storage

g Gamesave would not update

a day ago

For some reason my gamesave would not update with the new mod version, server would fail to start.

Error:

9.541 Error ServerMultiplayerManager.cpp:85: MultiplayerManager failed: "The mod Maritime Industry (0.8.1) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event maritime-industry::on_configuration_changed
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__maritime-industry
/control/world-generation.lua:374: in function 'normalise_offshore_oil'
maritime-industry/control/world-generation.lua:432: in function 'on_configuration_changed'
maritime-industry/control.lua:48: in function <maritime-industry/control.lua:45>"

I was able to fix my personal server with this change to the mod:

--- original/control/world-generation.lua
+++ patched/control/world-generation.lua
@@ -371,7 +371,7 @@
local other = wells[j]
-- The list is sorted by X, so once the X separation is large enough
-- no later well can conflict with this keeper.
- if other and (other.position.x - keeper.position.x) >= OFFSHORE_OIL_MIN_AXIS_SEPARATION then
+ if other and other.valid and (other.position.x - keeper.position.x) >= OFFSHORE_OIL_MIN_AXIS_SEPARATION then
break
end
if other and other.valid and too_close_for_separate_rigs(keeper, other) then

a day ago

fixed

New response