Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qubqub committed Nov 8, 2024
1 parent 91c4125 commit 9a1513e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 21 deletions.
3 changes: 2 additions & 1 deletion Entities/LogFileWatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ private void AddLineAfterClientShutdown() {

private bool IsShowIsCasualShow(string showId) {
return string.Equals(showId, "casual_show")
|| string.Equals(showId, "spotlight_mode")
|| string.Equals(showId, "explore_points")
|| string.Equals(showId, "no_elimination_explore")
|| string.Equals(showId, "xtreme_explore");
Expand Down Expand Up @@ -774,7 +775,7 @@ private bool ParseLine(LogLine line, List<RoundInfo> round, LogRound logRound) {
} else if ((index = line.Line.IndexOf("[HandleSuccessfulLogin] Selected show is ", StringComparison.OrdinalIgnoreCase)) != -1) {
int index2 = line.Line.IndexOf(" IsUltimatePartyEpisode:");
this.threadLocalVariable.Value.selectedShowId = index2 != -1 ? line.Line.Substring(index + 41, index2 - (index + 41)) : line.Line.Substring(index + 41);
if (string.Equals(this.threadLocalVariable.Value.selectedShowId, "casual_show")) {
if (string.Equals(this.threadLocalVariable.Value.selectedShowId, "casual_show") || string.Equals(this.threadLocalVariable.Value.selectedShowId, "spotlight_mode")) {
this.threadLocalVariable.Value.useShareCode = true;
} else if (this.threadLocalVariable.Value.selectedShowId.StartsWith("ugc-")) {
this.threadLocalVariable.Value.selectedShowId = this.threadLocalVariable.Value.selectedShowId.Substring(4);
Expand Down
40 changes: 20 additions & 20 deletions Entities/Multilingual.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1417,11 +1417,11 @@ public static class Multilingual {
{ "message_update_error_caption", "업데이트 오류" },
{ "message_update_error", "업데이트를 확인할 수 없습니다." },
{ "message_program_error_caption", "프로그램 오류" },
{ "message_update_creative_map_caption", "Update creative map informations" },
{ "message_update_creative_map_with_sharecode_prefix", "Would you like to update map infos with the share code \"" },
{ "message_update_creative_map_with_sharecode_suffix", "\"?" },
{ "message_update_creative_map_with_title_prefix", "Would you like to update map infos of \"" },
{ "message_update_creative_map_with_title_suffix", "\"?" },
{ "message_update_creative_map_caption", "폴크리 맵 정보 업데이트" },
{ "message_update_creative_map_with_sharecode_prefix", "공유 코드 \"" },
{ "message_update_creative_map_with_sharecode_suffix", "\"로 맵 정보를 업데이트하시겠습니까?" },
{ "message_update_creative_map_with_title_prefix", "\"" },
{ "message_update_creative_map_with_title_suffix", "\"의 맵 정보를 업데이트 하시겠습니까?" },
{ "message_update_creative_map_error", "폴크리 맵을 조회하는 동안 오류가 발생했습니다." },
{ "message_new_personal_best_caption", "⏱️ 개인 최고 기록 경신" },
{ "message_new_personal_best_prefix", ""},
Expand Down Expand Up @@ -1971,11 +1971,11 @@ public static class Multilingual {
{ "message_update_error_caption", "アップデートエラー" },
{ "message_update_error", "アップデートを確認できません。" },
{ "message_program_error_caption", "プログラムエラー" },
{ "message_update_creative_map_caption", "Update creative map informations" },
{ "message_update_creative_map_with_sharecode_prefix", "Would you like to update map infos with the share code \"" },
{ "message_update_creative_map_with_sharecode_suffix", "\"?" },
{ "message_update_creative_map_with_title_prefix", "Would you like to update map infos of \"" },
{ "message_update_creative_map_with_title_suffix", "\"?" },
{ "message_update_creative_map_caption", "クリエイティブマップ情報を更新" },
{ "message_update_creative_map_with_sharecode_prefix", "共有コード「" },
{ "message_update_creative_map_with_sharecode_suffix", "」でマップ情報を更新しますか?" },
{ "message_update_creative_map_with_title_prefix", "" },
{ "message_update_creative_map_with_title_suffix", "」のマップ情報を更新しますか?" },
{ "message_update_creative_map_error", "クリエイティブ・レベルの検索中にエラーが発生しました。" },
{ "message_new_personal_best_caption", "⏱️ 個人的な最高記録更新" },
{ "message_new_personal_best_prefix", ""},
Expand Down Expand Up @@ -2525,11 +2525,11 @@ public static class Multilingual {
{ "message_update_error_caption", "更新错误" },
{ "message_update_error", "无法检查更新。" },
{ "message_program_error_caption", "程序错误" },
{ "message_update_creative_map_caption", "Update creative map informations" },
{ "message_update_creative_map_with_sharecode_prefix", "Would you like to update map infos with the share code \"" },
{ "message_update_creative_map_with_sharecode_suffix", "\"?" },
{ "message_update_creative_map_with_title_prefix", "Would you like to update map infos of \"" },
{ "message_update_creative_map_with_title_suffix", "\"?" },
{ "message_update_creative_map_caption", "更新创意地图信息" },
{ "message_update_creative_map_with_sharecode_prefix", "您想更新带有共享代码 \"" },
{ "message_update_creative_map_with_sharecode_suffix", "\"的地图信息吗?" },
{ "message_update_creative_map_with_title_prefix", "您希望更新 \"" },
{ "message_update_creative_map_with_title_suffix", "\"的地图信息吗?" },
{ "message_update_creative_map_error", "查找广告素材级别时出错。" },
{ "message_new_personal_best_caption", "⏱️ 新个人最佳成绩" },
{ "message_new_personal_best_prefix", "您在 " },
Expand Down Expand Up @@ -3079,11 +3079,11 @@ public static class Multilingual {
{ "message_update_error_caption", "更新錯誤" },
{ "message_update_error", "無法檢查更新。" },
{ "message_program_error_caption", "程序錯誤" },
{ "message_update_creative_map_caption", "Update creative map informations" },
{ "message_update_creative_map_with_sharecode_prefix", "Would you like to update map infos with the share code \"" },
{ "message_update_creative_map_with_sharecode_suffix", "\"?" },
{ "message_update_creative_map_with_title_prefix", "Would you like to update map infos of \"" },
{ "message_update_creative_map_with_title_suffix", "\"?" },
{ "message_update_creative_map_caption", "更新創意地圖資訊" },
{ "message_update_creative_map_with_sharecode_prefix", "您想用分享代碼「" },
{ "message_update_creative_map_with_sharecode_suffix", "」更新地圖資訊嗎?" },
{ "message_update_creative_map_with_title_prefix", "您想更新「" },
{ "message_update_creative_map_with_title_suffix", "」的地圖資訊嗎?" },
{ "message_update_creative_map_error", "尋找廣告素材等級時發生錯誤。" },
{ "message_new_personal_best_caption", "⏱️ 新個人最佳成績" },
{ "message_new_personal_best_prefix", "您在 " },
Expand Down
1 change: 1 addition & 0 deletions Views/Stats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5055,6 +5055,7 @@ public string ReplaceLevelIdInShuffleShow(string showId, string roundId) {

private bool IsCreativeShow(string showId) {
return string.Equals(showId, "casual_show")
|| string.Equals(showId, "spotlight_mode")
|| string.Equals(showId, "explore_points")
|| string.Equals(showId, "showcase_fp13")
|| showId.StartsWith("user_creative_")
Expand Down

0 comments on commit 9a1513e

Please sign in to comment.