Results 1 to 5 of 5
  1. #1
    zTwix0R's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    96
    Reputation
    10
    Thanks
    6
    My Mood
    Aggressive

    MHS and CE Scripts (AUTO-ATTACH)

    Ok so here are the scripts:



     
    function myattach(timer)
    if getProcessIDFromProcessName("AVA.exe") ~= nil then
    object_destroy(timer)
    openProcess("AVA.exe")
    end
    end

    t=createTimer(nil);
    timer_setInterval(t,10)
    timer_onTimer(t,myattach)



     
    VOID On_ProcessIsOpening( LPVOID lpvEproc, DWORD dwParentId, DWORD dwProcId ) {
    CHAR szBuffer[MAX_PATH];
    if ( !GetProcessNameById( szBuffer, dwProcId ) ) { return; }
    if ( StrICmp( szBuffer, "AVA.exe" ) == 0 ) {
    LoadProcess( dwProcId );
    }
    }


    BOOL GetProcessNameById( CHAR * pcOutputName, DWORD dwId ) {
    // Exactly the same as the Win32 API.
    PROCESSENTRY32 pe32;
    ZeroMemory( &pe32, sizeof( PROCESSENTRY32 ) );
    pe32.dwSize = sizeof( PROCESSENTRY32 );

    HANDLE hSnap = CreateToolhelp32Snapshot( TH32CS_SNAPPROCESS, 0 );
    if ( hSnap == INVALID_HANDLE_VALUE ) { // If the snap fails, error.
    return false;
    }
    else {
    BOOL bRet = false;
    if ( Process32First( hSnap, &pe32 ) ) {
    do {
    if ( pe32.th32ProcessID == dwId ) {
    bRet = true; // We have a match! Break immediately.
    StrCpy( pcOutputName, pe32.szExeFile );
    break;
    }
    } while ( Process32Next( hSnap, &pe32 ) );
    }
    // As with the Win32 API, we must close our handles.
    // Technically we do not need to do this because the
    // script will do it for us when this script thread exits,
    // but that is bad coding practice.
    CloseHandle( hSnap );

    return bRet;
    }
    }


    The CE Script does work, unfortunatly, since it's detected, the game ends up crashing.
    The MHS Script, I'm not 100% sure, but go ahead :P


    EDIT: THIS WAS NOT MADE BY MYSELF!! THEY WERE FOUND ON OTHER WEBSITES. ALL CREDITS TO THEM. And to me for finding them :3.
    Last edited by Hunter; 02-02-2016 at 06:22 AM.

  2. #2
    chatenchotao's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    My Mood
    Yeehaw
    how to use script ?

  3. #3
    zTwix0R's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    96
    Reputation
    10
    Thanks
    6
    My Mood
    Aggressive
    Quote Originally Posted by chatenchotao View Post
    how to use script ?
    if u don't know how to use it, i don't think this is the right section for you.

    (ps: ok i'll give u an hint: Lua(CE).

  4. #4
    Janitor's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    MPGH Reports
    Posts
    16,255
    Reputation
    3259
    Thanks
    7,214
    Quote Originally Posted by zTwix0R View Post
    if u don't know how to use it, i don't think this is the right section for you.

    (ps: ok i'll give u an hint: Lua(CE).
    Giving him a little help won't hurt you

  5. #5
    ilovementos1's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    I dont know how to use these kinds of hacks and it pisses me off that no one actually tells you or helps you with it

Similar Threads

  1. [Request] Auto-Airblast Script and Auto-Backstab Script and Triggerbot Script
    By Krdzd in forum Team Fortress 2 Hacks
    Replies: 9
    Last Post: 10-30-2012, 04:11 PM
  2. (help) i got mhs and CE how do i use?
    By hotfudge2100 in forum Combat Arms Hacks & Cheats
    Replies: 3
    Last Post: 09-20-2008, 07:48 PM
  3. STOP WASTING YOUR TIME! (Things that are server-sided on MHS and UCE's)
    By xxBigBuns in forum Combat Arms Hacks & Cheats
    Replies: 16
    Last Post: 08-30-2008, 07:25 PM
  4. [Request] MHS and CE 5.4 Tutorial
    By l0dingplzw8 in forum Combat Arms Hacks & Cheats
    Replies: 4
    Last Post: 08-20-2008, 11:40 AM
  5. Help With MHS and Bypass
    By Piercing Goblin in forum Combat Arms Hacks & Cheats
    Replies: 2
    Last Post: 08-03-2008, 04:38 PM