SolvedDirect3D Hook

Posts 14 of 4 · Page 1 of 1
Direct3D Hook
Alright,

So, i've been programming in various languages for years. I'm very well aware of the calculations necessary for making an ESP hack and i'm aware that you need to translate 3d world coordinates into 2d screen coordinates (world to screen) for varying resolutions. I'm aware of the functions of an aimlock, and how to create it by controlling the mouse in a smooth pattern - as well as how to use a world to screen function to lock the mouse to the coordinates on the screen (and then use a varying offset to seek out the head). I've got the calculations all ready to go on that end of the equation.

However, what i'm stuck on is making the hook to retrieve the 3d world coordinates as they are updated. Can somebody help me out by pointing me in the right direction of how to hook into DirectX/D3D in this way? I have every intention of releasing the source code of the finished product on these forums to act as a starting point for future hacking enthusiasts.

Salutations.
If you're using Cheat Engine then you should be able to find the address for it by hooking the D3D and scanning the memory.

USE IN LONE WOLF

New Scan for Unknown initial value

Move around (change X , Y coords )

Click Changed value

Continue to move around and there should be a few addresses that are floats

Test the coords by moving up/down/left/right etc.

Look in Cheat Engine for the addresses that have changed, then use them for your ESP

(^^^^This is for players^^^^)

Enemies are way more advanced, spy on an enemy and try this, make sure you find the correct coordinate ,
example :

If he walks flat on the ground and straight scan for changed value That would be his Y coord
If he goes up that would be his X coord and so on.

Multiplayer:

same technique but play on player hosted match with 1 other person!

make them move directions and scan them

when you have x y z coords then you are pretty much set.
Quote Originally Posted by RTEGRWEYHGWA$RywywG View Post
If you're using Cheat Engine then you should be able to find the address for it by hooking the D3D and scanning the memory.

USE IN LONE WOLF

New Scan for Unknown initial value

Move around (change X , Y coords )

Click Changed value

Continue to move around and there should be a few addresses that are floats

Test the coords by moving up/down/left/right etc.

Look in Cheat Engine for the addresses that have changed, then use them for your ESP

(^^^^This is for players^^^^)

Enemies are way more advanced, spy on an enemy and try this, make sure you find the correct coordinate ,
example :

If he walks flat on the ground and straight scan for changed value That would be his Y coord
If he goes up that would be his X coord and so on.

Multiplayer:

same technique but play on player hosted match with 1 other person!

make them move directions and scan them

when you have x y z coords then you are pretty much set.

I'm trying to do this programatically with C++ by retrieving a pointer to the current DirectX EndScene which is active in the game.

My understand is that Direct3D works like this-
Device.BeginScene()
-- some calculations and creation of objects
Device.EndScene()
Device.Present()

Therefore, to intercept EndScene and add an overlay based on the contents of EndScene (retrieved through the pointer)

How would I programatically hook to the Rainbow Six Direct3D rendering? I know they use AnvilNext2.0 but Anvil uses Direct3D for post-processing.

FYI- By using a programatic method like this (instead of memory editing), you can create online cheats not just lone wolf.
Quote Originally Posted by Ninjah4x View Post
I'm trying to do this programatically with C++ by retrieving a pointer to the current DirectX EndScene which is active in the game.

My understand is that Direct3D works like this-
Device.BeginScene()
-- some calculations and creation of objects
Device.EndScene()
Device.Present()

Therefore, to intercept EndScene and add an overlay based on the contents of EndScene (retrieved through the pointer)

How would I programatically hook to the Rainbow Six Direct3D rendering? I know they use AnvilNext2.0 but Anvil uses Direct3D for post-processing.

FYI- By using a programatic method like this (instead of memory editing), you can create online cheats not just lone wolf.
Oh I see what you mean, but I am not good with C++ or any type of C language
And if D3D is used for post-processing then I don't think its possible to use the command. try making a DLL to inject with, maybe that would work
Posts 14 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?