RimWorld

RimWorld

[Abandoned] Keep Bed Ownership
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
Hultis  [udvikler] 14. sep. 2020 kl. 15:00
Bug Reports
Please include the following in your report:
  • Detailed description
  • HugsLib log (press Ctrl+F12)

Think it was caused by a recent change in this mod?
You can run older versions by downloading them from github[github.com]. Install the old version of this mod by downloading and extracting the release to (assuming Windows and Steam) C:\Program Files (x86)\Steam\SteamApps\common\RimWorld\Mods and choosing to run the local version instead of the workshop one. If it works after that it's this mods fault.
Sidst redigeret af Hultis; 14. sep. 2020 kl. 15:12
< >
Viser 1-15 af 22 kommentarer
Gremlin 15. sep. 2020 kl. 7:11 
I'm constantly getting errors about un-claimed beds or something. Here is one log
(Sorry for the stupid amount of Mods/ Phinix logs, the error is just at the end and another shortly above it) This error is from just Traders who showed up I guess.

https://gist.github.com/HugsLibRecordKeeper/e5d6d52a549d882c59b56fa85dcafc32
Sidst redigeret af Gremlin; 15. sep. 2020 kl. 7:12
Hultis  [udvikler] 19. sep. 2020 kl. 14:53 
For posterity that was a mistake with 1.1 that was fixed.
何かしら… 21. sep. 2020 kl. 14:52 
A pawn died by a shell while forming a caravan on another tile, abandoning it. It was assigned to a double bed.

The bed bugged out giving nullpointerexceptions, can't reassign, deconstruct, or even destroy the bed (stays at 0 hp). After reloading, the pawn name disappeared, but the problem persisted.

Had to manually unassign it from the save file:

<assignedPawns> <li>null</li> </assignedPawns>
->
<assignedPawns />
Sidst redigeret af 何かしら…; 21. sep. 2020 kl. 14:53
Hultis  [udvikler] 24. sep. 2020 kl. 7:26 
Thanks man, I fixed it!
Atropos 29. sep. 2020 kl. 15:52 
If you use Rimworld of Magic, pawns who teleport long range lose their bed ownership. Thank you for this mod :)
SURA 14. okt. 2020 kl. 0:23 
Hello. It looks like the function remembering prisoner's bed is making 'standing pawns bug'. I sent a caravan with my prisoners together and set up a camp site. While in the camp site, my pawn just go standing still. I found that it was related with prisoners and found the prisoner's beds in previous map were still assigned to them. After i delete those beds, my pawns worked again.
Here's the log keep showing up when it happened.
TryMakePreToilReservations() returned false for a non-queued job right after StartJob(). This should have been checked before. curJob=EscortPrisonerToBed (Job_976017) A=Thing_Human110346 B=Thing_SleepingSpot92804 Verse.Log:Warning(String, Boolean) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.StartJob_Patch2(Pawn_JobTracker, Job, JobCondition, ThinkNode, Boolean, Boolean, ThinkTreeDef, Nullable`1, Boolean, Boolean) Verse.AI.Pawn_JobTracker:TryFindAndStartJob() Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch1(Pawn_JobTracker, JobCondition, Boolean, Boolean) Verse.AI.Pawn_JobTracker:JobTrackerTick() Verse.Pawn:Verse.Pawn.Tick_Patch1(Pawn) Verse.TickList:Tick() Verse.TickManager:Verse.TickManager.DoSingleTick_Patch1(TickManager) Verse.TickManager:TickManagerUpdate() Verse.Game:UpdatePlay() Verse.Root_Play:Update()
Hultis  [udvikler] 17. okt. 2020 kl. 5:17 
@Delmar I assume you use Set Owner for Prisoner Beds? Because I don't get that error with only this mod but I do get it with only Set Owner for Prisoner Beds (and Set Up Camp of course).
Kopp 31. mar. 2021 kl. 7:47 
Hello Hultis,
i found a bug that is easy to reproduce.
If a pawn wants to sleep and has a assigned bed but cant reach it because of zone restriction or the way is blocked (e.g. forbidden door) but there is a unassigned bed reachable it throws red errors and the pawn is not moving ("standing").
https://gist.github.com/HugsLibRecordKeeper/7d4432e8f6354c97a453557b358d9e0a
Thanks for your mod and time!
Hultis  [udvikler] 25. maj 2021 kl. 14:26 
Thanks, I fixed the issue. Better late than never!
TurtleShroom 30. maj 2021 kl. 17:31 
I am experiencing an issue where beds become corrupted. I cannot uninstall them, I cannot deconstruct them, I cannot move them, and I most certainly cannot use them.

Every Bed displays the same error message: https://i.imgur.com/XGOCYVt.png

Here is my error code:
Could not do PostLoadInit on Bed2796480: System.NullReferenceException: Object reference not set to an instance of an object at KeepBedOwnership.Patch.PatchCompAssignableToPawn_Bed_PostExposeData+<>c.<Prefix>b__0_2 (Verse.Pawn p) [0x00000] in <a7cd32bf30264afb87fc292e2145d0fb>:0 at System.Collections.Generic.List`1[T].FindIndex (System.Int32 startIndex, System.Int32 count, System.Predicate`1[T] match) [0x0003b] in <567df3e0919241ba98db88bec4c6696f>:0 at System.Collections.Generic.List`1[T].FindIndex (System.Predicate`1[T] match) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0 at Verse.GenCollection.Any[T] (System.Collections.Generic.List`1[T] list, System.Predicate`1[T] predicate) [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0 at KeepBedOwnership.Patch.PatchCompAssignableToPawn_Bed_PostExposeData.Prefix (RimWorld.CompAssignableToPawn_Bed __instance, System.Collections.Generic.List`1[Verse.Pawn]& ___assignedPawns, Verse.ThingWithComps ___parent) [0x00052] in <a7cd32bf30264afb87fc292e2145d0fb>:0 at (wrapper dynamic-method) RimWorld.CompAssignableToPawn_Bed.RimWorld.CompAssignableToPawn_Bed.PostExposeData_Patch1(RimWorld.CompAssignableToPawn_Bed) at (wrapper dynamic-method) Verse.ThingWithComps.Verse.ThingWithComps.ExposeData_Patch1(Verse.ThingWithComps) at Verse.Building.ExposeData () [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0 at RimWorld.Building_Bed.ExposeData () [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.PostLoadIniter.DoAllPostLoadInits () [0x00032] in <7927e938de4c4089b4add4215e58d5b1>:0 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35) Could not do PostLoadInit on Bed2797164: System.NullReferenceException: Object reference not set to an instance of an object at KeepBedOwnership.Patch.PatchCompAssignableToPawn_Bed_PostExposeData+<>c.<Prefix>b__0_2 (Verse.Pawn p) [0x00000] in <a7cd32bf30264afb87fc292e2145d0fb>:0 at System.Collections.Generic.List`1[T].FindIndex (System.Int32 startIndex, System.Int32 count, System.Predicate`1[T] match) [0x0003b] in <567df3e0919241ba98db88bec4c6696f>:0 at System.Collections.Generic.List`1[T].FindIndex (System.Predicate`1[T] match) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0 at Verse.GenCollection.Any[T] (System.Collections.Generic.List`1[T] list, System.Predicate`1[T] predicate) [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0 at KeepBedOwnership.Patch.PatchCompAssignableToPawn_Bed_PostExposeData.Prefix (RimWorld.CompAssignableToPawn_Bed __instance, System.Collections.Generic.List`1[Verse.Pawn]& ___assignedPawns, Verse.ThingWithComps ___parent) [0x00052] in <a7cd32bf30264afb87fc292e2145d0fb>:0 at (wrapper dynamic-method) RimWorld.CompAssignableToPawn_Bed.RimWorld.CompAssignableToPawn_Bed.PostExposeData_Patch1(RimWorld.CompAssignableToPawn_Bed) at (wrapper dynamic-method) Verse.ThingWithComps.Verse.ThingWithComps.ExposeData_Patch1(Verse.ThingWithComps) at Verse.Building.ExposeData () [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0 at RimWorld.Building_Bed.ExposeData () [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.PostLoadIniter.DoAllPostLoadInits () [0x00032] in <7927e938de4c4089b4add4215e58d5b1>:0 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35) Could not do PostLoadInit on Bed2797211: System.NullReferenceException: Object reference not set to an instance of an object at KeepBedOwnership.Patch.PatchCompAssignableToPawn_Bed_PostExposeData+<>c.<Prefix>b__0_2 (Verse.Pawn p) [0x00000] in <a7cd32bf30264afb87fc292e2145d0fb>:0 at System.Collections.Generic.List`1[T].FindIndex (System.Int32 startIndex, System.Int32 count, System.Predicate`1[T] match) [0x0003b] in <567df3e0919241ba98db88bec4c6696f>:0 at System.Collections.Generic.List`1[T].FindIndex (System.Predicate`1[T] match) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0 at Verse.GenCollection.Any[T] (System.Collections.Generic.List`1[T] list, System.Predicate`1[T] predicate) [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0 at KeepBedOwnership.Patch.PatchCompAssignableToPawn_Bed_PostExposeData.Prefix (RimWorld.CompAssignableToPawn_Bed __instance, System.Collections.Generic.List`1[Verse.Pawn]& ___assignedPawns, Verse.ThingWithComps ___parent) [0x00052] in <a7cd32bf30264afb87fc292e2145d0fb>:0 at (wrapper dynamic-method) RimWorld.CompAssignableToPawn_Bed.RimWorld.CompAssignableToPawn_Bed.PostExposeData_Patch1(RimWorld.CompAssignableToPawn_Bed) at (wrapper dynamic-method) Verse.ThingWithComps.Verse.ThingWithComps.ExposeData_Patch1(Verse.ThingWithComps) at Verse.Building.ExposeData () [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0 at RimWorld.Building_Bed.ExposeData () [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.PostLoadIniter.DoAllPostLoadInits () [0x00032] in <7927e938de4c4089b4add4215e58d5b1>:0 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

I do not have the Set Prison Bed Ownership Mod installed.
Sidst redigeret af TurtleShroom; 30. maj 2021 kl. 17:47
Bard 11. jan. 2022 kl. 12:50 
Using ships from SRTS Expanded makes your pawns lose bed ownership
Ebon Phoenix 10. juni 2022 kl. 14:41 
I also saw the same error message that TurtleShroom reported. I do have Set Prison Bed Ownership installed, and just noticed I have the incompatible Use Bedrolls... though how I got in the bugged state appears to have less to do with that and more to the VE Outposts (I posted there too).

Here's my hugslog: https://gist.github.com/bfed5f63eb073baab9e12920f2855f0a

When I assigned my pawns to a new outpost, it retained the bed assignments (which makes sense as I think outposts are essentially caravans to the game). Through some quirk, the outpost disappeared, breaking the relationship with the pawn that was assigned to those beds. After that point, the beds that were assigned to those pawns had exceptions instead of descriptions, and lacked all controls. Also, other beds in the rooms (with pawns still in the colony) also lacked controls. Only way I was able to fix this was to go back to a save before that relationship was broken.

My guess (totally a guess) to replicate this defect, you'll want to find a way to break the relationship between the pawn on a caravan and the colony. I'd be happy to share my borked savegame if it'll help.
Eruzhar 11. juli 2022 kl. 4:10 
I cant' provide a log for it, but here is what I gather from an error I had about missing reference for an object: a pawn existed in the game and for some reason (mod removal, or some bug) it ceased to exist in the save; this mod will then, as the pawn had a bed assigned to it, bug the bed to the level it can't be removed even through development mode. The fix I managed was to remove this mod, load the save without it, save, then re-add the mod.
IrishBuckett 1. dec. 2022 kl. 22:56 
Deathrest causes a pawns assigned bed to reset to unowned. Pawns that require Deathrest need a Deathrest bed + a normal bed.
< >
Viser 1-15 af 22 kommentarer
Per side: 1530 50