MPGH - MultiPlayer Game Hacking


Go Back   MPGH - MultiPlayer Game Hacking > Programming > C++/C

Closed Thread
 
Thread Tools Display Modes
Old 10-14-2009   #1
Game Hacking Team JR
Game Hacking Team JR
 
why06's Avatar
 
Join Date: Jul 2009
Location: Behind you....always o_O?!
Gender: male
Posts: 3,146
Thanks: 753
Thanked 1,130 Times in 433 Posts
why06 is on a distinguished road
Credits: 24,972, Level: 28
Credits: 24,972, Level: 28 Credits: 24,972, Level: 28 Credits: 24,972, Level: 28
Activity: 1%
Activity: 1% Activity: 1% Activity: 1%
Send a message via MSN to why06 Send a message via Yahoo to why06
[Guide]Beginner Concepts of Game Hacking

Beginner
Concepts of Gamehacking

  • Prerequisites
  • Introduction
  • DirectX
  • Memory Hacking
  • Trainer Making (Under Construction)

Prerequisites:
It is absolutely VITAL that one have a very good understanding of the Basics of C++ before they even think about beginning gamehacking with C++. It is especially important to understand pointers. The whole concept of gamehacking relies heavily on the idea of pointers. Assuming one already has a basic understanding of C++ let's begin.

Introduction:
If you thought this part would be any easier then learning the basics of C++ then you are grossly mistaken. It is now having a basic understanding of C++ that you will learn how to actually apply that knowledge to create hacks. By the end of completing and understanding these beginner concepts you should understand memory hacks and enough D3D to build on more advanced concepts etc. Of course the real limit of what you can do is only limited by your skill and proficiency. This Guide covers DirectX and MemoryHacking. I find OpenGL is mainly used in older games, so I will not be writing up anything on that. This Guide will grow and develop along with my own growth as a gamehacker as well as others. What this guide will not include or cover are AddressLoggers, StrideLoggers or Development of a UCE. These concepts require a mastery of DirectX and MemoryHacking which you should develop here. One thing you should realize is that certain games have hack-detctions software (PunkBusters, Hacksheild, etc.) So you might not be able to apply these concepts on popular games, without a bypass. Luckily there are many free games out there with virtually no hack protection that we can use to apply these concepts; I will list some of these games herein.


DirectX

DirectX is the SDK that most modern games use to create 3D shapes,objects,etc. Combat Arms, WarRock, and pretty much every new game uses DirectX. So if you want to hack a game programmed in DirectX it's probably a good idea to learn DirectX. In fact it would be nearly impossible to make hacks such as chams, crosshairs, wallhacks, etc. without some knowledge of DirectX. One think you should know is that DirectX uses the Windows API. Now it's not that important to learn the whole API. YOu should only need a small portion of it. All that being said: this section will lists some resources for learning DirectX.

The DirectX SDK August 2009
DOWNLOAD THE SDK



DirectX Programming Books :

Beginning Game Programming, Second Edition Beginning Game Programming, Second Edition
This actually seems like a very good book. I had a chance to glance at one in the bookstore the other day. Basically it teaches you the little bit about the Windows API you need to know to be able to start programming in DirectX. I plan on buying it myself when I have a chance.

Learn DirectX Online:
If you choose not to get a book then your going to have to piece together how much stuff you need to know about Win32 API to understand DirectX. These are some good links found just surfing around the net here and there:

DirectX Links:
Toymaker's Game Programming I don't think it's the actual Toymaker, but if your not learning from a book, this website is about as good as your ever going to get. 5/5
DirectX Tutorial Incomplete tutorial
CodeSampler.com - The Absolute Beginner's Guide to Direct3D Incomplete tutorial
OldSchoolHack - Tutorial Database - find all you are need to know everything There's a little of everything here. DirectX too.

WinAPI Links:
Windows_Programming This Wiki Book takes the cake, every good online starter to WinAPI Programming.
theForger's Win32 API Tutorial A good tutorial.
Create a Basic Window Has very good reviews.
Windows API Tutorial There really are not that many good Win32 tutorials out there.

Tools for DirectX
Jetamay's D3D Form Class For D3D9. Helps in manipulation of DirectX objects.
Rarus' Texture Logger Posted by Matrix_NEO006

Memory Hacking

Memory Hacking is an important concept in gamehacking. It involves the use of a memory scanning tool, such as Cheat Engine (created by: Dark_Byte), Memory Hacking Software (created by: L.Spiro), or another program to scan the memory space of a program in search of certain values that may be of interest to us gamehackers. After running a scan the software will then proceed to give us a list of memory addresses that contain those values. Now the real trick here is learning how to use these popular Memory Hacking Softwares effectively.
That means knowing what value your looking for, understanding how certain values are stored, and locating DMA(Dynamic Memory Allocation) values, or values that change addresses spaces as the program is started up each time or sometimes even round to round, depending what kind of game. It is crucial to figure how memory is allocated and how these softwares work in order to speed up a otherwise lengthy process.

L.Spiro's Memory Hacking Software
DOWNLOAD MHS
Dark_Byte's Cheat Engine DOWNLOAD CE

Understanding Memory Searching:
Memory Searching Tutorials
I know this is just a like to CE.org, but this site contains tons of tutorials on everything from finding pointers, DMA, Auto assembler, etc.


Server Sided vs. Client sided
- by: rwkeith
Explains the difference between and why they are important to memory hacking.


Memory Hacking Tools:
Jetamay's cAddressTable A class for manipulating addresses in C++.


Using Cheat Engine:
CheatEngine.org Dark_Byte's website, has tons of information about CE.
Matrix_NEO006's C++ Code Injection Turorial Credits go to Teneb.
Using Memory Hacking Software:
MHS Tutorials L.Spiro's forum for MHS. This is their tutorial forum.

Trainer Making:
MFC TUTORIAL- Collection of Youtube videos, by our very own: Matrix_NEO006






UNDER CONSTRUCTION.
Credits:
Jetamay
Matrix_NEO006
rwkeith
__________________
Current Status: Experimenting with Vectored Exception Handlers.

Sorry HD, it seems like imageshack deleted my image. must have just been too fkin awesome for the internet =/

Last edited by why06; 03-13-2010 at 08:27 AM.. Reason: added MatrixNEO006's tuts on MFC
why06 is offline  
The Following 30 Users Say Thank You to why06 For This Useful Post:
-XpliCitt- (10-22-2009), AlienwareCA (07-09-2010), alinisme (03-10-2010), Alroundeath (06-27-2010), andoroid18 (12-18-2009), crushed (10-17-2009), dddrrr (06-15-2010), Drake` (05-29-2010), fuked (06-29-2010), geebes888 (10-16-2009), germanhacker (04-30-2010), h4x0rswln is back (12-19-2009), [MPGH]Hell_Demon (10-17-2009), I-JlStepper-I (07-09-2010), IanIsRich (07-11-2010), jokerskull123 (01-17-2010), jonnyboy9985 (2 Weeks Ago), ladathion (07-25-2010), [MPGH]Liz (10-16-2009), [MPGH]lolland (10-14-2009), Marsicano (10-16-2009), Matrix_NEO006 (10-14-2009), [MPGH]Obama (10-14-2009), origami7795 (12-15-2009), outspark4 (06-24-2010), Sneakzy (04-28-2010), thekm1994 (06-10-2010), Toxic Waltz (07-20-2010), XGelite (10-14-2009), Zhhot (11-22-2009)
Sponsored Links
Old 10-14-2009   #2
Dual-Keyboard Member
 
rwkeith's Avatar
 
Join Date: Jul 2008
Gender: male
Posts: 446
Thanks: 52
Thanked 70 Times in 49 Posts
My Mood: Angelic
rwkeith is on a distinguished road
Good stuff, but be sure to explain the abbreviations such as SDK or Windows API. An SDK is a software development kit. Which is used in the software devolpment of several games. Windows API is also known as Application programming interface. You as a programmer sends commands to the API through a compiler and the API interprets the information. Now that's all cleared up this is a good guide. I see several mini-guides though. =( Making a very large detailed would be best, but I don't have the spare time unfortunately.
__________________
Goals In Life:
[X] Become an Advanced Member
[X]Release a tut on mpgh
[0]Post 300 posts
[X]Make a working hack
[X] Learn c++
rwkeith is offline  
The Following User Says Thank You to rwkeith For This Useful Post:
[MPGH]why06 (10-14-2009)
Old 10-14-2009   #3
Synthetic Hacker
 
XGelite's Avatar
 
Join Date: Mar 2009
Location: Enter text here
Gender: male
Posts: 1,353
Thanks: 246
Thanked 137 Times in 88 Posts
XGelite is on a distinguished road
Credits: 5,174, Level: 17
Credits: 5,174, Level: 17 Credits: 5,174, Level: 17 Credits: 5,174, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Send a message via MSN to XGelite
Thanks. you can find all this stuff in the 1st page of google. not that anyone searches google these days...... >:[
__________________




Can I make it on my own?
Will I ever feel my limbs again?
Is this all in my mind?
Can I make it on my own?
Will I ever feel that way again?
Am I losing my mind?






DIRECTX IN VB.NET

xgelite@hotmail.com
XGelite is offline  
Old 10-14-2009   #4
NextGen1's name is Richard.
Minionforce
 
lolland's Avatar
 
Join Date: Feb 2009
Location: Lolland!
Gender: male
Posts: 2,340
Thanks: 348
Thanked 521 Times in 337 Posts
My Mood: Yeehaw
lolland is on a distinguished road
Credits: 12,039, Level: 22
Credits: 12,039, Level: 22 Credits: 12,039, Level: 22 Credits: 12,039, Level: 22
Activity: 5%
Activity: 5% Activity: 5% Activity: 5%
Whats the google?
Thanks for this guide man. Although I would like to know if that is actually toymaker's site.
__________________
MSN: mpghlolland@hotmail.ca
Quote:
Originally Posted by NextGen1 View Post
Thats just how we roll
Quote:
Originally Posted by NextGen1 View Post

Homie don't play that


lolland is offline  
Old 10-14-2009   #5
Expert Member
 
zeco's Avatar
 
Join Date: Jul 2009
Location: MyRoom, Canada
Gender: male
Posts: 672
Thanks: 48
Thanked 75 Times in 59 Posts
My Mood: Cynical
zeco is on a distinguished road
Credits: 2,554, Level: 13
Credits: 2,554, Level: 13 Credits: 2,554, Level: 13 Credits: 2,554, Level: 13
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
I love google. I want it to have my kids +D
__________________
Goals:
[ ] Start Learning C++
[ ] Have a good grasp of C++
[ ] Begin Assembly assembly
[ ] Java
[ ] Start Learning Python\Perl\Lisp\PHP\(Going to learn all)


Quote:
Originally Posted by why06 View Post
Quote:
Originally Posted by zeco View Post
>_> I hope all i've learned over the summer doesn't rot due to school.
That's the most paradoxical statement I've ever heard. No lie o_O


zeco is offline  
Old 10-14-2009   #6
Game Hacking Team JR
Game Hacking Team JR
Threadstarter
 
why06's Avatar
 
Join Date: Jul 2009
Location: Behind you....always o_O?!
Gender: male
Posts: 3,146
Thanks: 753
Thanked 1,130 Times in 433 Posts
why06 is on a distinguished road
Credits: 24,972, Level: 28
Credits: 24,972, Level: 28 Credits: 24,972, Level: 28 Credits: 24,972, Level: 28
Activity: 1%
Activity: 1% Activity: 1% Activity: 1%
Send a message via MSN to why06 Send a message via Yahoo to why06
Quote:
Originally Posted by rwkeith View Post
Good stuff, but be sure to explain the abbreviations such as SDK or Windows API. An SDK is a software development kit. Which is used in the software devolpment of several games. Windows API is also known as Application programming interface. You as a programmer sends commands to the API through a compiler and the API interprets the information. Now that's all cleared up this is a good guide. I see several mini-guides though. =( Making a very large detailed would be best, but I don't have the spare time unfortunately.
Thanks rwkeith. I'm think I'm going to have to combine all of them together. Also I think I will try to add things like: "What is an SDK?" etc. to the FAQ. The good thing about the FAQ is it allows other users to contribute, which makes for a better guide and lightens the load.

I've still got to add a lot of other stuff to this.

@zeco: You want every website to have your kids >_>...
__________________
Current Status: Experimenting with Vectored Exception Handlers.

Sorry HD, it seems like imageshack deleted my image. must have just been too fkin awesome for the internet =/
why06 is offline  
Old 10-14-2009   #7
Dual-Keyboard Member
 
Zhhot's Avatar
 
Join Date: Aug 2009
Location: Vancouver
Gender: male
Posts: 315
Thanks: 14
Thanked 47 Times in 20 Posts
My Mood: Inspired
Zhhot is on a distinguished road
Credits: 3,282, Level: 15
Credits: 3,282, Level: 15 Credits: 3,282, Level: 15 Credits: 3,282, Level: 15
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
nice guides, im trynna get the ebook for the first one lol
__________________

Please thank me if I helped you in anyway.
Rep me and I'll rep you back.
Pm me and I will be glad to help.
Zhhot is offline  
Old 10-15-2009   #8
H4X0R Member
 
Matrix_NEO006's Avatar
 
Join Date: Feb 2008
Gender: male
Posts: 240
Thanks: 45
Thanked 28 Times in 23 Posts
My Mood: Lonely
Matrix_NEO006 is on a distinguished road
arent u gonna make this sticky
Matrix_NEO006 is offline  
Old 10-16-2009   #9
H4X0R Member
 
geebes888's Avatar
 
Join Date: Dec 2008
Gender: male
Posts: 150
Thanks: 16
Thanked 17 Times in 12 Posts
My Mood: Sneaky
geebes888 is on a distinguished road
Credits: 1,555, Level: 11
Credits: 1,555, Level: 11 Credits: 1,555, Level: 11 Credits: 1,555, Level: 11
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Man nice guide but atm i'm learning c++ from a really good guide but ill consider doing this later.
__________________


-Advertisements(Permanent ban)
-Flaming(1+ day ban)
-Nazi or Racist content/comments ( 5+ day ban)
-Bumping old threads 1 week or older( 3 day ban)
-Using outside download sources "Links"( 3+ day ban)
-Spamming( 1+ day ban) -Begging for hacks ( 1 day ban)-
No virus scan( 1 day ban)
-Fake VirusScan ( 7+ day ban) -Posting Viruses,keyloggers (permanent ban) -
Disrespect of Staff members (5+ day ban)




OMfG i hate hate noobs that ask for hacks they shuld just go in a hole and die

Thank me if i helped, or just thank me anyway


[Respect list]

Toymaker- for his crack hacking team.

[MPGH]-XpliCitt-

[MPGH]User1

[MPGH]Liz

[MPGH]Whitten
geebes888 is offline  
The Following User Says Thank You to geebes888 For This Useful Post:
iislight (06-01-2010)
Old 10-16-2009   #10
Staff Administrator
 
Liz's Avatar
 
Join Date: Feb 2009
Location: Somewhere B/w NY & Miami
Gender: female
Posts: 7,191
Thanks: 407
Thanked 3,437 Times in 1,367 Posts
My Mood: Cynical
Liz will become famous soon enough
Credits: 33,950, Level: 31
Credits: 33,950, Level: 31 Credits: 33,950, Level: 31 Credits: 33,950, Level: 31
Activity: 4%
Activity: 4% Activity: 4% Activity: 4%
sexy sexy,why06 do you code hacks?
__________________

Because I am a woman, I must make unusual efforts to succeed. If I fail, no one will say, "She doesn't have what it takes." They will say, "Women don't have what it takes." ~Clare Boothe Luce

Click this to help expand this VoidFront colony!


Gifts/Requests
Want to know why your thread/post was deleted/closed/moved read Here
Stupid PMs=spam, spam=ban. Save yourself the trouble.
Liz is offline  
Closed Thread
  

Bookmarks

Tags
concepts, gamehacking, intermediate

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 04:01 AM.

no new posts