Game hacking with C# possible/recommendable?

Posts 1–5 of 5 · Page 1 of 1
Game hacking with C# possible/recommendable?
Hello guys, newbie here.

I know a bit of Python and C#. Every forum I read about game hacking suggest that c++ is the best tool for the job.
But as I know the basics of C#, I was wondering if I had more grasp into the language, could I code game hacks the same as C++? What would be the difference if its possible?
It is possible. But you still need knowledge on how pointers work (at least if you want to make an internal cheat). You'll also need to keep in mind that if you're going to create an external cheat that uses WinAPI functions, your program will be a little slower as marshalling between native and C# types is required.. for using C# inside a native process (for internal cheats) you'll need to load the CLR first, then load your assembly into the process and call an entry point. From there you can basically do everything with the memory you want..

Some useful links:
https://www.mpgh.net/forum/showthread.php?t=673116
https://www.mpgh.net/forum/showthread.php?t=712359
(this guy really spent some time making a cheat using C#, might as well check his other threads regarding problems etc.)

https://github.com/biesigrr/clrbtstrp
(made this myself to load .NET assemblies into native processes and call a function inside of them)
Possible -> Yes with limits
Recommended -> No
Quote Originally Posted by OGAbison View Post
Hello guys, newbie here.

I know a bit of Python and C#. Every forum I read about game hacking suggest that c++ is the best tool for the job.
But as I know the basics of C#, I was wondering if I had more grasp into the language, could I code game hacks the same as C++? What would be the difference if its possible?
They suggest it because of the speed but it's also the most difficult language and you need to be able handle memory management. You need to fully understand how memory works if you go with C++.

I am not sure is linking to other similar forum or mentioning about them allowed here. There are plenty of sources available to start with ...

Google for something like "external overlay" to get started with.
yes you can.
external progs in C# are not that smooth but so easier.
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Talk with us