Skip to content

Should not include pictures of non-generated chunks #31

@nixxquality

Description

@nixxquality

Thank you for the mod.

I generated a map of a savefile that was made using Factorio World and it looks like this: https://nixx.is-fantabulo.us/ultradeath/

As you can see, there are some monstrous blobs of land that shouldn't be there. In the regular save file that land is unexplored, so it's not generated.
My guess is:

  1. Your script takes a peek at a chunk that doesn't exist yet
  2. Factorio generates the piece of land that would usually be there, given the map seed which otherwise is mostly ignored
  3. The screenshot is taken
  4. the Factorio World script now tries to react and put the correct terrain there, but it's too late

The simplest solution I could think of would be to not attempt to look at chunks that don't exist.
However, I'm guessing that would result in bad cropping around the edges?

My next idea would be to figure out all the places we need to look at, look at them, give the game some time to generate the chunks fully, and then take the screenshots.

You can get the save yourself at https://nixx.is-fantabulo.us/UltraDeath.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions