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

Fixed an exception when SongCore is not installed. #69

Merged
merged 1 commit into from
Sep 7, 2021

Conversation

rynan4818
Copy link
Contributor

The fix for the following pull request was found to cause an ArgumentOutOfRangeException exception when SongCore is not installed.
https://github.com/opl-/beatsaber-http-status/pull/44

If SongCore is not installed, songHash in levelID will be the folder name of the map.

SongCore levelID
installed custom_level_8A40E06E3A4EB6DC56428B0A59B89219029C433D
not installed custom_level_15cb3 (I'LL SHOW YOU - Emilia)

However, since there are few environments that do not have SongCore installed, I think the problem will occur in few cases.

@opl- opl- merged commit ed48310 into opl-:master Sep 7, 2021
@opl-
Copy link
Owner

opl- commented Sep 7, 2021

Nice.

opl- added a commit that referenced this pull request Sep 7, 2021
Changes:
- Support for Beat Saber v1.17.0 (#73, by @ErisApps)
- `beatmap.difficulty` now represents the name of the difficulty in the game's current language. If SongCore is installed, this value may contain the custom difficulty name defined by the beatmap, however I've not actually seen that happen. (#70)
- The mod now targets .NET v4.7.2

Fixes:
- Exception thrown when SongCore is not installed while extracting value for `beatmap.songHash`. (#69, by @rynan4818)
opl- added a commit that referenced this pull request Sep 7, 2021
Changes:
- Support for Beat Saber v1.17.0 (#73, by @ErisApps)
- `beatmap.difficulty` now represents the name of the difficulty in the game's current language. If SongCore is installed, this value may contain the custom difficulty name defined by the beatmap, however I've not actually seen that happen. (#70)
- The mod now targets .NET v4.7.2

Adds:
- `beatmap.difficultyEnum` representing the internal beatmap difficulty enum. See [protocol.md] for more information.

Fixes:
- Exception thrown when SongCore is not installed while extracting value for `beatmap.songHash`. (#69, by @rynan4818)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants