Results 1 to 2 of 2
  1. #1
    HexMurder's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    System.Diagnostics
    Posts
    344
    Reputation
    96
    Thanks
    3,170

    Writing to 64bit memory addresses?

    I have previously written a very nooby console trainer in C++ for cod4. I had no troubles when making it. I wanted to make something for myself for black ops 3 zombies and i found something very odd. The addresses are 9 characters long. not the usual 8. From my past experience in making trainers all the memory addresses have had 8 characters (I.E 0xDEADBEEF) But in black ops 3 they have 9. ???. For example the address i was going to change was the points value located at 0x1476D346C.

    32 bit addresses only go up to FFFFFFFF (also 8 characters) from what i understood. So i'm assuming that these are 64bit addresses. (sorry if i have nooo idea what i'm talking about) How would it be possible to write to this address? the current code i'm using is as follows:

    int points= 50000;
    WriteProcessMemory(phandle, (LPVOID)0x1476D346C, &points, sizeof(points), 0);


    I tested this code on cod4 and plants vs zombies and it works great. BUT when i try and do it on BO3 it isn't writing correctly and i believe it's because the address is 9 characters long. I have access rights and permission to open the process. Any answers would be appreciated.

    Once again sorry i'm such a noob.

  2. #2
    HexMurder's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    System.Diagnostics
    Posts
    344
    Reputation
    96
    Thanks
    3,170
    someone can close i solved the issue.

Similar Threads

  1. How to write to a memory address with Visual studio C#?
    By strangerdanger in forum Call of Duty Modern Warfare 3 Coding, Programming & Source Code
    Replies: 10
    Last Post: 05-09-2012, 11:02 AM
  2. Guild War Memory Addresses
    By rlange in forum Hack Requests
    Replies: 0
    Last Post: 08-29-2007, 08:56 AM
  3. Writing to protected memory
    By unseenss in forum WarRock - International Hacks
    Replies: 0
    Last Post: 08-07-2007, 04:57 AM
  4. Replies: 3
    Last Post: 01-04-2006, 09:52 PM
  5. Direct Memory Access (DMA) to Static Memory Addresses
    By Dave84311 in forum Game Hacking Tutorials
    Replies: 0
    Last Post: 12-31-2005, 08:18 PM