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
18 days ago
0.16 - 2.0
228K
Transportation Logistics Trains Mining Fluids Power

b Offshore oil not spawning after adding mod to existing world

5 months ago
(updated 5 months ago)

Offshore oil is not being added to
surface.map_gen_settings.autoplace_controls & surface.map_gen_settings.autoplace_settings.entity.settings
after adding the mod to existing world
https://prnt.sc/RZX0XVHJcDDF

5 months ago

Thanks for identifying this as a migration issue. Will try adding it to the existing surface parameters in the next update.

4 months ago

still not working...dont have offshore oil in existing world :(

4 months ago

Hi, sorry we forgot to address this. Would you be able to share your save file to make it go faster? If you have a copy from before you migrated to 2.0 that would be helpful too.

4 months ago

dw I've got a save that reproduces the problem - it doesn't need to be from 1.1 to see the bug, I just made a 2.0 non-cargo-ships save. I've fixed it so that when you add cargo ships to a save, it will now automatically enable offshore oil in that save. But if I make it so that when you update to the next version it also adds offshore oil then that will enable it for people who deliberately left it disabled. So instead I'll add a command to allow you to opt-in if you want.

4 months ago

Hi, is there an update on the spawning issue? i'm on a 2.0.15 world and no matter what i do i can't get oil to spawn on water - cargo ships was added after world creation, tried disabling and reenabling but its not doing anything, mod is up to date.

4 months ago

It is supposed to be fixed in 1.0.12 so if it isn’t please upload your save game so I can take a look.

4 months ago

I don't believe ours is working either after adding it to our save.

Side note we have not been able to update the cargo ships mod due to errors on the new version. Is there a way to run a command to get them to spawn?

4 months ago

"Side note"??? that's not a sidenote, that's the entire reason that you aren't getting oil spawning... if you report the errors then they can be fixed and then you can update and then you'll get offshore oil.

4 months ago

my oil spawning great for me. in my existing save

4 months ago

"Side note"??? that's not a sidenote, that's the entire reason that you aren't getting oil spawning... if you report the errors then they can be fixed and then you can update and then you'll get offshore oil.

It's a dedicated server, and i'll have to grab the console error shortly when I can pulled down the server and update and look at the error again. Where can I send it?

4 months ago

"Side note"??? that's not a sidenote, that's the entire reason that you aren't getting oil spawning... if you report the errors then they can be fixed and then you can update and then you'll get offshore oil.

It's a dedicated server, and i'll have to grab the console error shortly when I can pulled down the server and update and look at the error again. Where can I send it?

Here is fine. I guess first of all check if it is the same as https://mods.factorio.com/mod/cargo-ships/discussion/6742361da59d1931e6c16af5 - if it is then make sure you have "offshore oil enabled" checked in mod settings. (The fix is easy enough, I just haven't got around to it. But even after fixing the crash, if you have it disabled in mod settings then you won't be getting any spawning).

4 months ago

https://www.imghippo.com/i/EdUb7743Uo.png

likely maybe a server side error of some sort - the mod settings is selected in my mod settings, however likely have to add something to the server mod settings, I don't see anywhere that is in conflict in the map settings etc.

4 months ago

Well that's a strange one indeed. It is failing as it runs the very code that adds offshore oil to your save, so me giving you a command probably won't help.

Can you obtain the save, and try updating to 1.0.12 with it in single player and seeing if it still fails? I suspect there's a good chance it will work, then you can put it back on the server, and the server won't run that migration again. Feel free to send it to me too.

4 months ago

Yeah I don't think it's a factorio-specific error, as it is a common linux error meaning that you've run out of memory, processes, etc. The failing function regenerate_entities does a lot of work in parallel when you call it as it iterates over each chunk and decides whether it needs to add offshore-oil. Perhaps you have a lot of explored chunks on Nauvis too?

You could perhaps report this as a bug on the forums? I suspect Factorio should be trying to stop itself before it uses too much memory/process-count?

4 months ago

Sorry I was gone, let me just clarify.

I have indeed ran the server in single player.
- had something saying cannot place cargo ship there, item destroyed.
- and reconfig the oil platforms.
Going to check Nauvis now for Oil and explore some new chunks.

I will then upload the save onto the server and see if the error continues. I will report back after that.

4 months ago

That fixed the issue,

Thank you for taking the time to assist.

New response