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

Misinterpreted plando entrance #56

Open
fenhl opened this issue Sep 20, 2021 · 3 comments
Open

Misinterpreted plando entrance #56

fenhl opened this issue Sep 20, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@fenhl
Copy link

fenhl commented Sep 20, 2021

A plando like the following should either produce a potion shop whose exits are tied together (so that it's only reachable via a one-way connector), or give an error about that being impossible (as with this example, both because it doesn't have mixed pools to connect the entrances together and because it doesn't have a setting like warp song shuffle to make the shop reachable):

{
    "settings": {
        "shuffle_interior_entrances": "all"
    },
    "entrances": {
        "Kak Potion Shop Front -> Kakariko Village": "Kak Potion Shop Back"
    }
}

On TestRunner's fork, this plando generates an error message as expected. However, on this fork, it generates a seed with this in the spoiler log:

    "Kakariko Village -> Kak Potion Shop Front":            "Kak Potion Shop Back",
    "Kak Backyard -> Kak Potion Shop Back":                 "Kak Odd Medicine Building",
    "Kokiri Forest -> KF Midos House":                      "Kak Potion Shop Front",

The randomizer seems to be misinterpreting the entrance as its opposite, thus making the potion shop reachable from Kakariko.

@Roman971 Roman971 added the bug Something isn't working label Oct 16, 2021
@Roman971
Copy link
Owner

Thanks for the bug report. I think this is most likely related to changes made in #53, which changed how plando interprets entrances to allow more possibilites in mixed pools plando (so it's not in TR's fork right now).
@mracsys Do you think this could be related? And if so, would you have an idea on how to fix it?
I can look into myself ofc, but I might not have time to for a while.

@mracsys
Copy link

mracsys commented Oct 17, 2021

#53 only swapped overworld entrance direction if I remember correctly. The same system should be able to be applied to interiors/grottos/dungeons if the OW type filter is removed, with the same limitations on keeping the forward/reverse pools even or fully specifying the world in plando.

No idea why it currently does what it does at first glance.

@Roman971
Copy link
Owner

Looking at the diff, I think some of the changes might have affected more than just overworld entrances, especially the part about matched_targets_to_region, but I might be misreading it.

fenhl added a commit to fenhl/OoT-Randomizer that referenced this issue Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants