@GhostJr
I know you lub me well enough to help this dude.
BAsics.
You need to edit the memory using 'memcpy' or an advanced form of it to make those addresses work.
DLl format, just choose New Project in C++ and select Dynamic Link Library.
Edit: I posted this into the incorrect section; If any mod sees this and is kind enough to move it, thank you.
Hello reader,
After browsing demo source code for CA NA hacks, I have noticed that many things are different from standard C++ programs.
This is why I've created this post:
I have a basic knowledge of C++ (Arrays, loops, variable types, methods (I'm switching from Java), etc.).
However, many things are different from a standard program.
Namely:
Adresses
-How exactly do these work?
-For Example:
"#define NameTag1 0x372DB630
#define NameTag2 0x372DB6AD"
'NOOB'
-How would I cause it to show the tags?
DLL Format
-There's undoubtedly code that you need to put in to make the file a DLL
(This could probably be done by a google search, but I want to double check against any inconsistencies with CA)
Thank you
Last edited by Azabirko0901; 06-25-2011 at 02:50 AM.
@GhostJr
I know you lub me well enough to help this dude.
BAsics.
You need to edit the memory using 'memcpy' or an advanced form of it to make those addresses work.
DLl format, just choose New Project in C++ and select Dynamic Link Library.
No I do not make game hacks anymore, please stop asking.
I don't know coding.
@GhostJr
I meant to Move thread
No I do not make game hacks anymore, please stop asking.
Buy a book or read some C++ lectures online.
MIT OpenCourseWare | Electrical Engineering and Computer Science | 6.096 Introduction to C++, January IAP 2011 | Lecture Notes
"Define statements" are nothing more than macros. The compiler looks for these statements and performs in line replacements in your code when it is compiling. They are just for simplicity, and are usually used to easily modify constants when they occur multiple times in your code.
There is nothing different from a "standard" C program. You have your regular entry point, except in this case you are using WinApi so the entry point is DLL Main(as it is usually referred to).
Last edited by CodeDemon; 06-25-2011 at 09:05 AM. Reason: Clarifying
Thank you CodeDemon and flameswor10.
Last 2 questions -
Is there D3D code you need to have inside your dll, or do you just need to #include it? (this is concerning a menu)
Now this is the main question, and probably the most different from non-hacking:
How do people like D.C make features that are not adresses?
A good example is unlimited ammo.
Once again, Thank you very much for bothering to answer
Edit: Reading through those notes - they are much better then my current professor's explanations - thanks CD.
Last edited by Azabirko0901; 06-25-2011 at 01:29 PM.