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

Launch issue CA1838 / SharpMonoInjector.exe #229

Closed Tkachpavl closed 8 months ago

Tkachpavl commented 8 months ago

What happened?

Hello, im trying to launch requirements.bat and always getting error CA1838: Avoid StringBuilder parameters for P/Invokes. Is it compiler/injector issue (not a programmer so idk what i say xD)? Could launch cheat only 2 random times thru a lot of tries, one is when launching launch.bat without error of missing SharpMonoInjector.exe (worked only once) and other dont remember which bat but nvm

изображение_2024-01-11_070732289

Current Commit Hash

24e19e94027a08875d5d81e0c3417aa6507ced02

Injector

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

No response

Log output

No response

Acknowledgement

winstxnhdw commented 8 months ago

you can ignore that warning. you only need the two bat files in the README.

Tkachpavl commented 8 months ago

as i read requirements.bat adds SharpMonoInjector.exe but seems like it doesnt, so i get that error with missing SharpMonoInjector.exe. antivirus didn`t delete it. Watched all the :issues and :discussions. I can do everything again and write my steps if needed

winstxnhdw commented 8 months ago

send me your terminal screenshots of launch.bat

Tkachpavl commented 8 months ago

yes think i have git, installed it like 4 months ago

image

image

winstxnhdw commented 8 months ago

When you run requirements.bat, is SharpMonoInjector.exe created under your submodules?

winstxnhdw commented 8 months ago

Run requirements.bat and send a screenshot

Tkachpavl commented 8 months ago

nope, just folders bin dist and obj creating

image

winstxnhdw commented 8 months ago

bro, it hasn't even finished building 😭

Tkachpavl commented 8 months ago

oh XD i forgot it takes longer then 2 seconds, ive just checked already

image

winstxnhdw commented 8 months ago

good, should be inside the dist folder. it should work now.

Tkachpavl commented 8 months ago

oh haha, hidden shi, i thought its supposed to be in SharpMonoInjectorCore but not in dist. Thanks:)