RimWorld

RimWorld

[LC]AutoPatcher
25 kommentarer
Lecris  [ophavsmand] 14. nov. 2020 kl. 20:15 
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 14. nov. 2020 kl. 19:39 
I press that and nothing happens! I can't even find out where the file will be located.
Lecris  [ophavsmand] 11. nov. 2020 kl. 15:50 
Ctrl+F12 and follow the instructions there
Demoboca 11. nov. 2020 kl. 14:07 
@Lecris How do I get that log? It never seems to work for me.
Lecris  [ophavsmand] 10. nov. 2020 kl. 23:03 
Paste the link to the full HugsLog on Discord. This is an issue on ToolsFramework which should be fixed in recent versions
Demoboca 10. nov. 2020 kl. 22:18 
Hey, I get an error with Autopatcher saying an Alpha Animals resource key has already been added:

https://pastebin.com/DMip2ken
Lecris  [ophavsmand] 7. nov. 2020 kl. 15:47 
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 7. nov. 2020 kl. 10:25 
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  [ophavsmand] 4. sep. 2020 kl. 22:46 
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  [ophavsmand] 29. aug. 2020 kl. 5:58 
@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 23. aug. 2020 kl. 20:43 
Glad I could help. I can wait.
Lecris  [ophavsmand] 23. aug. 2020 kl. 20:17 
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 23. aug. 2020 kl. 19:44 
Ok I reshared the logs and this all makes more sense now:

https://gist.github.com/02ded26cb1e834839fae7bf43fc3ec8e
Lecris  [ophavsmand] 23. aug. 2020 kl. 19:28 
Lines 9, 14, 19, etc. Of the file you've edited
Thetaprime 23. aug. 2020 kl. 19:24 
Not really experienced with this stuff, But I'll get you additional nodes.
Lecris  [ophavsmand] 23. aug. 2020 kl. 19:18 
There are additional nodes with debug level (maybe 17 of them). I will need those set as well
Thetaprime 23. aug. 2020 kl. 19:13 
Thetaprime 23. aug. 2020 kl. 19:12 
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  [ophavsmand] 23. aug. 2020 kl. 18:52 
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 23. aug. 2020 kl. 18:34 
Thetaprime 23. aug. 2020 kl. 17:16 
Yep. I'm away from my box. I'll pass it along asap.
Lecris  [ophavsmand] 23. aug. 2020 kl. 16:42 
In my mods the ordee doesn't really matter. Hmm can you give the full HugsLog?
Thetaprime 23. aug. 2020 kl. 16:18 
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  [ophavsmand] 23. aug. 2020 kl. 3:38 
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 23. aug. 2020 kl. 3:25 
Is is useful for anything other than Survival Tools?