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

The Witness: Fix unreachable locations on certain settings (Keep PP2 EP, Theater Flowers EP) #2499

Merged
merged 5 commits into from
Dec 7, 2023

Conversation

NewSoupVi
Copy link
Member

@NewSoupVi NewSoupVi commented Nov 25, 2023

Basically, the function for "checking entrances both ways" only checked one way. This resulted in unreachable locations.

This affects Expert seeds with (non-remote doors and specific types of EP Shuffle), as well as seeds with non-remote doors + specific types of disabled panels + specific types of EP Shuffle.

Also includes two changes that makes spoiler logs nicer (not creating unnecessary events).

@NewSoupVi NewSoupVi added the is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. label Nov 25, 2023
@NewSoupVi NewSoupVi marked this pull request as draft November 25, 2023 01:10
@NewSoupVi
Copy link
Member Author

I didn't actually fix the bug fully. Turning this back to draft

@NewSoupVi NewSoupVi marked this pull request as ready for review November 25, 2023 01:26
@NewSoupVi NewSoupVi marked this pull request as draft November 25, 2023 01:28
@NewSoupVi NewSoupVi marked this pull request as ready for review November 25, 2023 01:49
@NewSoupVi
Copy link
Member Author

NewSoupVi commented Nov 25, 2023

Ok, well, I can't recreate any more problems, even though I could've sworn I still had an invalid gen. But even rerunning that same seed like 20 times didn't cause an issue. Gonna keep running random generations to see if I can hit any issues.

Anyway, this definitely fixes something that badly needs fixing, and whatever other error I had, if it was real, is unrelated to this issue. So, ready for review again.

@NewSoupVi NewSoupVi changed the title The Witness: Fix Keep PP2 EP and Theater Flowers EP failing on certain settings The Witness: Fix unreachable locations on certain settings (Keep PP2 EP, Theater Flowers EP) Nov 25, 2023
Copy link
Collaborator

@Exempt-Medic Exempt-Medic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested changes locally; errors were fixed.

@ScipioWright ScipioWright added affects: release/blocker Issues/PRs that must be addressed before next official release. and removed affects: release/blocker Issues/PRs that must be addressed before next official release. labels Dec 6, 2023
@t3hf1gm3nt t3hf1gm3nt added the affects: release/blocker Issues/PRs that must be addressed before next official release. label Dec 7, 2023
@Berserker66 Berserker66 merged commit 3fa01a4 into ArchipelagoMW:main Dec 7, 2023
12 checks passed
@NewSoupVi NewSoupVi deleted the pp_fix branch December 7, 2023 05:44
Jouramie pushed a commit to Jouramie/Archipelago that referenced this pull request Feb 28, 2024
…EP, Theater Flowers EP) (ArchipelagoMW#2499)

Basically, the function for "checking entrances both ways" only checked one way. This resulted in unreachable locations.

This affects Expert seeds with (non-remote doors and specific types of EP Shuffle), as well as seeds with non-remote doors + specific types of disabled panels + specific types of EP Shuffle.

Also includes two changes that makes spoiler logs nicer (not creating unnecessary events).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: release/blocker Issues/PRs that must be addressed before next official release. is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants