Simple-Manual-Map-Injector icon indicating copy to clipboard operation
Simple-Manual-Map-Injector copied to clipboard

When building the injector in debug mode, the game crashes; however, in release mode, it works fine and doesn't cause any issues.

Open woruteyqi opened this issue 1 year ago • 3 comments

why?

woruteyqi avatar Dec 09 '23 15:12 woruteyqi

assuming your speaking about cs2, debug requires "-insecure" to be enabled in the game properties on steam while release doesn't. < Unless they changed it then I'm not sure

Dufiw avatar Dec 17 '23 01:12 Dufiw

assuming your speaking about cs2, debug requires "-insecure" to be enabled in the game properties on steam while release doesn't. < Unless they changed it then I'm not sure

i just inject a very simple DLL that just do show a messagebox when injected,the target process is a DX12 sample

woruteyqi avatar Dec 17 '23 04:12 woruteyqi

Probably (I don't have any computer in front to check) when you build in debug mode the injector get optimized for debugging setting jumps for every function etc and when injector tries to copy the shell code into the game is jus copying a jump and other bytes which is incorrect, an alternative could be dump the shellcode when build on release and use as array of bytes

TheCruZ avatar Dec 17 '23 08:12 TheCruZ