My Hack crashes after 10 min.
hey all,
idk why my d3d hack is crashing so i hope anyone can help me ^.^
I'm using normal vTable Hook and do only hook DIP [Draw Indexed Primitive].
I saw that HS unhooks it after about a minute so i tried the following:
Code:
DWORD dwDrawIndexedPrimitive = GetAddressPtr(82);
if( memcmp((void*)dwDrawIndexedPrimitive,(void*)"some bytes","private")==0 )
{
pDrawIndexedPrimitive = (oDrawIndexedPrimitive)DetourCreateB8(dwDrawIndexedPrimitive, (DWORD)myDrawIndexedPrimitive, 12);
}
So rehook is working..
DetourCreateB8 is a Detour Function made by Croner which also worked a long time in WarRock.
I just made a little wallhack is you press numpad1 and got the stride by this function
Code:
if(pDevice->GetStreamSource(0, &StreamBuffer, &OffsetInBytes, &m_Stride) == D3D_OK)
{
StreamBuffer->Release();
}
Now after 10-15 min of playing (INGAME!, not in lobby) i get that cr4p:
Hope you can help if my detour is DT or what ever idk^^