Jump to content

Error on carbon

Fixed 0.1.10 0.1.11

Perfectangel01

Posted

Loaded plugin Industrial Dung v0.1.10 by IIIaKa [168ms]
Error while patching hook 'OnAnimalDungProduced[728f16]' (Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RidableHorse.DoDung_Patch0 (RidableHorse): IL_009e: stloc.2   

)
   at MethodInfo HarmonyLib.PatchFunctions.UpdateWrapper(MethodBase original, PatchInfo patchInfo)
   at MethodInfo HarmonyLib.PatchProcessor.Patch()
   at MethodInfo HarmonyLib.Harmony.Patch(MethodBase original, HarmonyMethod prefix, HarmonyMethod postfix, HarmonyMethod transpiler, HarmonyMethod finalizer)
   at bool Carbon.Hooks.HookEx.ApplyPatch() in /__w/Carbon/Carbon/Carbon.Core/Carbon/src/Hooks/HookEx.cs:line 173
A general error occured while installing 'OnAnimalDungProduced[728f16]'
A hook request for 'OnAnimalDungProduced[728f16]' received:
 - The current status is FAILURE: Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RidableHorse.DoDung_Patch0 (RidableHorse): IL_009e: stloc.2   


 - Check for possible errors on the log file
Error while patching hook 'OnAnimalDungProduced[728f16]' (Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RidableHorse.DoDung_Patch0 (RidableHorse): IL_009e: stloc.2   

)
   at MethodInfo HarmonyLib.PatchFunctions.UpdateWrapper(MethodBase original, PatchInfo patchInfo)
   at MethodInfo HarmonyLib.PatchProcessor.Patch()
   at MethodInfo HarmonyLib.Harmony.Patch(MethodBase original, HarmonyMethod prefix, HarmonyMethod postfix, HarmonyMethod transpiler, HarmonyMethod finalizer)
   at bool Carbon.Hooks.HookEx.ApplyPatch() in /__w/Carbon/Carbon/Carbon.Core/Carbon/src/Hooks/HookEx.cs:line 173
A general error occured while installing 'OnAnimalDungProduced[728f16]'

IIIaKa

Posted

Changed Status from Pending to Work in Progress

IIIaKa

Posted

11 hours ago, Perfectangel01 said:

Error while patching hook 'OnAnimalDungProduced[728f16]' (Invalid IL code in (wrapper dynamic-method)

Hello, this is an issue on Carbon’s side. @Carbon Team 
The log says that an error occurred when trying to add the OnAnimalDungProduced hook.

  • Like 1
IIIaKa

Posted

In the next version I will remove the OnAnimalDungProduced hook and replace it with a Harmony patch, since ever since this hook was introduced, Carbon has had issues with it.

IIIaKa

Posted

Changed Status from Work in Progress to Fixed

Changed Fixed In to Next Version

IIIaKa

Posted

If you have anything to add, feel free to write in this thread.

Agricola

Posted

Failed to call internal hook 'OnServerInitialized' on plugin 'IndustrialDung v0.1.11' [352240293] (Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RidableHorse.DoDung_Patch0 (RidableHorse): IL_00e1: ldloc.2   
)
   at MethodInfo HarmonyLib.PatchFunctions.UpdateWrapper(MethodBase original, PatchInfo patchInfo)
   at MethodInfo HarmonyLib.PatchProcessor.Patch()
   at MethodInfo HarmonyLib.Harmony.Patch(MethodBase original, HarmonyMethod prefix, HarmonyMethod postfix, HarmonyMethod transpiler, HarmonyMethod finalizer)
   at void Oxide.Plugins.IndustrialDung.OnServerInitialized(bool initial) in /home/container/carbon/plugins/IndustrialDung.cs:line 1093
   at object Oxide.Plugins.IndustrialDung.InternalCallHook(uint hook, object[] args) in IndustrialDung.cs/Internal:line 268


Yeah I updated the plugin and I am getting this error.

1.9m

Downloads

Total number of downloads.

9.2k

Customers

Total customers served.

133.8k

Files Sold

Total number of files sold.

2.8m

Payments Processed

Total payments processed.

×
×
  • 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.