Results 1 to 4 of 4
  1. #1
    Killa233's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    95
    Reputation
    10
    Thanks
    10

    hmm chams vtable

    ok im useing vtable chams works great intill now it crashes when i scope in or open my menu ingame heres my hook anyone got any ideas why


    void HookThis(void)
    {
    DWORD hD3D9Module, dwDevicePointer, * vTable;
    hD3D9Module = 0;

    do
    {
    hD3D9Module = (DWORD)GetModuleHandleA("d3d9.dll");
    }
    while(!hD3D9Module);
    dwDevicePointer = FindPattern(hD3D9Module, 0x128000, (PBYTE)"\xC7\x06\x00\x00\x00\x00\x89\x86\x00\x00\x 00\x00\x89\x86", "xx????xx????xx");// Sig scan for DevicePointer

    if(dwDevicePointer)
    {
    memcpy(&vTable, (void *)(dwDevicePointer + 2), 4 );

    oReset = ( tReset )DetourCreate(( PBYTE ) vTable[18],( PBYTE) &Reset, 5);
    oPresent = ( tPresent )DetourCreate(( PBYTE ) vTable[17], ( PBYTE ) &Present, 5);
    oDrawIndexedPrimitive = (tDrawIndexedPrimitive)DetourCreate((BYTE *)vTable[82], (BYTE *)&hkDrawIndexedPrimitive, 5);
    DWORD WINAPI StartRoutine( LPVOID ) ;
    }
    }

  2. #2
    Genesis's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    Terra Australis
    Posts
    4,106
    Reputation
    1315
    Thanks
    2,466
    oReset = ( tReset )DetourCreate(( PBYTE ) vTable[18],( PBYTE) &Reset, 5);
    oPresent = ( tPresent )DetourCreate(( PBYTE ) vTable[17], ( PBYTE ) &Present, 5);
    Reset is VTable 16 not 18.

    helt ensam.

  3. #3
    Killa233's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    95
    Reputation
    10
    Thanks
    10
    XD well thakns

  4. #4
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Ontario, Canada
    Posts
    15,689
    Reputation
    3319
    Thanks
    11,100
    My Mood
    Happy
    Yup that should be the problem...

    Check this thread for more info and the others in the section

    http://www.mpgh.net/forum/207-combat..****ns-more.html

    http://www.mpgh.net/forum/207-combat...er-2012-a.html

    /Solved
    /Closed


    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.
     
     
    VM | PM

    Publicist Since 04.04.2015
    Middleman Since Unknown - Unknown
    Global Moderator Since 08.01.2013
    Donator Since 05.29.2013

    Minion+ Since 04.18.2013

    District 187 Minion Since 04.04.2013
    Steam Minion Since 02.26.2013
    WarRock Minion Since 02.19.2013
    A.V.A Minion Since 02.13.2013
    DayZ Minion Since 01.21.2013
    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


Similar Threads

  1. ESP/Chams For BHD 1.5.0.5 Arugs 1.2m: Undetected
    By sf0d in forum General Game Hacking
    Replies: 1
    Last Post: 11-05-2008, 03:31 PM
  2. Chams!
    By Underglow450 in forum WarRock - International Hacks
    Replies: 50
    Last Post: 03-17-2007, 06:19 AM
  3. Replies: 2
    Last Post: 12-24-2006, 08:57 PM
  4. hmm
    By ace76543 in forum Spammers Corner
    Replies: 3
    Last Post: 12-11-2006, 05:57 PM
  5. hmm?
    By fRailty in forum Art & Graphic Design
    Replies: 1
    Last Post: 01-15-2006, 10:29 AM