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

Core: (CommonClient) Making local datapackage load correctly if it was overriden by a custom one #3722

Merged
merged 3 commits into from
Oct 16, 2024

Conversation

Ishigh1
Copy link
Contributor

@Ishigh1 Ishigh1 commented Jul 31, 2024

What is this fixing or adding?

After joining a game with a datapackage for a given game different to the one in the installed world then joining a room with the same game but the installed datapackage, the cached datapackage isn't updated on CommonClient.
I also made so that the local datapackage could be loaded if it is the right one

How was this tested?

I tried with a modified clique, worked fine.

If this makes graphical changes, please attach screenshots.

@github-actions github-actions bot added affects: core Issues/PRs that touch core and may need additional validation. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels Jul 31, 2024
Copy link
Collaborator

@qwint qwint left a comment

Choose a reason for hiding this comment

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

besides my earlier comment on the typo all the code looks fine, (i yearn for a day where we can drop data_version support), ran text client through a debugger and the logic worked fine even with nothing cached, approving assuming the typo gets fixed (because even if it doesn't it's just unneeded calls to remote datapackage not breaking functionality)

@NewSoupVi NewSoupVi added the is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. label Aug 8, 2024
@Exempt-Medic Exempt-Medic added the affects: release/blocker Issues/PRs that must be addressed before next official release. label Sep 30, 2024
Copy link
Member

@black-sliver black-sliver 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 like the versions variable name, however we will hopefully get rid of the version check after the next release, so this is fine.

It was approved by 2 other people, so I assume this is working correctly. I only looked at the code, which looks fine.

@black-sliver black-sliver merged commit 2b0cab8 into ArchipelagoMW:main Oct 16, 2024
17 checks passed
AustinSumigray pushed a commit to AustinSumigray/Archipelago that referenced this pull request Jan 4, 2025
…iden by a custom one (ArchipelagoMW#3722)

* Added versions and checksums dict

* Added load of local datapackage

* Fixed typo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: core Issues/PRs that touch core and may need additional validation. 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. 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.

6 participants