squidy5 / cargo_ships

factorio mod that adds cargo ships and other content to the game
25 stars 39 forks source link

Startup error - incomplete collision mask #39

Closed ST-DDT closed 4 years ago

ST-DDT commented 4 years ago

grafic

Broke after updating to Factorio 0.17.75 Affects Cargo-ships: 0.0.47

stockmind commented 4 years ago

See solution here: https://mods.factorio.com/mod/cargo-ships/discussion/5dc08c283ef66f000ba2f1fb

In the water_rails.lua file in the prototypes folder (cargo ship mod) change the collision mask as shown here:

--bridge_crossing.collision_mask ={}
bridge_crossing.collision_mask ={"object-layer"}

and

--invisible_rail.collision_mask ={}
invisible_rail.collision_mask ={"object-layer"}
OvermindDL1 commented 4 years ago

@stockmind Doesn't work on servers as clients sync from the mod portal and not from the server, thus they are still broken when attempting to join.

This is still an issue until the mod portal version is updates.

stockmind commented 4 years ago

Well, this fixes this issue, and credits go to people on those pages. Never said anything about the mod portal or servers :) I've already made a pull request #41

Until it gets merged your clients need to patch their mods too. On my server, my clients use a patched mod zip to get it working until it gets fixed here :)

squidy5 commented 4 years ago

mod is updated now