crushed (12-03-2009),ilovecookies (12-16-2009),why06 (10-23-2010)
Question: How do I convert hexadecimal numbers to decimal
Answer:
Decimal means 10
Hex means 6
Hexadecimal means 16
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
Ah we-a blaze the fyah, make it bun dem!
crushed (12-03-2009),ilovecookies (12-16-2009),why06 (10-23-2010)
How do i learn to hack.
Thats teh best question ever and i cant get to it
[img]https://www.danasof*****m/sig/MPGH373002.jpg[/img]
3 years ago, I was hacking/playing Combat Arms thinking it was the best FPS ever made. Now, I own Black Ops, Modern Warfare 2, Bad Company 2 and Quantum of Solace. Every time I play COD, it all comes down to skill from Combat Arms.
Sure... Thats what i meantOriginally Posted by AVGN
And when I play Combat Arms now, I play better because the other games have taught me to watch for campers
Respect list: https://www.mpgh.net/forum/members/list/
Hell_Demon (12-03-2009),Mulch Diggums (12-22-2014)
How about a what is ASM/Assembly
I'm sure they'll have to learn it eventually if they really get interested in hacking.
~
"If the world hates you, keep in mind that it hated me first." John 15:18
~ Unlocked ~
Ah we-a blaze the fyah, make it bun dem!
I IS SAD.
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.
Love You All~
Question: What book should I get?
Answer:
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.
Last edited by why06; 03-01-2011 at 09:44 PM.
"Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."- Dwight D. Eisenhower
Hell_Demon (03-02-2011)
CAFlames (04-27-2011)
Question: What is a DLL?
Answer:
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.
sephiroth30 (04-27-2011)
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?
how can i add source code to the game or how to make .dll to inject please help
Can run a .exe without run the program by user?