Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    D3D framework for D3D8 and D3D9


    Hans211
     Share

    Recommended Posts

    hans211 im doing my best to find out how to unhook something but i just dont get it

     

    im using theese funktion:

    void  DetourRemove(BYTE *src, BYTE *restore, const int len=0);
    
    BOOL DetourRemove(LPVOID lpDetourCreatePtr);
    
    
    
    BOOL DetourRemove(LPVOID lpDetourCreatePtr)
    {
    PBYTE pbMallocPtr = NULL;
    DWORD dwFuncOrig = NULL;
    DWORD dwProt = NULL;
    int i=0;
    
    if((pbMallocPtr = (PBYTE)lpDetourCreatePtr) == NULL)
    	return FALSE;
    
    // Find the orig jmp32 opcode sig
    for(i=0; i<=DETOUR_MAX_SRCH_OPLEN; i++)
    {
    	if(pbMallocPtr[i] == SIG_OP_0 
    		&& pbMallocPtr[i+1] == SIG_OP_1
    		&& pbMallocPtr[i+2] == SIG_OP_2)
    		break;
    
    	if(i == DETOUR_MAX_SRCH_OPLEN)
    		return FALSE;
    }
    
    // Calculate the original address
    pbMallocPtr += (i-JMP32_SZ+1); // Inc to jmp
    dwFuncOrig = *(DWORD*)pbMallocPtr; // Get 32bit jmp
    pbMallocPtr += BIT32_SZ; // Inc to end of jmp
    dwFuncOrig += (DWORD)pbMallocPtr; // Add this addr to 32bit jmp
    dwFuncOrig -= (i-JMP32_SZ); // Dec by detour len to get to start of orig
    
    // Write the overwritten bytes back to the original
    VirtualProtect((LPVOID)dwFuncOrig, (i-JMP32_SZ), PAGE_READWRITE, &dwProt);
    memcpy((LPVOID)dwFuncOrig, lpDetourCreatePtr, (i-JMP32_SZ));
    VirtualProtect((LPVOID)dwFuncOrig, (i-JMP32_SZ), dwProt, new DWORD);
    
    return TRUE;
    }

     

     

    can you pleas tell me how to unhook Drawindexedprimitive as example

    Link to comment
    Share on other sites

    • 2 months later...
    • 1 month later...

    Thanks for this amazing menu followed the instructions and compilied no errors played in game tested perfect.

     

    can you give a small instruction on how to add the on off hacks . also right under the fps a clock and replay time whould be great. [maybee this 2 on the right side and not in menu.]

     

    I chouldnt find how to rotate the menu also , I wont to make it more left center. not top left.

     

    Thanks... good work.

    Link to comment
    Share on other sites

    • 3 weeks later...

    Hey guys i compiled the project. All works fine with the menu, but when i change the map in the game called guild wars it crash.

    Link to comment
    Share on other sites

    • 4 weeks later...

    I followed everything and I am getting this

     

    "1>LINK : fatal error LNK1561: entry point must be defined"

     

    any suggestions? I see the dll main but not sure why its not working

    Link to comment
    Share on other sites

    I followed everything and I am getting this

     

    "1>LINK : fatal error LNK1561: entry point must be defined"

     

    any suggestions? I see the dll main but not sure why its not working

     

    compline dll lol

    Link to comment
    Share on other sites

    • 4 weeks later...
    • 4 weeks later...

    Any idea how to prevent the game from crashing when I alt tab out?

    Edited by tom1
    Link to comment
    Share on other sites

    • 3 weeks later...
    • 4 weeks later...

    This is a complete D3D framework containing:

    - D3D Base, all basic stuff, hooks, font manipulation

    - D3D Menu with folders

    - Transparent Background function

    - Optimized D3Dfont, centered and right aligned text,

    - Code works for d3d8 or d3d9 (define it in d3dbase.h)

    - test programs for d3d8 and d3d9

    - All within a 9.5 kb dll

     

    Used existing code parts for the framework from:

    - Azorbix: DetourFunc

    - Dominik or Patrick: FindPattern

    - Gordon : device pointer signature

    - Microsoft: Fonts

     

    e0svgk.jpg

     

    The zip file contains:

    - all source files

    - d3d8 and d3d9 prebuild dll

    - d3d8 and d3d9 test program

    - dll injector

     

    To build a new version :

    - create an empty c++ project for a multithreaded dll

    - make sure your c++ finds the directx sdk files

    - add the files: d3dbase.*, d3dmenu.* and hackbase.cpp

    - DON'T include the d3dfont files in your project !!

    - edit the d3dbase.h and select for which version

    - build it

     

    Have fun !

     

    D3Dbase.zip

    Thx Is Working on Crazy shooter online me test .....D3d9.dll Thx

    Link to comment
    Share on other sites

    • 4 weeks later...

    This is a complete D3D framework containing:

    - D3D Base, all basic stuff, hooks, font manipulation

    - D3D Menu with folders

    - Transparent Background function

    - Optimized D3Dfont, centered and right aligned text,

    - Code works for d3d8 or d3d9 (define it in d3dbase.h)

    - test programs for d3d8 and d3d9

    - All within a 9.5 kb dll

     

    Used existing code parts for the framework from:

    - Azorbix: DetourFunc

    - Dominik or Patrick: FindPattern

    - Gordon : device pointer signature

    - Microsoft: Fonts

     

    e0svgk.jpg

     

    The zip file contains:

    - all source files

    - d3d8 and d3d9 prebuild dll

    - d3d8 and d3d9 test program

    - dll injector

     

    To build a new version :

    - create an empty c++ project for a multithreaded dll

    - make sure your c++ finds the directx sdk files

    - add the files: d3dbase.*, d3dmenu.* and hackbase.cpp

    - DON'T include the d3dfont files in your project !!

    - edit the d3dbase.h and select for which version

    - build it

     

    Have fun !

     

    D3Dbase.zip

    still working is it ????
    Link to comment
    Share on other sites

    • 2 years later...
    • 4 months later...
    • 2 weeks later...
    • 3 years later...

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    Loading...
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...