Skip to content

Commit 419394d

Browse files
authored
Merge pull request #728 from starfi5h/pr-update
Nebula 0.9.16 for DSP 0.10.32.25682 Update
2 parents 000be8c + 5b83485 commit 419394d

6 files changed

Lines changed: 8 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## Changelog
22

3+
0.9.16:
4+
- Compatible with game version 0.10.32.25682
5+
36
0.9.15:
47
- Compatible with game version 0.10.32.25595
58
- @starfi5h: Add object protoId check for destruct and upgrade requests

NebulaNetwork/PacketProcessors/Statistics/StatisticsRequestEventProcessor.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ static void SendExtraData(NebulaConnection conn, int astroFilter)
5757
var window = UIRoot.instance.uiGame.statWindow;
5858
var originalAstroFilter = window.astroFilter;
5959
window.astroFilter = astroFilter;
60-
window.RefreshItemsCyclicRefSpeed();
61-
window.RefreshItemsStorageGroupCount();
62-
window.RefreshGalacticTransportStorageCount();
60+
window.RefreshProductionExtraInfo(true);
6361
window.astroFilter = originalAstroFilter;
6462

6563
using var writer = new BinaryUtils.Writer();

NebulaPatcher/NebulaPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ private static void InitPatches()
360360
{
361361
try
362362
{
363-
Log.Info($"Patching Dyson Sphere Program version {GameConfig.gameVersion.ToFullString()}");
363+
Log.Info("Patching Dyson Sphere Program...");
364364
Log.Info($"Applying patches from {PluginInfo.PLUGIN_NAME} {PluginInfo.PLUGIN_DISPLAY_VERSION} made for game version {DSPGameVersion.VERSION}");
365365
#if DEBUG
366366
if (Directory.Exists("./mmdump"))

NebulaPatcher/Patches/Dynamic/UIStatisticsWindow_Patch.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ public static void AstroBoxToValue_Postfix(UIStatisticsWindow __instance)
7373
}
7474

7575
[HarmonyPrefix]
76-
[HarmonyPatch(nameof(UIStatisticsWindow.RefreshItemsCyclicRefSpeed))]
77-
[HarmonyPatch(nameof(UIStatisticsWindow.RefreshItemsStorageGroupCount))]
78-
[HarmonyPatch(nameof(UIStatisticsWindow.RefreshGalacticTransportStorageCount))]
76+
[HarmonyPatch(nameof(UIStatisticsWindow.RefreshProductionExtraInfo))]
7977
public static bool Refresh_Prefix(UIStatisticsWindow __instance)
8078
{
8179
if (!Multiplayer.IsActive || Multiplayer.Session.LocalPlayer.IsHost) return true;

NebulaPatcher/Patches/Dynamic/VFPreload_Patch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public static void InvokeOnLoad_Postfix()
2626
NativeInterop.HideWindow();
2727
NativeInterop.SetConsoleCtrlHandler();
2828
// Logging to provide progression to user
29-
Log.Info("VFPreload.InvokeOnLoad");
29+
Log.Info($"Loading game version {GameConfig.gameVersion.ToFullString()}");
3030
}
3131

3232
[HarmonyPostfix]

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
3-
"version": "0.9.15",
3+
"version": "0.9.16",
44
"assemblyVersion": {
55
"precision": "build"
66
},

0 commit comments

Comments
 (0)