winstxnhdw / lc-hax

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

Game crashes after injection #7

Closed M4gnuson closed 9 months ago

M4gnuson commented 9 months ago

I'm using the same injector as yours. Error: Injection failed: mono_object_get_class() returned NULL. Namespace: Hax Class: Loader Method: Load

winstxnhdw commented 9 months ago

Make sure you are on the latest commit. I just fixed that more than an hour ago.

M4gnuson commented 9 months ago

Make sure you are on the latest commit. I just fixed that more than an hour ago.

Yes, I checked. The error is still there

Time has passed 00:00:00.88 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)

winstxnhdw commented 9 months ago

Are you using my injector or are you using some other version of SharpMonoInjector?

M4gnuson commented 9 months ago

Are you using my injector or are you using some other version of SharpMonoInjector?

Is yours

winstxnhdw commented 9 months ago

Strange. I have no clue. My friends and I are running it fine right now. Can you go to your steamapps\common\Lethal Company folder and send the lc-hax.log if any?

M4gnuson commented 9 months ago

Strange. I have no clue. My friends and I are running it fine right now. Can you go to your steamapps\common\Lethal Company folder and send the lc-hax.log if any?

There is no such(lc-hax.log)

M4gnuson commented 9 months ago

I reinstalled the game. He got injected. Are there any keys to open the console?

winstxnhdw commented 9 months ago

We use the in-game chat as a console.

FatFishFF commented 7 months ago

greeting,i met the same question i checked my game file and discovered "lc-hax.log" but still crash after inj 88d4cfe84f2e5c6b608262646f18c190 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)

winstxnhdw commented 7 months ago

Send the log.