Results 1 to 4 of 4
  1. #1
    zatchbell3's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Posts
    186
    Reputation
    14
    Thanks
    47
    My Mood
    Amazed

    MemEdit Identifer

    Well,im making my menu hack and i get an error as MemEdit isnt a valid Identifer

    This is my code

    Code:
    void RenderFrame(void){
    
        if( b[8] == 1 )//Wall Removers
            memEdit((LPVOID)0x57207A, "\x6A\x00", 2);
        else
            memEdit((LPVOID)0x57207A, "\x6A\x01", 2);
    
        if( b[2] > 0 ){//no Recoil
            memEdit((LPVOID)0x3741B550, "\x90\x90\x90", 3);
            memEdit((LPVOID)0x3740BAA9, "\x90\x90\x90", 3);
            memEdit((LPVOID)0x3741B564, "\x90\x90\x90", 3);
            memEdit((LPVOID)0x3741B567, "\x90\x90\x90", 3);
            memEdit((LPVOID)0x3741B570, "\x90\x90\x90", 3);
        }else{
            memEdit((LPVOID)0x3741B550, "\xD8\x66\x54", 3);
            memEdit((LPVOID)0x3740BAA9, "\xD9\x46\x54", 3);
            memEdit((LPVOID)0x3741B564, "\xD9\x5E\x54", 3);
            memEdit((LPVOID)0x3741B567, "\xD9\x46\x48", 3);
            memEdit((LPVOID)0x3741B570, "\xD9\x5E\x48", 3);
        }
    
        if (b[3] > 0)
            memEdit((LPVOID)0x37467294, "\x90\x90\x90\x90\x90\x90", 6);
        else
            memEdit((LPVOID)0x37467294, "\x0F\x84\xB1\x01\x00\x00", 6);
    
    }

    And here is my error

    Code:
    ------ Build started: Project: CodeDemonD3Dbase, Configuration: Release Win32 ------
      D3DBase.cpp
    c:\users\owner-1\desktop\codedemons base\codedemond3dbase\codedemond3dbase\Functions.h(101): error C2065: 'b' : undeclared identifier
    c:\users\owner-1\desktop\codedemons base\codedemond3dbase\codedemond3dbase\Functions.h(102): error C3861: 'memEdit': identifier not found
    c:\users\owner-1\desktop\codedemons base\codedemond3dbase\codedemond3dbase\Functions.h(104): error C3861: 'memEdit': identifier not found
    c:\users\owner-1\desktop\codedemons base\codedemond3dbase\codedemond3dbase\Functions.h(106): error C2065: 'b' : undeclared identifier
    c:\users\owner-1\desktop\codedemons base\codedemond3dbase\codedemond3dbase\Functions.h(107): error C3861: 'memEdit': identifier not found
    c:\users\owner-1\desktop\codedemons base\codedemond3dbase\codedemond3dbase\Functions.h(108): error C3861: 'memEdit': identifier not found
    c:\users\owner-1\desktop\codedemons base\codedemond3dbase\codedemond3dbase\Functions.h(109): error C3861: 'memEdit': identifier not found
    c:\users\owner-1\desktop\codedemons base\codedemond3dbase\codedemond3dbase\Functions.h(110): error C3861: 'memEdit': identifier not found
    c:\users\owner-1\desktop\codedemons base\codedemond3dbase\codedemond3dbase\Functions.h(111): error C3861: 'memEdit': identifier not found
    c:\users\owner-1\desktop\codedemons base\codedemond3dbase\codedemond3dbase\Functions.h(113): error C3861: 'memEdit': identifier not found
    c:\users\owner-1\desktop\codedemons base\codedemond3dbase\codedemond3dbase\Functions.h(114): error C3861: 'memEdit': identifier not found
    c:\users\owner-1\desktop\codedemons base\codedemond3dbase\codedemond3dbase\Functions.h(115): error C3861: 'memEdit': identifier not found
    c:\users\owner-1\desktop\codedemons base\codedemond3dbase\codedemond3dbase\Functions.h(116): error C3861: 'memEdit': identifier not found
    c:\users\owner-1\desktop\codedemons base\codedemond3dbase\codedemond3dbase\Functions.h(117): error C3861: 'memEdit': identifier not found
    c:\users\owner-1\desktop\codedemons base\codedemond3dbase\codedemond3dbase\Functions.h(120): error C2065: 'b' : undeclared identifier
    c:\users\owner-1\desktop\codedemons base\codedemond3dbase\codedemond3dbase\Functions.h(121): error C3861: 'memEdit': identifier not found
    c:\users\owner-1\desktop\codedemons base\codedemond3dbase\codedemond3dbase\Functions.h(123): error C3861: 'memEdit': identifier not found
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Do you no how i can fix the MemEdit Idenfier?

    P.S-THANKS MPGH XD

  2. #2
    coryster123's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    20
    Reputation
    9
    Thanks
    2
    Add this

    Code:
    bool memEdit( void * pDest, char * szPatch, size_t sSize ) //Nopping Method
    { 
        DWORD dwOrgProtect = NULL; 
        if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
            return FALSE;
    
        memcpy( pDest, szPatch, sSize ); 
        VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); 
        return TRUE; 
    }

  3. #3
    Amatowarrior's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    629
    Reputation
    14
    Thanks
    102
    My Mood
    Inspired
    use memoria or memcpy, you need a NOP method (if it isn't set for memedit, then edit your NOP method)

    EDIT: coryster added the memedit NOP method, and HOLY **** IT'S CORYSTER, YOU WILL DIE! unless it's a poser /
    Tools UNDETECTED - PATCHED [I will only have recent versions up!]
    Tapper V1.15: https://www.mpgh.net/forum/164-combat...r-v1-15-a.html
    Amato Inject V1.15: https://www.mpgh.net/forum/292-combat...t-v1-15-a.html

    Mods
    L96A1 - Arctic Wolf
    Super M416 CQB
    Super M16A3
    MW2 M92FS (M9)
    Starcraft 2 L96A1

    PVT VIP
    Aimbot: 65% (Have full source code)
    OPK: 100% (Uses Enemy Class)
    Telekill: 100% (Uses Enemy Class)
    Ghost Mode: 80% (In Semi-Stages)
    Super Bullets: 100% (Thanks Deadlinez/hahaz!)
    Menu Sprite: 100% (Thanks whit!)



  4. #4
    Mr.Magicman's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Sitting in my cave full of thoughts learning Asembly
    Posts
    2,102
    Reputation
    16
    Thanks
    649
    My Mood
    Cold
    Stop fucking saying this is just a No Operation function its a fucking byte modifier you could make all sorts of byte modifications with this one including NOP

Similar Threads

  1. Compilation for problem identification and fixes.
    By Disturbed in forum Combat Arms Help
    Replies: 0
    Last Post: 09-23-2010, 07:11 PM
  2. Replies: 4
    Last Post: 03-13-2010, 09:34 AM
  3. Hack Identification
    By VXAGENT in forum Combat Arms Hacks & Cheats
    Replies: 9
    Last Post: 07-14-2009, 07:50 PM