I have got a big problem, when I call UsePower to mosnters frequently, it may case D3 client crash.
I'm using CreateRemoteThread to do so, anybody have some ideas to help me? I'll be very appreciate of that!
I have got a big problem, when I call UsePower to mosnters frequently, it may case D3 client crash.
I'm using CreateRemoteThread to do so, anybody have some ideas to help me? I'll be very appreciate of that!
i bet you need to call it from within d3´s mainthread to avoid race conditions.
easyest solution would be: inject a dll with your logic, hook a d3d function like endscene or present, and pulse your logic from the hook each frame.
Thanks boredevil, I will try to use dll injection.