Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What happened to the water? Map generation error? #73489

Closed
IdleSol opened this issue May 3, 2024 · 5 comments
Closed

What happened to the water? Map generation error? #73489

IdleSol opened this issue May 3, 2024 · 5 comments
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility

Comments

@IdleSol
Copy link
Contributor

IdleSol commented May 3, 2024

Describe the bug

That's the river on the left. An earthen river.

test

Oh, look at the new pools. I hear the mud baths are quite popular.

test 2

Attach save file

test-trimmed.tar.gz

Steps to reproduce

n/a

Expected behavior

n/a

Screenshots

test 3

Versions and configuration

  • OS: Windows
    • OS Version: 10.0.19043 (21H1)
  • Game Version: cdda-experimental-2024-05-03-1808 0a74bb4 [64-bit]
  • Graphics Version: Tiles
  • Game Language: English [en]
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Portal Storms Ignore NPCs [personal_portal_storms],
    Slowdown Fungal Growth [no_fungal_growth]
    ]

Additional context

No response

@IdleSol IdleSol added the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label May 3, 2024
@PatrikLundell
Copy link
Contributor

It's my fault... Sorry!

I screwed up when introducing support for empty space. That caused the roof adding magic to consider deep water to be empty space suitable for a "roof" for the ground beneath it (and that "roof" is dirt).

The good thing is that it's been fixed and accepted into master, but the bad thing is that the damage caused won't be undone. Thus any new deep water features will be generated correctly, while the destroyed ones will remain destroyed.

@NetSysFire
Copy link
Member

Couldnt you fix this with the debug menu by regenerating the affected overmap tiles?

@PatrikLundell
Copy link
Contributor

Well, yes, it should be possible to do a few hack things, all with their own drawbacks:

  • Delete the affected files from the save, causing the game to regenerate the overmap tile. This causes a new version of it to be generated, so any stuff stored on it is lost, cleared monsters are replaced, and the layout will be different.
  • Do the same thing via the debug menu by replacing the overmap tile. This has the same drawbacks as the above, as it's really doing the same thing through a different path.
  • Manually restore each incorrect dirt tile with deep water one tile at a time via the debug menu. It's potentially a lot of work, but has the advantage of not affecting anything apart from those specific tiles.

@IdleSol
Copy link
Contributor Author

IdleSol commented May 4, 2024

I must have misunderstood you. But this is a brand new save created in this version of the game. This world was created to find generation errors in house tiles.

So all new worlds created in future versions will have this.

@NetSysFire
Copy link
Member

It is fixed in master. Update and the worlds will no longer generate like this.

Closing as fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility
Projects
None yet
Development

No branches or pull requests

3 participants