Skip to content

Commit

Permalink
Merge pull request #221 from smoogipoo/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies + write legacy scoring values to database
  • Loading branch information
peppy authored Aug 1, 2023
2 parents 24e758d + 458e869 commit 9ce8814
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion osu.Server.DifficultyCalculator/BeatmapLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ private LoaderWorkingBeatmap(Beatmap beatmap)
}

protected override IBeatmap GetBeatmap() => beatmap;
protected override Texture? GetBackground() => null;
public override Texture? GetBackground() => null;
protected override Track? GetBeatmapTrack() => null;
protected override ISkin? GetSkin() => null;
public override Stream? GetStream(string storagePath) => null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ public void ProcessBeatmap(WorkingBeatmap beatmap)

private void computeDifficulty(int beatmapId, WorkingBeatmap beatmap, Ruleset ruleset, MySqlConnection conn)
{
foreach (var attribute in ruleset.CreateDifficultyCalculator(beatmap).CalculateAllLegacyCombinations())
var difficultyCalculator = ruleset.CreateDifficultyCalculator(beatmap);
difficultyCalculator.ComputeLegacyScoringValues = true;

foreach (var attribute in difficultyCalculator.CalculateAllLegacyCombinations())
{
if (dryRun)
continue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
<ConcurrentGarbageCollection>true</ConcurrentGarbageCollection>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Dapper" Version="2.0.123" />
<PackageReference Include="Dapper" Version="2.0.143" />
<PackageReference Include="Dapper.Contrib" Version="2.0.78" />
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="4.0.1" />
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="4.0.2" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="6.0.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="6.0.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="6.0.0" />
<PackageReference Include="MySqlConnector" Version="2.1.13" />
<PackageReference Include="ppy.osu.Game" Version="2022.927.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Osu" Version="2022.927.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Taiko" Version="2022.927.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Catch" Version="2022.927.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Mania" Version="2022.927.0" />
<PackageReference Include="MySqlConnector" Version="2.2.7" />
<PackageReference Include="ppy.osu.Game" Version="2023.717.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Osu" Version="2023.717.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Taiko" Version="2023.717.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Catch" Version="2023.717.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Mania" Version="2023.717.0" />
</ItemGroup>
<ItemGroup>
<None Update="appsettings.*.json">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Dapper" Version="2.0.123" />
<PackageReference Include="DogStatsD-CSharp-Client" Version="7.0.1" />
<PackageReference Include="ppy.osu.Server.OsuQueueProcessor" Version="2022.812.0" />
<PackageReference Include="Dapper" Version="2.0.143" />
<PackageReference Include="ppy.osu.Server.OsuQueueProcessor" Version="2022.1220.0" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 9ce8814

Please sign in to comment.