From cba4657d4f6bc1018e961b933bc5427fe67ad5cc Mon Sep 17 00:00:00 2001 From: krzychu124 Date: Wed, 5 Oct 2022 02:50:00 +0200 Subject: [PATCH 1/2] Major bugfix - patch installation --- TLM/TLM/Lifecycle/Patcher.cs | 2 +- TLM/TLM/Resources/whats_new.txt | 6 ++++++ TLM/TLM/UI/WhatsNew/WhatsNew.cs | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/TLM/TLM/Lifecycle/Patcher.cs b/TLM/TLM/Lifecycle/Patcher.cs index d1b3a19c1..72c539648 100644 --- a/TLM/TLM/Lifecycle/Patcher.cs +++ b/TLM/TLM/Lifecycle/Patcher.cs @@ -40,7 +40,7 @@ public static class Patcher { Harmony.DEBUG = false; // set to true to get harmony debug info. #endif AssertCitiesHarmonyInstalled(); - fail = !PatchAll(API.Harmony.HARMONY_ID, typeof(CustomPathFindPatchAttribute), typeof(PreloadPatchAttribute)); + fail = !PatchAll(API.Harmony.HARMONY_ID, forbiddens: new [] {typeof(CustomPathFindPatchAttribute), typeof(PreloadPatchAttribute)}); if (fail) { Log.Info("patcher failed"); diff --git a/TLM/TLM/Resources/whats_new.txt b/TLM/TLM/Resources/whats_new.txt index 7c5b9f9c9..5586fccd3 100644 --- a/TLM/TLM/Resources/whats_new.txt +++ b/TLM/TLM/Resources/whats_new.txt @@ -1,3 +1,9 @@ +[Version] 11.7.1.1 +[Released] Oct 5th 2022 +[Link] tmpe-v11711-test-05102022 +[Fixed] Major bug in the patch intallation +[/Version] + [Version] 11.7.1.0 [Released] Oct 4th 2022 [Link] tmpe-v11710-test-04102022 diff --git a/TLM/TLM/UI/WhatsNew/WhatsNew.cs b/TLM/TLM/UI/WhatsNew/WhatsNew.cs index 547aae92f..6a82fdbe1 100644 --- a/TLM/TLM/UI/WhatsNew/WhatsNew.cs +++ b/TLM/TLM/UI/WhatsNew/WhatsNew.cs @@ -11,7 +11,7 @@ namespace TrafficManager.UI.WhatsNew { public class WhatsNew { // bump and update what's new changelogs when new features added - public static readonly Version CurrentVersion = new Version(11,7,1,0); + public static readonly Version CurrentVersion = new Version(11,7,1,1); private const string WHATS_NEW_FILE = "whats_new.txt"; private const string RESOURCES_PREFIX = "TrafficManager.Resources."; From ee448e789b511e60aa6f5119fb4a5835e59ae47a Mon Sep 17 00:00:00 2001 From: krzychu124 Date: Wed, 5 Oct 2022 02:54:35 +0200 Subject: [PATCH 2/2] changelog update --- CHANGELOG.md | 5 +++++ TLM/TLM/Resources/whats_new.txt | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bc2893a0..0612b25e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,11 @@ This changelog includes all versions and major variants of the mod going all the > Date format: dd/mm/yyyy +#### TM:PE V11.7.1.1 TEST, 05/10/2022 + +- [Fixed] Major bug in patch installation #1665 (krzychu124) +- [Steam] [TM:PE v11 TEST](https://steamcommunity.com/sharedfiles/filedetails/?id=2489276785) + #### TM:PE V11.7.1.0 TEST, 04/10/2022 - [New] Dead-end lane connections #1613, #1213 (kianzarrin) diff --git a/TLM/TLM/Resources/whats_new.txt b/TLM/TLM/Resources/whats_new.txt index 5586fccd3..664a78052 100644 --- a/TLM/TLM/Resources/whats_new.txt +++ b/TLM/TLM/Resources/whats_new.txt @@ -1,7 +1,7 @@ [Version] 11.7.1.1 [Released] Oct 5th 2022 [Link] tmpe-v11711-test-05102022 -[Fixed] Major bug in the patch intallation +[Fixed] Major bug in the patch intallation #1665 (krzychu124) [/Version] [Version] 11.7.1.0