RimWorld

RimWorld

Hold Open Opens Doors
Bug with 1.0
I replaced the DLL with this one:

https://github.com/Schalasoft/HoldOpenOpensDoors/blob/370100fca4cd922d760337b16f2099266f526da5/Assemblies/Hold_Open_Opens_Doors.dll

But it does not open the doors anymore and the hud dissapears when i click on the door after I press hold open. The hud only appears after a colonist has walked through.
This gets printed in the Debug console:

System.NullReferenceException: Object reference not set to an instance of an object
at HOOD.Patch_HoldOpenButton.setOpenInt (RimWorld.Building_Door,bool) <0x00070>
at HOOD.Patch_HoldOpenButton.Postfix (RimWorld.Building_Door) <0x00168>
at (wrapper dynamic-method) RimWorld.Building_Door.GetGizmos_Patch2 (object) <0x00048>
at (wrapper dynamic-method) RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0 (System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&) <0x00287>

Verse.Log:Error(String, Boolean)
Verse.Log:ErrorOnce(String, Int32, Boolean)
RimWorld.InspectGizmoGrid:DrawInspectGizmoGridFor_Patch0(IEnumerable`1, Gizmo&)
RimWorld.MainTabWindow_Inspect:DrawInspectGizmos()
RimWorld.InspectPaneUtility:ExtraOnGUI(IInspectPane)
RimWorld.MainTabWindow_Inspect:ExtraOnGUI()
Verse.WindowStack:WindowStackOnGUI()
RimWorld.UIRoot_Play:UIRootOnGUI()
Verse.Root:OnGUI()
< >
Zobrazuje se 12 z 2 komentářů
Pope Snowball  [vývojář] 6. bře. 2020 v 8.59 
Thanks for letting me know.

The issue turned out to be the fact that I had not been adding the mod DLL with code changes to Github, so what I linked was in fact the initial mod upload, and not the latest 1.0 version.

I've since rebuilt the 1.0 version and added both the 1.0 and 1.1 DLLs to Github; you can find the
link to the 1.0 DLL here:

https://github.com/Schalasoft/HoldOpenOpensDoors/raw/85ebafd8c37e4b5d885bad185d3462c28db33bb8/Assemblies/Hold_Open_Opens_Doors.dll

Note that I will likely not fix any bugs found in the 1.0 version of the mod, only in the latest version of the mod (1.1 at the time of writing) so as to avoid branching the code base.
Thanks :cozyspaceengineersc: works perfectly
Naposledy upravil Chris2323; 6. bře. 2020 v 9.30
< >
Zobrazuje se 12 z 2 komentářů
Na stránku: 1530 50