边缘世界 RimWorld

边缘世界 RimWorld

Dormitories Not Barracks
74 条留言
UntouchedWagons 2023 年 5 月 24 日 下午 3:43 
I'm getting an error similar to ntiem8r:

Error in static constructor of DormitoriesNotBarracks.DormitoriesNotBarracks: System.TypeInitializationException: The type initializer for 'DormitoriesNotBarracks.DormitoriesNotBarracks' threw an exception. ---> HarmonyLib.HarmonyException: Patching exception in method static System.Void RimWorld.Toils_LayDown::ApplyBedThoughts(Verse.Pawn actor, RimWorld.Building_Bed bed) ---> System.FormatException: Method static System.Void RimWorld.Toils_LayDown::ApplyBedThoughts(Verse.Pawn actor, RimWorld.Building_Bed bed) cannot be patched. Reason: Invalid IL code in (wrapper dynamic-method) RimWorld.Toils_LayDown:RimWorld.Toils_LayDown.ApplyBedThoughts_Patch2 (Verse.Pawn,RimWorld.Building_Bed): IL_007f: call 0x0000001f
Three 2023 年 5 月 21 日 上午 5:18 
As an solution for errors posted bellow I found this mod - Dormitories (Not Barracks) works very smoothly :sothappy:
ntiem8r 2023 年 5 月 21 日 上午 4:41 
Hi I'm getting this at the startup screen. Error performing harmony patches for DormitoriesNotBarracks, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - HarmonyLib.HarmonyException: IL Compile Error ---> System.FormatException: Method static System.Void RimWorld.Toils_LayDown::ApplyBedThoughts(Verse.Pawn actor, RimWorld.Building_Bed bed) cannot be patched. Reason: Invalid IL code in (wrapper dynamic-method) RimWorld.Toils_LayDown:RimWorld.Toils_LayDown.ApplyBedThoughts_Patch3 (Verse.Pawn,RimWorld.Building_Bed): IL_0092: call 0x00000021- logs are at https://gist.github.com/HugsLibRecordKeeper/ff9cfa656dfcc10d44819a9e83768ee8
four12 2023 年 4 月 26 日 下午 6:52 
Thirding @Guccio error report. Had it for quite some time, never bothered to deal with it.
Onion 2023 年 4 月 23 日 上午 2:48 
Seconding Guccio's error after game-start, someone @ me if it's answered please :p
χø£¡Ŧ <(´= w =`)> 2023 年 4 月 16 日 下午 12:06 
This mod should be applied to 2-4 beds in order to include a dorm with two bunk beds.
Three 2023 年 3 月 11 日 上午 2:45 
Getting this error after starting the game:
Error in static constructor of DormitoriesNotBarracks.DormitoriesNotBarracks: System.TypeInitializationException: The type initializer for 'DormitoriesNotBarracks.DormitoriesNotBarracks' threw an exception

here are my logs:

https://gist.github.com/8192cba9d96a7a093408088747bda3d1
KyuKage 2023 年 2 月 25 日 下午 7:08 
@MagnusCerebrum and @Guccio - the full quote should be "it does register 2-3 medical beds as a dorm, going 4 or more however changes it back to a hospital room."

So you'll need to make a hospital room with 4+ beds.
Three 2023 年 2 月 25 日 下午 6:09 
@MagnusCerebrum , @Sexual Mongolian Yurt Description says:
"Dormitories are defined as rooms with 2-3 single beds"
Three 2023 年 2 月 25 日 下午 6:07 
@Aquila I have similar error :boldly:
MagnusCerebrum 2023 年 1 月 22 日 上午 6:06 
This mod turns my hospitals into dormitories somehow, causing problems with Ideologies such as my current colonies one that requires hospitals, gonna have to disable this mod unfortunately
Clocktower_Echos 2022 年 12 月 27 日 下午 4:59 
Okay so I did some quick testing. It would seem that the error below doesn't seem to affect anything. Adding cribs doesn't change a dorm into a barrack but it does register 2-3 medical beds as a dorm, going 4 or more however changes it back to a hospital room.
Aquila15 2022 年 12 月 16 日 上午 3:41 
Getting this error after starting the game:
Error in static constructor of DormitoriesNotBarracks.DormitoriesNotBarracks: System.TypeInitializationException: The type initializer for 'DormitoriesNotBarracks.DormitoriesNotBarracks' threw an exception

here are my logs:
https://gist.github.com/2014b096d2475b72394a6c78f3033de2
four12 2022 年 12 月 9 日 下午 9:42 
@8Z Same error as shown below
ReneeEclipse 2022 年 12 月 8 日 下午 6:54 
Here is a log containing said error:

https://gist.github.com/6dfc3bc0d75d9d85892d18f8f3195e5c
robinzilla 2022 年 12 月 3 日 下午 1:28 
Same error here as Darkstar and Raupen. If logs are needed, I'm happy to share.
Raupenfusselflommel 2022 年 12 月 1 日 上午 2:53 
same as darkstar
Darkstar 2022 年 11 月 30 日 下午 12:44 
I think yesterday's base game update might have messed this mod up. Getting this error on load now:

Error in static constructor of DormitoriesNotBarracks.DormitoriesNotBarracks: System.TypeInitializationException: The type initializer for 'DormitoriesNotBarracks.DormitoriesNotBarracks' threw an exception. ---> HarmonyLib.HarmonyException: IL Compile Error ---> System.FormatException: Method static System.Void RimWorld.Toils_LayDown::ApplyBedThoughts(Verse.Pawn actor, RimWorld.Building_Bed bed) cannot be patched. Reason: Invalid IL code in (wrapper dynamic-method) RimWorld.Toils_LayDown:RimWorld.Toils_LayDown.ApplyBedThoughts_Patch6 (Verse.Pawn,RimWorld.Building_Bed): IL_0092: call 0x00000021
[DTM] Patient Zero 2022 年 11 月 12 日 下午 8:04 
Looks like it also changes hospitals into dorms. Not sure if that was an issue before. Obviously when exceeding the dorm bed limit, the room classification reverts to a hospital.
8Z  [作者] 2022 年 11 月 8 日 下午 1:40 
@Eng_Chasers Thank you for the heads-up. I pushed an update which should have fixed it. I try to maintain backwards compatibility for existing addons as to not break old saves.
Eng-Chasers 2022 年 11 月 2 日 上午 9:37 
the new update seems to break 1.3 version as it throws some staticonstructor startup and pawns don't fill their need of food after eating and give
JobDriver threw exception in initAction for pawn Red driver=JobDriver_Ingest (toilIndex=9) driver.job=(Ingest (Job_2652324) A=Thing_MealFine427614 B=(56, 0, 128))
System.MissingFieldException: Field 'RimWorld.BuildingProperties.bed_countsForBedroomOrBarracks' not found.

I understand if you won't fix this. Just a heads up.
8Z  [作者] 2022 年 11 月 1 日 下午 2:58 
Should be working now.
Vattende 2022 年 11 月 1 日 下午 12:43 
@8Z - thanks for looking at the dormitory issue. Then it's not game-breaking i mean, i had lot babies, living in dormitories, and they do very well to, it's just a denomination, and i didn't see any problems because of that.
8Z  [作者] 2022 年 11 月 1 日 上午 11:17 
Thanks for reporting the issues, folks. I lost the C# source files for this mod and will have to rewrite it for 1.4.
Vattende 2022 年 10 月 25 日 上午 3:46 
Also saw this issue, also you can't make nursery so called. They're als dormitories now.
ShortBear 2022 年 10 月 21 日 下午 12:45 
Small issue with biotech, Cribs aren't supposed to change the status of a bedroom but they are making them into dormitories
JACK 2021 年 10 月 11 日 下午 11:47 
awesome compromise. I can definitely say my decent college dormitory probably gave me about a +1 mood, lol
KyuKage 2021 年 9 月 15 日 上午 4:59 
So the Vanilla values are unmodded and this inserts the Dormitory values between them if I'm reading correctly?
༺midas22༻ 2021 年 9 月 1 日 下午 6:05 
i know it doesn't currently, but would it be possible to make it work for 1 double + 1 single bed?
Nachonacho 2021 年 8 月 6 日 上午 7:59 
Is it possible to make an any-bed-count version of this?
I mean it would still require having no workbenches and yu'll get the disturbed sleep x3 debuff, so I think it's a fair choice
McDuff 2021 年 7 月 28 日 上午 7:35 
Getting this error a lot which mentions this mod.

https://pastebin.com/Z87L9t4z
LordQarlyn 2021 年 7 月 28 日 上午 4:56 
This is a perfect compromise mod. Realistically in new settlement situations, most settlers would be sleeping in dormitory like rooms anyway.
smikeproject 2021 年 7 月 28 日 上午 4:52 
@Lucifer
Hope to see your upgrade/updates gets in this one. "Hospitality" is very useful mod, so it is a must to be compatible with it.
Genaeve 2021 年 7 月 27 日 下午 9:40 
Bless you, @Lucifer! You are a wonderful Being! :MysteriaGodOfDeathHappy:
Lucifer 2021 年 7 月 27 日 下午 8:18 
Hi, I just updated this yesterday to 1.3 here , didn't expect you to post and update lol. I added support for the new love clusters and added compatibility with Hospitality, just let me know what you want me to do with my version.
Genaeve 2021 年 7 月 26 日 下午 5:30 
@FlorestNerd to change the tag
1) Open the folder containing this mod
For me, it's located
C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\2253550390
2) Open the folder labeled "About" (without the quotes)
3) Using Notepad or Notepad++ open "About.xml" (without the quotes)
4) Double check the name of the mod on line 2 looks like this:
<name>Dormitories Not Barracks</name>
5) Line 5-7 should look something like this:
<supportedVersions>
<li>1.2</li>
</supportedVersions>
6) Change <li>1.2</li> to "<li>1.3</li>"
7) Save the file.
8) Close the folders and start up your game.
Personally, I copy the mod folder and rename it to something like
"Fix_Dormitories-Not-Barracks" (without the quotes)
and place it in this location:
C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods
This way I can easily find it and the original mod will be updated once the author does so.
I hope this helps you out.
FlorestNerd 2021 年 7 月 26 日 下午 4:29 
@BloodTear , i would gladly if i knew how
Ayane 2021 年 7 月 25 日 下午 6:18 
You guys can update the tag yourselves it's not hard. The mod works so no need to keep asking for an update.
Lyca 2021 年 7 月 22 日 上午 6:47 
I agree, +1 for update for 1.3 :D
The Bard of Hearts 2021 年 7 月 20 日 下午 7:06 
+1 for a 1.3 update! :steamhappy:

Glad to know it works anyway. =)
@Criarino, thanks for the test
Criarino 2021 年 7 月 20 日 下午 12:45 
just tested, it works on 1.3
KitsuneKas 2021 年 7 月 20 日 上午 11:40 
Has anyone tested this to see if it works fine in 1.3 without an update?
MahBR 2021 年 7 月 20 日 上午 6:27 
1.3 come on men :c please
A Furry Git 2021 年 7 月 12 日 上午 9:39 
Is this gonna be updated for 1.3?
Fen Hin 2021 年 5 月 15 日 上午 6:13 
@Estredar
Only single beds

Description
" Dormitories are defined as rooms with 2-3 single beds "
Estredar 2021 年 4 月 27 日 下午 12:51 
I dont know what changed but as of yesterday this mod stopped working. Does it work with three double-beds?
Sebastian Cigar 2021 年 1 月 14 日 上午 5:15 
@Viper it does seem to go well with Realistic Rooms, all my colonists except the one with a royal title live in 2-bed dorm rooms and I don't remember seeing them being too sad over this
I have this mod placed after RR in my mod load order btw
Sebastian Cigar 2021 年 1 月 14 日 上午 5:10 
thank you for this
Viper 2021 年 1 月 1 日 下午 8:30 
Will Realistic Rooms work correctly with this?
Dr@g0n 2020 年 12 月 6 日 下午 3:42 
this is going to make more sense than a barracks when I have pawns that don't harm otehrs