RimWorld

RimWorld

[LC]AutoPatcher
25 Comments
Lecris  [author] Nov 14, 2020 @ 8:15pm 
It will be uploaded to Github Gist, and you'll get a link to pass along. Please contact Hugs on the HugsLib mod, to figure out why you are not getting the upload dialog to pop out.
Demoboca Nov 14, 2020 @ 7:39pm 
I press that and nothing happens! I can't even find out where the file will be located.
Lecris  [author] Nov 11, 2020 @ 3:50pm 
Ctrl+F12 and follow the instructions there
Demoboca Nov 11, 2020 @ 2:07pm 
@Lecris How do I get that log? It never seems to work for me.
Lecris  [author] Nov 10, 2020 @ 11:03pm 
Paste the link to the full HugsLog on Discord. This is an issue on ToolsFramework which should be fixed in recent versions
Demoboca Nov 10, 2020 @ 10:18pm 
Hey, I get an error with Autopatcher saying an Alpha Animals resource key has already been added:

https://pastebin.com/DMip2ken
Lecris  [author] Nov 7, 2020 @ 3:47pm 
Glad to hear that, but this mod only has 2 patches that would affect other mods. Otherwise it should only be affecting ToolsFramework and its derivatives atm, unless other people have made compatibilities without telling me.
NX Nov 7, 2020 @ 10:25am 
This mod saved my game. After spending days removing mods and adjusting load orders, this mod finally made my ridiculously over-moded game stable. Thank you!
Lecris  [author] Sep 4, 2020 @ 10:46pm 
I currently cannot do any more progress on the saving of the PatchTree which would drastically improve the load performance, due to issues upstream in Harmony and MonoMod .
Lecris  [author] Aug 29, 2020 @ 5:58am 
@Thetaprime your bug should be fixed now. Let me know if it works. You should get a Warning, let me know what it says.
Thetaprime Aug 23, 2020 @ 8:43pm 
Glad I could help. I can wait.
Lecris  [author] Aug 23, 2020 @ 8:17pm 
Ok I've found the issues in my code. This will have to wait when I'm not busy with work. Disabling AtomicRim, AlphaAnimals and a few other mods will temporarily avoid that issue.

For reference: the error said already added key: SuperviseConstruction . I've checked the debug of node [AP_JobDriverInDefOut : 10 : JobDriverToDef] , to link the the JobDef to the JobDriver Rimatomics.JobDriver_SuperviseConstruction which tells me it comes from Rimatomics mod.
Thetaprime Aug 23, 2020 @ 7:44pm 
Ok I reshared the logs and this all makes more sense now:

https://gist.github.com/02ded26cb1e834839fae7bf43fc3ec8e
Lecris  [author] Aug 23, 2020 @ 7:28pm 
Lines 9, 14, 19, etc. Of the file you've edited
Thetaprime Aug 23, 2020 @ 7:24pm 
Not really experienced with this stuff, But I'll get you additional nodes.
Lecris  [author] Aug 23, 2020 @ 7:18pm 
There are additional nodes with debug level (maybe 17 of them). I will need those set as well
Thetaprime Aug 23, 2020 @ 7:13pm 
Thetaprime Aug 23, 2020 @ 7:12pm 
Here is the new log with the elevated debug level:

https://drive.google.com/file/d/1i9lySTTfn3bSbgTaCO8ZPaKA2za6cZNf/view?usp=sharing

I am sharing the full Hugs Log now.
Lecris  [author] Aug 23, 2020 @ 6:52pm 
Hmm, can you edit the following file in the mod [LC]ToolsFramework:

2206566912/1.2/Defs/AutoPatcher/PatchTree.xml

And increase debug level to 10. After that share the full HugsLog (there is a share button in the debug window or use [Ctrl] + F12) and follow the instructions there.
Thetaprime Aug 23, 2020 @ 6:34pm 
Thetaprime Aug 23, 2020 @ 5:16pm 
Yep. I'm away from my box. I'll pass it along asap.
Lecris  [author] Aug 23, 2020 @ 4:42pm 
In my mods the ordee doesn't really matter. Hmm can you give the full HugsLog?
Thetaprime Aug 23, 2020 @ 4:18pm 
I'm getting:

[HugsLib][ERR] Lecris.AutoPatcher caused an exception during OnDefsLoaded: System.ArgumentException: An item with the same key has already been added.

I have Survival Tools, the tools doon, and the autopatcher near the end of my load order and in the right order according to mod manager.
Lecris  [author] Aug 23, 2020 @ 3:38am 
Technically it can be used in many situations. E.g. improving [JPT]Soft Warm Beds to have the formula accessible to anyone via XML. You can add whatever Toil around the Toil calling a stat. It's all up to what you want to make.
tanyfilina Aug 23, 2020 @ 3:25am 
Is is useful for anything other than Survival Tools?