Results 1 to 4 of 4
  1. #1
    boom..'s Avatar
    Join Date
    Apr 2007
    Posts
    148
    Reputation
    11
    Thanks
    11

    tell me what is rong in this code!!

    so i was tring to do pointer in c++ ive got stuck and my help is away somwhere so can some one help me.

    byte newdata[]={0x00, 0x00, 0x00, 0x00};
    DWORD newdatasize = sizeof(newdata);
    int n;
    ReadProcessMemory(hProcess, (LPCVOID)0x00896e28, &n, sizeof(n), 0);
    int offset = 0x4C;
    n += offset;
    WriteProcessMemory(hProcess, &n , &newdata, newdatasize, NULL);

    // That not returning the right thang
    ////////////////////////////

    thank for your help
    Boom

  2. #2
    ~claw~'s Avatar
    Join Date
    May 2007
    Gender
    male
    Location
    In my room 0.o
    Posts
    849
    Reputation
    11
    Thanks
    25
    whats that code any i mean whats that do ??????? super jump or whatever???

  3. #3
    boom..'s Avatar
    Join Date
    Apr 2007
    Posts
    148
    Reputation
    11
    Thanks
    11
    set weapon to 0 but it's not working it returns the rong address!!

  4. #4
    tednugent's Avatar
    Join Date
    Mar 2007
    Gender
    male
    Location
    /bin/src
    Posts
    3,592
    Reputation
    17
    Thanks
    610
    there's a section for C++ code...can someone move this there?

Similar Threads

  1. someone tell me how I can find this code
    By snayfer in forum Combat Arms Coding Help & Discussion
    Replies: 5
    Last Post: 02-14-2011, 12:04 PM
  2. Can anyone tell me what is wrong in my code
    By windowsxp925 in forum WarRock Philippines Hacks
    Replies: 10
    Last Post: 02-06-2011, 12:25 PM
  3. Bad Syntax - What is wrong with this code?
    By HACKINGPIE in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 5
    Last Post: 01-19-2011, 12:12 AM
  4. tell me what you think about this one
    By bloddyapache in forum Combat Arms Discussions
    Replies: 20
    Last Post: 12-15-2009, 06:50 PM
  5. What is wrong with this code?
    By t7ancients in forum C++/C Programming
    Replies: 10
    Last Post: 10-19-2009, 01:58 PM