Results 1 to 6 of 6
  1. #1
    Junior Member tributoo3's Avatar
    Join Date
    Feb 2011
    Location
    Spain
    Posts
    10

    Exclamation I need help with memory hacking

    hi all, I want to make nofog and laser on cod4 by memory hacking and later make it undetected, I know how to make undetected but I am having some problems on making for example nofog code undma and on searching laser address...

    I am asking if some1 can help me with a kind of tutorial on making nofog undma, because I want to make a multiplayer trainer and i will be adding more features to the trainer...


    PD: I am using cheat engine...

  2. #2

    Re: I need help with memory hacking

    U should use OllyDbg, or IDA for this, then code the offsets u gather in c++ if I'm not mistaking.

  3. #3
    Junior Member tributoo3's Avatar
    Join Date
    Feb 2011
    Location
    Spain
    Posts
    10

    Re: I need help with memory hacking

    It's a good idea I will try thx

  4. #4

    Re: I need help with memory hacking

    Code:
    .data:008C62FC cg_laserForceOn dd ?                    ; DATA XREF: sub_43AC60+18F5w
    .data:008C62FC                                         ; sub_456D00:loc_456E6Er
    
    .data:0D569848 r_fog           dd ?                    ; DATA XREF: sub_629D70+7C7w
    .data:0D569848                                         ; sub_63DB00r

    0x008C62FC = dvar laserForceOn
    0x0D569848 = dvar_r_fog

    but also
    Code:
    .text:0062A4FA                 push    offset aSetTo0ToDisabl ; "Set to 0 to disable fog"
    .text:0062A4FF                 mov     [eax+8], ecx
    .text:0062A502                 mov     [eax+0Ch], edx
    .text:0062A505                 push    80h
    .text:0062A50A                 push    0
    .text:0062A50C                 mov     eax, offset aR_fog ; "r_fog"
    .text:0062A511                 call    sub_56C350      ; Call Procedure
    .text:0062A516                 fld     ds:flt_70AD40   ; Load Real
    .text:0062A51C                 fstp    [esp+4Ch+var_10] ; Store Real and Pop
    .text:0062A520                 mov     edx, [esp+4Ch+var_10]
    .text:0062A524                 fld     ds:flt_6D8D88   ; Load Real
    .text:0062A52A                 add     esp, 24h        ; Add
    .text:0062A52D                 fstp    [esp+28h+var_20] ; Store Real and Pop
    .text:0062A531                 mov     ecx, [esp+28h+var_20]
    .text:0062A535                 fldz                    ; Load +0.0
    .text:0062A537                 mov     r_fog, eax
    the push 0x80 is the cheat dvar flag if you assembly to 0x0 then its like a normal dvar and you can change it like a normal dvar


    hire is how you do it very quick

    PHP Code:
    0062A505  |. 6880000000    PUSH 80 -> flag cheat protected
    0062A50A  |. 6A 00              PUSH 0
    0062A50C  
    |. B8 B84C7000    MOV EAX,iw3mp.00704CB8                   ;  ASCII "r_fog"
    0062A511  |. E8 3A1EF4FF    CALL iw3mp.0056C350 
    Code:
    void SomeModify( ) 
    {
    	DWORD R_FOG = 0x0062A505 ;//0062A505  |. 68 8 00 0000    PUSH 80 -> flag cheat protected 
    	BYTE PATCH[5] = {0x68 0x00,0x00, 0x00 0x00};//we are allowed to change the dvar in game
    BYTE ORG_PATCH[5] = {0x68 0x80,0x00, 0x00 0x00}; 
    
    	WriteProcessMemory(GetCurrentProcess(), (PBYTE)R_FOG, &PATCH, sizeof(PATCH), 0);

  5. #5
    Junior Member tributoo3's Avatar
    Join Date
    Feb 2011
    Location
    Spain
    Posts
    10
    thanks King-Orgy, i will see that this evening, +REP

    I have a doubt, i have NOPed fog address and it works, but laser's address doesn't works by NOPing, I know I have to make something different but WHAT?

  6. #6

    Re: I need help with memory hacking

    probably you doing it wrong

    0 and 1 is different so you cant just use the same byte on laserforce

Similar Threads

  1. My 1st Memory Hack for BF2
    By Sfab in forum BattleField 2 Cheat Downloads
    Replies: 6
    Last Post: August 22nd, 2010, 03:21
  2. Help with a memory question
    By nickmacs in forum Client Hooks
    Replies: 0
    Last Post: May 12th, 2010, 02:17
  3. memory problems
    By SupeR in forum Hardware
    Replies: 1
    Last Post: November 30th, 2009, 15:42
  4. Bf2142 memory hax
    By Hc4lNickNL in forum BattleField 2142 Cheat Downloads
    Replies: 3
    Last Post: March 23rd, 2009, 15:54
  5. [Tutorial]Memory Hacking
    By Str8Soulja in forum Tutorials
    Replies: 0
    Last Post: March 11th, 2008, 01:16

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •