Hi there. I got tired of not being able to macro and code, so I made this little tool. I'll post it here for you guys in case anyone is interested.
DFInput 0.1.1
* This is a small tool that will pipe input from a scripting language (like AutoHotkey) directly into Darkfall. This allows a macro to be run without Darkfall as the active window.
* Please note this is a proof-of-concept only and has not been extensively tested (that means it's not my fault when you crash). If there is any interest in this tool I will spend some time improving it.
* Download:
http://0x33.org/files/dfinput-0.1.1.zip
Instructions
* Download DFInput and
extract to a folder of your choice.
* Set the game to run in
windowed mode and run
InstallInput.exe.
- This will inject the the program into Darkfall.
- A small window should appear.
* Press the
Patch Input before you would like to macro.
- This allows the program to process input for the client.
- You can enable or disable it at any time.
* Go into game and
toggle GUI mode (right-click) to activate tool.
* See a little
sample macro for an example of how to send input to the client: http://0x33.org/files/dfinput.ahk
* To
unload the tool, close the window via the small X.
Miscellaneous Notes and Limitations
* This tool
does not handle mouse input. Therefore to click in game, you must
rebind any actions from mouse buttons to keys. We may add mouse input in a later release. To rebind left click, use Input Binding option in game, or enter one of the following commands in the console:
(!empty($user->lang['QUOTE'])) ? $user->lang['QUOTE'] : ucwords(strtolower(str_replace('_', ' ', 'QUOTE'))):
/bind BUTTON_0 a_Trigger_Current_Item
/bind n a_Trigger_Current_Item
* This program can
interrupt key combos in windows when running. For example any shift or control key combos. Will be fixed in a later release.
* If your game is in
GUI or chat mode, input will fall through to the game when you chat or click. There is no fix for this due to how the tool works, but you can simply disable the tool before chatting.
* Not tested in
Vista (let me know). Not tested in
fullscreen mode (let me know). May only work on English version of XP, I can't test
foreign language keycodes.
(!empty($user->lang['QUOTE'])) ? $user->lang['QUOTE'] : ucwords(strtolower(str_replace('_', ' ', 'QUOTE'))):
Here is a sample script which can send both key down and key up: http://0x33.org/files/dfinput-updown.ahk
Just a note, with parry if you send v down, then unfocus the client or enter GUI mode it will stop parrying. Thats just the way the client does it. If you want to parry unfocused, you have to leave the game window and then start the script.