Locked Home » Forums » Legacy & Archived » Archived Content » Darkfall Online » DFO - Bots / Macros / Hacks

DFO Macro - Shield Equip / Block / Return to first hotbar : DFO - Bots / Macros / Hacks

Posted: June 23rd, 2009
User avatar
Total Posts:96 Joined:2006
Hey Ragsta9.
Ok, I read through your PM, and as I explained, I am unable to get in game at the moment, which means the macro is untested, but sound in Theory.
The only thing I am not sure about, is the pause function that I tried setting to '
I am not sure if AHK uses some special format for that sign or if its just enough to press the button, but try it out, and if it doesn't work, think of another button to use to pause the macro.

Other then that, a quick description:
The macro, when E is pressed, will shift to Hotbar2 (using F2) and equipping your sword, and then your shield, and then it will parry for 1 second before it switches back to Hotbar 1.

Remember to have your game setup as you described it to me in the PM, and send me feedback on the macro and I will fine tune it for you.

Copy the Quoted text into a notepad and save as yournamehere.ahk
Run the script by double clicking the .ahk file. It will Not be active until the current active window is Darkfall.

;
;Custom Macro for Premium Member Ragsta9
;
;
; AutoHotkey Version: 1.x
; Language: English
; Platform: Win9x/NT
; Author: Lunkan
;
;the DELETE closes the macro down
;completely.


#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%

^:
IfWinActive, Darkfall Online
{
Send {Alt down}
Sleep, 50
Send 2
Sleep, 20
Send {Alt up}
Sleep 200
Send 1
Sleep, 700
Send 2
Sleep, 700
Send {v down}
Sleep, 1000
Send {v up}
Sleep, 200
Send {Alt down}
Sleep, 50
Send 1
Sleep, 50
Send {Alt up}
Sleep, 200
}
return

Delete::ExitApp
Edit: Had it tested and edited it to work more smoothly. The pause button didnt work, so it was changed to ALT+E to activate the macro, otherwise it would be impossible to type the letter E in game since that would start the macro (even if it is paused). It also removed the need for a pause button.


Last edited by lunkan on June 26th, 2009, 1:44 am, edited 1 time in total.
Posted: June 24th, 2009
User avatar
Total Posts:96 Joined:2006
Updated After Testing.
Posted: June 25th, 2009
Total Posts:24 Joined:2009
great job!

yay of course =D
Posted: June 25th, 2009
User avatar
administrator
Total Posts:29891 Joined:2002
What is the macro doing for you ragsta so i can give it a proper title.
Posted: June 25th, 2009
Total Posts:24 Joined:2009
It's autoequipping my shield and blocking briefly before returning to my first hotbar!
Posted: June 25th, 2009
Total Posts:24 Joined:2009
one thing i ask, i made some changes and now want to use Alt+1 for hotbar 1, Alt+2 for hotbar 2. etc.

how do i change the script to support this new change?
Posted: June 26th, 2009
User avatar
Total Posts:96 Joined:2006
Ragsta9, using Alt+1 for hotbar isnt recommended with this setup, since if the macro activates, and you are not quick enough to release the ALT button after activating it, the macro wont fire of properly.

If you want to use ALT to switch hotbars, I would recommend CTRL as the trigger so CTRL+E to activate the macro, since that wont conflict with the macro itself. I will edit my above post with those changes.

and next time your friend wants a macro, tell him to come to the site :)
Posted: June 28th, 2009
User avatar
administrator
Total Posts:29891 Joined:2002
nice one lunkan 300 to you and moved to confirmed.
Posted: July 19th, 2010
Total Posts:19 Joined:2005
hi just wondered why you wouldn't just use pause key to pause/unpause the script? ie add a hotkey
; uses pause to pause unpause script
Pause::Pause

that way can pause unpause without having to actually exit the script

Or to stop hotkeys instead use
Pause::Suspend

Which pauses hotkeys from working as apposed to script which actually is what you want for this since its a hotkey you have in it not an actually script.
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 7 guests
Locked