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

Landstalker: Fixed rare generation issues #3353

Merged
merged 4 commits into from
Jun 1, 2024

Conversation

Dinopony
Copy link
Collaborator

What is this fixing or adding?

This fixes generation bugs reported in the following Discord threads:
https://discord.com/channels/731205301247803413/1199949415373344798
https://discord.com/channels/731205301247803413/1225442951447187456

These issues were caused by three different causes:

  • World hint system referencing location for progression items whereas in some cases, progression items appear to have no location on generation end (that's weird, but at least Landstalker won't try to hint them anymore)
  • World was using can_reach in an unreliable way, those were replaced by events
  • There was one case of multiworld.random being used instead of world.random. This was not reported but I preferred to fix it.

How was this tested?

This was tested by generating hundreds of seeds with various option combinations each.
Not a single one caused a generation issue.
Logic was manually analyzed for a few seeds to ensure can_reach replacement events are well tested, and playthrough made perfect sense while using events.

@github-actions github-actions bot added the waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. label May 20, 2024
@Exempt-Medic Exempt-Medic added the is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. label May 20, 2024
@ThePhar ThePhar merged commit 1e205f9 into ArchipelagoMW:main Jun 1, 2024
16 checks passed
wu4 pushed a commit to wu4/Archipelago that referenced this pull request Jun 6, 2024
jnschurig pushed a commit to Tranquilite0/Archipelago-SoulBlazer that referenced this pull request Jun 13, 2024
sflavelle pushed a commit to sflavelle/Archipelago-tgc that referenced this pull request Jun 20, 2024
qwint pushed a commit to qwint/Archipelago that referenced this pull request Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants