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

Adventure: Remove runtime changes to location templates to fix determinism issues #3010

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

JusticePS
Copy link
Collaborator

What is this fixing or adding?

Does not assign room id or room_x, room_y to the fixed location table entries (except room_id in some cases when it only can have a single possible value).

How was this tested?

Ran determinism test from #2977, all other tests, generated a couple 2600 world multiworlds, generated a few 1 and 4 world Adventure multiworlds and played one of them..

If this makes graphical changes, please attach screenshots.

N/A

@github-actions github-actions bot added the waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. label Mar 22, 2024
Copy link
Collaborator

@agilbert1412 agilbert1412 left a comment

Choose a reason for hiding this comment

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

I don't think I'm qualified to approve this PR, as I'm not familiar with either the code nor the game.

But I figured I should say I at least looked at it, considering I'm the one who asked for this to get fixed.

Couldn't find anything wrong with it, but that doesn't mean much since I didn't understand much of it

@@ -19,9 +19,9 @@ def __init__(self, room_id: int, room_x: int = None, room_y: int = None):

def get_position(self, random):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would be nice to get some type hinting in these methods

@alwaysintreble alwaysintreble added the is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. label Mar 28, 2024
@Berserker66 Berserker66 merged commit 7279150 into ArchipelagoMW:main Apr 18, 2024
15 checks passed
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.

None yet

4 participants