c# dll Not Running Code After Inject
I have been making external cheats for a while but I have never tested them online because I don't want to waste $10 on an account jest getting vacced.
I was almost ready to test my external online.
Then I read a post on MPGH about vac detects open handles (for RPM and WPM(I don't use)) I figure that if I modify my c# external into a dll and inject it into something that vac commonly sees with an open handle like "game booster" and such.
That it will be harder to detect (Please correct me if that line of thinking is incorrect).
So the overall plan is to:
1. Modify my external .exe cheat into a dll (Done).
2. Inject it into a process (Done. Injector works)
3. Modify game memory from the program I injected into such as gamebooster
The issue is after injecting the c# dll into the process e.g. (game booster) the code in the c# dll does not run.
The injector works for sure because I injected a simple c++ message box dll into game booster and the code ran.
After googling around I learned that I need to use a c++ "wrapper" to run the c# dlls after they are injected but I can't seem to find any more info on how to actually do it.
So in final I have 2 questions
1. Assuming no C+P, if I leave my cheat as external e.g. ( Standalone .exe file) and use a heavily modified public memory library would it be detected right away?
or
2. How can I make the c# dll's code run after injection with a c++ wrapper.
Sorry for the long post, but after I'm done coding my cheat I might just put it on mpgh because of all the resources that have helped me on here. Im very thankful to have learned so much over the past few months.
I was almost ready to test my external online.
Then I read a post on MPGH about vac detects open handles (for RPM and WPM(I don't use)) I figure that if I modify my c# external into a dll and inject it into something that vac commonly sees with an open handle like "game booster" and such.
That it will be harder to detect (Please correct me if that line of thinking is incorrect).
So the overall plan is to:
1. Modify my external .exe cheat into a dll (Done).
2. Inject it into a process (Done. Injector works)
3. Modify game memory from the program I injected into such as gamebooster
The issue is after injecting the c# dll into the process e.g. (game booster) the code in the c# dll does not run.
The injector works for sure because I injected a simple c++ message box dll into game booster and the code ran.
After googling around I learned that I need to use a c++ "wrapper" to run the c# dlls after they are injected but I can't seem to find any more info on how to actually do it.
So in final I have 2 questions
1. Assuming no C+P, if I leave my cheat as external e.g. ( Standalone .exe file) and use a heavily modified public memory library would it be detected right away?
or
2. How can I make the c# dll's code run after injection with a c++ wrapper.
Sorry for the long post, but after I'm done coding my cheat I might just put it on mpgh because of all the resources that have helped me on here. Im very thankful to have learned so much over the past few months.

