1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2026-03-22 07:23:24 +08:00

537 Commits

Author SHA1 Message Date
a5b2bdedd4 UXAssist 1.5.7 2026-03-20 15:38:33 +08:00
a346778db9 fix possible crash 2026-03-20 15:08:02 +08:00
109c6afd90 minor fixes 2026-03-20 14:57:25 +08:00
e2848b4f97 UXAssist v1.5.6 and CheatEnabler v2.4.3, with package target fix 2026-03-16 20:46:51 +08:00
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
e91271e137 Add UpdateGameDlls target to auto-refresh publicized game DLLs 2026-03-16 18:23:52 +08:00
SSSSSSSan
524e2b62f0 Remove spaces 2026-03-16 01:36:09 +08:00
SSSSSSSan
2487a099c1 清理调试日志和添加英文注释
- 移除Dustbin.cs中CalcGetSands方法的调试日志输出
- 移除StoragePatch.cs中的调试方法(LogTranspilerInfo, LogReturnValue, LogInserterState)
- 移除transpiler中对调试方法的调用
- 为StoragePatch.cs中的所有中文注释添加英文翻译
- 保持修复bug的核心逻辑完整性
2026-03-16 01:36:09 +08:00
SSSSSSSan
7e9f9ee1ce 修复喷涂增产剂的物品会卡住储物仓垃圾桶的问题
Fix issue where items with productivity spray get stuck in storage dustbin
2026-03-16 01:36:09 +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
669ce9f88c minor fixes 2026-03-11 19:26:40 +08:00
a9ad961bd3 CheatEnabler: Use proliferators for belt signal 2026-03-11 19:25:57 +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
d98d87af48 UXAssist: hide all universe simulators and messages while hide UIs in space 2026-03-05 21:16:36 +08:00
6ab286bb0b Fix crash in NeutronStarHandler.OnEnable() 2026-03-05 18:28:34 +08:00
6f33669163 UXAssist: crash fix 2026-03-02 22:47:05 +08:00
91184ccc3a UXAssist 1.5.4 2026-02-15 22:34:24 +08:00
2e13206346 UXAssist: bug fix 2026-02-13 23:29:22 +08:00
3e24461ef0 work in progress 2026-02-12 19:48:45 +08:00
097a5c8e8a work in progress 2026-02-11 20:38:24 +08:00
63fb13bf92 minor fix 2026-02-10 15:55:11 +08:00
e758209d99 UXAssist 1.5.3 2026-02-10 15:40:39 +08:00
a5009496d5 UXAssist: fix re-initialize planet 2026-02-10 15:39:59 +08:00
29b30996e6 bugfix 2026-02-10 01:11:12 +08:00
60d14c9401 fix distance 2026-02-09 22:24:44 +08:00
f0ee1aaea9 code format 2026-02-09 21:12:32 +08:00
358fd4cf23 UXAssist: fix tech patch 2026-02-09 03:05:15 +08:00
80aa2f9b70 UXAssist: fix belt signal overlap issue 2026-02-07 20:26:12 +08:00
5914f02d09 minor changes to prevent mecha from flying 2026-02-06 18:04:28 +08:00
d9d1e0108f UXAssist: fix auto cruise 2026-02-05 18:33:40 +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
157c86112b optimized batch building 2026-02-04 14:54:06 +08:00
d0c20693e3 updated dlls 2026-02-04 14:49:48 +08:00
8ae88f4b41 CheatEnabler: Immediate Build fix optimization 2026-02-04 13:22:29 +08:00
c1428f6aee CheatEnabler: Immediate Build fix 2026-02-04 03:07:25 +08:00
260e419855 UXAssist 1.5.2 2026-02-04 03:07:05 +08:00
6e0484f035 UXAssist v1.5.2 2026-01-31 00:28:56 +08:00
6e4416389d CheatEnabler v2.4.2 2026-01-29 02:13:06 +08:00
71c0fe75db minor fix 2026-01-27 23:31:16 +08:00
aa775bd05f work in progress for LuaScriptEngine, to support OBS websocket api 2026-01-24 19:26:45 +08:00
9787636d08 UXAssist 1.5.0 and CheatEnabler 2.4.1 2026-01-23 16:23:10 +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
3156f0ffb5 minor fix 2026-01-23 02:12:24 +08:00
2377f92589 ui fix 2026-01-23 00:55:31 +08:00