RimWorld
Healer Mech Serum Choice
Isajii 1 dez. 2024 às 5:59
Kyulen and Health Mech Serum Choice
Hello.

There seems to be a glitch between Healer Mech Serum Choice, Kyulen - NinetailFox, and some Humanoid Alien Races.
When the Kyulen mod is installed, the Healer Mech Serum Choice dialog never displays. The doctoring pawn will try to administer the mech serum, over and over, without success. v_v

I'm running RimWorld 1.5 with all four DLCs installed.

An error does appear at game start, and the Ninetail (Kyulen) is mentioned:
HMSChoice: applying CanBeUsedBy patch failed UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) HMSChoice.HarmonyPatches:CompUsable_CanBeUsedBy_Transpiler (System.Collections.Generic.IEnumerable`1<HarmonyLib.CodeInstruction>,System.Reflection.Emit.ILGenerator) System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) System.Reflection.MethodBase:Invoke (object,object[]) HarmonyLib.CodeTranspiler/<>c__DisplayClass11_0:<GetResult>b__0 (System.Reflection.MethodInfo) System.Collections.Generic.List`1<System.Reflection.MethodInfo>:ForEach (System.Action`1<System.Reflection.MethodInfo>) HarmonyLib.CodeTranspiler:GetResult (System.Reflection.Emit.ILGenerator,System.Reflection.MethodBase) HarmonyLib.MethodBodyReader:FinalizeILCodes (HarmonyLib.Emitter,System.Collections.Generic.List`1<System.Reflection.MethodInfo>,System.Collections.Generic.List`1<System.Reflection.Emit.Label>,bool&,bool&) HarmonyLib.MethodCopier:Finalize (HarmonyLib.Emitter,System.Collections.Generic.List`1<System.Reflection.Emit.Label>,bool&,bool&) HarmonyLib.MethodPatcher:CreateReplacement (System.Collections.Generic.Dictionary`2<int, HarmonyLib.CodeInstruction>&) HarmonyLib.PatchFunctions:UpdateWrapper (System.Reflection.MethodBase,HarmonyLib.PatchInfo) HarmonyLib.PatchClassProcessor:ProcessPatchJob (HarmonyLib.PatchJobs`1/Job<System.Reflection.MethodInfo>) HarmonyLib.PatchClassProcessor:PatchWithAttributes (System.Reflection.MethodBase&,bool) HarmonyLib.PatchClassProcessor:Patch () HarmonyLib.Harmony:<PatchAll>b__10_0 (System.Type) HarmonyLib.CollectionExtensions:Do<System.Type> (System.Collections.Generic.IEnumerable`1<System.Type>,System.Action`1<System.Type>) HarmonyLib.Harmony:PatchAll (System.Reflection.Assembly) Ninetail.Main:.cctor () System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle) Verse.StaticConstructorOnStartupUtility:CallAll () Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_4 () Verse.LongEventHandler:ExecuteToExecuteWhenFinished () Verse.LongEventHandler:UpdateCurrentAsynchronousEvent () Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Entry:Update ()

This was tested with the following mods: Harmony, Core, Royalty, Ideology, Biotech, Anomaly, Hugslib, Healer Mech Serum Choice, Vanilla Expanded Framework, Kyulen - Ninetailfox, Humanoid Alien Races, and lastly Ancient Species(Unofficial 1.5).

Please note, not all Humanoid Alien Races seem to cause this error interaction. The Maru race, for example, works fine. It only seems to happen with certain ones.

Sorry for opening a Discussion topic, but I play the GoG version of Rimworld and am unable to post on the mod's main page.

EDIT:
As a sanity check, testing was done via a Dev mode quick start.

https://steamproxy.com/sharedfiles/filedetails/?id=2714095848
https://steamproxy.com/sharedfiles/filedetails/?id=1612312286
Última alteração por Isajii; 1 dez. 2024 às 20:42
< >
A mostrar 1-3 de 3 comentários
Syrus  [developer] 16 dez. 2024 às 5:01 
Thank you for the detailed report.
Sorry for the delay, Steam does not notify me of new discussions so I don't see them unless I happen to check the page...

The bug should be fixed now, was a rather obscured mistake I made.

Though I find it strange that my patch is reapplied by the NinetailFox-mod. Makes me wonder if that may cause issues with other mods (worked fine from what I saw and I'm not going to look further into it as I don't have the time for it right now). EDIT: After some thought, this may also be caused by the method being prefixed...
Última alteração por Syrus; 16 dez. 2024 às 6:15
Isajii 17 dez. 2024 às 17:55 
That fixed it. Thank you kindly!

Now I can go taunt the Empire they have no Kyulen and that they're all mine, MINE! ^_~

More seriously, the Kyulen mod is one of those ridiculously complex ones with quests, psycasts, incidents, backstories, author-obviously-threw-their-heart-liver-and-both-kidneys-into it, etc.

Thank you, again. ^_^
Última alteração por Isajii; 17 dez. 2024 às 17:57
Syrus  [developer] 18 dez. 2024 às 3:01 
Enjoy!
< >
A mostrar 1-3 de 3 comentários
Por página: 1530 50