Unhelpful/broken mapgen error message #65316
Labels
Code: Debug
Debugging and troubleshooting the game, also includes the debug menu
Map / Mapgen
Overmap, Mapgen, Map extras, Map display
(S2 - Confirmed)
Bug that's been confirmed to exist
Describe the bug
DEBUG : Requested argument 1 but input has only 1 at: "update_mapgen %s used for blueprint, but has %zu| versions, where it should have exactly one"
FUNCTION : calculate_all_blueprint_reqs
FILE : C:\Cataclysm-DDA\src\recipe.cpp
LINE : 473
VERSION : 0.G-1601-g01203da51d
Attach save file
N/A. There is no save as this is triggered by JSON under development.
Steps to reproduce
Expected behavior
"%s" is probably intended to provide the name of the mapgen that's either duplicated or missing. "%zu" is probably intended to display the number of copies present (I assume possibly zero, if there's a name mismatch).
The code around line 473 is:
I guess the string parameter is missing from the debugmsg,, throwing the parameters out of sync.
Screenshots
No response
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Bionic Professions [package_bionic_professions]
]
Additional context
No response
The text was updated successfully, but these errors were encountered: