Hello, for all you C# programmers out there, ive got a question that i need answered.
I want to stimulate the mouse and keyboard. I know a few methods to do this but for some reason, they dont seem to work while im playing h2v.
So far, the only method that has worked is the SendKeys.Send function. unfortunately, SOMETIMES the game misses it and it ackts like if the function was never even used. I think this is becuase the function presses and lets go of the key way to fast before it evens give time for the game to detect it.
for example, if i press SendKeys.Send("f"); the game should punch...right? well sometimes it does and sometimes it doesnt. i found out that if i do SendKeys.Send("fffffffffffffffffffffffffff"); i have a greater probability of puching, but it still isnt enough to make it punch 100% of the time.
Is there a way to wait a while before the SendKeys.Send lets go of the button pressed? Is there a better way to send input that will work with directx games? If you have a way to do this in C++ that also works with h2v, feel free to post it also, I dont mind switching to C++ as long as it works
all help is appreciated






Bookmarks