SamuZai
NullTerminator
NullTerminator

patreon


Internal Hack For Any Game Part 3 Source Code

 This is the source code and files from part 3 of my internal hack series for any game. 

Comments

i dont find the dll file to inject, also how do i change it from x86 to x64 for other game, and how can i know if the game is 86 or 64? @null

Thanks man

oEndScene = (EndScene)Detours::X86::DetourFunction((uint8_t*)d3d9Device[42], (uint8_t*)hkEndScene);

Detours has no member uin8_t

oEndScene = (EndScene)Detours::X86::DetourFunction((Detours::uint8_t*)d3d9Device[42], (Detours::uint8_t*)hkEndScene); SetStreamSource_orig = (SetStreamSource)Detours::X86::DetourFunction((Detours::uint8_t*)d3d9Device[100], (Detours::uint8_t*)SetStreamSource_hook); SetVertexDeclaration_orig = (SetVertexDeclaration)Detours::X86::DetourFunction((Detours::uint8_t*)d3d9Device[87], (Detours::uint8_t*)SetVertexDeclaration_hook); SetVertexShaderConstantF_orig = (SetVertexShaderConstantF)Detours::X86::DetourFunction((Detours::uint8_t*)d3d9Device[94], (Detours::uint8_t*)SetVertexShaderConstantF_hook); SetVertexShader_orig = (SetVertexShader)Detours::X86::DetourFunction((Detours::uint8_t*)d3d9Device[92], (Detours::uint8_t*)SetVertexShader_hook); SetPixelShader_orig = (SetPixelShader)Detours::X86::DetourFunction((Detours::uint8_t*)d3d9Device[107], (Detours::uint8_t*)SetPixelShader_hook); DrawIndexedPrimitive_orig = (DrawIndexedPrimitive)Detours::X86::DetourFunction((Detours::uint8_t*)d3d9Device[82], (Detours::uint8_t*)DrawIndexedPrimitive_hook);

I have an error.

i fixed all of the errors but whenever i inject into csgo my game crashes

dotsenpai. Follow the tutorial and you’ll see in the first episode he included everything

There's a lot of undefined variables in the header files. My #include work but in the mainthread it says that detour is not a class (which its not) but should I edit it and make it a class our are my settings messed up.

https://pastebin.com/Aw9WnuZX dllmain.cpp

Mine compiles fine, but CS:GO crashes when injected using GH injector; using the same code but fixed the uint errors

The solution has been posted many times on the internet. Use. Google.

Null Terminator

So you just not gonna use google?

Null Terminator

It literally tells you what’s wrong.

Null Terminator

You probably need to make a quick model logger and log the specific model values for your game.

Null Terminator

Im trying to make this work with cod2 I have tried putting windowed mode to false when creating the d3d9 object but it didn't help. I also made sure to have cod2 in d3d9 mode. is there something obvious i'm not seeing here? I thought this was supposed to work with any d3d9 game? Do I need a DIP?

I can't use "Detours::uint8_t*" because it call me namespace "Detours" has no member "uint8_t". How can i fix it ???

So you just not gonna help?

Receiving Compile Errors (https://i.imgur.com/pAx9Yoh.png) Discord: Cosmic#3321


More Creators