Results 1 to 6 of 6
  1. #1
    Azabirko0901's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0

    Starting to Hack

    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 03:50 AM.

  2. #2
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love
    @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.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

  3. #3
    Stevenom's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Summoner's Rift
    Posts
    17,746
    Reputation
    1087
    Thanks
    1,916
    My Mood
    Doubtful
    I don't know coding.

  4. #4
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love
    @GhostJr
    I meant to Move thread
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

  5. #5
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,074
    Reputation
    50
    Thanks
    936
    My Mood
    Fine
    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 10:05 AM. Reason: Clarifying

  6. #6
    Azabirko0901's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    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 02:29 PM.