258456 (02-17-2012)
Hmm... Well, this is a lot more simple than what i have been doing. I would think that this would be easily detected by xtrap since changing the address of a vtable function in directx is a pretty major adjustment. Well, i guess you learn new things everyday. Good job @~FALLEN~ on your method. Simple is the way to go, lol. This is definitely going to change my hooking methods, hehe.
Last edited by 258456; 02-17-2012 at 10:55 PM.
@~FALLEN~ didnt u say u are going to make mid func hook tut :/?
To all People who thinks am a leecher,hate me,are jelly from me....
Refer to this thread...
https://www.mpgh.net/forum/232-crossf...stop-hate.html
Can OHK working with Bypass?
i am [G]a[M]e[R]
it is really easy just declare your function like the original one
first you define the original function like this:
then your function:Code:typedef HRESULT (WINAPI* oEndScene) (IDIRECT3DCREATE9 pDevice); oEndScene pEndScene; //pointer to original function
ofc you should backup the original pointer to pEndScne before replacing it with your own..Code:HRESULT WINAPI myEndScene(LPDIRECT3DDEVICE9 pDevice) //WINAPI like the original function ; ) { return pEndScene(pDevice); }
[img]https://i43.photobucke*****m/albums/e367/DeteSting/Steam-update.gif[/img]
Last edited by ~FALLEN~; 02-18-2012 at 12:51 PM. Reason: code tags
giniyat101 (02-18-2012)
giniyat101 (02-18-2012)
giniyat101 (02-18-2012)
@~FALLEN~ how he did that rez mod ?