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

error injecting in 45v game #238

Closed Xacker-Volk closed 5 months ago

Xacker-Volk commented 5 months ago

the previous version of the cheat worked on the 45th version of the game, but when I saw that new features were added, I reinstalled the cheat, now I have an injection error

Injection failed: SharpMonoInjector.InjectorException: mono_object_get_class() returned NULL at SharpMonoInjector.Injector.ThrowIfNull(IntPtr ptr, String methodName) at SharpMonoInjector.Injector.GetClassName(IntPtr monoObject) at SharpMonoInjector.Injector.RuntimeInvoke(IntPtr method) at SharpMonoInjector.Injector.Inject(Byte[] rawAssembly, String namespace, String className, String methodName) at Program.<

$>g__Inject|0_0(String targetProcess, FileInfo assembly, String loaderNamespace, String loaderClass, String loaderMethod)

How can I fix it? Thanks for attention.

Quesoteric commented 5 months ago

Try using a github commit pre-47 like f5b57bf

Or alternatively just update your game to v49 lol

winstxnhdw commented 5 months ago

Is it normal for people to play on an older version?

Quesoteric commented 5 months ago

I guess impatient people that don't want to wait for creators to update their mods

winstxnhdw commented 5 months ago

I see