边缘世界 RimWorld

边缘世界 RimWorld

Reel's Expanded Storage
此主题已被锁定
Cruel Moose 2024 年 8 月 3 日 上午 6:59
Moving the Medicine Cabinet causes it to disappear.
Since the update, if you try to move it, it simply vanishes.
< >
正在显示第 1 - 12 条,共 12 条留言
Cruel Moose 2024 年 8 月 3 日 上午 9:57 
Wanted to add that the medicine cabinet is breaking SOS2 in its current state. If you try to land a ship with one built on it, it creates an infinite loop in the game :/
Reel (but green)  [开发者] 2024 年 8 月 4 日 上午 2:44 
I'm able to replicate it, but I'm not sure what the cause could be. Definitely not good though.
盗版侠 2024 年 8 月 4 日 下午 1:22 
This bug will cause the visitor mod to report errors wildly, destroying two of my save files.
Reel (but green)  [开发者] 2024 年 8 月 4 日 下午 2:15 
Visitor mod? You mean Hospitality?
盗版侠 2024 年 8 月 4 日 下午 9:11 
Hospitality yes
Scorpio 2024 年 8 月 11 日 上午 6:19 
have this bug ( without hospitality ) , and they cant be destroyed via dev mode either , had to nuke my save over it
最后由 Scorpio 编辑于; 2024 年 8 月 12 日 上午 5:15
Boss 2024 年 8 月 25 日 上午 7:45 
Can't move the Medicine cabinet. Not using SoS2. Is this being worked on? I can't uninstall/move/delete it. Everything on the ground once it's destroyed also throws errors. If it matters, I'm using the mod that let's them also act as fridges.
最后由 Boss 编辑于; 2024 年 8 月 25 日 上午 7:45
Reel (but green)  [开发者] 2024 年 8 月 25 日 下午 12:10 
@Boss
I don't know the cause of the issue with the Medicine cabinet, so I can't fix it until I do.
Amari 2024 年 9 月 11 日 上午 5:22 
Just encountered this yesterday. The error is caused by 2 things:
  • The medicine cabinet is a CompGlower (the thing emits light around it)
  • An interaction with the continued version of Simple Utilities: Fridge

TLDR: Should probably speak with the modder of the continued fridge mod regarding this, or just make the medicine cabinet not a glower.


A bunch of boring technical stuff below:

The fridge mod has a patch for when a building that uses its mod extension is despawned (such as when a pawn hauls or deconstructs it).
The patch sets a field in the code which treats the building as unpowered.

Seems like Owl (the original modder) used something to access this field which is normally inaccessible.
The modder of the continued version used a different approach and set a C# property which does the same thing.
Unfortunately, setting that property triggered additional code, which didn't happen with Owl's version.

One of the additional code triggered is updating the glow grid of the current map if the building is a CompGlower, i.e. the medicine cabinet.

But since it is temporarily despawned, it does not belong to any map.
So a null reference exception happens down the line, aaaaaand your cabinet is now gone forever along with anything inside it :)
любовь к жизни 2024 年 9 月 14 日 上午 5:13 
Should be fixed as of the latest update.
Reel (but green)  [开发者] 2024 年 9 月 14 日 下午 2:11 
Thanks a lot, alt4s.
Byzz 2024 年 11 月 22 日 上午 6:19 
for some reason the medicine cabinet is still buggy, sometimes I cant put more than 1-4 items into it
最后由 Byzz 编辑于; 2024 年 11 月 22 日 上午 6:19
< >
正在显示第 1 - 12 条,共 12 条留言
每页显示数: 1530 50