Skip to content

Commit

Permalink
Fix songs not being detected on newest stable/cutting edge release
Browse files Browse the repository at this point in the history
  • Loading branch information
FunOrange committed Oct 14, 2021
1 parent 0c14d45 commit 6105f20
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Tracker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public bool TrySwitchBeatmap()
// commit to new beatmap
BeatmapPath = beatmapPathTemp;
currentBeatmap = BeatmapConstructorWrapper(BeatmapPath);
BeatmapBpm = (int)Math.Round(currentBeatmap.Bpm);
BeatmapBpm = (int)System.Math.Round(currentBeatmap.Bpm);
BeatmapString = osuReader.GetSongString();
BeatmapSetID = (int)osuReader.GetMapSetId();
BeatmapID = osuReader.GetMapId();
Expand Down Expand Up @@ -541,6 +541,11 @@ public void InitGoogleAPI(bool silent = false)
SetSheetsApiReady(false);
return;
}
catch (Exception e)
{
MessageBox.Show(e.Message);
return;
}

// Get Raw Data sheet
try
Expand Down
2 changes: 1 addition & 1 deletion submodules/ProcessMemoryDataFinder
Submodule ProcessMemoryDataFinder updated 42 files
+10 −5 .github/workflows/OsuMemoryDataProvider-nuget.yml
+2 −2 .github/workflows/ProcessMemoryDataFinder-nuget.yml
+1 −1 OsuMemoryDataProvider/IOsuMemoryReader.cs
+16 −0 OsuMemoryDataProvider/MathExtensions.cs
+17 −7 OsuMemoryDataProvider/OsuMemoryDataProvider.csproj
+0 −33 OsuMemoryDataProvider/OsuMemoryModels/Abstract/GeneralData.cs
+9 −0 OsuMemoryDataProvider/OsuMemoryModels/Abstract/MainPlayerScore.cs
+12 −16 OsuMemoryDataProvider/OsuMemoryModels/Abstract/MultiplayerPlayer.cs
+22 −0 OsuMemoryDataProvider/OsuMemoryModels/Abstract/MultiplayerPlayerPlayData.cs
+34 −0 OsuMemoryDataProvider/OsuMemoryModels/Abstract/PlayerScore.cs
+5 −4 OsuMemoryDataProvider/OsuMemoryModels/Abstract/RulesetPlayData.cs
+5 −0 OsuMemoryDataProvider/OsuMemoryModels/Abstract/readme.txt
+2 −1 OsuMemoryDataProvider/OsuMemoryModels/BaseAddresses.cs
+5 −3 OsuMemoryDataProvider/OsuMemoryModels/Direct/CurrentBeatmap.cs
+29 −0 OsuMemoryDataProvider/OsuMemoryModels/Direct/GeneralData.cs
+9 −3 OsuMemoryDataProvider/OsuMemoryModels/Direct/KeyOverlay.cs
+32 −11 OsuMemoryDataProvider/OsuMemoryModels/Direct/LeaderBoard.cs
+2 −1 OsuMemoryDataProvider/OsuMemoryModels/Direct/MainPlayer.cs
+0 −2 OsuMemoryDataProvider/OsuMemoryModels/Direct/Player.cs
+69 −0 OsuMemoryDataProvider/OsuMemoryModels/Direct/SongSelectionScores.cs
+5 −0 OsuMemoryDataProvider/OsuMemoryModels/Direct/readme.txt
+12 −0 OsuMemoryDataProvider/OsuMemoryModels/RankingType.cs
+5 −4 OsuMemoryDataProvider/OsuMemoryReader.cs
+36 −19 OsuMemoryDataProvider/StructuredOsuMemoryReader.cs
+3 −1 OsuMemoryDataProviderTester/Form1.cs
+15 −5 OsuMemoryDataProviderTester/OsuMemoryDataProviderTester.csproj
+26 −15 ProcessMemoryDataFinder.sln
+18 −6 ProcessMemoryDataFinder/API/Internals.cs
+20 −3 ProcessMemoryDataFinder/API/MemoryReader.cs
+2 −3 ProcessMemoryDataFinder/API/ProcessMemoryReader.cs
+2 −13 ProcessMemoryDataFinder/API/Sig.cs
+83 −62 ProcessMemoryDataFinder/ObjectReader.cs
+13 −15 ProcessMemoryDataFinder/ProcessMemoryDataFinder.csproj
+26 −9 ProcessMemoryDataFinder/Structured/AddressFinder.cs
+23 −6 ProcessMemoryDataFinder/Structured/IStructuredMemoryReader.cs
+28 −2 ProcessMemoryDataFinder/Structured/MemoryAddressAttribute.cs
+10 −2 ProcessMemoryDataFinder/Structured/PropInfo.cs
+143 −58 ProcessMemoryDataFinder/Structured/StructuredMemoryReader.cs
+0 −2 README.md
+15 −1 StructuredOsuMemoryProviderTester/Form1.Designer.cs
+117 −41 StructuredOsuMemoryProviderTester/Form1.cs
+24 −2 StructuredOsuMemoryProviderTester/StructuredOsuMemoryProviderTester.csproj

0 comments on commit 6105f20

Please sign in to comment.