Cargo Ships


Adds massive cargo ships to the game, that function similarly to trains. Also adds deep sea oil, oil platforms, tanker ships, train bridges and other water based content.

Content
7 days ago
0.16 - 2.0
214K
Transportation Logistics Trains Mining Fluids Power

b Error on blueprint pickup

14 days ago
(updated 14 days ago)

Hi, I seem to get an non-recoverable error upon picking up a blueprint. I don't have a large base in 2.0 yet to test if it's entities from there, but for me I can create new blueprints just fine. It seems to only happen with blueprints created before 2.0, error message provided below:

The mod Cargo Ships (1.0.4) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event cargo-ships::on_player_cursor_stack_changed (ID 32)
LuaItemStack API call when LuaItemStack was invalid for read.
stack traceback:
[C]: in function 'get_blueprint_entities'
cargo-ships/logic/pump_placement.lua:77: in function 'is_holding_pump'
cargo-ships/logic/pump_placement.lua:100: in function 'PumpVisualisation'
cargo-ships/control.lua:339: in function <cargo-ships/control.lua:337>

14 days ago

I also get this

13 days ago

Same error here too, attempted to import Nilaus' starter base and got this error.

13 days ago

Should be fixed in the latest update, 1.0.5

13 days ago

Seems to still be present in version 1.0.6 https://prnt.sc/wy6OwXBC2MZ8

13 days ago

That's a different error. Any way you can share the save or blueprint?

12 days ago
(updated 12 days ago)

Here you go, but it only happens on a multiplayer server, not in singleplayer:
0eNqd19tuwjAMBuB38XVBTZoD6atM01QgYpEgoLZMQ6jvvrQIEGCm2JdA8mH9cTA9w3J79Ic2xB7qM4TVPnZQf5yhC5vYbMf3YrPzUEPbhC0MBYS49r9Qi+GzAB/70Ad/2TG9OH3F427p27SguO7s+rR3893PJqKAw75Lu/ZxxEepTEtPUM+0EMNQvEDyBo1OnHX9/oAp1V0p0nc2lw8BELKi11Y6rDbFgCwGaQakMcgwoAqDLANCz29BhpRDw3YMCA1blAwJTVsIhoTGLSRDQvMW9O5WCzRwoRgSnrhmSHjihiHhiVuGhCfOaHGLJ87ocYsmLhk9btHEJaPHLZq4ZPS4xWcCo8cNmrhk9LjBE7/3+AjMVt/TtLrM0RfNubm+cnqOB28ooCjlo1jAOrR+dVmywHxLKljfeL145iXGZ98KZ6+we2QNxhKuiH7jYuVWJS1t808cWN2VePTf5lzeYfMMKwyWtMLJfpVXuBCCKmffPXe9ejqHzR42rqKw2ZPHaQpr6dckh82/fY7CMgZUjqsI44pyaEowfi1yXMIooxybIgw2yrmp/DEn3p9beuQLvd8l5P7UWMCPb7tpgTbSpf/uunLpB2B8GPgDArSkuQ==

12 days ago

Oh that must be it, I haven't tested any mods in multiplayer yet. I just pushed an update that I think will fix it (checking is_blueprint_preview in the right places).

12 days ago

cheers, will test tomorrow or so and then report back

12 days ago

Seems to be fixed, thank you!

New response