Page 1 of 17 12311 ... LastLast
Results 1 to 15 of 241
  1. #1
    COD3RIN's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Posts
    5,309
    Reputation
    468
    Thanks
    28,776
    My Mood
    Angelic

    BLACKSHOT WALLHACK & CROSSHAIR



    For TeknoGod Mw3



    I decided in my own self that i never release this dll hack because so many leecher in this forum but i releasing only source code in build that in your own stand own your feet and don't be a noob anymore




    Code:
    //==================================================  ===================================
    
    
    #include <windows.h>
    #include <conio.h>
    
    
    #include <d3d9.h>
    #pragma comment(lib, "d3d9.lib")
    
    
    #include <d3dx9.h>
    #pragma comment(lib, "d3dx9.lib")
    
    
    typedef HRESULT(WINAPI * DrawIPrim)
    (LPDIRECT3DDEVICE9, D3DPRIMITIVETYPE,
    INT, UINT, UINT, UINT, UINT);
    
    
    void Jump(DWORD Address, DWORD Your_Detour);
    DWORD New = NULL;
    
    
    LPDIRECT3DDEVICE9 m_pD3Ddev;
    LPDIRECT3D9 pD3D;
    DrawIPrim pDrawIPrim = NULL;
    
    
    DWORD dwEndscene_hook = NULL;
    DWORD dwEndscene_ret = NULL;
    DWORD dwDIP_hook = NULL;
    DWORD dwDIP_ret = NULL;
    DWORD dwReset_hook = NULL;
    DWORD dwReset_ret = NULL;
    DWORD bJump = NULL;
    
    
    D3DVIEWPORT9 Viewport;
    D3DRECT RectA;
    D3DRECT RectB;
    DWORD CrossHairColor = D3DCOLOR_ARGB(255, 20, 255, 20);
    DWORD ScreenCenterX = NULL;
    DWORD ScreenCenterY = NULL;
    LPD3DXFONT pFont = NULL;
    HMODULE D3D9 = NULL;
    UINT fHeight = 16;
    RECT FontRect;
    
    
    D3DPRESENT_PARAMETERS D3D_PP = { 0 };
    IDirect3D9 * (WINAPI *oDirect3DCreate9)(UINT SDKVersion);
    //==================================================  ===================================
    
    
    VOID WINAPI MY_MAIN_ENDSCENE(LPDIRECT3DDEVICE9 pDev)
    {
        pDev->GetViewport(&Viewport);
    
    
        ScreenCenterX = (Viewport.Width / 2);
        ScreenCenterY = (Viewport.Height / 2);
    
    
        RectA.x1 = ScreenCenterX - 40;
        RectA.x2 = ScreenCenterX + 40;
        RectA.y1 = ScreenCenterY;
        RectA.y2 = ScreenCenterY + 1;
        RectB.x1 = ScreenCenterX;
        RectB.x2 = ScreenCenterX + 1;
        RectB.y1 = ScreenCenterY - 40;
        RectB.y2 = ScreenCenterY + 40;
    
    
        pDev->Clear(1, &RectA, D3DCLEAR_TARGET, CrossHairColor, 0, 0);
        pDev->Clear(1, &RectB, D3DCLEAR_TARGET, CrossHairColor, 0, 0);
    
    
        if (pFont == NULL)
            D3DXCreateFontA(pDev, fHeight, 0, FW_BOLD, 0, TRUE,
            DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY,
            DEFAULT_PITCH | FF_DONTCARE, "Calibri", &pFont);
    
    
        if (pFont != NULL)
        {
            int istrlen = strlen("") * 3;
            FontRect.left = ScreenCenterX - istrlen;
            FontRect.top = Viewport.Height - fHeight - fHeight;
            FontRect.right = Viewport.Width;
            FontRect.bottom = Viewport.Height;
    
    
            pFont->DrawTextA(0, "", -1, &FontRect,
                DT_NOCLIP, D3DCOLOR_ARGB(255, 20, 128, 255));
        }
    }
    
    
    __declspec(naked) void MyEndscene()
    {
        __asm
        {
            MOV DWORD PTR SS : [EBP - 0x10], ESP
                MOV ESI, DWORD PTR SS : [EBP + 0x8]
                XOR EBX, EBX                        //replace patched code
                PUSHFD
                PUSHAD
                PUSH[EBP + 0x8]
                CALL MY_MAIN_ENDSCENE;
            POPAD
                POPFD
                CMP ESI, EBX                        //replace patched code
                jmp dwEndscene_ret;                //jump back to normal endscene
        }
    }
    
    
    VOID WINAPI MY_MAIN_DIP(LPDIRECT3DDEVICE9 pDev,
        D3DPRIMITIVETYPE Type, INT BIndex, UINT MIndex,
        UINT NVertices, UINT SIndex, UINT PCount)
    {
        LPDIRECT3DVERTEXBUFFER9 Stream_Data;
        UINT Offset = 0;
        UINT Stride = 0;
    
    
        if (pDev->GetStreamSource(0, &Stream_Data, &Offset, &Stride) == S_OK)
            Stream_Data->Release();
    
    
        if (Stride == 32)
        {
            bJump = TRUE;
            pDev->SetRenderState(D3DRS_ZENABLE, FALSE);
    
    
            pDrawIPrim(pDev, Type, BIndex, MIndex,
                NVertices, SIndex, PCount);
    
    
            pDev->SetRenderState(D3DRS_ZENABLE, TRUE);
            bJump = FALSE;
        }
    }
    
    
    __declspec(naked) void MyDIP()
    {
        __asm
        {
            MOV EDI, DWORD PTR SS : [EBP + 0x8]
                XOR EBX, EBX
                CMP EDI, EBX                        // replace patched code
                PUSHFD
                PUSHAD
                MOV EDX, [bJump]
                CMP EDX, 0x0
                JG DONE
                PUSH[EBP + 0x20]                    // Push arguments of DIP
                PUSH[EBP + 0x1C]
                PUSH[EBP + 0x18]
                PUSH[EBP + 0x14]
                PUSH[EBP + 0x10]
                PUSH[EBP + 0x0C]
                PUSH[EBP + 0x08]
                CALL MY_MAIN_DIP
            DONE : POPAD
                   POPFD
                   jmp dwDIP_ret;                    // jump back to normal DIP
        }
    }
    
    
    VOID WINAPI MY_MAIN_RESET()
    {
        if (pFont != NULL)
        if (pFont->Release() == S_OK)
            pFont = NULL;
    }
    
    
    __declspec(naked) void MyReset()
    {
        __asm
        {
            PUSHAD
                PUSHFD
                CALL MY_MAIN_RESET
                POPFD
                POPAD
                MOV ESI, DWORD PTR SS : [EBP - 0x08]
                MOV EDI, DWORD PTR SS : [EBP - 0x04]
                POP EBX
                JMP dwReset_ret
        }
    }
    
    
    //==================================================  ===================================
    
    
    VOID WINAPI GETD3D(VOID)
    {
        HWND ConsoleWindow = GetConsoleWindow();
        //ShowWindow( ConsoleWindow, SW_HIDE ); // Your Choice ...
    
    
        while (D3D9 == NULL)
        {
            D3D9 = GetModuleHandleA("d3d9.dll");
            Sleep(100);
        }
    
    
        *(PDWORD)&oDirect3DCreate9 = (DWORD)
            GetProcAddress(D3D9, "Direct3DCreate9");
    
    
        _cprintf("Direct3DCreate9\n");
        pD3D = oDirect3DCreate9(D3D_SDK_VERSION);
    
    
        D3D_PP.Windowed = TRUE;
        D3D_PP.SwapEffect = D3DSWAPEFFECT_DISCARD;
        D3D_PP.BackBufferFormat = D3DFMT_UNKNOWN;
    
    
        _cprintf("CreateDevice\n");
        pD3D->CreateDevice(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL,
            ConsoleWindow, D3DCREATE_SOFTWARE_VERTEXPROCESSING,
            &D3D_PP, &m_pD3Ddev);
    
    
        PDWORD VTABLE = *(DWORD**)m_pD3Ddev;
    
    
        dwEndscene_hook = VTABLE[42] + 0x2A;
        dwEndscene_ret = dwEndscene_hook + 0x0A;
        dwDIP_hook = VTABLE[82] + 0x2D;
        dwDIP_ret = dwDIP_hook + 0x7;
        dwReset_hook = VTABLE[16] + 165;
        dwReset_ret = dwReset_hook + 0x7;
    
    
        *(PDWORD)&pDrawIPrim = (DWORD)VTABLE[82];
    
    
        _cprintf("");
        Jump((DWORD)dwEndscene_hook, (DWORD)MyEndscene);
        Jump((DWORD)dwDIP_hook, (DWORD)MyDIP);
        Jump((DWORD)dwReset_hook, (DWORD)MyReset);
    
    
        _cprintf("");
        Sleep(400);
        m_pD3Ddev->Release();
        pD3D->Release();
        FreeConsole();
    }
    
    
    //==================================================  ===================================
    
    
    BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
    {
        if (dwReason == DLL_PROCESS_ATTACH)
        {
            DisableThreadLibraryCalls(hModule);
            AllocConsole();
            _cprintf("Ready\n");
            CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)
                GETD3D, NULL, NULL, NULL);
        }
        return TRUE;
    }
    
    
    //==================================================  ===================================
    
    
    void Jump(DWORD Address, DWORD Your_Detour)
    {
        VirtualProtect((LPVOID)Address, 5,
            PAGE_EXECUTE_READWRITE, &New);
    
    
        *(PBYTE)Address = (BYTE)0xE9;
    
    
        *(PDWORD)(Address + 1) =
            (Your_Detour - Address - 5);
    
    
        VirtualProtect((LPVOID)Address, 5,
            New, &New);
    }
    
    
    //==================================================  ===================================

    Credir by: Zoom
    Last edited by COD3RIN; 11-08-2013 at 02:57 AM.
    ᚛C☢dℝin3᚜
    Love you.
    ~Kenshit13
    Quote Originally Posted by cheaterman26 View Post
    COD3RIN PUT A BACKDOOR ON HIS OWN CHEAT HE HACK MY COMPUTER AND MY STEAM, DON'T TRUST THIS GUYS !



  2. The Following 23 Users Say Thank You to COD3RIN For This Useful Post:

    ahmedmidomoot (12-06-2013),amplifier0001 (12-18-2013),asett5 (11-07-2013),averster (11-07-2013),cfm1997 (11-12-2013),Chopie (11-07-2013),EchoSystems (11-08-2013),fasilaynoor (11-08-2013),guiih_fjg (11-07-2013),hackernuelz321 (02-10-2014),iryan123 (12-12-2013),jazimaqil (11-13-2013),Lecch (11-11-2013),LoL_BS (12-02-2013),MuhammadIzzHafeez (12-22-2013),naseelemak (12-12-2013),rajanmilan (11-07-2013),RotiHangus HC (11-13-2013),saftank (12-13-2013),shahir1 (11-07-2013),Shahrin1960 (01-16-2014),xredkillerx (11-16-2013),XzDarkLordzX (11-07-2013)

  3. #2
    Chopie's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    173
    thanks bro!! i know what to do whit this :3 hehehe

  4. #3
    jacob98's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    13
    My Mood
    Bashful
    Quote Originally Posted by Chopie View Post
    thanks bro!! i know what to do whit this :3 hehehe
    bro got skype? can teach me? pls

  5. #4
    COD3RIN's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Posts
    5,309
    Reputation
    468
    Thanks
    28,776
    My Mood
    Angelic
    Quote Originally Posted by Chopie View Post
    thanks bro!! i know what to do whit this :3 hehehe
    you can compile that figure the pazzles blank
    ᚛C☢dℝin3᚜
    Love you.
    ~Kenshit13
    Quote Originally Posted by cheaterman26 View Post
    COD3RIN PUT A BACKDOOR ON HIS OWN CHEAT HE HACK MY COMPUTER AND MY STEAM, DON'T TRUST THIS GUYS !



  6. #5
    COD3RIN's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Posts
    5,309
    Reputation
    468
    Thanks
    28,776
    My Mood
    Angelic
    Quote Originally Posted by jacob98 View Post
    bro got skype? can teach me? pls
    youtube type how to build D3D menu hack
    ᚛C☢dℝin3᚜
    Love you.
    ~Kenshit13
    Quote Originally Posted by cheaterman26 View Post
    COD3RIN PUT A BACKDOOR ON HIS OWN CHEAT HE HACK MY COMPUTER AND MY STEAM, DON'T TRUST THIS GUYS !



  7. The Following User Says Thank You to COD3RIN For This Useful Post:

    krepplayers (11-15-2013)

  8. #6
    XzDarkLordzX's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    49
    My Mood
    Psychedelic
    Quote Originally Posted by Chopie View Post
    thanks bro!! i know what to do whit this :3 hehehe
    i thing all know it

    Thx For the code

  9. The Following 2 Users Say Thank You to XzDarkLordzX For This Useful Post:

    krepplayers (11-15-2013),rajanmilan (11-07-2013)

  10. #7
    rajanmilan's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    5
    I AM NOOB BRO.. PLEASE I NEED THE DLL..

  11. The Following User Says Thank You to rajanmilan For This Useful Post:

    krepplayers (11-15-2013)

  12. #8
    jacob98's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    13
    My Mood
    Bashful
    Quote Originally Posted by COD3RIN View Post

    youtube type how to build D3D menu hack
    ah already watched on utube.dont get it. zz im so noob

  13. The Following User Says Thank You to jacob98 For This Useful Post:

    krepplayers (11-15-2013)

  14. #9
    rajanmilan's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    5
    Quote Originally Posted by XzDarkLordzX View Post
    i thing all know it

    Thx For the code
    BRO HOW YOU MAKE IT INTO DLL FILE

  15. The Following User Says Thank You to rajanmilan For This Useful Post:

    krepplayers (11-15-2013)

  16. #10
    XzDarkLordzX's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    49
    My Mood
    Psychedelic
    Quote Originally Posted by rajanmilan View Post
    BRO HOW YOU MAKE IT INTO DLL FILE
    go on youtube and sreach Visual studio d3d menu ö.ö

  17. The Following User Says Thank You to XzDarkLordzX For This Useful Post:

    krepplayers (11-15-2013)

  18. #11
    rajanmilan's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    5
    CAB YOU SEND ME THE LINK TO WATCH IN YOUTUBE?

  19. The Following User Says Thank You to rajanmilan For This Useful Post:

    krepplayers (11-15-2013)

  20. #12
    ztioklos's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    1
    code gave error here BRO

  21. The Following User Says Thank You to ztioklos For This Useful Post:

    krepplayers (11-15-2013)

  22. #13
    rajanmilan's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    5
    OMG IM SO NOOB... SORRY

  23. The Following User Says Thank You to rajanmilan For This Useful Post:

    krepplayers (11-15-2013)

  24. #14
    rajanmilan's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    5
    WHAT ARE THE TOOL U NEED TO MAKE THIS FILE?

  25. The Following User Says Thank You to rajanmilan For This Useful Post:

    krepplayers (11-15-2013)

  26. #15
    jacob98's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    13
    My Mood
    Bashful
    can someone just teach me T_T im so noob abt this

  27. The Following 2 Users Say Thank You to jacob98 For This Useful Post:

    krepplayers (11-15-2013),rajanmilan (11-07-2013)

Page 1 of 17 12311 ... LastLast

Similar Threads

  1. [Release] BlackShot Wallhack + Crosshair (LikeBANANA)
    By Vehrdyn in forum Blackshot Hacks & Cheats
    Replies: 530
    Last Post: 12-26-2012, 04:22 AM
  2. [Info] BlackShot WallHack , Chams , WireFrame and CrossHair Hacks!
    By Johnez in forum Blackshot Hacks & Cheats
    Replies: 9
    Last Post: 12-02-2012, 05:36 PM
  3. wallhack, chams, crosshair, no fog, no sky, (RE-RELEASE)
    By morzan364 in forum Combat Arms Hacks & Cheats
    Replies: 40
    Last Post: 08-06-2009, 09:50 AM
  4. How to get wallhack/fullbright/crosshair working.
    By roflnaga in forum Combat Arms Hacks & Cheats
    Replies: 122
    Last Post: 07-08-2009, 06:29 PM

Tags for this Thread