RimWorld

RimWorld

Cleanie
48 Comments
Василий Елда 22 Jul @ 6:14pm 
1.6 error:
[Analyzer] Mod Cleanie has packaged the base-game Rimworld assemblies
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Analyzer.Profiling.ThreadSafeLogger:Error (string) (at C:/Program Files (x86)/Steam/steamapps/common/RimWorld/Mods/Dubs-Performance-Analyzer/Source/Profiling/Utility/ThreadSafeLogger.cs:64)
Analyzer.Profiling.StackTraceUtility:Initialise () (at C:/Program Files (x86)/Steam/steamapps/common/RimWorld/Mods/Dubs-Performance-Analyzer/Source/Profiling/StackTrace.cs:160)
Analyzer.Modbase:.ctor (Verse.ModContentPack) (at C:/Program Files (x86)/Steam/steamapps/common/RimWorld/Mods/Dubs-Performance-Analyzer/Source/Modbase.cs:76)
System.Reflection.RuntimeConstructorInfo:InternalInvoke (object,object[],bool)
etc
XandrMoro  [author] 16 Mar @ 3:44pm 
But they are kinda set and forget, no?
Autismus Maximus 15 Mar @ 12:41pm 
dont want to be annoying but this shouldnt be in mod configurations, the Cleanie priority options should be a main tab in the game menu ( close to the architect or work tabs, i mean )
XandrMoro  [author] 17 Nov, 2024 @ 4:28pm 
Yes, it does (when a pawn is considering cleaning job)
irrelevantredundancy 17 Nov, 2024 @ 3:56pm 
Keep in mind that I don't know how to code when reading this next question. Does this add any new checks to the game that require more computing? Regardless of it being minor or not. Just in general is it now doing something in addition to what the base game already does?
Teok 24 Mar, 2024 @ 2:00am 
Thanks!
XandrMoro  [author] 23 Mar, 2024 @ 4:51am 
Should be fixed
Teok 22 Mar, 2024 @ 9:13pm 
I get an error on the 1.5 version of this mod which is stopping the cleanie settings page from showing anything:
Exception filling window for RimWorld.Dialog_ModSettings: System.MissingMethodException: string Verse.RoomRoleDef.get_PostProcessedLabelCap()
at RimWorld.Dialog_ModSettings.DoWindowContents (UnityEngine.Rect inRect) [0x00073] in <8b65cb0a4c2c41c5b3fbd3a92fbde076>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001a6] in <8b65cb0a4c2c41c5b3fbd3a92fbde076>:0
XandrMoro  [author] 1 Nov, 2023 @ 1:36pm 
I did quite some testing, and it does not look like theres any interaction with CS whatsoever (aside from CS overriding priorities for cleaning before doing bills, which is totally intended). There might be some other mod causing the conflict, hugs report would be useful (even if there are no errors).
hottt3 28 Oct, 2023 @ 3:17am 
Thanks for the mod! It would be great if it were truly compatible with Common Sense.
Yoann 16 Jul, 2023 @ 1:20am 
Same
XandrMoro  [author] 15 Jul, 2023 @ 3:35pm 
@Yoann from what I know, it might indeed be conflict with CS, but I've not tested the compatibility. Try putting Cleanie after the CS, maybe?
Yoann 14 Jul, 2023 @ 9:56am 
Not working, my pawn don't care the settings and clean the nearest (as vanilla).
Maybe conflict with common sense? (no errors)
Gorlath 13 Mar, 2023 @ 2:05pm 
I was having the same error as Gamerhell down below, with a whole lot of "given key not present in dictionary" errors for a variety of different tasks - Usually, a colonist would perform a task such as building a roof, and presumably would try to go clean after, resulting in a key error for roof building. Unfortunately, as part of me trying to pinpoint the error, I removed Cleanie from my modlist and re-added it, and have not been able to replicate this bug since. It just... vanished. Works fine now. Literally no clue what caused it.
XandrMoro  [author] 8 Feb, 2023 @ 4:10pm 
@Amnesiac that mod was specifically made to rely on auto assignments and not micromanage zones. You might want to look at "CleaningArea" instead.
Amnesiac 7 Feb, 2023 @ 11:41pm 
Thanks XandrMoro. Nah it wasn't a conflict, my idea was to set cleaning as a higher priority but that wasn't working out. I think my goal was to have cleaning be done for high priority rooms before other tasks... such as clean the kitchen before cooking. It's hard to manage that though.

I tried priority clean but because that mod is not configurable, I end up with rooms designated as "kitchens" that aren't kitchens (Such as my freezer having a butcher table in it) and then my kitchen gets designated as a "workshop" if I add anything except a stove.

I think the perfect implementation would be priority cleaning zones. That way you can set the exact zones you want to be prioritized, separate from the game's logic for room assignment.
XandrMoro  [author] 6 Feb, 2023 @ 11:20am 
@Amnesiac there is no (implemented) way to prevent it completely, but with 0 priority they should never go clean outside unless there is no other cleaning job. Mod does not mess with work priorities at all, only with "what to clean when the game decides that pawn should do cleaning".

If they prefer going outside while there is dirt in more prioritised rooms nearby - its most probably a conflict (tho I dont know of any) and moving cleanie down the list to load later should help with that.
Amnesiac 5 Feb, 2023 @ 2:55pm 
Is there a way to get pawns to stop cleaning outside? I set the priority to 0 but they still seem to waste a lot of time running outside to clean some dirt.
XandrMoro  [author] 2 Feb, 2023 @ 4:51am 
There is a mod called HugsLib that has a button to provide full report of all the mods installed and their errors
Gamerhell 30 Jan, 2023 @ 7:52pm 
how do I do that?
XandrMoro  [author] 29 Jan, 2023 @ 7:15am 
BuildRoofs should have nothing to do with cleanie, thats curios. Must be a mod conflict of some sort. Could you provide a full Hugs log?
Gamerhell 28 Jan, 2023 @ 7:49pm 
This is one of the Error Logs that I got with it if this helps, sorry for spam posting it, it was just too big to fit in normally and I thought it would help solve the problem faster. It reads from this top comment to bottom.
Gamerhell 28 Jan, 2023 @ 7:47pm 
Jatt threw exception in WorkGiver BuildRoofs: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Cleanie.WorkGiver_Filth_GetPriority_Patch.Prefix (System.Single& __result, Verse.Pawn pawn, Verse.TargetInfo t) [0x000db] in <61a607f78893436d86b2dce183a2b890>:0
at (wrapper dynamic-method) RimWorld.WorkGiver_Scanner.RimWorld.WorkGiver_Scanner.GetPriority_Patch1(RimWorld.WorkGiver_Scanner,Verse.Pawn,Verse.TargetInfo)
at RimWorld.WorkGiver_Scanner.GetPriority (Verse.Pawn pawn, Verse.IntVec3 cell) [0x0000f] in <617d4a4b3c1842ffb4eb3fd1337f915c>:0
Gamerhell 28 Jan, 2023 @ 7:47pm 
at RimWorld.JobGiver_Work+<>c__DisplayClass3_1.<TryIssueJobPackage>g__ProcessCell|3 (Verse.IntVec3 c, RimWorld.JobGiver_Work+<>c__DisplayClass3_2& ) [0x00091] in <617d4a4b3c1842ffb4eb3fd1337f915c>:0
at (wrapper dynamic-method) RimWorld.JobGiver_Work.RimWorld.JobGiver_Work.TryIssueJobPackage_Patch0(RimWorld.JobGiver_Work,Verse.Pawn,Verse.AI.JobIssueParams)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
(wrapper dynamic-method) RimWorld.JobGiver_Work:RimWorld.JobGiver_Work.TryIssueJobPackage_Patch0 (RimWorld.JobGiver_Work,Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_PrioritySorter:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Gamerhell 28 Jan, 2023 @ 7:47pm 
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Tagger:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Subtree:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.Pawn_JobTracker:DetermineNextJob (Verse.ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
Verse.AI.Pawn_JobTracker:EndCurrentJob (Verse.AI.JobCondition,bool,bool)
Verse.AI.Pawn_JobTracker:JobTrackerTick ()
Gamerhell 28 Jan, 2023 @ 7:47pm 
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch1 (Verse.Pawn)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()
Gamerhell 28 Jan, 2023 @ 7:38pm 
I think this mod messes with the AI work queue, out of the 15 different mods I added in my 50+ mod modpack, (thank heavens for having an older modpack save to go back to) I narrowed it down to this single on causing the problem where the AI just goes braindead after 3 minutes and wanders aimlessly until they starve or freeze to death. This mod is a must have as a concept, but for whatever reason it made my game literally unplayable. I hope this bug gets fixed if it isn't being fixed right now already.
KemonoAmigo 27 Jan, 2023 @ 1:36am 
I've been managing cleaning areas since 2016 which is when I started playing RW. I can't believe it can finally automate itself.

Thank you so much.
XandrMoro  [author] 20 Jan, 2023 @ 4:10am 
@MaritoAllen it does look like a mod conflict or smth like that. Are there any errors in log?
MaritoAllen 19 Jan, 2023 @ 3:34pm 
I'm not sure if it's just me and I assume it is based on other comments, but whenever I activate the mod, my villages stay idle without doing tasks and I have to keep forcing them to do something. Is there something I need to configure and I'm doing it wrong?
Lord Peter 19 Jan, 2023 @ 12:07pm 
Really great mod, a better way of doing it than some old mods that don't work anymore. Thanks!
Topodic 13 Jan, 2023 @ 6:17am 
Ahh, I see. First time I ever noticed it, no worries!
XandrMoro  [author] 13 Jan, 2023 @ 4:14am 
@Topodic thats just how default UI is set up :p I tried to compensate for it, but it is indeed possible that it might drift away if you have a lot of custom rooms.
Topodic 12 Jan, 2023 @ 9:14pm 
One minor issue I've noticed is the sliders seem to be a little over-sized vertically, so the bottom-most options don't quite align with their bars.
it's rachel! 12 Jan, 2023 @ 1:36am 
oh my GOODNESS what a useful mod idea, can't wait to use it!
Adam Smasher™ 10 Jan, 2023 @ 8:57pm 
Why isn't this like the top 30 mods of all time. This is so important
Cozy Fawn 10 Jan, 2023 @ 5:55am 
Enabling "Do Not Disturb" will prevent pawns from cleaning bedrooms if someone is sleeping there

OMG this feature should be in the base game.
XandrMoro  [author] 9 Jan, 2023 @ 3:16am 
I did not test it with CS. Looking at code, they should be compatible, but CS-issued jobs (like cleaning work room) will ignore Cleanie-set priorities, which is kinda reasonable behaviour.
Cinders 9 Jan, 2023 @ 3:07am 
I'm also very interested to know if this mod works with Common Sense!
Chocolayte 8 Jan, 2023 @ 9:11pm 
Any incompatible with Common Sense ?
Topodic 6 Jan, 2023 @ 10:03am 
This is the cleaning mod I've been waiting for. Fantastic stuff, thank you for your work!
莫名某某 4 Jan, 2023 @ 6:14am 
Thanks for your reply. I do think this mod is much more useful than CleaningArea and much conciser than Cleaning Priority.:steamthumbsup:
XandrMoro  [author] 4 Jan, 2023 @ 6:02am 
@3023125678 if the mod is doing it properly (ie adding room def), if will be picked up automatically
莫名某某 4 Jan, 2023 @ 4:24am 
The best replacement found after the CleaningArea strike. My only question is: does it support mods for adding room types?
XandrMoro  [author] 4 Jan, 2023 @ 4:20am 
@Risk, @Marads~Yuuka - I think it should be fixed now
Marads~Yuuka 3 Jan, 2023 @ 10:38pm 
There is a button on the options menu to reset to default, problem is that the button pushed the priority and threshold columns to the right, to the point I can't even use the threshold sliders.
Risk 3 Jan, 2023 @ 7:07pm 
the options menu looks different then the one in the photo. only the priority option is available and its spaced it different. Not sure how to describe it
Risk 3 Jan, 2023 @ 3:45pm 
the mod we need but dont deserve thank you !