winstxnhdw / lc-hax

A powerful, feature-rich and highly performant internal cheat for the co-op indie horror video game, Lethal Company.
78 stars 25 forks source link

[Bug]: game keep getting crash when trying to inject. #228

Closed Sytxx closed 5 months ago

Sytxx commented 5 months ago

What happened?

Hello, can i get solved to this bug, because its keep getting me crash when i type / hit ./lauch.bat. Can you solved this, i give the log attachment on the Log Output Section.

Current Commit Hash

24e19e94027a08875d5d81e0c3417aa6507ced02

Injector

If you selected "Others" above, please specify the injector you are using.

No response

Log output

THIS IS FROM LOG LC-HAX

[11-01-24 11.20.17] HarmonyLib.HarmonyException: Patching exception in method virtual System.Void GiftBoxItem::ItemActivate(System.Boolean used, System.Boolean buttonDown) ---> System.ArgumentException: No such field defined in class GiftBoxItem, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null Parameter name: hasUsedGift at HarmonyLib.MethodPatcher.EmitCallParameter (System.Reflection.MethodInfo patch, System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable, System.Boolean allowFirsParamPassthrough, System.Reflection.Emit.LocalBuilder& tmpObjectVar, System.Collections.Generic.List1[T] tmpBoxVars) [0x00325] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher+<>cDisplayClass35_0.b0 (System.Reflection.MethodInfo fix) [0x00070] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher.AddPrefixes (System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable) [0x0001b] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00205] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000bb] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.b10_0 (System.Type type) [0x00007] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.PatchAll () [0x0001b] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at Hax.Loader.LoadHarmonyPatches () [0x0000a] in <8d363126b2204c4d96d9b21766959fc4>:0 [11-01-24 11.21.57] HarmonyLib.HarmonyException: Patching exception in method virtual System.Void GiftBoxItem::ItemActivate(System.Boolean used, System.Boolean buttonDown) ---> System.ArgumentException: No such field defined in class GiftBoxItem, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null Parameter name: hasUsedGift at HarmonyLib.MethodPatcher.EmitCallParameter (System.Reflection.MethodInfo patch, System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable, System.Boolean allowFirsParamPassthrough, System.Reflection.Emit.LocalBuilder& tmpObjectVar, System.Collections.Generic.List1[T] tmpBoxVars) [0x00325] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher+<>cDisplayClass35_0.b0 (System.Reflection.MethodInfo fix) [0x00070] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher.AddPrefixes (System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable) [0x0001b] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00205] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000bb] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.b10_0 (System.Type type) [0x00007] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.PatchAll () [0x0001b] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at Hax.Loader.LoadHarmonyPatches () [0x0000a] in <8d363126b2204c4d96d9b21766959fc4>:0 [11-01-24 11.22.51] HarmonyLib.HarmonyException: Patching exception in method virtual System.Void GiftBoxItem::ItemActivate(System.Boolean used, System.Boolean buttonDown) ---> System.ArgumentException: No such field defined in class GiftBoxItem, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null Parameter name: hasUsedGift at HarmonyLib.MethodPatcher.EmitCallParameter (System.Reflection.MethodInfo patch, System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable, System.Boolean allowFirsParamPassthrough, System.Reflection.Emit.LocalBuilder& tmpObjectVar, System.Collections.Generic.List1[T] tmpBoxVars) [0x00325] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher+<>cDisplayClass35_0.b0 (System.Reflection.MethodInfo fix) [0x00070] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher.AddPrefixes (System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable) [0x0001b] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00205] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000bb] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.b10_0 (System.Type type) [0x00007] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.PatchAll () [0x0001b] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at Hax.Loader.LoadHarmonyPatches () [0x0000a] in <8d363126b2204c4d96d9b21766959fc4>:0 [11-01-24 11.32.26] HarmonyLib.HarmonyException: Patching exception in method virtual System.Void GiftBoxItem::ItemActivate(System.Boolean used, System.Boolean buttonDown) ---> System.ArgumentException: No such field defined in class GiftBoxItem, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null Parameter name: hasUsedGift at HarmonyLib.MethodPatcher.EmitCallParameter (System.Reflection.MethodInfo patch, System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable, System.Boolean allowFirsParamPassthrough, System.Reflection.Emit.LocalBuilder& tmpObjectVar, System.Collections.Generic.List1[T] tmpBoxVars) [0x00325] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher+<>cDisplayClass35_0.b0 (System.Reflection.MethodInfo fix) [0x00070] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher.AddPrefixes (System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable) [0x0001b] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00205] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000bb] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.b10_0 (System.Type type) [0x00007] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.PatchAll () [0x0001b] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at Hax.Loader.LoadHarmonyPatches () [0x0000a] in <8d363126b2204c4d96d9b21766959fc4>:0 [11-01-24 11.34.08] HarmonyLib.HarmonyException: Patching exception in method virtual System.Void GiftBoxItem::ItemActivate(System.Boolean used, System.Boolean buttonDown) ---> System.ArgumentException: No such field defined in class GiftBoxItem, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null Parameter name: hasUsedGift at HarmonyLib.MethodPatcher.EmitCallParameter (System.Reflection.MethodInfo patch, System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable, System.Boolean allowFirsParamPassthrough, System.Reflection.Emit.LocalBuilder& tmpObjectVar, System.Collections.Generic.List1[T] tmpBoxVars) [0x00325] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher+<>cDisplayClass35_0.b0 (System.Reflection.MethodInfo fix) [0x00070] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher.AddPrefixes (System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable) [0x0001b] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00205] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000bb] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.b10_0 (System.Type type) [0x00007] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.PatchAll () [0x0001b] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at Hax.Loader.LoadHarmonyPatches () [0x0000a] in <8d363126b2204c4d96d9b21766959fc4>:0 [11-01-24 11.38.02] HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> System.ArgumentException: No such field defined in class GiftBoxItem Parameter name: hasUsedGift at HarmonyLib.Public.Patching.HarmonyManipulator.EmitCallParameter (System.Reflection.MethodInfo patch, System.Boolean allowFirsParamPassthrough, Mono.Cecil.Cil.VariableDefinition& tmpObjectVar, System.Collections.Generic.List`1[HarmonyLib.Public.Patching.HarmonyManipulator+ArgumentBoxInfo]& tmpBoxVars) [0x002b6] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at HarmonyLib.Public.Patching.HarmonyManipulator.WritePrefixes (HarmonyLib.Internal.Util.ILEmitter+Label returnLabel) [0x00179] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x0022c] in <474744d65d8e460fa08cd5fd82b5d65f>:0 --- End of inner exception stack trace --- at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00378] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at HarmonyLib.Public.Patching.HarmonyManipulator.Process (MonoMod.Cil.ILContext ilContext, System.Reflection.MethodBase originalMethod) [0x00042] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at HarmonyLib.Public.Patching.HarmonyManipulator.Manipulate (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo, MonoMod.Cil.ILContext ctx) [0x00006] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at HarmonyLib.Public.Patching.HarmonyManipulator.Manipulate (System.Reflection.MethodBase original, MonoMod.Cil.ILContext ctx) [0x00007] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at HarmonyLib.Public.Patching.ManagedMethodPatcher.Manipulator (MonoMod.Cil.ILContext ctx) [0x00012] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at MonoMod.Cil.ILContext.Invoke (MonoMod.Cil.ILContext+Manipulator manip) [0x00087] in <6733e342b5b549bba815373898724469>:0 at MonoMod.RuntimeDetour.ILHook+Context.InvokeManipulator (Mono.Cecil.MethodDefinition def, MonoMod.Cil.ILContext+Manipulator cb) [0x00012] in <4e2760c7517c4ea79c633d67e84b319f>:0 at (wrapper dynamic-method) MonoMod.RuntimeDetour.ILHook+Context.DMD<MonoMod.RuntimeDetour.ILHook+Context::Refresh>(MonoMod.RuntimeDetour.ILHook/Context) at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline<MonoMod.RuntimeDetour.ILHook+Context::Refresh>?-1707235126(object) at HarmonyLib.Internal.RuntimeFixes.StackTraceFixes.OnILChainRefresh (System.Object self) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at MonoMod.RuntimeDetour.ILHook.Apply () [0x00059] in <4e2760c7517c4ea79c633d67e84b319f>:0 at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x00047] in <474744d65d8e460fa08cd5fd82b5d65f>:0 --- End of inner exception stack trace --- at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x0005f] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00033] in <474744d65d8e460fa08cd5fd82b5d65f>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x00045] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00095] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at HarmonyLib.Harmony.b11_0 (System.Type type) [0x00007] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at HarmonyLib.Harmony.PatchAll () [0x0001b] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at Hax.Loader.LoadHarmonyPatches () [0x0000a] in <8d363126b2204c4d96d9b21766959fc4>:0 [11-01-24 11.40.47] HarmonyLib.HarmonyException: Patching exception in method virtual System.Void GiftBoxItem::ItemActivate(System.Boolean used, System.Boolean buttonDown) ---> System.ArgumentException: No such field defined in class GiftBoxItem, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null Parameter name: hasUsedGift at HarmonyLib.MethodPatcher.EmitCallParameter (System.Reflection.MethodInfo patch, System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable, System.Boolean allowFirsParamPassthrough, System.Reflection.Emit.LocalBuilder& tmpObjectVar, System.Collections.Generic.List1[T] tmpBoxVars) [0x00325] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher+<>cDisplayClass35_0.b0 (System.Reflection.MethodInfo fix) [0x00070] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher.AddPrefixes (System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable) [0x0001b] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00205] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000bb] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.b10_0 (System.Type type) [0x00007] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.PatchAll () [0x0001b] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at Hax.Loader.LoadHarmonyPatches () [0x0000a] in <8d363126b2204c4d96d9b21766959fc4>:0 [11-01-24 11.42.11] HarmonyLib.HarmonyException: Patching exception in method virtual System.Void GiftBoxItem::ItemActivate(System.Boolean used, System.Boolean buttonDown) ---> System.ArgumentException: No such field defined in class GiftBoxItem, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null Parameter name: hasUsedGift at HarmonyLib.MethodPatcher.EmitCallParameter (System.Reflection.MethodInfo patch, System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable, System.Boolean allowFirsParamPassthrough, System.Reflection.Emit.LocalBuilder& tmpObjectVar, System.Collections.Generic.List1[T] tmpBoxVars) [0x00325] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher+<>cDisplayClass35_0.b0 (System.Reflection.MethodInfo fix) [0x00070] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher.AddPrefixes (System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable) [0x0001b] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00205] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000bb] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.b10_0 (System.Type type) [0x00007] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.PatchAll () [0x0001b] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at Hax.Loader.LoadHarmonyPatches () [0x0000a] in <8d363126b2204c4d96d9b21766959fc4>:0 [11-01-24 11.42.53] HarmonyLib.HarmonyException: Patching exception in method virtual System.Void GiftBoxItem::ItemActivate(System.Boolean used, System.Boolean buttonDown) ---> System.ArgumentException: No such field defined in class GiftBoxItem, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null Parameter name: hasUsedGift at HarmonyLib.MethodPatcher.EmitCallParameter (System.Reflection.MethodInfo patch, System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable, System.Boolean allowFirsParamPassthrough, System.Reflection.Emit.LocalBuilder& tmpObjectVar, System.Collections.Generic.List1[T] tmpBoxVars) [0x00325] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher+<>cDisplayClass35_0.b0 (System.Reflection.MethodInfo fix) [0x00070] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher.AddPrefixes (System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable) [0x0001b] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00205] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000bb] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.b10_0 (System.Type type) [0x00007] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.PatchAll () [0x0001b] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at Hax.Loader.LoadHarmonyPatches () [0x0000a] in <8d363126b2204c4d96d9b21766959fc4>:0 [11-01-24 11.48.05] HarmonyLib.HarmonyException: Patching exception in method virtual System.Void GiftBoxItem::ItemActivate(System.Boolean used, System.Boolean buttonDown) ---> System.ArgumentException: No such field defined in class GiftBoxItem, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null Parameter name: hasUsedGift at HarmonyLib.MethodPatcher.EmitCallParameter (System.Reflection.MethodInfo patch, System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable, System.Boolean allowFirsParamPassthrough, System.Reflection.Emit.LocalBuilder& tmpObjectVar, System.Collections.Generic.List1[T] tmpBoxVars) [0x00325] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher+<>cDisplayClass35_0.b0 (System.Reflection.MethodInfo fix) [0x00070] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher.AddPrefixes (System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable) [0x0001b] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00205] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000bb] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.b10_0 (System.Type type) [0x00007] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.PatchAll () [0x0001b] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at Hax.Loader.LoadHarmonyPatches () [0x0000a] in <3923eac1fa6c45638ce5fa68794f0823>:0 [11-01-24 11.51.08] HarmonyLib.HarmonyException: Patching exception in method virtual System.Void GiftBoxItem::ItemActivate(System.Boolean used, System.Boolean buttonDown) ---> System.ArgumentException: No such field defined in class GiftBoxItem, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null Parameter name: hasUsedGift at HarmonyLib.MethodPatcher.EmitCallParameter (System.Reflection.MethodInfo patch, System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable, System.Boolean allowFirsParamPassthrough, System.Reflection.Emit.LocalBuilder& tmpObjectVar, System.Collections.Generic.List1[T] tmpBoxVars) [0x00325] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher+<>c__DisplayClass35_0.b0 (System.Reflection.MethodInfo fix) [0x00070] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher.AddPrefixes (System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable) [0x0001b] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00205] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000bb] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.b10_0 (System.Type type) [0x00007] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at HarmonyLib.Harmony.PatchAll () [0x0001b] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 at Hax.Loader.LoadHarmonyPatches () [0x0000a] in <3923eac1fa6c45638ce5fa68794f0823>:0

AND THIS IS FROM TERMINAL WHEN I INJECT

image

Acknowledgement

winstxnhdw commented 5 months ago

Looks like you aren't on the latest version of Lethal Company.

Sytxx commented 5 months ago

Looks like you aren't on the latest version of Lethal Company.

ahh sry i am currently using v45, last time i checked Steam and LC get an update. So yaa i will try update version, thx for replying 🙏

Sytxx commented 5 months ago

ok now its working for v47, can i get the latest build fort v45 pls ?

winstxnhdw commented 5 months ago

Why do you want the build for v45?