Jump to content

Error

Closed 1.5.20

Null
Null

Posted

My custom item became coal, so when I reloaded the plugin, I got the following error.




Hook dispatch failure detected, falling back to reflection based dispatch. System.InvalidProgramException: Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:BaseMelee.ServerUse_Strike_Patch0 (BaseMelee): IL_0186: newobj 0x00000043 at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00094] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 at HarmonyLib.PatchProcessor.Patch () [0x000fc] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x0002a] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 at Oxide.Plugins.CustomizableWeapons+Harmony.Patch () [0x000a4] in :0 at Oxide.Plugins.CustomizableWeapons.Loaded () [0x0000b] in :0 at Oxide.Plugins.CustomizableWeapons.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00ded] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0

The invalid raw assembly has been dumped to Plugins/CustomizableWeapons.dump

Failed to initialize plugin 'CustomizableWeapons v1.5.20' (InvalidProgramException: Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:BaseMelee.ServerUse_Strike_Patch0 (BaseMelee): IL_0186: newobj 0x00000043 ) at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00107] in :0 at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x000cf] in <795304323ac74a298b8ed190a1dfa739>:0

0xF

Posted

Try reload again, if that doesn’t work, try restart the server. If you still have the error, describe your last actions before the error appeared. 

Since this error occurs in unspecified cases and has nothing to do with external factors, the error indicates a method patch that never changes, at the moment I cannot advise you anything better.

Null

Posted

restart the server fixed it.
Thank you.

  • Like 1
0xF

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2.1m

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.