Cargo Ships


Adds massive cargo ships to the game, that function similarly to trains. Also adds tanker ships, train bridges. NOTE: In 2.1, You Must Install Oil Rigs Separately!

Content
11 days ago
0.16 - 2.1
275K
Transportation Logistics Trains Fluids

b [fixed] Error on blueprint pickup

1 year, 9 months ago
(updated 1 year, 9 months 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>

1 year, 9 months ago

I also get this

1 year, 9 months ago

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

1 year, 9 months ago

Should be fixed in the latest update, 1.0.5

1 year, 9 months ago

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

1 year, 9 months ago

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

1 year, 9 months ago
(updated 1 year, 9 months 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==

1 year, 9 months 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).

1 year, 9 months ago

cheers, will test tomorrow or so and then report back

1 year, 9 months ago

Seems to be fixed, thank you!

New response