Jump to content

Output multipliers not working since update

Closed 2.4.1 2.4.2

SiCkNeSs
SiCkNeSs

Posted

[SetupFurnaces] Automatically Harmony patched 'BaseOven.Cook_Patch5' (BaseOvenHarmony) method [AfterPluginInit].
[SetupFurnaces] Automatically Harmony patched 'BaseOven.ConsumeFuel_Patch4' (BaseOvenHarmony) method [AfterPluginInit].
[SetupFurnaces] Failed to automatically Harmony patch 'CycleCookPatch' [AfterPluginInit] (Patching exception in method static System.Void ItemModCookable::CycleCooking(Item item, System.Single delta))
   at void HarmonyLib.PatchClassProcessor.ReportException(Exception exception, MethodBase original)
   at List<MethodInfo> HarmonyLib.PatchClassProcessor.Patch()
   at bool Carbon.Base.BaseHookable.ApplyOrderedPatches(Orders order, string category) in /home/runner/work/Carbon/Carbon/src/Carbon.Components/Carbon.Common/src/Base/BaseHookable.cs:line 296
  Inner exception:
  System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Failed to find target instructions.
   at IEnumerable<CodeInstruction> Oxide.Plugins.SetupFurnaces+CycleCookPatch.TryMultiplyCookedAmount(IEnumerable<CodeInstruction> instructions, ILGenerator generator) in /home/container/carbon/plugins/SetupFurnaces.cs:line 974
   at object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
   --- End of inner exception stack trace ---
   at object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
   at object System.Reflection.MethodBase.Invoke(object obj, object[] parameters)
   at List<CodeInstruction> HarmonyLib.CodeTranspiler.GetResult(ILGenerator generator, MethodBase method)+(MethodInfo transpiler) => { }
   at void System.Collections.Generic.List<System.Reflection.MethodInfo>.ForEach(Action<MethodInfo> action)
   at List<CodeInstruction> HarmonyLib.CodeTranspiler.GetResult(ILGenerator generator, MethodBase method)
   at List<CodeInstruction> HarmonyLib.MethodBodyReader.FinalizeILCodes(List<MethodInfo> transpilers, bool stripLastReturn, out bool hasReturnCode, out bool methodEndsInDeadCode, List<Label> endLabels)
   at List<CodeInstruction> HarmonyLib.MethodCopier.Finalize(bool stripLastReturn, out bool hasReturnCode, out bool methodEndsInDeadCode, List<Label> endLabels)
   at ValueTuple<MethodInfo, Dictionary<int, CodeInstruction>> HarmonyLib.MethodCreator.CreateReplacement()
   at MethodInfo HarmonyLib.PatchFunctions.UpdateWrapper(MethodBase original, PatchInfo patchInfo)
   at void HarmonyLib.PatchClassProcessor.ProcessPatchJob(Job job)
  Inner exception:
  System.InvalidOperationException: Failed to find target instructions.
   at IEnumerable<CodeInstruction> Oxide.Plugins.SetupFurnaces+CycleCookPatch.TryMultiplyCookedAmount(IEnumerable<CodeInstruction> instructions, ILGenerator generator) in /home/container/carbon/plugins/SetupFurnaces.cs:line 974
   at object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
Loaded plugin SetupFurnaces v2.4.1 by tofurahie [246ms]

 

Using Carbon, the patches fail when the plugin loads, and the output multipliers no longer work, speed still works properly

  • Like 1
tofurahie

Posted

Changed Status from Pending to Closed

Changed Fixed In to Next Version

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3m
Total downloads
Customers
12k
Customers served
Files Sold
170.5k
Total sales
Payments
3.7m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.