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

Bug fix & Close #399 #403

Merged
merged 1 commit into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Entities/LogFileWatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,9 @@ private bool IsRealFinalRound(int roundNum, string roundId, string showId) {
|| (string.Equals(showId, "event_only_button_bashers_template")
&& roundNum == 4)

|| (string.Equals(showId, "fp16_ski_fall_high_scorers")
&& string.Equals(roundId, "round_event_only_skeefall_timetrial_s6_1"))

|| (string.Equals(showId, "ftue_uk_show")
&& string.Equals(roundId, "round_snowballsurvival_noelim_ftue_s2"))

Expand Down
8 changes: 7 additions & 1 deletion Entities/Multilingual.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13467,6 +13467,7 @@ public static class Multilingual {
{ "event_yeetus_3005_to_3105_2022", "Big Yeetus Tour" },
{ "event_yeetus_template", "Big Yeetus Tour" },
{ "explore_points", "Explore - Points" },
{ "fp16_ski_fall_high_scorers", "Ski Fall High Scorers" },
{ "ftue_uk_show", "Knockout" },
{ "invisibeans_0508_to_0708_2022", "SWEET THIEVES" },
{ "invisibeans_0707_to_1107_2022", "SWEET THIEVES" },
Expand Down Expand Up @@ -14378,6 +14379,7 @@ public static class Multilingual {
{ "event_yeetus_3005_to_3105_2022", "Spéciale Big Yeetus" },
{ "event_yeetus_template", "Spéciale Big Yeetus" },
{ "explore_points", "Exploration - Points" },
{ "fp16_ski_fall_high_scorers", "Les hauts scores des pistes folles" },
{ "ftue_uk_show", "Tournois" },
{ "invisibeans_0508_to_0708_2022", "VOLEURS SUCRÉS" },
{ "invisibeans_0707_to_1107_2022", "VOLEURS SUCRÉS" },
Expand Down Expand Up @@ -14477,7 +14479,7 @@ public static class Multilingual {
{ "squads_show_ss2_parrot", "Groupes" },
{ "survival_of_the_fittest", "Le plus fort survivra" },
{ "teams_show", "Erreur de connexion" },
{ "teams_show_ltm", "Duo Dynamique" },
{ "teams_show_ltm", "Duos dynamiques" },
{ "toms_main_show_5_2", "Émission principale" },
{ "toms_show2", "Toms Show 2" },
{ "turbo_show", "Solo" },
Expand Down Expand Up @@ -15289,6 +15291,7 @@ public static class Multilingual {
{ "event_yeetus_3005_to_3105_2022", "대형 망치 투어" },
{ "event_yeetus_template", "대형 망치 투어" },
{ "explore_points", "탐험 - 포인트" },
{ "fp16_ski_fall_high_scorers", "스키 점프 고득점" },
{ "ftue_uk_show", "넉아웃" },
{ "invisibeans_0508_to_0708_2022", "달콤한 도둑들" },
{ "invisibeans_0707_to_1107_2022", "달콤한 도둑들" },
Expand Down Expand Up @@ -16200,6 +16203,7 @@ public static class Multilingual {
{ "event_yeetus_3005_to_3105_2022", "ハンマーツアー" },
{ "event_yeetus_template", "ハンマーツアー" },
{ "explore_points", "自由探索 - ポイント" },
{ "fp16_ski_fall_high_scorers", "スキーフォール・ハイスコア" },
{ "ftue_uk_show", "ノックアウト" },
{ "invisibeans_0508_to_0708_2022", "キャンディードロボー" },
{ "invisibeans_0707_to_1107_2022", "キャンディードロボー" },
Expand Down Expand Up @@ -17111,6 +17115,7 @@ public static class Multilingual {
{ "event_yeetus_3005_to_3105_2022", "重锤巡回赛" },
{ "event_yeetus_template", "重锤巡回赛" },
{ "explore_points", "探索 - 分数" },
{ "fp16_ski_fall_high_scorers", "雪山速降高分赛" },
{ "ftue_uk_show", "淘汰赛" },
{ "invisibeans_0508_to_0708_2022", "糖果窃贼" },
{ "invisibeans_0707_to_1107_2022", "糖果窃贼" },
Expand Down Expand Up @@ -18022,6 +18027,7 @@ public static class Multilingual {
{ "event_yeetus_3005_to_3105_2022", "重錘巡迴賽" },
{ "event_yeetus_template", "重錘巡迴賽" },
{ "explore_points", "探索模式 - 奪分關卡" },
{ "fp16_ski_fall_high_scorers", "舞洞飛揚挑戰者" },
{ "ftue_uk_show", "淘汰賽" },
{ "invisibeans_0508_to_0708_2022", "糖果竊賊" },
{ "invisibeans_0707_to_1107_2022", "糖果竊賊" },
Expand Down
19 changes: 19 additions & 0 deletions Views/Stats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ private static bool IsAlreadyRunning() {
"event_xtreme_fall_guys_template",
"event_xtreme_fall_guys_squads_template",
"no_elimination_show",
"anniversary_fp12_ltm",
"event_anniversary_season_1_alternate_name",
"event_blast_ball_banger_template",
"event_only_button_bashers_template",
Expand All @@ -275,6 +276,7 @@ private static bool IsAlreadyRunning() {
"event_only_jump_club_template",
"event_only_hoverboard_template",
"event_only_drumtop_template",
"event_only_skeefall_timetrial_s6_1",
"event_walnut_template",
"survival_of_the_fittest",
"show_robotrampage_ss2_show1_template",
Expand Down Expand Up @@ -3640,6 +3642,21 @@ where string.Equals(ri.ShowNameId, "mrs_pegwin_winter_2teamsfinal")
this.CurrentSettings.Version = 110;
this.SaveUserSettings();
}

if (this.CurrentSettings.Version == 110) {
List<RoundInfo> roundInfoList = (from ri in this.RoundDetails.FindAll()
where string.Equals(ri.ShowNameId, "fp16_ski_fall_high_scorers")
select ri).ToList();

foreach (RoundInfo ri in roundInfoList) {
ri.IsFinal = true;
}
this.StatsDB.BeginTrans();
this.RoundDetails.Update(roundInfoList);
this.StatsDB.Commit();
this.CurrentSettings.Version = 111;
this.SaveUserSettings();
}
}

private UserSettings GetDefaultSettings() {
Expand Down Expand Up @@ -5109,6 +5126,8 @@ public string GetAlternateShowId(string showId) {
case "knockout_squads":
case "squadcelebration":
return "squads_4player";
case "fp16_ski_fall_high_scorers":
return "event_only_skeefall_timetrial_s6_1";
case "invisibeans_pistachio_template":
case "invisibeans_template":
return "invisibeans_mode";
Expand Down