project for newbies?

Posts 17 of 7 · Page 1 of 1
project for newbies?
Ha everyone,
I just took a c++ class this semester and summer is around the corner. I figured it would be nice if I can apply my learning into game "hacking" so I am wondering where should I start?
I mean i've used cheat engine and wpe and all but never actually "create" any workable cheat.
I am playing a moba game called smite and will wallhacking this game be a good place to start?
Or maybe there are so expert out there need some help to do the tedious work?
Nice job on completing the course! You should try making basic hacks for Microsoft's pinball. It would get you familiar with reading and writing memory (something you may have covered in your class).
A fairly basic hack will incorporate these topics

1. Find the game functions otherwise you will have to browse forums and find the addresses that way.
a. Find game variables which are commonly in data structures.
2. Hooking (Google Microsoft Detours)
3. Many games are packed, so you may have to dive into that realm if your game requires it. If its a common packer then there should by and Olly script for it.
4. Dll Injection (of course)

Each one of these can be extensively explored. I recommend making your own console application and
1. Find all of your functions
2. Inject it with a dll
3. Hook a function or two

Once you have gone through and understand the WinAPI calls then take a look at source code for game hacks to learn how they are applied to games. Keep in mind this may take a while, like a week or two.

Every game is different and may require you to reverse it, which may be a bitch if you haven't had a computer architecture class. There are actually books on amazon for reversing which are helpful. The reason I bring reversing up is that sometimes you have to examine the anti-cheat system. You can hook a critical function and modify the check. Many of these systems are advanced and send out a heartbeat to a server, so you may need to even replicate that which would require messing with sockets. I know the boost library has a library which abstracts sockets nicely. Otherwise just work with berkely sockets, its not as bad as people make it out to be.

Oh yeah. if you want to remain undetected look into kernel programming and inject your stuff from ring 0. This is a long and tedious path.
Start with something simple like hacking minesweeper or calculator. Use cheat engine to look for a specific value, then try to find and modify it through your hack. At this point the two most important functions that you need to learn how to use are ReadProcessMemory and WriteProcessMemory. Once you understand them and use easily you may proceed to more complex things.

Once you think you are ready for trying advanced techniques you will have to learn at least a little bit of reverse engineering. For making complex hacks you will need to know how the targeted game works, it's general structure, main functions, etc. Since most likely there won't be a source code nicely explaining you everything that would be a quite challenging task to complete.
Thanking for all the advice. memory is the bitch. I didn't really learn a lot in class about memory except pointer and dynamic array. Any tutorial or video or book that you guys find helpful when you guys are starting game hacking?
I know it is gonna be long but I am really into it and motivated and excited about it.
You may try the tutorial below for RPM/WPM, but personally I find it too overcomplicated and it's also for C only. It can give you a general idea, but same thing could be achieved much more elegantly and with a lot less code.

Quote Originally Posted by d1spenser View Post
You may try the tutorial below for RPM/WPM, but personally I find it too overcomplicated and it's also for C only. It can give you a general idea, but same thing could be achieved much more elegantly and with a lot less code.

You find that complicated? It's basic WinAPI usage and single linked-list structures...
Quote Originally Posted by Hitokiri~ View Post


You find that complicated? It's basic WinAPI usage and single linked-list structures...
Perhaps you should have reread my previous post. I was meaning that he uses a lot of unnecessary things in his code for such a simple task. What this guy does with 500 lines of code I do with only around 50.
Posts 17 of 7 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?