SB Macros - Warlock Macro
Posted: August 27th, 2007, 12:41 pm
i using AHK (autohotkey)
you can do alot more with AHk then AGC.
Register to unlock hidden link
Bonus my Vamp warlock macro find out how it works and you will love it like me, save the macro iin an editor us "Warlock.ahk" after you have install autohotkey.
you can easy run 5+ accounts with 1 diffrent macro per account.
this way doing chaos gate mostly Solo with my own accounts.
have fun ...
you can do alot more with AHk then AGC.
Register to unlock hidden link
Bonus my Vamp warlock macro find out how it works and you will love it like me, save the macro iin an editor us "Warlock.ahk" after you have install autohotkey.
you can easy run 5+ accounts with 1 diffrent macro per account.
this way doing chaos gate mostly Solo with my own accounts.
Code: Register to unlock hidden link
;2 Single dmg spell
;3 Lock AOE 13S timer
;4 Live AOE drain
;5 Lock Heal
;6 Stamina heal
;7 Fly
;8 buff
;9 Buff
;0 buff
; Ende Taste Target Self
; Home Target next monster
; Entf Tar clear
;C War Mode
;Y OFF Stance ...
;
; 60000 = 1 minute
; 1800s buff = 1800000
; 1200s buff = 1200000
; 600s buff = 600000
; 300s buff = 300000
SetKeyDelay 100,50 ; necessary to me if I want to use alt+keys what i dont in this script
sb_id = -1
SHIFT & 2::
;ID holen
WinGet, sb_id, ID, A
MsgBox, ID is %sb_id%
Return
SHIFT & 3::ExitApp ; Assign a hotkey to terminate this script.
; Kein Windows Key verwenden, sonst geht es auch nicht
SHIFT & 1::
; Testen ob ID schon gesetzt wurde
if sb_id = -1
{
MsgBox, Erst Shift+2 im sb Fenster drücken um die ID zu setzen
}
; this sleep seems necessary
Sleep 5000
last_buff = 0
last_AOE = 0
last_AoeLiveDrain = 0
last_stamheal = 0
last_heal = 0
Fly = 0
singleLiveDrain = 0
last_forti = 0
Loop
{
If (A_TickCount > last_buff + 1200000)
{
Gosub PBuffs
last_buff = %A_TickCount%
}
else if (A_TickCount > Fly + 125000)
{
ControlSend, , {END}7, ahk_id %sb_id%
Fly = %A_TickCount%
sleep 5500
}
else if (A_TickCount > last_forti + 600000)
{
ControlSend, , {END}9, ahk_id %sb_id%
last_forti = %A_TickCount%
sleep 5500
}
else if (A_TickCount > last_stamheal + 45000)
{
ControlSend, , {END}6, ahk_id %sb_id%
last_stamheal = %A_TickCount%
sleep 5500
}
else if (A_TickCount > last_heal + 40000)
{
ControlSend, , {END}5, ahk_id %sb_id%
sleep 4000
last_heal = %A_TickCount%
}
else if (A_TickCount > last_AOE + 13000)
{
last_AOE = %A_TickCount%
ControlSend, ,{HOME}3, ahk_id %sb_id%
Sleep 4500
}
else if (A_TickCount > AoeLiveDrain + 62000)
{
AoeLiveDrain = %A_TickCount%
ControlSend, ,{END}4, ahk_id %sb_id%
Sleep 4500
}
else if (A_TickCount > singleLiveDrain + 25000)
{
singleLiveDrain = %A_TickCount%
ControlSend, ,{END}{delete}{home}2, ahk_id %sb_id%
Sleep 4500
}
else
{
ControlSend, ,{END}{Delete}{HOME}, ahk_id %sb_id%
sleep 1000
ControlSend,,1,ahk_id %sb_id%
Sleep 3500
}
}
SHIFT & 5::
Pause
Return
; Personal Buffs
PBuffs:
Sleep 2000 ; war 2000
ControlSend, ,{END}8, ahk_id %sb_id% ; key 8 = your 1st buff
Sleep 4500
ControlSend, ,{END}0, ahk_id %sb_id% ; key 0 = another buff
Sleep 4500
ControlSend, ,c, ahk_id %sb_id% ; switch from normal to combat mode
Sleep 1000
ControlSend, ,y, ahk_id %sb_id% ; y = assume stance
Sleep 2000
ControlSend, ,c, ahk_id %sb_id% ; return to non combat mode
Sleep 2000 ; war 9000
Return ; End Procedure