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

How can i debug the hax after injecting to game? or such like 'hot reload'. #13

Closed GazzyLifeSense closed 11 months ago

GazzyLifeSense commented 11 months ago

I am a starter learning to make hax like this, could u tell me how can i make a hot reload when modifying the code after injecting to game to apply changes. I try to eject the DLL and inject again, but usually, it cause game crash, and it waste more time.

winstxnhdw commented 11 months ago

Hot reloading depends on the injector. Currently, all versions of SharpMonoInjector, including my (superior) fork, does not unload the assembly safely. One day I might get around to fixing it, but for now, I have no idea why it does so.