Jump to content

Console Error After Latest Update

Closed 0.9.89 0.9.90

I am getting the following in the console when I reload the plugin:

c.reload UltimateLocker
 UltimateLocker v0.9.89 by Scalbox hook 'Unload' took longer than 100ms [597ms]
Unloaded plugin UltimateLocker v0.9.89 by Scalbox
 Warning! 'UltimateLocker' uses Harmony. That may cause instability, use at your own discretion!
A hook request for 'OnQuarryToggled[42dee4]' received:
 - The current status is FAILURE: Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:EngineSwitch.StartEngine_Patch0 (EngineSwitch,BaseEntity/RPCMessage): IL_0012: brfalse   IL_0032
 - Check for possible errors on the log file
A hook request for 'OnQuarryToggled[784f96]' received:
 - The current status is FAILURE: Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:EngineSwitch.StopEngine_Patch0 (EngineSwitch,BaseEntity/RPCMessage): IL_0012: brfalse   IL_0032
 - Check for possible errors on the log file
Loaded plugin UltimateLocker v0.9.89 by Scalbox [832ms]
 UltimateLocker v0.9.89 by Scalbox hook 'OnServerInitialized' took longer than 100ms [170ms]
A hook request for 'OnQuarryToggled[784f96]' received:
 - The current status is FAILURE: Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:EngineSwitch.StopEngine_Patch0 (EngineSwitch,BaseEntity/RPCMessage): IL_0012: brfalse   IL_0032
 - Check for possible errors on the log file
Error while patching hook 'OnQuarryToggled[784f96]' (Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:EngineSwitch.StopEngine_Patch0 (EngineSwitch,BaseEntity/RPCMessage): IL_0012: brfalse   IL_0032
)
   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 /home/runner/work/Carbon/Carbon/Carbon.Core/Carbon/src/Hooks/HookEx.cs:line 224
A general error occured while installing 'OnQuarryToggled[784f96]'
A hook request for 'OnQuarryToggled[42dee4]' received:
 - The current status is FAILURE: Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:EngineSwitch.StartEngine_Patch0 (EngineSwitch,BaseEntity/RPCMessage): IL_0012: brfalse   IL_0032
 - Check for possible errors on the log file
Error while patching hook 'OnQuarryToggled[42dee4]' (Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:EngineSwitch.StartEngine_Patch0 (EngineSwitch,BaseEntity/RPCMessage): IL_0012: brfalse   IL_0032
)
   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 /home/runner/work/Carbon/Carbon/Carbon.Core/Carbon/src/Hooks/HookEx.cs:line 224
A general error occured while installing 'OnQuarryToggled[42dee4]'

 

Link to comment
8 hours ago, dustyhansen said:

I am getting the following in the console when I reload the plugin:

c.reload UltimateLocker
 UltimateLocker v0.9.89 by Scalbox hook 'Unload' took longer than 100ms [597ms]
Unloaded plugin UltimateLocker v0.9.89 by Scalbox
 Warning! 'UltimateLocker' uses Harmony. That may cause instability, use at your own discretion!
A hook request for 'OnQuarryToggled[42dee4]' received:
 - The current status is FAILURE: Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:EngineSwitch.StartEngine_Patch0 (EngineSwitch,BaseEntity/RPCMessage): IL_0012: brfalse   IL_0032
 - Check for possible errors on the log file
A hook request for 'OnQuarryToggled[784f96]' received:
 - The current status is FAILURE: Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:EngineSwitch.StopEngine_Patch0 (EngineSwitch,BaseEntity/RPCMessage): IL_0012: brfalse   IL_0032
 - Check for possible errors on the log file
Loaded plugin UltimateLocker v0.9.89 by Scalbox [832ms]
 UltimateLocker v0.9.89 by Scalbox hook 'OnServerInitialized' took longer than 100ms [170ms]
A hook request for 'OnQuarryToggled[784f96]' received:
 - The current status is FAILURE: Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:EngineSwitch.StopEngine_Patch0 (EngineSwitch,BaseEntity/RPCMessage): IL_0012: brfalse   IL_0032
 - Check for possible errors on the log file
Error while patching hook 'OnQuarryToggled[784f96]' (Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:EngineSwitch.StopEngine_Patch0 (EngineSwitch,BaseEntity/RPCMessage): IL_0012: brfalse   IL_0032
)
   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 /home/runner/work/Carbon/Carbon/Carbon.Core/Carbon/src/Hooks/HookEx.cs:line 224
A general error occured while installing 'OnQuarryToggled[784f96]'
A hook request for 'OnQuarryToggled[42dee4]' received:
 - The current status is FAILURE: Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:EngineSwitch.StartEngine_Patch0 (EngineSwitch,BaseEntity/RPCMessage): IL_0012: brfalse   IL_0032
 - Check for possible errors on the log file
Error while patching hook 'OnQuarryToggled[42dee4]' (Invalid IL code in (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:EngineSwitch.StartEngine_Patch0 (EngineSwitch,BaseEntity/RPCMessage): IL_0012: brfalse   IL_0032
)
   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 /home/runner/work/Carbon/Carbon/Carbon.Core/Carbon/src/Hooks/HookEx.cs:line 224
A general error occured while installing 'OnQuarryToggled[42dee4]'

 

HI
I'll do a test on Carbon right away

Link to comment

I did a test and everything works.
It seems you have some problem in the server, I will also do this test in your devs server

Link to comment
1.3m

Downloads

Total number of downloads.

6.5k

Customers

Total customers served.

95.5k

Files Sold

Total number of files sold.

1.9m

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.