jptrrs / HumanResources

A technology overhaul for RimWorld
MIT License
17 stars 12 forks source link

Conflict with Dubs Mint Menus #148

Open S0mR opened 3 years ago

S0mR commented 3 years ago

Hi,

so since the last update of Dubs Mint Menus there is a bug with human ressources. Dubs Mint Menus got a update with which it's possible to see the needed ingredients inside the bill tab.

As soon as you enable the "show ingredient icon" filter the posssibility to add new research or document bills to the study desk or networking table is gone. i made two screenshots an posted the log exception to hopefully provide you with the needed informations.

System.NullReferenceException: Object reference not set to an instance of an object
  at DubsMintMenus.Patch_BillStack_DoListing.DoRow (UnityEngine.Rect rowBox, Verse.RecipeDef recipe, System.Collections.Generic.HashSet`1[T] selectedTables) [0x0022d] in <14018ea45ef54a2488abc6355777f68e>:0 
  at DubsMintMenus.Patch_BillStack_DoListing.Doink (UnityEngine.Rect innyrek, System.Collections.Generic.List`1[T] wam, System.Collections.Generic.HashSet`1[T] selectedTables) [0x000fe] in <14018ea45ef54a2488abc6355777f68e>:0 
Verse.Log:Warning(String, Boolean)
DubsMintMenus.Patch_BillStack_DoListing:Doink(Rect, List`1, HashSet`1)
DubsMintMenus.Patch_BillStack_DoListing:Dobills(Rect, HashSet`1, List`1)
DubsMintMenus.Patch_BillStack_DoListing:Prefix(Rect&)
RimWorld.BillStack:RimWorld.BillStack.DoListing_Patch3(BillStack, Rect, Func`1, Vector2&, Single&)
RimWorld.ITab_Bills:FillTab()
Verse.<>c__DisplayClass14_0:<DoTabGUI>b__0()
Verse.ImmediateWindow:DoWindowContents(Rect)
Verse.Window:InnerWindowOnGUI(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)

normal

ingredients

jptrrs commented 3 years ago

Thanks for reporting, S0mR.

Would you mind posting your full error log? Just use Ctrl+F12, upload and send me the link. Thanks.

On Tue, Mar 30, 2021 at 5:14 AM S0mR @.***> wrote:

Hi,

so since the last update of Dubs Mint Menus there is a bug with human ressources. Dubs Mint Menus got a update with which it's possible to see the needed ingredients inside the bill tab.

As soon as you enable the "show ingredient icon" filter the posssibility to add new research or document bills to the study desk or networking table is gone. i made two screenshots an posted the log exception to hopefully provide you with the needed informations.

System.NullReferenceException: Object reference not set to an instance of an object at DubsMintMenus.Patch_BillStack_DoListing.DoRow (UnityEngine.Rect rowBox, Verse.RecipeDef recipe, System.Collections.Generic.HashSet1[T] selectedTables) [0x0022d] in <14018ea45ef54a2488abc6355777f68e>:0 at DubsMintMenus.Patch_BillStack_DoListing.Doink (UnityEngine.Rect innyrek, System.Collections.Generic.List1[T] wam, System.Collections.Generic.HashSet1[T] selectedTables) [0x000fe] in <14018ea45ef54a2488abc6355777f68e>:0 Verse.Log:Warning(String, Boolean) DubsMintMenus.Patch_BillStack_DoListing:Doink(Rect, List1, HashSet1) DubsMintMenus.Patch_BillStack_DoListing:Dobills(Rect, HashSet1, List1) DubsMintMenus.Patch_BillStack_DoListing:Prefix(Rect&) RimWorld.BillStack:RimWorld.BillStack.DoListing_Patch3(BillStack, Rect, Func1, Vector2&, Single&) RimWorld.ITab_Bills:FillTab() Verse.<>c__DisplayClass14_0:b__0() Verse.ImmediateWindow:DoWindowContents(Rect) Verse.Window:InnerWindowOnGUI(Int32) UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)

[image: normal] https://user-images.githubusercontent.com/11887690/112956344-a78e7e00-9140-11eb-94c6-af993383dd60.PNG

[image: ingredients] https://user-images.githubusercontent.com/11887690/112956358-ab220500-9140-11eb-82f9-b7edff3f9a20.PNG

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jptrrs/HumanResources/issues/148, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALHBNPWQHGPPD4CL4WVBCELTGGB6HANCNFSM42BPVDOA .

S0mR commented 3 years ago

https://gist.github.com/efd702eae78959a7f19e4b87c6ddf217

here you go

jptrrs commented 3 years ago

Noted as Known Issue. Fixing it would depend on Dubs.