![]() |
Re: keybd_event
Ya thats basically it man thanks.
|
Re: keybd_event
Hmm, it doesn't look like quake2 accepts keyboard input using window messages and I'm pretty sure Half-Life will be the same.
Though I could have sworn I did something similar, oh well. Sorry but other then getting into half-life's address space and doing things from there I cannot figure out how else to do this. |
Re: keybd_event
Hey np man.
I'll try figure this out , unless i get sick of it. Thanks anyways . |
Re: keybd_event
I wrote this hack to monitor my cz dedicated server and restart it.
The part that may interest you is I look for the error message box window and "press" the ok button by sending it a space bar down and space bar up using PostMessage() . You can do the same for any key.... Code:
void CFindNBWindowDlg::OnTimer(UINT nIDEvent) |
All times are GMT +2. The time now is 14:41. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.