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

mx_Trapdoor_spider_den mapgen flag error #54839

Closed
k4gi opened this issue Jan 27, 2022 · 0 comments · Fixed by #54797
Closed

mx_Trapdoor_spider_den mapgen flag error #54839

k4gi opened this issue Jan 27, 2022 · 0 comments · Fixed by #54797
Labels
<Bug> This needs to be fixed Map / Mapgen Overmap, Mapgen, Map extras, Map display

Comments

@k4gi
Copy link
Contributor

k4gi commented Jan 27, 2022

Describe the bug

Looks like the same problem as #54765 I guess? Replacing f_burdock with t_region_tree. idk its late, i can't words.

DEBUG : In update mapgen mx_Trapdoor_spider_den on field, setting terrain to t_region_tree (from t_grass_dead) at (1,7) when furniture was f_burdock. Resolve this either by removing the terrain from this mapgen, adding suitable removal commands to the mapgen, or by adding a suitable flag to the innermost mapgen: either ERASE_ALL_BEFORE_PLACING_TERRAIN if you wish terrain to replace everything previously on the tile or ALLOW_TERRAIN_UNDER_OTHER_DATA if you wish the other items to be preserved

FUNCTION : virtual void jmapgen_terrain::apply(const mapgendata&, const jmapgen_int&, const jmapgen_int&, const string&) const
FILE : src/mapgen.cpp
LINE : 2573
VERSION : 761fb51

Steps to reproduce

do some worldgen?

Expected behavior

i'd like these errors to stop. i'd be happy to go through and set up these new flags if someone could show me how they work

Screenshots

No response

Versions and configuration

  • OS: Windows
    • OS Version: 10.0 2009
  • Game Version: 761fb51 [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    No Fungal Growth [no_fungal_growth],
    Bionic Professions [package_bionic_professions]
    ]

Additional context

21:27:33.654 ERROR : (error message will follow backtrace)
  #0
    (dbghelp: @0x7ff6e1436a2f[cataclysm-tiles.exe+0x1e6a2f]), 
    (libbacktrace: debug_write_backtrace(std::ostream&)+0xa3@0x1401e6a2f),
    (libbacktrace: 0x1401e6a2f    [unknown src]:0    [unknown func]),
  #1
    (dbghelp: @0x7ff6e143780a[cataclysm-tiles.exe+0x1e780a]), 
    (libbacktrace: DebugLog(DebugLevel, DebugClass)+0x20e@0x1401e780a),
    (libbacktrace: 0x1401e780a    [unknown src]:0    [unknown func]),
  #2
    (dbghelp: @0x7ff6e143887c[cataclysm-tiles.exe+0x1e887c]), 
    (libbacktrace: realDebugmsg(char const*, char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x1ac@0x1401e887c),
    (libbacktrace: 0x1401e887c    [unknown src]:0    [unknown func]),
  #3
    (dbghelp: @0x7ff6e228a8e8[cataclysm-tiles.exe+0x103a8e8]), 
    (libbacktrace: jmapgen_terrain::apply(mapgendata const&, jmapgen_int const&, jmapgen_int const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const+0x3e8@0x14103a8e8),
    (libbacktrace: 0x14103a8e8    [unknown src]:0    [unknown func]),
  #4
    (dbghelp: @0x7ff6e22a05bf[cataclysm-tiles.exe+0x10505bf]), 
    (libbacktrace: jmapgen_alternatively<jmapgen_terrain>::apply(mapgendata const&, jmapgen_int const&, jmapgen_int const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const+0x7f@0x1410505bf),
    (libbacktrace: 0x1410505bf    [unknown src]:0    [unknown func]),
  #5
    (dbghelp: @0x7ff6e17a5acf[cataclysm-tiles.exe+0x555acf]), 
    (libbacktrace: jmapgen_objects::apply(mapgendata const&, mapgen_phase, point const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const+0x157@0x140555acf),
    (libbacktrace: 0x140555acf    [unknown src]:0    [unknown func]),
  #6
    (dbghelp: @0x7ff6e17aadbb[cataclysm-tiles.exe+0x55adbb]), 
    (libbacktrace: apply_mapgen_in_phases(mapgendata const&, std::vector<jmapgen_setmap, std::allocator<jmapgen_setmap> > const&, jmapgen_objects const&, point const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)+0xa1@0x14055adbb),
    (libbacktrace: 0x14055adbb    [unknown src]:0    [unknown func]),
  #7
    (dbghelp: @0x7ff6e17c0b3b[cataclysm-tiles.exe+0x570b3b]), 
    (libbacktrace: update_mapgen_function_json::update_map(mapgendata const&, point const&, bool) const+0x97@0x140570b3b),
    (libbacktrace: 0x140570b3b    [unknown src]:0    [unknown func]),
  #8
    (dbghelp: @0x7ff6e177b231[cataclysm-tiles.exe+0x52b231]), 
    (libbacktrace: MapExtras::apply_function(string_id<map_extra> const&, map&, coords::coord_point<tripoint, (coords::origin)1, (coords::scale)1> const&)+0x151@0x14052b231),
    (libbacktrace: 0x14052b231    [unknown src]:0    [unknown func]),
  #9
    (dbghelp: @0x7ff6e17ce94e[cataclysm-tiles.exe+0x57e94e]), 
    (libbacktrace: map::generate(tripoint const&, time_point const&)+0x452@0x14057e94e),
    (libbacktrace: 0x14057e94e    [unknown src]:0    [unknown func]),
  #10
    (dbghelp: @0x7ff6e176ab90[cataclysm-tiles.exe+0x51ab90]), 
    (libbacktrace: map::loadn(tripoint const&, bool, bool)+0x31e@0x14051ab90),
    (libbacktrace: 0x14051ab90    [unknown src]:0    [unknown func]),
  #11
    (dbghelp: @0x7ff6e176b59a[cataclysm-tiles.exe+0x51b59a]), 
    (libbacktrace: map::shift(point const&)+0x69c@0x14051b59a),
    (libbacktrace: 0x14051b59a    [unknown src]:0    [unknown func]),
  #12
    (dbghelp: @0x7ff6e152cae3[cataclysm-tiles.exe+0x2dcae3]), 
    (libbacktrace: game::update_map(int&, int&, bool)+0x1a9@0x1402dcae3),
    (libbacktrace: 0x1402dcae3    [unknown src]:0    [unknown func]),
  #13
    (dbghelp: @0x7ff6e152d6f9[cataclysm-tiles.exe+0x2dd6f9]), 
    (libbacktrace: game::update_map(Character&, bool)+0x43@0x1402dd6f9),
    (libbacktrace: 0x1402dd6f9    [unknown src]:0    [unknown func]),
  #14
    (dbghelp: @0x7ff6e1760451[cataclysm-tiles.exe+0x510451]), 
    (libbacktrace: map::displace_vehicle(vehicle&, tripoint const&, bool, std::set<int, std::less<int>, std::allocator<int> > const&)+0xaf1@0x140510451),
    (libbacktrace: 0x140510451    [unknown src]:0    [unknown func]),
  #15
    (dbghelp: @0x7ff6e1764d56[cataclysm-tiles.exe+0x514d56]), 
    (libbacktrace: map::move_vehicle(vehicle&, tripoint const&, tileray const&)+0xb90@0x140514d56),
    (libbacktrace: 0x140514d56    [unknown src]:0    [unknown func]),
  #16
    (dbghelp: @0x7ff6e1bc81c2[cataclysm-tiles.exe+0x9781c2]), 
    (libbacktrace: vehicle::act_on_map()+0x75c@0x1409781c2),
    (libbacktrace: 0x1409781c2    [unknown src]:0    [unknown func]),
  #17
    (dbghelp: @0x7ff6e17591f4[cataclysm-tiles.exe+0x5091f4]), 
    (libbacktrace: map::vehproceed(std::vector<wrapped_vehicle, std::allocator<wrapped_vehicle> >&)+0x8a@0x1405091f4),
    (libbacktrace: 0x1405091f4    [unknown src]:0    [unknown func]),
  #18
    (dbghelp: @0x7ff6e17593d3[cataclysm-tiles.exe+0x5093d3]), 
    (libbacktrace: map::vehmove()+0x157@0x1405093d3),
    (libbacktrace: 0x1405093d3    [unknown src]:0    [unknown func]),
  #19
    (dbghelp: @0x7ff6e147dbed[cataclysm-tiles.exe+0x22dbed]), 
    (libbacktrace: do_turn()+0xae1@0x14022dbed),
    (libbacktrace: 0x14022dbed    [unknown src]:0    [unknown func]),
  #20
    (dbghelp: @0x7ff6e265d990[cataclysm-tiles.exe+0x140d990]), 
    (libbacktrace: main+0x17db@0x14140d990),
    (libbacktrace: 0x14140d990    [unknown src]:0    [unknown func]),
  #21
    (dbghelp: @0x7ff6e12513c1[cataclysm-tiles.exe+0x13c1]), 
    (libbacktrace: _tmainCRTStartup+0x231@0x1400013c1),
    (libbacktrace: 0x1400013c1    /opt/mxe/tmp-gcc-x86_64-w64-mingw32.static.gcc11/gcc-11.2.0.build_/mingw-w64-v9.0.0/mingw-w64-crt/crt/crtexe.c:323    __tmainCRTStartup),
  #22
    (dbghelp: @0x7ff6e12514d6[cataclysm-tiles.exe+0x14d6]), 
    (libbacktrace: WinMainCRTStartup+0x16@0x1400014d6),
    (libbacktrace: 0x1400014d6    /opt/mxe/tmp-gcc-x86_64-w64-mingw32.static.gcc11/gcc-11.2.0.build_/mingw-w64-v9.0.0/mingw-w64-crt/crt/crtexe.c:178    WinMainCRTStartup),
  #23
    (dbghelp: BaseThreadInitThunk+0x14@0x7ffe37fa7034[KERNEL32.DLL+0x17034]), 
    (backtrace_syminfo failed: errno = -1, msg = no symbol table in PE/COFF executable),
    (backtrace_pcinfo failed: errno = -1, msg = no debug info in PE/COFF executable),
  #24
    (dbghelp: RtlUserThreadStart+0x21@0x7ffe39b02651[ntdll.dll+0x52651]), 
    (backtrace_syminfo failed: errno = -1, msg = no symbol table in PE/COFF executable),
    (backtrace_pcinfo failed: errno = -1, msg = no debug info in PE/COFF executable),
Backtrace emission took 0 seconds.
(continued from above) ERROR : src/mapgen.cpp:2573 [virtual void jmapgen_terrain::apply(const mapgendata&, const jmapgen_int&, const jmapgen_int&, const string&) const] In update mapgen mx_Trapdoor_spider_den on field, setting terrain to t_region_tree (from t_grass_dead) at (1,7) when furniture was f_burdock.  Resolve this either by removing the terrain from this mapgen, adding suitable removal commands to the mapgen, or by adding a suitable flag to the innermost mapgen: either ERASE_ALL_BEFORE_PLACING_TERRAIN if you wish terrain to replace everything previously on the tile or ALLOW_TERRAIN_UNDER_OTHER_DATA if you wish the other items to be preserved
@NetSysFire NetSysFire added <Bug> This needs to be fixed Map / Mapgen Overmap, Mapgen, Map extras, Map display labels Jan 27, 2022
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.

2 participants