1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2026-03-22 16:03:30 +08:00
Commit Graph

78 Commits

Author SHA1 Message Date
f69a90d452 Fix potential bugs in UXAssist and CheatEnabler
UXAssist:
- PlanetFunctions: fix infinite loop in constructStats cleanup (i++ -> i--)
- PlanetFunctions: skip entityPool slot 0 (sentinel) in DismantleAll foreach
- PlanetFunctions: fix belt buffer walk infinite loop when buffer[j]==250,
  add cargoPool bounds check
- FactoryPatch: fix UnfixProto guard condition (< 3 -> < PowerPoleIds.Length)
- FactoryPatch: fix Array.Resize(index*2) -> (index+1)*2 to handle index==0
- LogisticsPatch: fix UpdateStorageMax early-exit to check both local and remote
- LogisticsPatch: fix storage max scan to use Math.Max instead of last-write
- LogisticsPatch: add divide-by-zero guard in station storage ratio calculation
- LogisticsPatch: fix station entry right-click delegates using per-instance
  dictionary instead of shared static array to prevent unsubscribe mismatch
- LogisticsPatch: add null checks for GameObject.Find results in InitGUI
- GamePatch: log exception in previously empty catch block
- GameLogic: invoke event handlers individually with try/catch so one failing
  subscriber does not abort subsequent ones
- DysonSpherePatch/LogisticsPatch/PersistPatch/PlayerPatch: replace
  matcher.Labels = null with matcher.Labels = [] (5 sites)
- UIConfigWindow: remove duplicate I18N.Add for 'Outgoing integration count'
- UIConfigWindow: remove two orphaned y += 36f spacing increments

CheatEnabler:
- GamePatch: add null check for GameMain.gameScenario in AbnormalDisabler.OnEnable
- FactoryPatch: add null check for GameMain.mainPlayer in TakeTailItemsPatch
  and GetItemCountPatch
- FactoryPatch: add null check for GameMain.mainPlayer in
  ConstructionSystem_GameTick_Prefix
- FactoryPatch: fix _portalFrom.Remove(beltId) -> Remove(v) (wrong key)
- FactoryPatch: add null guard for GameMain.data before iterating factories
  in WindTurbinesPowerGlobalCoverage
- DysonSphereFunctions: fix shell pool rebuild loop writing all shells to
  slot 1 (id=1); now uses j+1 per iteration
- DysonSphereFunctions: replace GameMain.gameScenario.NotifyOnPlanDysonShell()
  with null-conditional call (?.) at 4 sites
- DysonSpherePatch: fix SkipAbsorbPatch/QuickAbsorbPatch sharing _instantAbsorb:
  OnDisable now recalculates the flag instead of unconditionally clearing it
- PlayerFunctions: add null check for GameMain.galaxy in TeleportToOuterSpace
- UIConfigWindow: add null guard in UpdateButtons before accessing button fields
- PlanetFunctions: add colliderId bounds check in BuryAllVeins
2026-03-16 19:52:14 +08:00
f7fc9aaab0 UXAssist: fix recent upload result 2026-03-12 00:30:03 +08:00
c823e72c67 UXAssist: Fix crash 2026-03-11 22:18:06 +08:00
d6b00b1b78 UXAssist 1.5.5 2026-03-07 20:46:30 +08:00
ad99b49bad UXAssist: some fixes 2026-03-07 19:42:29 +08:00
5e501ea649 UXAssist: add 3 options to Initialize Planet 2026-03-07 19:42:14 +08:00
6f33669163 UXAssist: crash fix 2026-03-02 22:47:05 +08:00
2e13206346 UXAssist: bug fix 2026-02-13 23:29:22 +08:00
a5009496d5 UXAssist: fix re-initialize planet 2026-02-10 15:39:59 +08:00
80aa2f9b70 UXAssist: fix belt signal overlap issue 2026-02-07 20:26:12 +08:00
2456280151 UXAssist: finished auto construct 2026-02-05 02:58:27 +08:00
0d090ddfb0 work in progress 2026-02-04 22:55:38 +08:00
39578559aa UXAssist: Auto construct 2026-02-04 22:04:02 +08:00
256faeee19 enlarge button a bit 2026-01-23 15:20:56 +08:00
78e86aeafe ready for next release of UXAssist 2026-01-23 03:05:40 +08:00
788ed4275e try to fix known issues 2026-01-22 23:55:52 +08:00
c339041824 bug fix 2025-12-28 23:07:52 +08:00
0d7941387f work in progress 2025-12-10 01:01:12 +09:00
b2c04c1dff work in progress 2025-12-02 00:10:02 +08:00
269cc3b801 minor fixes 2025-11-15 01:02:33 +08:00
cacbfd6d5f fix recreate planet 2025-11-14 22:08:46 +08:00
6f5b779d58 work in progress 2025-11-12 02:43:26 +08:00
96f160926c work in progress 2025-11-10 22:39:58 +08:00
d711dd25ef remove cpu affinity settings, as they are officially supported 2025-09-29 23:34:17 +08:00
e909b6d9d2 rename GameLogicProc back to make things compatible with old dependants 2025-09-29 23:34:17 +08:00
1d11ba90bd we make them compile first 2025-09-29 23:34:17 +08:00
a5dc7c5825 Starmap view star name display: add star index 2025-09-29 17:02:10 +08:00
a25f74443d donet format 2025-09-21 15:38:03 +08:00
5f37b8b6d6 Fix a method use that missing in .NET Framework 4.5 2025-09-21 15:13:43 +08:00
0178c8cc2e work in progress 2025-08-10 15:16:53 +08:00
2949066712 minor fix 2025-07-08 03:25:33 +08:00
b7abb3a32a finished new mechanism for blueprint building sorting 2025-06-18 01:39:00 +08:00
ba095d79f0 minor changes 2025-06-04 17:53:54 +08:00
17aca89249 crash fix 2025-06-04 00:25:58 +08:00
4ba1512205 UXAssist: Ctrl+A also select all prebuilds 2025-06-01 20:01:42 +08:00
f7e1a27be1 UXAsisst 1.3.6 2025-05-25 10:55:03 +08:00
75030c5b23 UXAssist v1.3.5 2025-05-10 20:09:30 +08:00
c7465133f7 UXAssist v1.3.3 2025-05-10 00:50:11 +08:00
b060204d80 4 bug fixes 2025-05-03 18:07:15 +08:00
47cfb4d79a Starmap filter: Hide top overlaping windows while the filter UI is shown 2025-05-02 21:03:46 +08:00
0d5a07b1ac fix crash 2025-05-02 19:59:51 +08:00
40e3206953 optimized window repositioning 2025-04-29 15:38:29 +08:00
167f53e2df tech unlock fix 2025-04-28 21:35:41 +08:00
f407928579 UXAssist v1.3.2 2025-04-28 19:40:38 +08:00
5545d7a2bf UXAssist v1.3.2 2025-04-27 19:31:49 +08:00
2124719de0 UXAssist: v1.3.1 2025-04-26 23:51:58 +08:00
8550a354f1 work in progress 2025-04-26 20:51:50 +08:00
f6f28efd88 UXAssist: minor bug fix 2025-04-26 13:12:12 +08:00
950bde3464 CheatEnabler v2.3.30 2025-04-25 17:50:52 +08:00
b86825c645 Add an option to auto-config logistics 2025-04-25 15:36:32 +08:00