RimWorld

RimWorld

World Pawn Cleaner
44 Comments
CtrlAltFunk 20 Jul @ 5:40pm 
This mod says 1.6 update but when enabling the mod in game it says only 1.4 and 1.5 compatible.
Kris 15 Jun @ 9:30pm 
I really hope that you will update your mod. Because this is one of my must haves - very helpful for bigger colonies that run for many years! Thank you for your work!
エルフ 6 May @ 7:01pm 
for a moment, I thought 10-year save means a save from 2015
Ev 21 Mar @ 5:36pm 
Does this play nicely with Altered Carbon 2?
Foxlen 7 Feb @ 4:58pm 
will this remove "startingpawnleftbehind"?
Cedaro  [author] 9 Jan @ 4:07am 
@Vincenator no, they'll get exempted by the "is colonist" rule
Vincenator 9 Jan @ 3:47am 
will this erase pawns in outposts from vanilla outposts expanded? 🤓
Deep Fried 6 Jan @ 8:05pm 
Fantastic mod, thank you.
My 6 year colony went from barely 60 tps to 500+ just from one button click.
FaintingGoat 5 Jan @ 6:47pm 
Yeah, it's Rimsenal - Feral Faction Pack. That and Archons causes the conflict. I was able to reproduce the error by spawning one of the non-human creatures from the Feral faction, passing it to the world, and then trying to run the cleanup.
Cedaro  [author] 5 Jan @ 5:36pm 
I think I've already added null check on gene... I've changed transcendent check into hediff check, might this can help, have a try.
Can you tell me what the specific faction mod is?
Cedaro  [author] 5 Jan @ 5:14pm 
@FaintingGoat gotcha, thanks for report, will fix that soon
FaintingGoat 5 Jan @ 8:50am 
Great mod! I did find a mod compatibility issue, if you feel up to changing it. It's pretty easy, there's just a faction mod that has custom pawns that don't use genes, which creates a null reference error if you've also got Archons and it does the transcendent check in IsTranscendent. A null check on the genes should fix it.
MeatOnASeat 10 Dec, 2024 @ 2:12pm 
This mod is legit! Have an older colony with 100 pawns and it had slowed down to 60 TPS average. After cleaning world pawns I'm averaging 200 TPS. Thank you Cedaro!
Nick 2 Nov, 2024 @ 9:26am 
Great mod. My save somehow had thousands of shamblers clogging up the world pawns. Went from 30-50 TPS to sometimes over 200.
Gostntuf 23 Oct, 2024 @ 5:04pm 
great mod, it helped me to finish my modded game. But, in the last days of the countdown to the ending, it didnt worked anymore. There is a way to solve it?
Device 6 Oct, 2024 @ 6:52am 
大佬这个能和runtimegc一起装吗
Daiggsta 28 Sep, 2024 @ 2:29pm 
at LudeonTK.Dialog_Debug.DoWindowContents (UnityEngine.Rect inRect) [0x00208] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001a6] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
Daiggsta 28 Sep, 2024 @ 2:29pm 
at WorldPawnCleaner.Cleaner.CanSafelyClean (Verse.Pawn pawn) [0x000eb] in <f7a07839842c479c8866c2647638ecc5>:0
at WorldPawnCleaner.Cleaner.Clean () [0x00020] in <f7a07839842c479c8866c2647638ecc5>:0
at LudeonTK.DebugActionNode.Enter (LudeonTK.Dialog_Debug dialog) [0x00065] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at LudeonTK.Dialog_Debug.DoButton (LudeonTK.DebugActionNode node, System.Single columnWidth, System.Boolean highlight) [0x0003e] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at LudeonTK.Dialog_Debug.DrawNode (LudeonTK.DebugActionNode node, System.Single columnWidth, System.Boolean highlight) [0x00018] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at LudeonTK.DebugTabMenu.ListOptions (System.Int32 highlightedIndex, System.Single columnWidth) [0x00065] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
Daiggsta 28 Sep, 2024 @ 2:29pm 
Hi! I'm experiencing the expected slowdown with my 14 year colony, but none of the methods of wiping the world pawns seem to actually uh, wipe the pawns. This is the error the Clean function of this mod specifically brings up:

Exception filling window for LudeonTK.Dialog_Debug: System.NullReferenceException: Object reference not set to an instance of an object
[Ref B8F0515D]
at WorldPawnCleaner.CompatibleUtility.IsTranscendent (Verse.Pawn pawn) [0x00000] in <f7a07839842c479c8866c2647638ecc5>:0
Dr Jimothy 23 Sep, 2024 @ 6:50am 
@braydengames07
It basically deletes them from existence. Kapoof; no more. Saves on computer thinky space.
braydengames07 8 Sep, 2024 @ 5:11pm 
what does cleaning pawns do exactly?
Cedaro  [author] 1 Sep, 2024 @ 7:32am 
@RutraNickers fixed now (I guess), tell me if anything still goes wrong
RutraNickers 11 Aug, 2024 @ 8:18am 
I found an unfortunate bug: When cleaning world pawns, this mod is deleting buried dead pawns on map, and doing so spams errors due to a lack of corpse inside the buried grave. I'll put the log bellow:

Exception ticking Grave189293 (at (107, 0, 141)): System.NullReferenceException: Object reference not set to an instance of an object
[Ref 499F05CD] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch5 (string)
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch5 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch4 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
Cedaro  [author] 28 Jul, 2024 @ 7:36am 
I'm currently doing an internship in other place, away from my pc I often used, so any change or fix will be halt until I return in Sept. Sorry for waiting.

我现在在外地做实习,惯用的电脑不在身边,功能或bug修复都需要等到九月回校才能进行了,请谅解
Dr Jimothy 20 Jul, 2024 @ 9:02am 
Dumb Suggestion Cos I'm Sick of Filth:
World Filth Cleaner. Press da button, no more filth anywhere, yippee!
che_lovek 15 Jul, 2024 @ 11:05am 
I suspect this mod might have removed a dead pawn from a grave, and now the empty yet filled grave is giving errors.
Otherwise, workes like a charm and is a life saver in long playthroughts.
Dr Jimothy 11 Jul, 2024 @ 5:18pm 
Suggestion:
"Character / Don't Clean" trait / hediff.
This trait does not affect pawn stats in any way.
All it does is mark them as someone who shouldn't be removed via cleaning.
Cedaro  [author] 13 Jun, 2024 @ 3:04am 
And as mentioned, always make a backup would never be wrong. Like its predecessor RuntimeGC, cleaning world pawn is always a high risk action. I cannot, and would never guarantee your save's safety
Cedaro  [author] 13 Jun, 2024 @ 3:01am 
@pig in a pumpkin
1. not colonist
2. not family of colonist
3. not faction leader
4. not reserved by quest
5. not reserved in other mod, for example the hierarchy pawns in VFE-Empire

the 5th point is the most complex and potentially buggy part, almost every mod that reserve pawn for other purpose while didn't use vanilla world pawn system WILL cause bug, I should manually patch each of them. Since obviously I cannot test every circumstance of every mod (and recently I rarely play rimworld), I need people to report which mod truely cause the problem so I can fix them precisely.
pig in a pumpkin 12 Jun, 2024 @ 11:55pm 
Question what exactly does this mod look for in a pawn to prune them?
Cedaro  [author] 12 Jun, 2024 @ 9:33pm 
@pig in a pumpkin well then... I personally don't use caravan adventures, so cannot assume what would happen. Just make a backup before trying, if you meet error just report to here so I can get down to solve it.
pig in a pumpkin 12 Jun, 2024 @ 8:49pm 
but the large attack forces iin the quests with like 300+ pawns caused my worldpawn tick to go to two ms and i need a way to get rid of them
pig in a pumpkin 12 Jun, 2024 @ 8:48pm 
im just worried the named pawns for the questline will be pruned and my save bricked
Cedaro  [author] 11 Jun, 2024 @ 8:10pm 
@pig in a pumpkin I suppose it's fine. Have you experienced something weird?
pig in a pumpkin 11 Jun, 2024 @ 6:16pm 
Is this compatible with caravan adventures?
pkp碧琪73 7 Jun, 2024 @ 10:40pm 
会删除正在进行的任务相关Pawn的问题 建议各位还是用runtimeGC
123 5 May, 2024 @ 6:18am 
when I do this my colonist bar dissapears. colonists are still alive but the bar is removed and i cant access from the button on the right either advice?
LEE 3 May, 2024 @ 5:17am 
thx bro
Rudiarose 14 Apr, 2024 @ 9:14pm 
Can you put a picture of what the menu looks like in game? I cannot find it to use it.
P90 USER 12 Apr, 2024 @ 9:11am 
DLC更新后会导致开发者菜单打不开
KingsMan_ 19 Mar, 2024 @ 3:46pm 
nice.
Tawnylure 16 Mar, 2024 @ 7:17pm 
Yo thanks. This really does save old saves.
Cedaro  [author] 13 Mar, 2024 @ 12:47am 
@塔洛斯_Talos 确实,所以我把它放在开发者模式后面了,会用开发者的多少会有一些相关知识吧
塔洛斯_Talos 13 Mar, 2024 @ 12:38am 
支持~這一方面的要看安裝使用者有沒有概念了,不然可能會清掉有需要的Pawn