1. Question: How do I convert hexadecimal numbers to decimal

Decimal means 10
Hex means 6
Octo means 8
Binary means 2

Decimal has a base of 10, which means there are 10 numbers that fit into 1 'slot':
0,1,2,3,4,5,6,7,8,9

Hex(adecimal) has a base of 16 which means that there are 16 'numbers' that fit into 1 'slot':
0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0x C,0xD,0xE,0xF

Octal has a base of 8, which means there are 8 numbers that fit into 1 'slot':
0,1,2,3,4,5,6,7

Binary has a base of 2, which means there are only 2 numbers that fit into 1 'slot':
0 and 1

converting any of these to decimal is easy, start at the right and work back to the left:

hex example:
0xAF
for F we need to move 0 to the left.
so the F has a value of 15*16^0, 16^0 is 1, so its 15
for A we need to move 1 to the left.
so the A has a value of 10*16^1, 16^1 is 16, so its 10*16 = 160
160+15=175
so 0xAF is 175 in decimal.

octal example:
123
for the 3 we need to move 0 to the left.
so the 3 has a value of 3*8^0, 8^0 is 1, so its 3
for the 2 we have to move 1 to the left.
so the 2 has a value of 2*8^1, 8^1 is 8, so its 2*8=16
for the 1 we need to move 2 to the left.
so the 1 has a value of 1*8^2, 8^2 is 64, so its 1*64=64
64+16+3=83
so 112 is 83 in decimal.

binary example:
1010
for the 0 we need to move 0 to the left
0*2^0 = 0
for the 1 we need to move 1 to the left
1*2^1 = 2
for the next 0 we need to move 2 to the left
0*2^2 = 0
for the next 1 we need to move 3 to the left
1*2^3 = 8
8+0+2+0 = 10
so 1010 is 10 in decimal

ill write up conversion functions later this week

2. ## The Following 3 Users Say Thank You to Hell_Demon For This Useful Post:

3. How do i learn to hack.
Thats teh best question ever and i cant get to it

4. Originally Posted by luongoo
How do i learn to hack.
Thats teh best question ever and i cant get to it

5. Originally Posted by luongoo
How do i learn to hack.
Thats teh best question ever and i cant get to it

6. ## The Following 2 Users Say Thank You to crushed For This Useful Post:

Hell_Demon (12-03-2009),Mulch Diggums (12-22-2014)

7. How about a what is ASM/Assembly
I'm sure they'll have to learn it eventually if they really get interested in hacking.
~

8. ~ Unlocked ~

Is there a way to add in FAQ that the best way of getting crap from a game is actually learning beforehand ? ., Too many saddy topics.

10. ## What book should I get?

Question: What book should I get?

I have heard this question asked a countless number of times during my time at MPGH. The answer is always the same. Whatever works best for you. Not everyone learns the same. Some people don't even learn by books at all. So this FAQ only serves to give a few of the most popular books members have read and recommend. You should always do some research on Amazon or preview a book before you buy it.

Personal Recommendation:
Herbert Schildt's C++: A Beginners Guide - Quite simply one of the best C++, or even best programming book I have ever read. The style of delivery, the excellent examples and good number of practice programs. Everything struck the right balance with me. Enough programs to practice what you've learned without being busy work. A Broad and In-depth explanation into C++, without taking detours or hanging to long in any particular subject. Simply put it introduces you to the language, noting more nothing less. This books was also featured on Microsoft's Visual Studios download page. You should know I already had some experience programming in Java, so this may have affected my experience. I still highly recommend giving this book a shot.

Other Books:

C++ Primer I've also heard good things about the C++ Primer. A bit long, but more in depth I think. Excellent ratings on Amazon and recommended by a particularly high number of Canadians for some reason...

The C++ Programming Language By Bjarne Stroustrup - This one is a must to be included on the list of recommended books. Since Bjarne Stroustrup invented C++, it would be hard to not think of him as an expert on the language, and perhaps even the most knowledgeable person to explain it. All that being said. The book is a bit old, but it's a classic, and definitely worth looking into.

EDIT: HD Feel free to edit my post to add your own book if you like.

11. ## The Following User Says Thank You to why06 For This Useful Post:

Hell_Demon (03-02-2011)

12. Originally Posted by why06

The C++ Programming Language By Bjarne Stroustrup - This one is a must to be included on the list of recommended books. Since Bjarne Stroustrup invented C++, it would be hard to not think of him as an expert on the language, and perhaps even the most knowledgeable person to explain it. All that being said. The book is a bit old, but it's a classic, and definitely worth looking into.
Book is highly recommended I've read it and it was A++

13. What is a DLL?

14. ## The Following User Says Thank You to sephiroth30 For This Useful Post:

CAFlames (04-27-2011)

15. Question: What is a DLL?

A .dll is short for Dynamic-link Library. It contains information that may be used by an executable to allow the executable access to more information. Most .dll's may be regarded as plug-ins. A plug-in is, in most cases, a .dll in which an a parent software/ application obtains more features by opening the .dll in the application. Hack .dll's are read by the application (Combat Arms, CrossFire, etc.) by injecting the information into it, which is basically a manual feed of it.

16. ## The Following User Says Thank You to CAFlames For This Useful Post:

sephiroth30 (04-27-2011)

17. I'm in the process of working my way through Stroustrup's "The C++ Programming Language". I was wondering what topics I should pursue in C++ after I've covered the material in his book, primarily for the purpose of game hacking.

Some things I think I will be looking into are API hooking and ASM. On a separate note, is there a specific implementation of ASM that is more relevant to game hacking? Or will any(HLASM) suffice?