Page 1 of 4 123 ... LastLast
Results 1 to 15 of 53
  1. #1
    COD3RIN's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Posts
    4,941
    Reputation
    315
    Thanks
    22,167
    My Mood
    Busy

    CREATING D3D WALLHACK

    ADDING DIRECT-X INCLUDE FILES IN VC++

    STEP 1. Install Direct-X SDK
    STEP 2. Open VC++
    STEP 3. Select Tools -> Option -> Projects and Solutions -> VC++ Directories
    STEP 4. In VC ++ Directories, go to the drop-down menu and select Include Files
    STEP 5. Add the code below



    Code:
    Code:
    C:\Program Files\Microsoft DirectX 9.0 SDK (Summer 2004)\Include
    ADDING DIRECT-X LIBRARY FILES IN VC++

    STEP 1. Install Direct-X SDK
    STEP 2. Open VC++
    STEP 3. Select Tools -> Option -> Projects and Solutions -> VC++ Directories
    STEP 4. In VC ++ Directories, go to the drop-down menu and select Library Files
    STEP 5. Add the code below



    Code:
    Code:
    C:\Program Files\Microsoft DirectX 9.0 SDK (Summer 2004)\Lib
    Here's a tutorial on how to create a d3d8 / Sudden attack base!

    Open up Visual C++ 2008
    Create: Project...
    Choose Win32 Console Application
    If you do not see it, look at Project types and click on Visual C++


    Screenshot




    You should see the picture below be presented on your Visual C++
    Press NEXT


    Screenshot



    Do not touch anything else. Application type - Select "DLL"
    Press FINISH

    Screenshot



    You should see the screenshot below presented on your Visual C++
    Right click and remove dllmain.cpp*
    * - Remove because it is already defined in the base source I will give you.

    Screenshot



    Click the green arrow on the top to debug / release. Alternately, you can just build / rebuild (for those who know how to use C++ IDE)

    Screenshot



    Base Source Code

    [CODE]
    #include"stdafx.h"
    #include <windows.h>

    #include <d3d8.h>
    #pragma comment(lib, "d3d8.lib")

    typedef HRESULT (WINAPI* CreateDevice_Prototype) (LPDIRECT3D8, UINT, D3DDEVTYPE, HWND, DWORD, D3DPRESENT_PARAMETERS*, LPDIRECT3DDEVICE8*);
    typedef HRESULT (WINAPI* Reset_Prototype) (LPDIRECT3DDEVICE8, D3DPRESENT_PARAMETERS*);
    typedef HRESULT (WINAPI* EndScene_Prototype) (LPDIRECT3DDEVICE8);
    typedef HRESULT (WINAPI* DrawIndexedPrimitive_Prototype)(LPDIRECT3DDEVICE8, D3DPRIMITIVETYPE, UINT, UINT, UINT, UINT);

    CreateDevice_Prototype CreateDevice_Pointer = NULL;
    Reset_Prototype Reset_Pointer = NULL;
    EndScene_Prototype EndScene_Pointer = NULL;
    DrawIndexedPrimitive_Prototype DrawIndexedPrimitive_Pointer = NULL;

    HRESULT WINAPI Direct3DCreate8_VMTable (VOID);
    HRESULT WINAPI CreateDevice_Detour (LPDIRECT3D8, UINT, D3DDEVTYPE, HWND, DWORD, D3DPRESENT_PARAMETERS*, LPDIRECT3DDEVICE8*);
    HRESULT WINAPI Reset_Detour (LPDIRECT3DDEVICE8, D3DPRESENT_PARAMETERS*);
    HRESULT WINAPI EndScene_Detour (LPDIRECT3DDEVICE8);
    HRESULT WINAPI DrawIndexedPrimitive_Detour(LPDIRECT3DDEVICE8, D3DPRIMITIVETYPE, UINT, UINT, UINT, UINT);

    PDWORD Direct3D_VMTable = NULL;

    BOOL WINAPI DllMain(HINSTANCE hinstModule, DWORD dwReason, LPVOID lpvReserved)
    {
    if(dwReason == DLL_PROCESS_ATTACH)
    {
    DisableThreadLibraryCalls(hinstModule);

    if(Direct3DCreate8_VMTable() == D3D_OK)
    return TRUE;
    }

    return FALSE;
    }

    HRESULT WINAPI Direct3DCreate8_VMTable(VOID)
    {
    LPDIRECT3D8 Direct3D_Object = Direct3DCreate8(D3D_SDK_VERSION);

    if(Direct3D_Object == NULL)
    return D3DERR_INVALIDCALL;

    Direct3D_VMTable = (PDWORD)*(PDWORD)Direct3D_Object;
    Direct3D_Object->Release();

    DWORD dwProtect;

    if(VirtualProtect(&Direct3D_VMTable[15], sizeof(DWORD), PAGE_READWRITE, &dwProtect) != 0)
    {
    *(PDWORD)&CreateDevice_Pointer = Direct3D_VMTable[15];
    *(PDWORD)&Direct3D_VMTable[15] = (DWORD)CreateDevice_Detour;

    if(VirtualProtect(&Direct3D_VMTable[15], sizeof(DWORD), dwProtect, &dwProtect) == 0)
    return D3DERR_INVALIDCALL;
    }
    else
    return D3DERR_INVALIDCALL;

    return D3D_OK;
    }

    HRESULT WINAPI CreateDevice_Detour(LPDIRECT3D8 Direct3D_Object, UINT Adapter, D3DDEVTYPE DeviceType, HWND FocusWindow,
    DWORD BehaviorFlags, D3DPRESENT_PARAMETERS* PresentationParameters,
    LPDIRECT3DDEVICE8* Returned_Device_Interface)
    {
    HRESULT Returned_Result = CreateDevice_Pointer(Direct3D_Object, Adapter, DeviceType, FocusWindow, BehaviorFlags,
    PresentationParameters, Returned_Device_Interface);

    DWORD dwProtect;

    if(VirtualProtect(&Direct3D_VMTable[15], sizeof(DWORD), PAGE_READWRITE, &dwProtect) != 0)
    {
    *(PDWORD)&Direct3D_VMTable[15] = *(PDWORD)&CreateDevice_Pointer;
    CreateDevice_Pointer = NULL;

    if(VirtualProtect(&Direct3D_VMTable[15], sizeof(DWORD), dwProtect, &dwProtect) == 0)
    return D3DERR_INVALIDCALL;
    }
    else
    return D3DERR_INVALIDCALL;

    if(Returned_Result == D3D_OK)
    {
    Direct3D_VMTable = (PDWORD)*(PDWORD)*Returned_Device_Interface;

    *(PDWORD)&Reset_Pointer = (DWORD)Direct3D_VMTable[14];
    *(PDWORD)&EndScene_Pointer = (DWORD)Direct3D_VMTable[35];
    *(PDWORD)&DrawIndexedPrimitive_Pointer = (DWORD)Direct3D_VMTable[71];

    *(PDWORD)&Direct3D_VMTable[14] = (DWORD)Reset_Detour;
    *(PDWORD)&Direct3D_VMTable[35] = (DWORD)EndScene_Detour;
    *(PDWORD)&Direct3D_VMTable[71] = (DWORD)DrawIndexedPrimitive_Detour;
    }

    return Returned_Result;
    }

    HRESULT WINAPI Reset_Detour(LPDIRECT3DDEVICE8 Device_Interface, D3DPRESENT_PARAMETERS* PresentationParameters)
    {
    return Reset_Pointer(Device_Interface, PresentationParameters);
    }

    HRESULT WINAPI EndScene_Detour(LPDIRECT3DDEVICE8 Device_Interface)
    {
    return EndScene_Pointer(Device_Interface);
    }

    HRESULT WINAPI DrawIndexedPrimitive_Detour(LPDIRECT3DDEVICE8 Device_Interface, D3DPRIMITIVETYPE Type,
    UINT MinIndex, UINT NumVertices, UINT StartIndex, UINT PrimitiveCount)
    {
    LPDIRECT3DVERTEXBUFFER8 Stream_Data;
    UINT Stride = 0;

    if(Device_Interface->GetStreamSource(0, &Stream_Data, &Stride) == D3D_OK)
    Stream_Data->Release();
    //code
    return DrawIndexedPrimitive_Pointer(Device_Interface, Type, MinIndex, NumVertices, StartIndex, PrimitiveCount);
    }[CODE]

    How to add WALLHACK
    Look at this piece of code right here in the base


    [CODE]HRESULT WINAPI DrawIndexedPrimitive_Detour(LPDIRECT3DDEVICE8 Device_Interface, D3DPRIMITIVETYPE Type,
    UINT MinIndex, UINT NumVertices, UINT StartIndex, UINT PrimitiveCount)
    {
    LPDIRECT3DVERTEXBUFFER8 Stream_Data;
    UINT Stride;

    if(Device_Interface->GetStreamSource(0, &Stream_Data, &Stride) == D3D_OK)
    Stream_Data->Release();
    //code
    return DrawIndexedPrimitive_Pointer(Device_Interface, Type, MinIndex, NumVertices, StartIndex, PrimitiveCount);
    }
    [CODE]

    Now, look more closely at the following.
    Code:

    Code:
    //code


    INFO
    Stride 40 and 44 are the body model of Sudden Attack. (One's upper, one's lower)
    WALL HACK ---
    Add this below the "//code"
    Code:
    bool wallhack;
    Code:
    
    
    Code:
    if(Stride == 40 && wallhack || Stride == 44 && wallhack)
    {
       Device_Interface->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE); 
    
    }


    To make this work, you need to add a hotkey.

    Add this below the wallhack code.

    Code:
    if((GetAsyncKeyState(VK_NUMPAD1)&1)==1)//Numpad 1 wallhack =!wallhack;//Start Wallhack
    
    Code:
    
    


    If you press NUMPAD 1, wallhack will start.
    Everything you need to learn is here follow this step

    Credit by: Marra
    Last edited by COD3RIN; 11-11-2013 at 04:30 AM.


    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 15 Users Say Thank You to COD3RIN For This Useful Post:

    aimanzulkifli (11-11-2013),atit (12-06-2013),bunkface (11-10-2013),cfm1997 (11-12-2013),EchoSystems (11-10-2013),[MPGH]Mayion (11-10-2013),Munched (12-08-2013),mustapha00 (03-01-2014),oretutnak (11-10-2013),Ritster (03-18-2014),SH4Z4M (11-30-2013),shahir1 (11-10-2013),sjekx (12-19-2013),Sychia (02-07-2014),VeViDo (11-10-2013)

  3. #2
    oretutnak's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    nice one this will help a lot keep on sharing let me try this code and hopefully it will work

  4. #3
    VeViDo's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    In Your PussY
    Posts
    54
    Reputation
    10
    Thanks
    127
    My Mood
    Amazed
    Nice One , You KNow What , The New Codes Will Help Me Too Much
    " UsE Your BraiN AnD Destroy The WorlD "

    "FinaLLY Has Coome Baack To Hack"



    => IF YoU SmeeeLL WhaT
    The RocK Is Cooking <=






    ======> I Know YoU CaN Do iT <========

  5. #4
    bodner99's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    Garena or Twowar works ?

  6. #5
    Mayion's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Bed
    Posts
    12,579
    Reputation
    2810
    Thanks
    7,456
    My Mood
    Twisted
    . @COD3RIN Credits?


     


    Editor - N/A
    Donator - 30 August 2013
    Battlefield Minion - 26 October 2013
    Blackshot Minion - 14 January 2014/16 September 2014
    Minecraft Minion - 7 February 2014/16 September 2014
    WarRock Minion - 23 February 2014
    League of Legends Minion - 21 March 2014

    Minion+ - 15 May 2014
    Other Semi-Popular First Person Shooter Minion - 8 August 2014
    CrossFire Minion - 23 October 2014
    Programming Section Minion - 13 November 2014
    Marketplace Minion - 7 December 2014

    Official Middleman - 7 December 2014 - 27 June 2015
    Moderator - 29 December 2014
    Project Blackout Minion - 10 January 2015
    News Force Interviewer - January 2015
    Steam Games Minion - 21 March 2015
    Dragon Nest Minion - 31 March 2015
    Publicist - April 2015 - 21 September 2015
    Global Moderator - 25 August 2015
    Super User - 13 August 2016

    Here ends the legend of me; may I rest in peace.



  7. #6
    nazaryman's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Location
    Anonymous
    Posts
    108
    Reputation
    10
    Thanks
    1,519
    My Mood
    Sad
    I just found leecheer and it feel so sck a leecher let me put my angry on it :v < - From Akon - I Just Had Leecher

  8. The Following User Says Thank You to nazaryman For This Useful Post:

    Caezer99 (11-11-2013)

  9. #7
    GuilhermeBS_VIP1's Avatar
    Join Date
    Jun 2013
    Gender
    male
    Posts
    55
    Reputation
    10
    Thanks
    232
    My Mood
    Blah
    Dll / Empty project

    Nice tuto

  10. #8
    MM-killer's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    Frankfurt Germany
    Posts
    96
    Reputation
    10
    Thanks
    1,256
    My Mood
    Hot
    thanks But The Dll dosent Workks
    "Find Me On Facebook & Youtube"


  11. #9
    todahoratomoban's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    10
    Ctrl + c + Ctrl + v

  12. #10
    MiguelZinho's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    32
    Reputation
    10
    Thanks
    4
    @COD3RIN as the source will work, and has no mudulo d3d8 ?
    Last edited by MiguelZinho; 11-10-2013 at 03:23 PM.

  13. #11
    COD3RIN's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Posts
    4,941
    Reputation
    315
    Thanks
    22,167
    My Mood
    Busy
    Quote Originally Posted by Mayion View Post
    . @COD3RIN Credits?
    I put a credit after my work done


    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 !

  14. #12
    COD3RIN's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Posts
    4,941
    Reputation
    315
    Thanks
    22,167
    My Mood
    Busy
    Quote Originally Posted by MiguelZinho View Post
    @COD3RIN as the source will work, and has no mudulo d3d8 ?
    Put d3d8.dll


    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 !

  15. #13
    COD3RIN's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Posts
    4,941
    Reputation
    315
    Thanks
    22,167
    My Mood
    Busy
    Quote Originally Posted by nazaryman View Post
    I just found leecheer and it feel so sck a leecher let me put my angry on it :v < - From Akon - I Just Had Leecher
    Only a tutorial how to build hack dont mad for it step by step people can learn for this simple tutorial


    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 !

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

    lembupanggang (11-14-2013)

  17. #14
    COD3RIN's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Posts
    4,941
    Reputation
    315
    Thanks
    22,167
    My Mood
    Busy
    Quote Originally Posted by MM-killer View Post
    thanks But The Dll dosent Workks
    Tutorial only dont worry about it


    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 !

  18. #15
    abangipo's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    17
    Reputation
    10
    Thanks
    1
    My Mood
    Cool
    Man.. im so noob...

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

    lembupanggang (11-14-2013)

Page 1 of 4 123 ... LastLast

Similar Threads

  1. [Detected] MPGH.NET D3D WALLHACK Hotkey Hack
    By FUKO in forum Point Blank Hacks
    Replies: 238
    Last Post: 08-29-2011, 10:11 PM
  2. How To Create D3D HACK [PB] ??
    By marvelt in forum C++/C Programming
    Replies: 7
    Last Post: 02-24-2011, 08:07 PM
  3. [Tutorial] Create Matrial Wallhack
    By ~Mafioso~ in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 5
    Last Post: 03-07-2010, 11:03 PM
  4. [Help] - D3D Wallhack
    By Auxim in forum C++/C Programming
    Replies: 10
    Last Post: 01-20-2010, 08:35 PM
  5. CrossFire D3D wallhack is coming...
    By asakasuck in forum General Game Hacking
    Replies: 3
    Last Post: 03-21-2009, 02:31 PM

Tags for this Thread