I have some problems by using the CInputControl.
Here is my code:
I can use it normal, to move and turn. But after some minutes, it crashes.
Im testing it really hard, like 60 times per second.
If i turn via CInputControl and then turn via mouse/rightdown, wow crashes instantly.
I tried to debug SetFlags with olly. It seems, the function is only used by WoW through the ClickToMove function.
Here is the WoW-Crash-Log:
I tried to hook DirectInput8, GetDeviceState and GetDeviceData, but WoW never call it, even if its in fullscreen.
I want to adjust my orientation, while im playing. An example situation is in PvP. I want always facing the enemy, is this possible by using the CInputControl?
Here is the binary of my project:
RapidShare: Easy Filehosting
Wow must be started and the char logged on!
If u start this, your char will start to turn left.
If you use after that the mouse, wow crash.
This will happen, even if you have closed my project.
Last edited by goderion; 12-09-2008 at 05:51 PM.
Oh my god! Im so stupid!
I forgot to use the address as a pointer to the CInputControl.
I used the address itself as the CInputControl. :disbelief:
Now all works fine! ^^