Nothing changed about my code, the only thing I changed is which function I hook. Instead of hooking DIP I hook SetRenderState now (since I can check the stack for which call is being made (depth, pixel shaders etc. etc))
So now, whenever a call has been made for depth, I just auto disable it, that's how my wallhack works now.
Still I'd like to know how I can use present to display my menu in-game. What can you tell me about changing device pointers?
Is this why people hook Reset()?
Yes, that's why people hook reset... But I don't. It's too much of a hassle and introduces yet-another-dependency-or-spot-for-error-or-crashing-by-HackShield. I just check the device pointer with last frame's, and, if it is different, the device has changed, viola!
Originally Posted by freedompeace
Yes, that's why people hook reset... But I don't. It's too much of a hassle and introduces yet-another-dependency-or-spot-for-error-or-crashing-by-HackShield. I just check the device pointer with last frame's, and, if it is different, the device has changed, viola!