Triggerhappy69 Posted May 15, 2009 Posted May 15, 2009 I stumbled accross this little software to send keyboard macros from different USB devices http://hidmacros.medek.info/ This guy is a genious..! I'll test it ASAP and post an update (if no one is allready using it?) "But (504)Brewber said they were'nt friendly.. So I took'em out.!" [sIGPIC][/sIGPIC]
Panzertard Posted May 15, 2009 Posted May 15, 2009 (edited) As for automation, macros etc - I find myself using AutoIt quite often. Send Keys macros, detect text in windows and act on special situation etc. A typical example would be "wait for process with name nnn, or wait for window with title Nnnnn and text Nnnnn33, send keys". Requires a bit if scripting knowledge though. Allthough I'm not using it for games, but profesionally at work. (Software industry). It's a double-edged sword - with gaming it's a bit of a cheat, however for pitbuilders I can see that you guys could use it. Easteregg: You can make mini-apps with it. The guy who wrote the "DCS:BS affinity fix" wrote it with AutoIt and compiled it with the exe packager. Edited May 15, 2009 by Panzertard Game cheat warn The mind is like a parachute. It only works when it's open | The important thing is not to stop questioning
Triggerhappy69 Posted May 16, 2009 Author Posted May 16, 2009 so what you're saying is that simulare software can run in background always, looking for keywords or combination inputs from a keyboard. And execute macros when it recognises a keyword? ...... I see lots of fun to be had with that kind of software mate.. LMAO P. I just read your PM mate.. I'll add as soon as I get out of bed.. Good morning btw.. c",) "But (504)Brewber said they were'nt friendly.. So I took'em out.!" [sIGPIC][/sIGPIC]
Total Posted May 16, 2009 Posted May 16, 2009 Another one: http://www.autoitscript.com/forum/index.php?showtopic=45332
Panzertard Posted May 16, 2009 Posted May 16, 2009 Yes, trigger - however, I'm not sure how capable it is with DX9/10 - if it's able to "sniff" for text in a game. For standard Windows Apps it's great, it'll detect anything and be able to react to it. The mind is like a parachute. It only works when it's open | The important thing is not to stop questioning
BaD CrC Posted May 16, 2009 Posted May 16, 2009 It would have been useful to have ED implement a 'keypressed' and 'keyreleased' flag for the in game key assignments so we can directly use toggle switches without going through external software like svmapper. https://www.blacksharkden.com http://discord.gg/blacksharkden
Panzertard Posted May 16, 2009 Posted May 16, 2009 Well, it's quite possible to write such a piece of software with .Net / c++. You can hook onto the events for the keyboard in such a manner. However, if DCS:BS contains "anticheat mechanisms" it probably will get you kicked out of a multiplayer game. For singleplayer on the other hand, such an approach would work - for the benefits of you pitbuilders. You only need to convince someone to make that util for you ;) (No, dont look at me) The mind is like a parachute. It only works when it's open | The important thing is not to stop questioning
Moa Posted May 17, 2009 Posted May 17, 2009 I don't know why such a program would be cheating. For example, I started writing a little program that can send keyboard presses to an arbitrary other window. How is this any different from any of the joystick programming APIs (both CH and Thrustmaster have this). What this program needs to do it send a series of keyboard presses to an arbitrary window (using the window 'handle' identifier, HWND). This is a huge security hole in the Windows API (read up on "Windows shatter" attacks), but was how window-to-window communication was handled in Win32. The reason I was writing it was not to cheat, but to automate chat messages to be sent in-game. I can't see why someone should be kicked for that. Are you sure Black Shark has it?
Panzertard Posted May 17, 2009 Posted May 17, 2009 I don't know why such a program would be cheating. For example, I started writing a little program that can send keyboard presses to an arbitrary other window. How is this any different from any of the joystick programming APIs (both CH and Thrustmaster have this). What this program needs to do it send a series of keyboard presses to an arbitrary window (using the window 'handle' identifier, HWND). This is a huge security hole in the Windows API (read up on "Windows shatter" attacks), but was how window-to-window communication was handled in Win32. The reason I was writing it was not to cheat, but to automate chat messages to be sent in-game. I can't see why someone should be kicked for that. Are you sure Black Shark has it? No, dont get me wrong - it's just that so many multiplayer games are activly trying to prevent cheats - but they tend to be MP games only. And maybe use mechanisms like Punkbuster. Which would report you / kick you from a server if you had "hooks to DX" or similar methods active. I dont know if DCS:BS is one of them, I havent used MP yet ;) And as for pitbuilders - simmers - it's quite another story regarding tools you employ to get more immersion / realism. It clearly has some uses. But we're getting OT - I'll leave this debate and hand the thread back to you folks :) The mind is like a parachute. It only works when it's open | The important thing is not to stop questioning
PanelBuilder Posted May 17, 2009 Posted May 17, 2009 Cool. Maybe you guys can help with something. I've got this weapons control panel that I'm programming. I know what the switch positions are in the sim at the start of a mission, so I compare that to the switch positions on the physical panel, and then send any necessary keystrokes to make the sim panel switch positions match. The problem is, I need to know when the misssion has started (after the break/pause key. Cause you don't want to send the keystrokes when nobody's listening. And you only want to send them once. Any ideas? Thanks everyone.
JG14_Smil Posted May 26, 2009 Posted May 26, 2009 I incorportate a disable scan button so I can set any switches that need it. I tend to fly only cold start missions if possible.
Made.In.China.00 Posted May 29, 2009 Posted May 29, 2009 I'm trying this software, but it gives me an access violation error every time I use the scan fontion to detect keystoke. however the test area works fine. Running as administrator doesn't help. windows vista sp1 x64
oakdown Posted May 30, 2009 Posted May 30, 2009 It would have been useful to have ED implement a 'keypressed' and 'keyreleased' flag for the in game key assignments so we can directly use toggle switches without going through external software like svmapper. don't know if it's good for anything, but I thought I would post it here for consideration and in response to your post bad crc.... I played around in the start--->control panel--->accessibility options... in there, there is an option entitled "filterkeys" and you can go into the settings of it - of which there is an option to ignore repeated keystrokes. no, this doesn't give a "key off" indication unfortunatley, but it does seem to alter the way the toggles work in the sim (time delay/slower switching required) - and oddly even with filterkeys ON, you can still pan the cockpit via keyboard(?) which makes no sense because obviously that's a repeated keystroke...it's easy to test, you can alt tab back to windows and simply select filterKeys off or on, and see the result while you toggle switches. this was all in xp btw. like I said I don't know how useful this is, but I thought I would post it - I came across it, looking for cheap ways to wire up a dismantled keyboard as a usb controller for switches (without the relay/capicitor or transistor trick), even if I can't end up doing toggles there are enough push button switches to get use out of a 10 buck keyboard wired to push buttons.
Recommended Posts