RimWorld

RimWorld

Gizmo Begone!
 This topic has been pinned, so it's probably important
Nif  [developer] 13 Mar, 2020 @ 11:31am
Conflicts / Problems
Please give a detailed explanation of what happened along with a log. I'll try and see if I can fix it.
< >
Showing 1-12 of 12 comments
kaczorski 16 Mar, 2020 @ 12:30pm 
Hi, mod is doing what it's supposed to do but when it's enabled buildings' gizmos (power, deconstruct etc) disappear. I'm using Rimsqol but only to modify buildings properties and recipes. I tried loading GB below and over Rimsqol. I got no errors whatsover, not even yellow ones (which is good I guess).
Nif  [developer] 16 Mar, 2020 @ 9:10pm 
After some testing, I'm pretty sure it's not coming from Rimsqol. How many mods do you have? If you have any mods that may modify or check designation category, it's likely to be the culprit.

Though I wasn't able to reenact your conflict, I did find a new one with Rimsqol. It appears that live enabling will not work if Rimsqol is below Gizmo Begone.
kaczorski 17 Mar, 2020 @ 9:29am 
About 200 mods at the moment :) Just to make sure - designation category is architect and main (wildlife, restrict etc) buttons? If that's the case Rimsqol might be the culprit, I just realised I've been using it to 'disappear' couple main buttons.

I will check if that's the case and let you know. Thank you!
kaczorski 17 Mar, 2020 @ 9:59am 
OK, I disabled erasing of main buttons and it made no difference.

I'm running quite a few mods that add more Architect categories: Industrial Rollers, Rimefeller, Fertile Fields, Glitternet, Dubs Bad Hygiene, Vanilla Furniture Expanded and something that adds Pet bed category (no clue which mod is responsible).
JLBShecky 17 Mar, 2020 @ 5:50pm 
Well I just ran into a conflict when running this in conjunction with 'Raise The Roof 1.1'. It places it's roofing related commands in Zone and when you go to view Zone it will draw the Gizmos before the roofing ones and then not show Architect menu itself.

-Log-

Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at ThingBegone.Core.Designator_Build_Patch.Postfix (RimWorld.Designator_Build __instance, System.Boolean& __result) [0x00010] in <d17b01bd4de94224968398cb2b8e3f0c>:0
at (wrapper dynamic-method) RimWorld.Designator_Build.DMD<DMD<get_Visible_Patch2>?-1794035968::get_Visible_Patch2>(RimWorld.Designator_Build)
at Verse.GizmoGridDrawer.DrawGizmoGrid (System.Collections.Generic.IEnumerable`1[T] gizmos, System.Single startX, Verse.Gizmo& mouseoverGizmo) [0x002b0] in <642567a9bd804f26a9090d82e2c3673d>:0
at RimWorld.ArchitectCategoryTab.DesignationTabOnGUI () [0x0005a] in <642567a9bd804f26a9090d82e2c3673d>:0
at RimWorld.MainTabWindow_Architect.ExtraOnGUI () [0x0000e] in <642567a9bd804f26a9090d82e2c3673d>:0
at Verse.WindowStack.WindowStackOnGUI () [0x00038] in <642567a9bd804f26a9090d82e2c3673d>:0
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x00074] in <642567a9bd804f26a9090d82e2c3673d>:0
at Verse.Root.OnGUI () [0x0003d] in <642567a9bd804f26a9090d82e2c3673d>:0

-Edit-
Just to be thorough, I only did minimal testing on part as I have a fairly large mod list, but switching the order did not affect the bug and removing this or 'Raise the Roof 1.1' made the problem disappear so I am concluding that it is an incompatibility between the patches that the two mod apply to the game.
Last edited by JLBShecky; 17 Mar, 2020 @ 5:57pm
Nif  [developer] 17 Mar, 2020 @ 9:03pm 
@JLBShecky

I'll look into Raise The Roof (1.1) and see if I can fix it by today.

@kaczorski

Is it possible for you to give me the list of your active mods?
Nif  [developer] 18 Mar, 2020 @ 1:26am 
@JLBShecky

The conflict between the two might not be something I can easily fix. Raise The Roof (RR) uses multiple prefix patches related to designation (meaning it replaces the original program). Gizmo Begone! (GB) uses a postfix, which occurs only after the original program has run. But since RR is prefix, GB will be required to check every related change RR has done. A lot of work so to speak, and I'm not even sure if that's the only problem.

To sum, I am not able to fix this as of current and I am greatly sorry for that. I would recommend unsubscribing and use other options such as RIMMSqol (though not sure if it's compatible as well).

This conflict shall be on my to-do list on a later date, as I have other projects to work with.

Thank you for reporting and sorry for the inconvenience.
JLBShecky 18 Mar, 2020 @ 3:21pm 
@Nif

No problem, was browsing the the updated mods on steam and GB sounded intresting and I figured that I would give it a go and since you had the thread for reporting I figured I'd share, if it was something that was easily fixable on your part then great, if not then at least it would let you know that there was an incompatibility that you could document.
Dreamyr 21 Apr, 2020 @ 4:08pm 
Had it randomly bug out and lost my structure controls(deconsctruct/copy/reinstall etc.) Starting a new game fixed it but the only way to get it to reappear in my ongoing game was to disable it. I think this is the relevant part of the log:

System.NullReferenceException: Object reference not set to an instance of an object
at ThingBegone.Core.Designator_Build_Patch.Postfix (RimWorld.Designator_Build __instance, System.Boolean& __result) [0x00010] in <668476d348d645b6aa40cb7f0865c77b>:0
at (wrapper dynamic-method) RimWorld.Designator_Build.DMD<DMD<get_Visible_Patch4>?1629225728::get_Visible_Patch4>(RimWorld.Designator_Build)
at RimWorld.BuildCopyCommandUtility.FindAllowedDesignatorRecursive (Verse.Designator designator, Verse.BuildableDef buildable, System.Boolean mustBeVisible) [0x00017] in <36108d57f84d49cabdae818c2a53fc38>:0
at RimWorld.BuildCopyCommandUtility.FindAllowedDesignator (Verse.BuildableDef buildable, System.Boolean mustBeVisible) [0x0007c] in <36108d57f84d49cabdae818c2a53fc38>:0
at RimWorld.BuildCopyCommandUtility.BuildCommand (Verse.BuildableDef buildable, Verse.ThingDef stuff, System.String label, System.String description, System.Boolean allowHotKey) [0x0000d] in <36108d57f84d49cabdae818c2a53fc38>:0
at RimWorld.BuildCopyCommandUtility.BuildCopyCommand (Verse.BuildableDef buildable, Verse.ThingDef stuff) [0x00020] in <36108d57f84d49cabdae818c2a53fc38>:0
at Verse.Building+<GetGizmos>d__17.MoveNext () [0x00180] in <36108d57f84d49cabdae818c2a53fc38>:0
at System.Collections.Generic.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x000db] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at (wrapper dynamic-method) RimWorld.InspectGizmoGrid.DMD<DMD<DrawInspectGizmoGridFor_Patch2>?-593621504::DrawInspectGizmoGridFor_Patch2>(System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)

Really odd as it was working fine until it decided it didn't want to.
Nif  [developer] 22 Apr, 2020 @ 12:37am 
The recent update had some unavoidable exceptions. Though, I did provide two solutions, which I will just copy paste here:

Opt. 1: RESTART
>On opening Rimworld, an error would occur, ignore that. Instead, open the mod settings of Gizmo Begone! and press [Unhide all] before closing and restarting the game.

Opt. 2: TRANSFER (if you have experience with xml and have not yet opened the Gizmo Begone settings)
>Head over to your Rimworld save folder and find the Config folder. By default, the file location would be C:\Users\%username%\AppData\LocalLow\Ludeon Studios\RimWorld.
>Find and open the XML file that has the name ThingBegone on the end of it. (You can open XML files with any text editor)
>There should be an XML tag named <hidenThings> that contains all the defNames of the ones you've hidden. Select it from the beginning to end tag of </hidenThings> and copy. Close it afterwards.
>Startup Rimworld and then open and close the Gizmo Begone settings.
>Close Rimworld and open the ThingBegone XML file. It should refresh the XML file. You'll know when a <hiddenTerrain> tag pops up.
>The <hiddenThings> should be empty due to the restart. That's where replace it the old one.
>Everything should be transfered at that point and you can check by going back to the Gizmo Begone! settings.
platinumhawkzz 9 Oct, 2020 @ 8:23am 
And interestingly, this mod breaks when opening dubs menu while in god mode with Combat Training forked installed: This error spams the log and all gizmos disappear except for orders:

Exception filling window for DubsMintMenus.MainTabWindow_MintArchitect: System.NullReferenceException: Object reference not set to an instance of an object
at ThingBegone.Core.Designator_Build_Patch.Postfix (RimWorld.Designator_Build __instance, System.Boolean& __result) [0x00010] in <668476d348d645b6aa40cb7f0865c77b>:0

Mouse position stack is not empty. There were more calls to BeginScrollView than EndScrollView. Fixing.

I find it weird how this specific combination of mods would interfere.
turkler 15 Dec, 2020 @ 4:13am 
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1568744597

Docworld seems to unhide everything I mark to hide. I tried loading it both after and before docworld, could you patch it?
< >
Showing 1-12 of 12 comments
Per page: 1530 50