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
280K
Transportation Logistics Trains Fluids

g [Fixed] Multiplayer blueprint crash

1 year, 1 month ago

Any time someone selects a blueprint book that isn't synced to the server yet, the whole server crashes with the following error:

Error while running event cargo-ships::on_player_cursor_stack_changed (ID 36)
BlueprintRecord cannot be read while it is a preview.
stack traceback:
[C]: in function 'index'
__cargo-ships
/logic/pump_placement.lua:96: in function 'is_holding_pump'
cargo-ships/logic/pump_placement.lua:144: in function 'PumpVisualisation'
cargo-ships/control.lua:340: in function <cargo-ships/control.lua:338>"

1 year, 1 month ago

Any time someone selects a blueprint or book that isn't synced to the server yet, the whole server crashes with the following error:

Error while running event cargo-ships::on_player_cursor_stack_changed (ID 36)
BlueprintRecord cannot be read while it is a preview.
stack traceback:
[C]: in function 'index'
__cargo-ships
/logic/pump_placement.lua:96: in function 'is_holding_pump'
cargo-ships/logic/pump_placement.lua:144: in function 'PumpVisualisation'
cargo-ships/control.lua:340: in function <cargo-ships/control.lua:338>"

1 year, 1 month ago

I clicked edit and apparently it did that. Janky discussion board.

1 year, 9 days ago

This should be fixed in 2.0.22. Thank you for the report!

1 year, 8 days ago
(updated 1 year, 8 days ago)

This is fixed for real now in 2.0.23. This time I actually replicated the crash and proved that it is fixed.

1 year, 7 days ago

Thanks so much! No more crashing so we can finally use this on our server! :D

a year ago

An update: The latest experimental has some changes and a new function that might be relevant to this and the whole way your pump visualizer operates. This thread has all the info: https://forums.factorio.com/130790

New response