RimWorld

RimWorld

Device Standby
138 Comments
Jamesli174 Sep 13 @ 8:52am 
感谢作者的教程,自己patch了一下:steamhappy:
Jamesli174 Sep 13 @ 12:43am 
和WVC - Xenotypes and Genes里的异种人充电站冲突?:steamfacepalm:

Exception ticking WVC_GeneRecharger20144 (at (119, 0, 144)): System.NullReferenceException: Object reference not set to an instance of an object
[Ref 52875770]
at DS.CompDeviceStandby.IsActive () [0x00166] in <5a1874f442a7421b8613e9cf1c810574>:0
at DS.CompDeviceStandby.DoUpdate () [0x00052] in <5a1874f442a7421b8613e9cf1c810574>:0
at DS.CompDeviceStandby.CompTick () [0x00012] in <5a1874f442a7421b8613e9cf1c810574>:0
at Verse.ThingWithComps.Tick () [0x00025] in <24d25868955f4df08b02c73b55f389fe>:0
at WVC_XenotypesAndGenes.Building_XenoCharger.Tick () [0x00001] in <f6994e3d993a47e9bb0b82decfccbff1>:0
at Verse.Thing.DoTick () [0x0007b] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.TickList.Tick () [0x00139] in <24d25868955f4df08b02c73b55f389fe>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Corpse Sep 12 @ 2:26pm 
原来如此,我还以为是冲突了
Cedaro  [author] Sep 12 @ 2:04am 
@Corpse 有效果的,因为原版的一些限制导致设备的面板无法反映实际功耗,但它确实是已经改变了,你可以用比如power tab之类的模组查看用电量
Corpse Sep 12 @ 1:30am 
大佬为什么我用电功耗调成5倍没有效果,还是默认的一倍
Cedaro  [author] Sep 11 @ 7:00am 
@战地记者 射命丸 已将充电桩加入排除名单,不会报错了
战地记者 射命丸 Sep 6 @ 5:45am 
和米莉拉的无人机充电桩冲突
Exception ticking Milira_DroneRecharger1081 (at (101, 0, 126)): System.NullReferenceException: Object reference not set to an instance of an object
[Ref AD9B76CD]
at DS.CompDeviceStandby.IsActive () [0x00166] in <66caae8d8ff246d39ba1f4899c45543d>:0
at DS.CompDeviceStandby.DoUpdate () [0x00052] in <66caae8d8ff246d39ba1f4899c45543d>:0
at DS.CompDeviceStandby.CompTick () [0x00012] in <66caae8d8ff246d39ba1f4899c45543d>:0
at Verse.ThingWithComps.Tick () [0x00025] in <24d25868955f4df08b02c73b55f389fe>:0
at AncotLibrary.Building_DroneCharger.Tick () [0x00001] in <c6669e03167b4f6fa373e254dd8b7f6f>:0
at Verse.Thing.DoTick () [0x0007b] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.TickList.Tick () [0x00139] in <24d25868955f4df08b02c73b55f389fe>:0
Nuacepony Sep 4 @ 7:08am 
In fact, I think your mod is better than Mile's version because your mod doesn't require hugslib.
luojiahao Aug 26 @ 7:11am 
Exception in Verse.TickList.Tick: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 683F39BA]
at DS.CompDeviceStandby.IsActive () [0x00166] in <66caae8d8ff246d39ba1f4899c45543d>:0
at DS.CompDeviceStandby.DoUpdate () [0x00052] in <66caae8d8ff246d39ba1f4899c45543d>:0
at DS.CompDeviceStandby.CompTick () [0x00012] in <66caae8d8ff246d39ba1f4899c45543d>:0
at Verse.ThingWithComps.Tick () [0x00025] in <cb53cd4422904947932d33f561ad8d15>:0
at AncotLibrary.Building_DroneCharger.Tick () [0x00001] in <d47709a45d9d437aa0f42429dc889925>:0
at Verse.Thing.DoTick () [0x0007b] in <cb53cd4422904947932d33f561ad8d15>:0
at Verse.TickList.Tick () [0x00157] in <cb53cd4422904947932d33f561ad8d15>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
Cedaro  [author] Aug 18 @ 6:14pm 
@Necromenta I don't have any, if needed you can directly contact me on steam, I almost online everyday. The bug is because rimfactory changed some field name in its code, cannot be easily fixed in xml, requires adapt and recompile of dll file.
Necromenta Aug 18 @ 3:15pm 
@Cedaro Thanks for the fix! Do you have a discord/github for this? I actually tried to fix it myself using your docs and for some reason I wasn't able to, would love to hear how you managed to do it
Cedaro  [author] Aug 12 @ 6:48pm 
@Necromenta fixed now
Necromenta Aug 10 @ 6:50pm 
hi, seems this mod is completely incompatible with rimfactory, constantly ticking errors with the MeatGrinder, "furnacell" and the selfcooker, it throws errors every tick :Exception ticking PRF_SelfCookerIII925540 (at (107, 0, 224)): System.NullReferenceException: Object reference not set to an instance of an object
[Ref E7EC12B6] Duplicate stacktrace, see ref for original
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.UnityEngine.StackTraceUtility.ExtractStackTrace_Patch1()
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.Log.Error_Patch5(System.String)
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.TickList.Tick_Patch1(Verse.TickList)
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.TickManager.DoSingleTick_Patch5(Verse.TickManager)
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.TickManager.TickManagerUpdate_Patch2(Verse.TickManager)
3Eyes Jul 29 @ 9:49pm 
会导致米莉拉的无人机充电桩一直红字。。。我查了好久:lunar2019crylaughingpig:
你看我迪奥不 Jul 20 @ 9:28am 
This comment is awaiting analysis by our automated content check system. It will be temporarily hidden until we verify that it does not contain harmful content (e.g. links to websites that attempt to steal information).
也一样2021 Jul 16 @ 8:30am 
那应该是我mod冲突吧?毕竟两百多个呢,我再试试
*Armelia*叹月之兽 Jul 16 @ 8:20am 
可能是mod冲突,很神秘,我也搞不懂为什么一个控制机器电力的mod能在雪牛身上发生了报错,控制台手动召唤商队/直接生成雪牛都没法复现,不知道自然生成的雪牛有没有问题
大概是商队的雪牛身上装了不稳定能量电池),虽然可以和商队交易后用控制台再把雪牛给destroy
Cedaro  [author] Jul 16 @ 7:00am 
抱歉,但我无法复现任何一个报错,在我这里测试是完全没问题的,搞不懂:stress:
也一样2021 Jul 16 @ 6:43am 
还有错误,这是日志。Exception ticking Cinder_Trailer2239946 (at (69, 0, 147)): System.NullReferenceException: Object reference not set to an instance of an object
[Ref 2EDD48CC] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()
略有功德 Jul 16 @ 4:07am 
是真有问题,不停报错
这个错误表明 RimWorld 在尝试更新(tick)一个压缩物品(MinifiedThing)时遇到了空引用异常。以下是专业级解决方案:

根本原因分析
错误本质:

游戏在坐标 (114, 0, 143) 处尝试更新 ID 为 325706 的压缩物品

该物品的某个关键组件未被正确初始化(null)

发生在游戏主循环的 Tick 更新阶段

典型诱因:

Mod 添加的建筑物/设备在打包/解包时序列化失败

存档迁移过程中数据丢失

Mod 冲突导致的组件引用丢失

禁用mod之后就没事了
*Armelia*叹月之兽 Jul 16 @ 1:40am 
当商队牵着雪牛来贸易的时候,会稳定出现红字报错,不知道为什么
用控制台摧毁出问题的雪牛之后恢复了正常
https://gist.github.com/HugsLibRecordKeeper/b260aea0388fc4e939fcee77afb3968d
Cedaro  [author] Jul 15 @ 8:16pm 
我尝试更新了一下。如果仍然有报错请打开mod设置里的 Verbose Log 选项,继续游玩直到再次出现报错,把日志发给我
@也一样2021 @环星
也一样2021 Jul 15 @ 7:13pm 
和楼下一样几秒一个报错,可以确认是此mod的问题,因为下掉这个mod就没有了
你看我迪奥不 Jul 15 @ 3:59am 
几秒钟有一个报错,我在报错mod上看似乎是单独的:steamsad:
Caramel Jul 7 @ 6:05am 
報錯頻率低, 所以也不怎麼影響運行速度 :steamhappy:, 感謝更新
Cedaro  [author] Jul 6 @ 8:02pm 
问题应该来自于ve框架在新版本中的代码重构,考虑到依赖ve的待机建筑不多,我先移除了这些建筑,待环境稳定后再看要不要加回去

天气控制器我更愿意相信是dlc未更新导致的问题
Cedaro  [author] Jul 6 @ 6:10pm 
@Caramel 感谢排错!这就修
Caramel Jul 6 @ 9:55am 
天氣控制器有問題, 接了天氣控制任務之後, 會一直報錯, 直到天氣干預結束, 其他類型的任務不知道會不會這樣
Caramel Jul 6 @ 9:44am 
我找到了
Caramel Jul 6 @ 8:49am 
這個電湯鍋是小問題
Caramel Jul 6 @ 8:45am 
原版料理擴展, VCE_ElectricPot
Caramel Jul 6 @ 8:14am 
我這邊也出問題了, 不影響遊玩, 但會一直跳紅字
Cedaro  [author] Jul 4 @ 9:23pm 
@ZebraRabbit emmm那很棘手了,我尽力尝试去修吧
ZebraRabbit Jul 3 @ 8:14pm 
这个现象在1.6里好像一直在,log里面没有给出对应的格子位置,导致我无法特定到某个电器orz。我用1.5最后一个存档试了一下,1.5不会出这个同样的报错。
至于1.6,今天本体更新之后我的mod只要加载就炸,已经进不去游戏了。
Cedaro  [author] Jul 3 @ 7:18pm 
@ZebraRabbit 问题有些难以定位。这个报错很多档中都会出现吗?在1.5中出现过吗?能否定位到某个特定的电器?
ZebraRabbit Jul 3 @ 9:57am 
禁用本mod之后前面那则警报不再重复出现
ZebraRabbit Jul 3 @ 9:45am 
在1.6测试版里持续看到一个红字警报,用HugsLibLogPublisher导出记录观察了一下,请问这则警报是否和本mod有关?
完整版log见此处: https://gist.github.com/HugsLibRecordKeeper/945b219815573c3bc0b1c2f225ae9a62

System.NullReferenceException: Object reference not set to an instance of an object
[Ref 319B6942]
at DS.CompDeviceStandby.IsActive () [0x00000] in <9cd909e6f1344b619895d34889e0b77b>:0
at DS.CompDeviceStandby.DoUpdate () [0x0000e] in <9cd909e6f1344b619895d34889e0b77b>:0
at DS.CompDeviceStandby.CompTickRare () [0x00000] in
########## The preceding 2 lines were repeated 19 times ##########
johnshua Jun 14 @ 12:26am 
People yearn for the 1.6 version
TrickyHunter Jul 31, 2024 @ 10:51am 
@pichulaRICA taking a break in jungle coke lab?
Cedaro  [author] Jul 28, 2024 @ 7:37am 
I'm currently doing an internship in other place, away from my pc I often used, so any change or fix will be halt until I return in Sept. Sorry for waiting.

我现在在外地做实习,惯用的电脑不在身边,功能或bug修复都需要等到九月回校才能进行了,请谅解
Willaby_Neko Jun 30, 2024 @ 2:29pm 
Looks like the Gene Vault and XenoGerm Duplicator that were in Altered Carbon were moved to ReSplice: Core for 1.5, causing an xpath issue to pop up and not be properly applied.
BUyue May 24, 2024 @ 5:26am 
报错
[Device Standby - Start of stack trace]
Verse.PatchOperationAdd(xpath="/Defs/ThingDef[defName="TableMending"]/comps"): Failed to find a node with the given xpath
Verse.PatchOperationFindMod(MendAndRecycle): Error in <match>
[End of stack trace]
The top operation is the one that failed, the ones below it are the parents
Source file: D:/Steam/steamapps/workshop/content/294100/2967053451/Patches/1.Mods/MendAndRecycle.xml
Cedaro  [author] Apr 21, 2024 @ 8:34am 
@BUyue 开发者模式注释
BUyue Apr 21, 2024 @ 8:28am 
为什么左下角始终显示reservable?
TP Apr 21, 2024 @ 3:17am 
中文MOD,好酷!:steamthumbsup:
Narlindir Apr 13, 2024 @ 12:20pm 
@Pig apparently "no plan" lol
Pig ♡ Apr 6, 2024 @ 12:08am 
whats the difference between this and LightsOut?
Cedaro  [author] Feb 20, 2024 @ 9:25pm 
@ElvenNain fixed now, you can refer to Patches/2.Fix/ACS.xml for how to remove standby mode from buildings.
Cedaro  [author] Feb 20, 2024 @ 9:21pm 
@你说你是猫 已修复
ElvenNain Feb 19, 2024 @ 3:26am 
"ACS - Advanced Commercial Server" I am using this mode and I want to make sure that standby power mode is not applied to this mode because the power consumption is constantly zero, how can I do this? Please tell me how to patch it