From a48bd6fe57143bd3394c9038be22a986f57ae9a8 Mon Sep 17 00:00:00 2001 From: feyris-tan <4116042+feyris-tan@users.noreply.github.com> Date: Mon, 29 Jun 2026 20:17:41 +0200 Subject: [PATCH] Fixed a bug that might've caused a crash when reading Simmin stream. --- skyscraper8/Properties/launchSettings.json | 2 +- .../Scraper/Storage/InMemory/InMemoryScraperStorage.cs | 2 +- skyscraper8/VersionInfo.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/skyscraper8/Properties/launchSettings.json b/skyscraper8/Properties/launchSettings.json index f957702..9fba862 100644 --- a/skyscraper8/Properties/launchSettings.json +++ b/skyscraper8/Properties/launchSettings.json @@ -2,7 +2,7 @@ "profiles": { "skyscraper8": { "commandName": "Project", - "commandLineArgs": "\"Z:\\Persönliches\\Satellitescommunity\\Skyscraper Test Fixture\\brazilian-dvb-nip-000000.ts\"", + "commandLineArgs": "\"Z:\\Persönliches\\Satellitescommunity\\Skyscraper Test Fixture\\thor_11049v_simmin-radiomidun.ts\"", "remoteDebugEnabled": false }, "Container (Dockerfile)": { diff --git a/skyscraper8/Skyscraper/Scraper/Storage/InMemory/InMemoryScraperStorage.cs b/skyscraper8/Skyscraper/Scraper/Storage/InMemory/InMemoryScraperStorage.cs index 74db3dc..14d5a11 100644 --- a/skyscraper8/Skyscraper/Scraper/Storage/InMemory/InMemoryScraperStorage.cs +++ b/skyscraper8/Skyscraper/Scraper/Storage/InMemory/InMemoryScraperStorage.cs @@ -1853,7 +1853,7 @@ namespace skyscraper5.Skyscraper.Scraper.Storage.InMemory { if (rmts == null) rmts = new Rmt[ushort.MaxValue]; - rmts[ushort.MaxValue] = rmt; + rmts[rmt.NetworkId] = rmt; } private Dictionary, Tim> tims; diff --git a/skyscraper8/VersionInfo.cs b/skyscraper8/VersionInfo.cs index 85a8b39..7e6a858 100644 --- a/skyscraper8/VersionInfo.cs +++ b/skyscraper8/VersionInfo.cs @@ -4,7 +4,7 @@ namespace skyscraper8; public class VersionInfo { - private const int PUBLIC_RELEASE = 20; + private const int PUBLIC_RELEASE = 21; public static int GetPublicReleaseNumber() {