Page 1 of 1

Darkfall Melee attack / parry 2 person macro

Posted: May 7th, 2009, 2:05 pm
by jahgreen
Here is a parry / melee macro.

I need some help with this macro for when a weapon breaks. The macro works perfectly until someones weapon breaks and then it leaves combat mode and then the character stops parrying and is out of sync with the rest function.

What can I add into the macro so that it does not matter if one of the weapons breaks so that the macro can use all the weapons up in the inventory until they are all broken?

I'm using auto hot key btw.

Hotkey 1: Polearm 1
Hotkey 2: Polearm 2
Hotkey 3: Starter Polearm (for parry)
Hotkey 4: Starter Polearm (for parry)
Hotkey 5: Rest
Hotkey 6: Polearm 3
Hotkey 7: Polearm 4

Melee 1

WinWait, Darkfall Online,
IfWinNotActive, Darkfall Online, , WinActivate, Darkfall Online,
WinWaitActive, Darkfall Online,
Loop,
{
Sleep, 6000


Send, 1
Sleep, 1000

MouseClick, left
Sleep, 2000
MouseClick, left
Sleep, 2000

MouseClick, left
Sleep, 2000
MouseClick, left
Sleep, 2000
Send, 6
Sleep, 1000
MouseClick, left
Sleep, 2000
MouseClick, left
Sleep, 2000

MouseClick, left
Sleep, 2000
MouseClick, left
Sleep, 2000
Send, 2
Sleep, 1000

MouseClick, left
Sleep, 2000
MouseClick, left
Sleep, 2000

MouseClick, left
Sleep, 2000
MouseClick, left
Sleep, 2000
Send, 7
Sleep, 1000
MouseClick, left
Sleep, 2000
MouseClick, left
Sleep, 2000

MouseClick, left
Sleep, 2000
MouseClick, left
Sleep, 2000

Sleep, 1000

Send, 3
Sleep, 1000
Send, {V Down}
Sleep, 17000
Send, {V Up}
Send, 4
Sleep, 1000
Send, {V Down}
Sleep, 17000
Send, {V Up}
Sleep, 1000


Send, R
Sleep, 3000
Send, 5
Sleep, 2000
MouseClick, left
Sleep, 135000
Send, W
Sleep, 4000
Send, R
Sleep, 3000



}

Melee 2

WinWait, Darkfall Online,
IfWinNotActive, Darkfall Online, , WinActivate, Darkfall Online,
WinWaitActive, Darkfall Online,
Loop,
{
Sleep, 6000


Send, 3
Sleep, 1000
Send, {V Down}
Sleep, 17000
Send, {V Up}
Send, 4
Sleep, 1000
Send, {V Down}
Sleep, 17000
Send, {V Up}
Sleep, 1000
Send, 1
Sleep, 1000

MouseClick, left
Sleep, 2000
MouseClick, left
Sleep, 2000

MouseClick, left
Sleep, 2000
MouseClick, left
Sleep, 2000
Send, 6
Sleep, 1000

MouseClick, left
Sleep, 2000
MouseClick, left
Sleep, 2000

MouseClick, left
Sleep, 2000
MouseClick, left
Sleep, 2000
Send, 2
Sleep, 1000

MouseClick, left
Sleep, 2000
MouseClick, left
Sleep, 2000

MouseClick, left
Sleep, 2000
MouseClick, left
Sleep, 2000
Send, 7
Sleep, 1000

MouseClick, left
Sleep, 2000
MouseClick, left
Sleep, 2000

MouseClick, left
Sleep, 2000
MouseClick, left
Sleep, 2000


Sleep, 1000

Send, R


Sleep, 3000
Send, 5
Sleep, 2000
MouseClick, left
Sleep, 135000
Send, W
Sleep, 4000
Send, R
Sleep, 3000



}

Posted: May 11th, 2009, 11:52 am
by Tault_admin
Can members say yay or nay to this so we may give tu bucks and/or premium. If you nay the submission remember to include as to why.

Posted: May 11th, 2009, 9:12 pm
by furyos
two person macros require the person blocking to use a newbie polearm anymore.

if the person parrying has a polearm that breaks the person dies.

trade nights macroing

Posted: May 11th, 2009, 10:21 pm
by hokuto78
furyos wrote:two person macros require the person blocking to use a newbie polearm anymore.

if the person parrying has a polearm that breaks the person dies.

trade nights macroing


I'm not sure what you are trying to say, but parry levels when you block with a newbie weapon still.

Posted: May 12th, 2009, 10:24 am
by jahgreen
Again if anyone knows how to fix the problem when a polearm breaks that would be greatly appreciated.

The only thing I can think of is a get pixel that looks for any white font pops up where a break would occur.

Anyone else have some other ideas?

Is there anyway to seperate combat font from rest font? We could have the macro press rest everytime and if it does rest a get pixel function could check the font to see if resting did occur.

Hmmm