winstxnhdw / lc-hax

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

[Bug]: The system cannot execute the specified program. #104

Closed Batlez closed 10 months ago

Batlez commented 10 months ago

What happened?

Whenever I run launch.bat, I get this error:

`MSBuild version 17.8.3+195e7f5a3 for .NET Determining projects to restore... Restored C:\Users\coope\Downloads\PortableGit\lc-hax\lc-hax\lc-hax.csproj (in 295 ms). lc-hax -> C:\Users\coope\Downloads\PortableGit\lc-hax\bin\lc-hax.dll

Build succeeded. 0 Warning(s) 0 Error(s)

Time Elapsed 00:00:01.19 The system cannot execute the specified program.`

I was able to run this yesterday. I have .NET 8.0, and I did the git clone and the requirements, but afterwards I run launch.bat it says it can't execute the specified path. Please help!

Current Commit Hash

768442071ac79412eddfa4ddd39ba15fc3580bc0

Injector

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

No response

Log output

[27-12-23 22:24:17] System.NullReferenceException: Object reference not set to an instance of an object at Hax.EntranceCommand.Execute (System.String[] args) [0x00007] in <9016aef4fcf74f4191d72aacf017ae35>:0 at Hax.Console.ExecuteCommand (System.String[] args) [0x00048] in <9016aef4fcf74f4191d72aacf017ae35>:0 at Hax.Console.ExecuteCommand (System.String command) [0x00015] in <9016aef4fcf74f4191d72aacf017ae35>:0 at Hax.ConsolePatch+<>c__DisplayClass0_0.b__0 () [0x00000] in <9016aef4fcf74f4191d72aacf017ae35>:0 at Hax.Helper.Try (System.Action function, System.Action`1[T] onError) [0x00000] in <9016aef4fcf74f4191d72aacf017ae35>:0

Acknowledgement

winstxnhdw commented 10 months ago

Looks like a antivirus issue. You should check if Windows defender has removed SharpMonoInjectorCore.

Batlez commented 10 months ago

Honestly, it could've been. I added it as an exclusion, and then I retried it by downloading it again, and it seems to be working now. Thanks!

winstxnhdw commented 10 months ago

No need to re-download it again. Just re-run requirements.bat next time.