Working vTable DIP

Posts 115 of 18 · Page 1 of 2
Working vTable DIP
So you're DIP hook get's detected when you try to hook it after you're module check right?, so all you need to do is make a check to see when DIP is really being used...like so

Code:
if (VirtualTable(vDrawIndexedPrimitive) != NULL)
{
    RealDrawIndexedPrimitive = (rDrawIndexedPrimitive) SafeDetouring( (PBYTE)VirtualTable(vDrawIndexedPrimitive),(PBYTE)DrawIndexedPrimitive, 7 );
}
Code:
HRESULT WINAPI DrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, DIP1)
{
	_asm nop;
	
	if (Runing)
	{
	    pDevice->SetRenderState(D3DRS_FOGENABLE, false);
	    pDevice->SetRenderState(D3DRS_SRCBLEND, D3DBLEND_SRCCOLOR); //HD Mode
	}
	if (GetAsyncKeyState(VK_NUMPAD1)&1) { Runing = !Runing; }

	return RealDrawIndexedPrimitive(pDevice, DIP2);

	_asm JMP[DrawIndexedPrimitive];
}
And bam, working DIP without crashing xD, gl

Quote Originally Posted by ieatyourlvllol View Post
So you're DIP hook get's detected when you try to hook it after you're module check right?, so all you need to do is make a check to see when DIP is really being used...like so

Code:
if (VirtualTable(vDrawIndexedPrimitive) != NULL)
{
    RealDrawIndexedPrimitive = (rDrawIndexedPrimitive) SafeDetouring( (PBYTE)VirtualTable(vDrawIndexedPrimitive),(PBYTE)DrawIndexedPrimitive, 7 );
}
Code:
HRESULT WINAPI DrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, DIP1)
{
	_asm nop;
	
	if (Runing)
	{
	    pDevice->SetRenderState(D3DRS_FOGENABLE, false);
	    pDevice->SetRenderState(D3DRS_SRCBLEND, D3DBLEND_SRCCOLOR); //HD Mode
	}
	if (GetAsyncKeyState(VK_NUMPAD1)&1) { Runing = !Runing; }

	return RealDrawIndexedPrimitive(pDevice, DIP2);

	_asm JMP[DrawIndexedPrimitive];
}
And bam, working DIP without crashing xD, gl


this is pretty good but what you going to do for chams chams need strides and you have LPDIRECT3DDEVICE9 pDevice, DIP1
so all you could do is hd mode fullbright no fog and others with no strides even wall hack needs strides and what is "DIP1"

you need to explain better if you want anyone to understand not just looking at code and a picture

10% of dip user's use color chams and wallhack like 2% use other stuff
i'm just showing ppl that the dip still works, and also i dont want them knowing what DIP1 & 2 stands for, cause you know anyone who can code knows what needs to go there and as for color chams iv had no luck yet cause SetStreamSource is not geting calld i gess, so i cant hook it,

and this code here is detected
Code:
if (pDevice->SetStreamSource(bla bla bla) == D3D_OK)
{
    StreamData->Release(); <---this is
}
so yeah, im still trying to find out another way to get the strides.
Quote Originally Posted by ieatyourlvllol View Post
i'm just showing ppl that the dip still works, and also i dont want them knowing what DIP1 & 2 stands for, cause you know anyone who can code knows what needs to go there and as for color chams iv had no luck yet cause SetStreamSource is not geting calld i gess, so i cant hook it,

and this code here is detected
Code:
if (pDevice->SetStreamSource(bla bla bla) == D3D_OK)
{
    StreamData->Release(); <---this is
}
so yeah, im still trying to find out another way to get the strides.
well i have a bypass that bypass's almost all of hs memory scans crc checks dettections XD
Quote Originally Posted by DisOwned View Post
well i have a bypass that bypass's almost all of hs memory scans crc checks dettections XD
Then there is no point for this thread if you bypass HS CRC, also NA doesn't scan DIP VTable? Still works fine for me.

Also why aren't you detouring functions directly from d3d9.dll, so much easier, you don't have to deal with bs CRC checks when you detour via Engine moudle.
Quote Originally Posted by arun823 View Post

Then there is no point for this thread if you bypass HS CRC, also NA doesn't scan DIP VTable? Still works fine for me.

Also why aren't you detouring functions directly from d3d9.dll, so much easier, you don't have to deal with bs CRC checks when you detour via Engine moudle.

this isnt my thread XD dude i dont need this

this is ieatyourlvllol's work
WTF is that?
return and them a jump? The jump will never be executed...
Also your parameters are wrong, this will crash so badly...
Orig memory:
Code:
71C8B6B1     8BFF                            MOV EDI,EDI                                               ; DIP
71C8B6B3     55                              PUSH EBP
71C8B6B4     8BEC                            MOV EBP,ESP
71C8B6B6     6A FF                           PUSH -1
71C8B6B8     68 28BEDF71                     PUSH d3d9.71DFBE28
The last problem: DIP is used every frame more then 1 time. What do you try to tell me with "Hook it if you need it"
You need it VERY often o.0
Sorry lol, Im not good with assembly AT ALL xD i put that there cause...i don't know what im doing lmao, It just works so i left it like that.....also i know that LPDIRECT3DDEVICE9 is not suppose to be there >_> and there's 100% no crash so far......and if i had a bypass i would of never posted this, i know someone will think twice about it....i don't have the time to sit here and fuck with it forever guys, and @DisOwned you should let me get that bypass lmfao xD


also thanks for letting me know this stuff and arun823 ill try that out, ty
Quote Originally Posted by ieatyourlvllol View Post
Sorry lol, Im not good with assembly AT ALL xD i put that there cause...i don't know what im doing lmao, It just works so i left it like that.....also i know that LPDIRECT3DDEVICE9 is not suppose to be there >_> and there's 100% no crash so far......and if i had a bypass i would of never posted this, i know someone will think twice about it....i don't have the time to sit here and fuck with it forever guys, and @DisOwned you should let me get that bypass lmfao xD


also thanks for letting me know this stuff and arun823 ill try that out, ty

i would rather die then give up my awsome bypass

reason's

my bypass use's addys and bytes

i have made sig scans for all addys and made a logger
so i can update it easyaly and i will die b4 i give it up XD
Code:
	_asm JMP[DrawIndexedPrimitive];
Isso é desnecessário!
@DisOwned: Just keep your hacks updated, and make them for EU :P
Quote Originally Posted by DisOwned View Post
i would rather die then give up my awsome bypass

reason's

my bypass use's addys and bytes

i have made sig scans for all addys and made a logger
so i can update it easyaly and i will die b4 i give it up XD
Then i gess imma need to kill you then lmao jk, I'm just lazy atm to learn asm but anything else id say im not to bad at xD lol i try to avoid C&Ping =p the only thing i did c&p was someones detour func so i feel a tab good xD

Quote Originally Posted by B4NDiT26 View Post
@DisOwned: Just keep your hacks updated, and make them for EU :P
That was not really necessary in here man >_<

also @kssiobr , I only did that cause i remember seeing a reset func that was like that...i think...or something close like it...i just put it in the rong spot..i never tested without it...hell im not even sure yet if it needs it in the first place lmao...

this dip is kinda like....noob eazy id say...i made it fucking around in my spare time =p i stayed ingame for about 30 min to see if it would crash and it didn't so i just up and posted it without much testing
Quote Originally Posted by ieatyourlvllol View Post


Then i gess imma need to kill you then lmao jk, I'm just lazy atm to learn asm but anything else id say im not to bad at xD lol i try to avoid C&Ping =p the only thing i did c&p was someones detour func so i feel a tab good xD



That was not really necessary in here man >_<

also @kssiobr , I only did that cause i remember seeing a reset func that was like that...i think...or something close like it...i just put it in the rong spot..i never tested without it...hell im not even sure yet if it needs it in the first place lmao...

this dip is kinda like....noob eazy id say...i made it fucking around in my spare time =p i stayed ingame for about 30 min to see if it would crash and it didn't so i just up and posted it without much testing

my dip is undettected



sexy right
Quote Originally Posted by DisOwned View Post
my dip is undettected

sexy right
why must you make me feel jealous lmao xD eh idc, ill get them working one of these days
I also made an undetected DIP hook, works for every DX9 game, no AC will detect it
Just chams wont work ATM, thats why I also made a setTexture hook. Both are undetected on all Games I tested it yet
Posts 115 of 18 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?