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

New World Gen Megastore problem #34860

Closed
danielkwinsor opened this issue Oct 19, 2019 · 7 comments · Fixed by #34952
Closed

New World Gen Megastore problem #34860

danielkwinsor opened this issue Oct 19, 2019 · 7 comments · Fixed by #34952
Labels
<Bug> This needs to be fixed Map / Mapgen Overmap, Mapgen, Map extras, Map display

Comments

@danielkwinsor
Copy link
Contributor

Describe the bug

Starting a new world has a circular dependency with megastores.

Versions and configuration

  • OS: Windows
    • OS Version: 10.0 1903
  • Game Version: 0.D-8643-g3b79f53 [64-bit]
  • Graphics Version: Tiles
  • Mods loaded: [
    Dark Days Ahead [dda],
    Alternative Map Key [alt_map_key],
    sees-player icon, -attitude [sees_player_less_attitude]
    ]

Additional context

DEBUG : JSON contains circular dependency. Discarded 2 objects:
{
"type": "overmap_terrain",
"id": "megastore_entrance",
"copy-from": "megastore_entrance",
"name": "megastore",
"sym": "M",
"color": "i_magenta"
},{
"type": "overmap_terrain",
"id": "megastore",
"copy-from": "megastore",
"name": "megastore",
"sym": "m",
"color": "i_magenta"
},

FUNCTION : void DynamicDataLoader::load_deferred(DynamicDataLoader::deferred_json&)
FILE : src/init.cpp
LINE : 133

@danielkwinsor
Copy link
Contributor Author

Introduced in build 9778, build 9777 last known working

@zeggz
Copy link

zeggz commented Oct 19, 2019

I can confirm it happens also on old world with the same error message.

@new02DAY
Copy link
Contributor

Have the same problem with an old world. @ZhilkinSerg started working on it according to his comment in #34625, but it looks like someone will have to take a look at it further.

@tivec
Copy link
Contributor

tivec commented Oct 20, 2019

Isn't that circular dependency because of this part though?

"id": "megastore",
"copy-from": "megastore",

@ZhilkinSerg
Copy link
Contributor

Linked PR is missing savegame migration vode and changes to alt map key mod.

@Night-Pryanik Night-Pryanik added <Bug> This needs to be fixed Map / Mapgen Overmap, Mapgen, Map extras, Map display labels Oct 20, 2019
@RDru
Copy link
Contributor

RDru commented Oct 23, 2019

The circular dependency warning/bug still occurs on game load. It's at least annoying.

@ZhilkinSerg
Copy link
Contributor

See #34903

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bug> This needs to be fixed Map / Mapgen Overmap, Mapgen, Map extras, Map display
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants