From fabda9ec020b29664ec1e004a4c309cb82287ea5 Mon Sep 17 00:00:00 2001 From: still222 <118853487+still222@users.noreply.github.com> Date: Sat, 25 Apr 2026 00:52:51 +0500 Subject: [PATCH 1/4] Update for Rimworld 1.6.4759 [unstable] "GenConstruct.CanPlaceBlueprintAt" from stable version now just calls the new "GenConstruct.CanPlaceBlueprintAt_NewTemp", which bugs existing MP transplier on load. "GenConstruct.CanPlaceBlueprintAt_NewTemp" Mostly repeats already existing method, so I just changed targets of a patch. Also updated packages for the latest Harmony and (obviously) latest unstable patch. --- Source/Client/Factions/Blueprints.cs | 4 ++-- Source/Client/Multiplayer.csproj | 4 ++-- Source/Common/Common.csproj | 4 ++-- Source/MultiplayerLoader/MultiplayerLoader.csproj | 4 ++-- Source/Server/Server.csproj | 2 +- Source/Tests/Tests.csproj | 2 +- Source/TestsOnMono/TestsOnMono.csproj | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Source/Client/Factions/Blueprints.cs b/Source/Client/Factions/Blueprints.cs index ca5c3271..9a5920cf 100644 --- a/Source/Client/Factions/Blueprints.cs +++ b/Source/Client/Factions/Blueprints.cs @@ -15,7 +15,7 @@ namespace Multiplayer.Client // Don't draw other factions' blueprints // Don't link graphics of different factions' blueprints - [HarmonyPatch(typeof(GenConstruct), nameof(GenConstruct.CanPlaceBlueprintAt))] + [HarmonyPatch(typeof(GenConstruct), nameof(GenConstruct.CanPlaceBlueprintAt_NewTemp))] static class CanPlaceBlueprintAtPatch { static MethodInfo CanPlaceBlueprintOver = AccessTools.Method(typeof(GenConstruct), nameof(GenConstruct.CanPlaceBlueprintOver)); @@ -48,7 +48,7 @@ static IEnumerable Transpiler(IEnumerable e, M static bool ShouldIgnore1(Thing oldThing) => oldThing.def.IsBlueprint && oldThing.Faction != Faction.OfPlayer; } - [HarmonyPatch(typeof(GenConstruct), nameof(GenConstruct.CanPlaceBlueprintAt))] + [HarmonyPatch(typeof(GenConstruct), nameof(GenConstruct.CanPlaceBlueprintAt_NewTemp))] static class CanPlaceBlueprintAtPatch2 { static IEnumerable Transpiler(IEnumerable e, MethodBase original) diff --git a/Source/Client/Multiplayer.csproj b/Source/Client/Multiplayer.csproj index 5a59eb98..0e1c7212 100644 --- a/Source/Client/Multiplayer.csproj +++ b/Source/Client/Multiplayer.csproj @@ -24,8 +24,8 @@ - - + + diff --git a/Source/Common/Common.csproj b/Source/Common/Common.csproj index 5e5c84ae..b56355a4 100644 --- a/Source/Common/Common.csproj +++ b/Source/Common/Common.csproj @@ -12,9 +12,9 @@ - + - + diff --git a/Source/MultiplayerLoader/MultiplayerLoader.csproj b/Source/MultiplayerLoader/MultiplayerLoader.csproj index ba7f7a84..cbe00630 100644 --- a/Source/MultiplayerLoader/MultiplayerLoader.csproj +++ b/Source/MultiplayerLoader/MultiplayerLoader.csproj @@ -10,13 +10,13 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/Source/Server/Server.csproj b/Source/Server/Server.csproj index 83083e6e..322a8f5f 100644 --- a/Source/Server/Server.csproj +++ b/Source/Server/Server.csproj @@ -17,7 +17,7 @@ - + diff --git a/Source/Tests/Tests.csproj b/Source/Tests/Tests.csproj index 202f2406..8ad76e97 100644 --- a/Source/Tests/Tests.csproj +++ b/Source/Tests/Tests.csproj @@ -17,7 +17,7 @@ - + diff --git a/Source/TestsOnMono/TestsOnMono.csproj b/Source/TestsOnMono/TestsOnMono.csproj index 5c89b2d8..187ca8c7 100644 --- a/Source/TestsOnMono/TestsOnMono.csproj +++ b/Source/TestsOnMono/TestsOnMono.csproj @@ -10,7 +10,7 @@ - + From 731e488f93805404011fcf944b541d9a9318159b Mon Sep 17 00:00:00 2001 From: Meru Date: Tue, 9 Jun 2026 10:51:23 -0500 Subject: [PATCH 2/4] Update Krafs.Rimworld.Ref package version --- Source/Client/Multiplayer.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Client/Multiplayer.csproj b/Source/Client/Multiplayer.csproj index 0e1c7212..26cdeb7b 100644 --- a/Source/Client/Multiplayer.csproj +++ b/Source/Client/Multiplayer.csproj @@ -25,7 +25,7 @@ - + From 961fccc43ec87c03c68288ff9090e6e06ca2f5c3 Mon Sep 17 00:00:00 2001 From: Meru Date: Tue, 9 Jun 2026 10:52:45 -0500 Subject: [PATCH 3/4] Update Krafs.Rimworld.Ref package version --- Source/Common/Common.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Common/Common.csproj b/Source/Common/Common.csproj index b56355a4..3940741a 100644 --- a/Source/Common/Common.csproj +++ b/Source/Common/Common.csproj @@ -12,7 +12,7 @@ - + From 8804d4650d65a1616e57659704cb4c9ad693b31e Mon Sep 17 00:00:00 2001 From: Meru Date: Tue, 9 Jun 2026 10:53:20 -0500 Subject: [PATCH 4/4] Update Krafs.Rimworld.Ref package version --- Source/MultiplayerLoader/MultiplayerLoader.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/MultiplayerLoader/MultiplayerLoader.csproj b/Source/MultiplayerLoader/MultiplayerLoader.csproj index cbe00630..018083c7 100644 --- a/Source/MultiplayerLoader/MultiplayerLoader.csproj +++ b/Source/MultiplayerLoader/MultiplayerLoader.csproj @@ -10,7 +10,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive