Menu

#840 Random map generator can generate wallstyles as decor

2.x
closed
nobody
5
2019-08-19
2017-09-04
SilverNexus
No

Using 1.71.dev-r20505, I found that occasionally the wallstyle walls end up being placed as decor on a random map.
At minimum, this occurs on the City de Clouds random map set; I've been trying to reproduce a different issue, and have encountered this a couple times instead.
I'm guessing its related to the lack of constraints on the map generation for this dungeon. It gets overexcited and loads something from ../wallstyles/ as decor, monsters, treasure, or something along those lines. This renders the dungeon uncompletable, and is irritating.

Looking at some of the code, there is some attempt to have the code deliberately load out-of-directory styles for additional randomness. Maybe we just need to avoid looking at wallstyles for this substitution (both as the original and as the substitute).

Discussion

  • Nicolas Weeger

    Nicolas Weeger - 2019-01-31
    • status: open --> patched
    • Group: --> 2.x
     
  • Nicolas Weeger

    Nicolas Weeger - 2019-01-31

    I didn't find any map with that kind of issue, but the code indeed allowed that kind of escape.

    This should be fixed in r20708.

    Many thanks for the report :)

     
  • Kevin Zheng

    Kevin Zheng - 2019-08-19
    • status: patched --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB