[Release] A Chuck E Attempt - Orcs Must Die 2 Trainer (incl. source)
Orcs Must Die 2
(game version 220.127.116.119)
A Chuck E Attempt
Here is my first game trainer. Hopefully one of many, although I want to go on to creating aimbots, ESP, wallhacks and the like for FPS games soon'ish.
It was initially built on Fleep's console trainer from the tutorials. I added a GUI, and I only used standard C++ and the Windows API. No other libraries, or visual design aids of IDE's, or the use of the Resource file.
I wanted to see if I could stick it out with the API and I just about managed to do it!
I've not bothered with an object orientated approach with this, because initially I just wanted to get a trainer up and running quickish, and in the end the program is not complex enough to warrant an OO approach anyway.
For my second trainer I will aim to include non square controls, and to create the executable's icon pragmatically (edit: embedded resources needed!).
Here I have included 2 images of the GUI, so that you can see the messages that inform you if the trainer is connected to the game or not, as their meaning may not be that obvious:
Successful connection to the game
You need to read what the orc tells you, in order to see if the connection was a success
Failed attempt to connect to the game
Cheeky orc !
Make sure the executable and its images are in the same folder.
To run this you only need:
MS Widows 32bit or 64bit O/S
Orcs Must Die 2, version 18.104.22.1689 (currently the latest on Steam)
I have included the executable and the source file for you to enjoy and hopefully/possibly learn from.
You only need the source file plus images to create your own trainer. Use whatever compiler to turn it into an executable.
- Just acquire the addresses you need to apply the hacks to for your chosen game.
- Set the values you want to apply to the addresses (hex).
- Create your own images and set their coordinates and dimensions in the code, then
- use whatever compiler/linker to turn it into an executable.
virustotal was not working, so I used vscan.novirusthanks!
Last edited by Chuck E; 01-24-2013 at 03:45 AM.
Reason: grammatical errors
Post Thanks / Like - 1 Thanks
Nice Release man
Approved, good job
Originally Posted by Praxeus
Thanks guys, now I need a freaking holiday.... total respect to the guys in the past who only had the Windows API to program with!
Originally Posted by c5
It wouldn't have been so bad if the MSDN pages were actually useful, but I suppose a lot of it on my part was inexperience in using them... I am hoping that is the case, because I would like to stick with just using that API.... HARDCORE! well, felt like it :P
Now telly time for me chill and some The Big bang theory + Community... maybe also some Lost Girl... yum yum
You won't get free so easily man. I'll toss a new challenge at you. Add the bitmaps/images used by the trainer as a resource to the exe so they don't need to be included separately as files, and load them from there, if you are in trouble, look up for resource embedding from the internet
(Seeing as I've put you back to work, I'm off to see some TV, episode of "Revenge" starting in a bit, dayumn Emily Vancamp is hot there)
I know how to do that with VS, but that's easy. If that can be done programmatically then I'll do that, but will look into it tomorrow
Hmm, "Revenge", must check that out....
Last edited by Chuck E; 01-23-2013 at 04:21 PM.
Reason: spelling mistake
i love that speech bubble idea
Thanks, Crypt. A critical view of the structure is very much appreciated... doubly so since it is good news
I'll look into creating another from tomorrow, and include things like non square controls, and the embedded resources mentioned by C5. Just need to come up with a game for the next trainer
Last edited by Chuck E; 01-23-2013 at 04:22 PM.
Nice code. I like how you programmed the Win32 yourself. I used to do some minor Win32 back in the day, but I quit using it. Probably should get back into using it, or at least parts of it. Great Trainer!!!
Originally Posted by keptix
Yeah, I was stubborn (VERY), and managed to stick to using just the Win32 API. Feels great now, but man it was a nightmare at times. Now I have solved how to do certain things for myself, I have that knowledge to take to other projects The aim being now to not venture outside of the Win32 API if I can help it. It does give you a sense of power.
One thing though, sticking with the Win32 API, I can see it will be very beneficial to create classes for some of these things, in order to make their use less cumbersome and to reduce the amount of code (e.g. control/window creation).... OO approach will be needed once I go beyond trainers
I know there is the MFC, but I'd rather create my own.... results in a greater feeling of achievement.
Geez, I just read over the first post, and man, I make lots of grammatical errors. I knew I should have waited till this morning to create the thread. Damn tired by the end of yesterday, lol.
Coffee'd up and ready to rumble now.... BRING IT ON hacking world!