RimWorld

RimWorld

CM Color Coded Mood Bar [1.1+]
CrashM  [kehittäjä] 28.2.2020 klo 15.09
Bug Reports
Hi All,

I just wanted to centralise all of the bug reports into one thread along with some information requests that would help debug the problem. So if you have a problem that you think is caused by this mod please post in this thread with as much of the information below you can provide.

Information Required:
List of all enabled mods and DLC (Please try and make it the smallest list possible while still causing a problem).
Version Number of Rimworld (shown on the title screen).
Confirmation you are using this version of the mod (in the mod list it should have an ID of "CrashM.ColorCodedMoodBar.11").
Any relevant log entries (development mode required).
Viimeisin muokkaaja on CrashM; 7.8.2021 klo 7.47
< >
Näytetään 1-15 / 130 kommentista
I'm having a bug when I save and then load while on a caravan, the colonist bar just dissapears completely on that save
CrashM  [kehittäjä] 9.8.2020 klo 10.13 
Hi Panta, I just tried this and it seems to work fine. Are you able to provide any of the information in my original post?
where can I get all those infos?
CrashM  [kehittäjä] 5.9.2020 klo 15.00 
The logs, which should include the list of mod can (usually) be located in:
C:\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin_Data\output_log.txt
it might also be in the RimWorldWin64_Data
Viimeisin muokkaaja on CrashM; 5.9.2020 klo 15.06
the bug stopped after sometime. I think it was some sort of incompatible mod but can't remember now. sorry.
After your recent patch I get an exception thrown:
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at MoodBarPatch.MoodPatch.DrawIcons (UnityEngine.Rect& rect, Verse.Pawn colonist, RimWorld.ColonistBar colonistBar, MoodBarPatch.MoodCache cache) [0x000f3] in <52473e08100d457a94f853ae4c4818de>:0
at MoodBarPatch.MoodPatch.Prefix (RimWorld.ColonistBarColonistDrawer __instance, UnityEngine.Rect& rect, Verse.Pawn& colonist, Verse.Map& pawnMap, System.Boolean& highlight, System.Boolean& reordering) [0x0037d] in <52473e08100d457a94f853ae4c4818de>:0
at (wrapper dynamic-method) RimWorld.ColonistBarColonistDrawer.RimWorld.ColonistBarColonistDrawer.DrawColonist_Patch1(RimWorld.ColonistBarColonistDrawer,UnityEngine.Rect,Verse.Pawn,Verse.Map,bool,bool)
at RimWorld.ColonistBar.ColonistBarOnGUI () [0x00135] in <d72310b4d8f64d25aee502792b58549f>:0
at RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs () [0x0003c] in <d72310b4d8f64d25aee502792b58549f>:0
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x0001f] in <d72310b4d8f64d25aee502792b58549f>:0
at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root)
Verse.Log:Error(String, Boolean)
Verse.Root:Verse.Root.OnGUI_Patch1(Root)


Modlist:
<ModsConfigData>
<version>1.2.2753 rev712</version>
<activeMods>
<li>brrainz.harmony</li>
<li>ludeon.rimworld</li>
<li>ludeon.rimworld.royalty</li>
<li>dhultgren.smarterconstruction</li>
<li>unlimitedhugs.hugslib</li>
<li>void.charactereditor</li>
<li>factioncontrol.kv.rw</li>
<li>oskarpotocki.vanillafactionsexpanded.core</li>
<li>oskarpotocki.vanillaexpanded.royaltypatches</li>
<li>oskarpotocki.vanillafactionsexpanded.medievalmodule</li>
<li>oskarpotocki.vfe.vikings</li>
<li>oskarpotocki.vanillafactionsexpanded.settlersmodule</li>
<li>oskarpotocki.vfe.insectoid</li>
<li>vanillaexpanded.vfecore</li>
<li>vanillaexpanded.vfeproduction</li>
<li>vanillaexpanded.vfesecurity</li>
<li>vanillaexpanded.vfemedical</li>
<li>vanillaexpanded.vfefarming</li>
<li>vanillaexpanded.vfeart</li>
<li>vanillaexpanded.vfepower</li>
<li>vanillaexpanded.vfepropsanddecor</li>
<li>vanillaexpanded.vfespacer</li>
<li>vanillaexpanded.vaeed</li>
<li>vanillaexpanded.vaed</li>
<li>vanillaexpanded.vaeas</li>
<li>vanillaexpanded.vaecd</li>
<li>vanillaexpanded.vaebf</li>
<li>vanillaexpanded.vaet</li>
<li>vanillaexpanded.vaeis</li>
<li>vanillaexpanded.vaetr</li>
<li>vanillaexpanded.vaets</li>
<li>vanillaexpanded.vaeau</li>
<li>vanillaexpanded.vaetf</li>
<li>vanillaexpanded.vhe</li>
<li>vanillaexpanded.vhe.beards</li>
<li>vanillaexpanded.vplantse</li>
<li>vanillaexpanded.vplantsesucculents</li>
<li>vanillaexpanded.vcef</li>
<li>vanillaexpanded.vbrewe</li>
<li>vanillaexpanded.vcooke</li>
<li>vanillaexpanded.vcookestews</li>
<li>vanillaexpanded.vcookesushi</li>
<li>vanillaexpanded.vwe</li>
<li>vanillaexpanded.vweq</li>
<li>vanillaexpanded.vwel</li>
<li>vanillaexpanded.vweg</li>
<li>vanillaexpanded.varme</li>
<li>vanillaexpanded.vappe</li>
<li>vanillaexpanded.vbookse</li>
<li>vanillaexpanded.vee</li>
<li>vanillaexpanded.vtexe</li>
<li>vse.empressevil</li>
<li>vse.freyafierce</li>
<li>vse.perrypersistent</li>
<li>vse.igorinvader</li>
<li>nerdwonder.mixedblock</li>
<li>wemd.expandedfloors</li>
<li>wemd.expfloorsdropdownmenuaddon</li>
<li>wemd.soilcontrast</li>
<li>wemd.partiallypassablewindturbines</li>
<li>ykara.epoe</li>
<li>nilchei.dynamicdiplomacy</li>
<li>ghxx.techadvancing</li>
<li>fluffy.pharmacist</li>
<li>fluffy.relationstab</li>
<li>fluffy.medicaltab</li>
<li>dubwise.dubsmintmenus</li>
<li>crashm.colorcodedmoodbar.11</li>
<li>lurmey.foundations</li>
<li>automatic.recipeicons</li>
<li>two.minis</li>
<li>frozensnowfox.efficientutilities</li>
<li>owlchemist.undergroundpowerconduits</li>
<li>fluffy.fluffybreakdowns</li>
<li>crlsniper.realisticrooms</li>
<li>notooshabby.awesomeinventory</li>
<li>nmeijer.settlementinventory</li>
</activeMods>
<knownExpansions>
<li>ludeon.rimworld.royalty</li>
</knownExpansions>
</ModsConfigData>

It seems to show any time a pawn has a mood change, though I'm not 100% on that.
Viimeisin muokkaaja on BananenKeks; 24.10.2020 klo 13.17
Am getting that error too when the pawn does something or when mood changes error pops up.
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at MoodBarPatch.MoodPatch.DrawIcons (UnityEngine.Rect& rect, Verse.Pawn colonist, RimWorld.ColonistBar colonistBar, MoodBarPatch.MoodCache cache) [0x000f3] in <52473e08100d457a94f853ae4c4818de>:0
at MoodBarPatch.MoodPatch.Prefix (RimWorld.ColonistBarColonistDrawer __instance, UnityEngine.Rect& rect, Verse.Pawn& colonist, Verse.Map& pawnMap, System.Boolean& highlight, System.Boolean& reordering) [0x0037d] in <52473e08100d457a94f853ae4c4818de>:0
at (wrapper dynamic-method) RimWorld.ColonistBarColonistDrawer.RimWorld.ColonistBarColonistDrawer.DrawColonist_Patch2(RimWorld.ColonistBarColonistDrawer,UnityEngine.Rect,Verse.Pawn,Verse.Map,bool,bool)
at RimWorld.ColonistBar.ColonistBarOnGUI () [0x00135] in <d72310b4d8f64d25aee502792b58549f>:0
at (wrapper dynamic-method) RimWorld.MapInterface.RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs_Patch3(RimWorld.MapInterface)
at (wrapper dynamic-method) RimWorld.UIRoot_Play.RimWorld.UIRoot_Play.UIRootOnGUI_Patch2(RimWorld.UIRoot_Play)
at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root)
Verse.Log:Error(String, Boolean)
Verse.Root:Verse.Root.OnGUI_Patch1(Root)
TITAN 24.10.2020 klo 14.52 
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at MoodBarPatch.MoodPatch.DrawIcons (UnityEngine.Rect& rect, Verse.Pawn colonist, RimWorld.ColonistBar colonistBar, MoodBarPatch.MoodCache cache) [0x000f3] in <52473e08100d457a94f853ae4c4818de>:0
at MoodBarPatch.MoodPatch.Prefix (RimWorld.ColonistBarColonistDrawer __instance, UnityEngine.Rect& rect, Verse.Pawn& colonist, Verse.Map& pawnMap, System.Boolean& highlight, System.Boolean& reordering) [0x0037d] in <52473e08100d457a94f853ae4c4818de>:0
at (wrapper dynamic-method) RimWorld.ColonistBarColonistDrawer.RimWorld.ColonistBarColonistDrawer.DrawColonist_Patch1(RimWorld.ColonistBarColonistDrawer,UnityEngine.Rect,Verse.Pawn,Verse.Map,bool,bool)
at RimWorld.ColonistBar.ColonistBarOnGUI () [0x00135] in <82ff53f4436442f9a879167049ea7b06>:0
at RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs () [0x0003c] in <82ff53f4436442f9a879167049ea7b06>:0
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x0001f] in <82ff53f4436442f9a879167049ea7b06>:0
at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root)
Verse.Log:Error(String, Boolean)
Verse.Root:Verse.Root.OnGUI_Patch1(Root)
CrashM  [kehittäjä] 24.10.2020 klo 14.54 
I have reverted this version until i can fix it, so steam should download the previous version for you and restarting Rimworld should fix it.
CrashM  [kehittäjä] 24.10.2020 klo 15.18 
Thank you all for your comments, i found the problem and a fixed version will be deployed tomorrow.
TROAB 25.10.2020 klo 8.47 
I'm also getting the UI disappearing. It happened right after the death of a colonist. Took me awhile to trace it to this mod (of course had I know how to read the errors logs better I would have figured it out sooner). Closing reloading doesnt help. Reload the save right before death ui is back. Death occurs and UI goes. Disable mod, load save and UI is back. This entry is in the logs over and over (presumably the mod is looking for the now dead colonist?)

Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at MoodBarPatch.MoodCache.Update (UnityEngine.Rect& rect, Verse.Pawn colonist, Verse.Map pawnMap, System.Boolean& reordering, RimWorld.ColonistBar colonistBar) [0x00668] in <e6c5685029ea410d97b2b60d0b04fa8f>:0
at MoodBarPatch.MoodPatch.Prefix (RimWorld.ColonistBarColonistDrawer __instance, UnityEngine.Rect& rect, Verse.Pawn& colonist, Verse.Map& pawnMap, System.Boolean& highlight, System.Boolean& reordering) [0x00065] in <e6c5685029ea410d97b2b60d0b04fa8f>:0
at (wrapper dynamic-method) RimWorld.ColonistBarColonistDrawer.RimWorld.ColonistBarColonistDrawer.DrawColonist_Patch1(RimWorld.ColonistBarColonistDrawer,UnityEngine.Rect,Verse.Pawn,Verse.Map,bool,bool)
at (wrapper dynamic-method) RimWorld.ColonistBar.RimWorld.ColonistBar.ColonistBarOnGUI_Patch1(RimWorld.ColonistBar)
at (wrapper dynamic-method) RimWorld.MapInterface.RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs_Patch1(RimWorld.MapInterface)
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x0001f] in <d72310b4d8f64d25aee502792b58549f>:0
at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root)
CrashM  [kehittäjä] 25.10.2020 klo 9.12 
Ok Bug fixed and new version published
Following error happened after a Psychic Soothe: Female event fired.

Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at MoodBarPatch.MoodPatch.DrawIcons (UnityEngine.Rect& rect, Verse.Pawn colonist, RimWorld.ColonistBar colonistBar, MoodBarPatch.MoodCache cache) [0x00206] in <f6ed07b966354176a8ecba3f60f9332d>:0
at MoodBarPatch.MoodPatch.Prefix (RimWorld.ColonistBarColonistDrawer __instance, UnityEngine.Rect& rect, Verse.Pawn& colonist, Verse.Map& pawnMap, System.Boolean& highlight, System.Boolean& reordering) [0x0037d] in <f6ed07b966354176a8ecba3f60f9332d>:0
at (wrapper dynamic-method) RimWorld.ColonistBarColonistDrawer.RimWorld.ColonistBarColonistDrawer.DrawColonist_Patch1(RimWorld.ColonistBarColonistDrawer,UnityEngine.Rect,Verse.Pawn,Verse.Map,bool,bool)
at (wrapper dynamic-method) RimWorld.ColonistBar.RimWorld.ColonistBar.ColonistBarOnGUI_Patch0(RimWorld.ColonistBar)
at (wrapper dynamic-method) RimWorld.MapInterface.RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs_Patch2(RimWorld.MapInterface)
at (wrapper dynamic-method) RimWorld.UIRoot_Play.RimWorld.UIRoot_Play.UIRootOnGUI_Patch0(RimWorld.UIRoot_Play)
at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root)
Verse.Log:Error(String, Boolean)
Verse.Root:Verse.Root.OnGUI_Patch1(Root)


Of note. All of my pawns are in "green" mood. In fact all but the newest recruit are actually capped on mood.
CrashM  [kehittäjä] 26.10.2020 klo 5.51 
Hi Vertigo, could you possibly check the Manual Install version of the mod (http://www.crashm.co.uk/Content/Downloads/ColoredMoodBar.zip) see if that fixes the problem. if it doesn't it should give me a bit more info on where the problem is.
Viimeisin muokkaaja on CrashM; 26.10.2020 klo 5.54
< >
Näytetään 1-15 / 130 kommentista
Sivua kohden: 1530 50