Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Inventory.au3"
- ;Paladin
- Global $qTimer = TimerInit()
- Global $wTimer = TimerInit()
- Global $eTimer = TimerInit()
- Global $rTimer = TimerInit()
- Global $tTimer = TimerInit()
- Global $yTimer = TimerInit()
- Global $sixTimer = TimerInit()
- Global $four_five_Timer = TimerInit()
- $p = False
- $x = False
- $q = 0
- $w = 0
- $e = 0
- $r = 0
- $t = 0
- $y = 0
- $six = 0
- $four_five = 0
- HotKeySet("u", switchHotkeyActivation)
- HotKeySet("{Numpad3}",Terminate)
- HotKeySet("q",q_fast)
- HotKeySet("w",w_fast)
- HotKeySet("e",e_fast)
- HotKeySet("r",r_fast)
- HotKeySet("t",t_fast)
- HotKeySet("y",y_fast)
- HotKeySet("4",four_to_num)
- HotKeySet("6",six_to_num)
- Global $qDiff = TimerDiff($qTimer)
- Global $wDiff = TimerDiff($wTimer)
- Global $eDiff = TimerDiff($eTimer)
- Global $rDiff = TimerDiff($rTimer)
- Global $tDiff = TimerDiff($tTimer)
- Global $yDiff = TimerDiff($yTimer)
- Global $sixDiff = TimerDiff($sixTimer)
- Global $four_five_Diff = TimerDiff($four_five_Timer)
- while 1
- Sleep(100)
- $qDiff = TimerDiff($qTimer)
- $wDiff = TimerDiff($wTimer)
- $eDiff = TimerDiff($eTimer)
- $rDiff = TimerDiff($rTimer)
- $tDiff = TimerDiff($tTimer)
- $yDiff = TimerDiff($yTimer)
- $sixDiff = TimerDiff($sixTimer)
- $four_five_Diff = TimerDiff($four_five_Timer)
- if($qDiff > 7000) and ($q = 0) and ($x) Then
- $q = 1
- EndIf
- if($wDiff > 7000) and ($w = 0) and ($x) Then
- $w = 1
- EndIf
- if($eDiff > 4000) and ($e = 0) and ($x) Then
- $e = 1
- EndIf
- if($rDiff > 8000) and ($r = 0) and ($x) Then
- $r = 1
- EndIf
- if($tDiff > 30000) and ($t = 0) and ($x) Then
- $t = 1
- EndIf
- if($yDiff > 26000) and ($y = 0) and ($x) Then
- $y = 1
- EndIf
- if($four_five_Diff > 46000) and ($four_five = 0) and ($x) Then
- $four_five = 1
- EndIf
- if($sixDiff > 31000) and ($six = 0) and ($x) Then
- $six = 1
- EndIf
- WEnd
- Func switchHotkeyActivation()
- $p = not $p
- $x = not $x
- if($p) Then
- HotKeySet("{TAB}", tab_to_num)
- HotKeySet("d", d_to_num)
- HotKeySet("3", three_to_num)
- HotKeySet("5", five_to_num) ;Auskommentieren ohne Geld
- HotKeySet("g", skilltree)
- HotKeySet("b", inventory)
- HotKeySet("^b",training)
- HotKeySet("!1", Heal1)
- HotKeySet("!2", Heal2)
- HotKeySet("!3", Heal3)
- HotKeySet("!4", Heal4)
- HotKeySet("!q", Hot1)
- HotKeySet("!w", Hot2)
- HotKeySet("!e", Hot3)
- HotKeySet("!r", Hot4)
- HotKeySet("l", setup)
- $q = 1
- $w = 1
- $e = 1
- $r = 1
- $t = 1
- $y = 1
- $six = 1
- $four_five = 1
- Else
- HotKeySet("3")
- HotKeySet("d")
- HotKeySet("{TAB}")
- HotKeySet("g")
- HotKeySet("b")
- HotKeySet("^b")
- HotKeySet("5") ;Auskommentieren ohne Geld
- HotKeySet("!1")
- HotKeySet("!2")
- HotKeySet("!3")
- HotKeySet("!4")
- HotKeySet("!q")
- HotKeySet("!w")
- HotKeySet("!e")
- HotKeySet("!r")
- HotKeySet("l")
- EndIf
- EndFunc
- Func four_to_num()
- HotKeySet("4")
- if($four_five = 1) Then
- $four_five = 0
- Send("{Numpad4}")
- ;Send("{Numpad5}")
- MouseClick("")
- $four_five_Timer = TimerInit()
- Else
- Send("{Numpad4}")
- ;Send("{Numpad5}")
- EndIf
- HotKeySet("4", four_to_num)
- EndFunc
- Func six_to_num()
- HotKeySet("6")
- if($six = 1) Then
- $six = 0
- Send("{Numpad1}")
- MouseClick("")
- $sixTimer = TimerInit()
- Else
- Send("{Numpad1}")
- EndIf
- HotKeySet("6", six_to_num)
- EndFunc
- Func q_fast()
- HotKeySet("q")
- if($q = 1) Then
- $q = 0
- Send("{q}")
- MouseClick("")
- $qTimer = TimerInit()
- Else
- Send("{q}")
- EndIf
- HotKeySet("q", q_fast)
- EndFunc
- Func w_fast()
- HotKeySet("w")
- if($w = 1) Then
- $w = 0
- Send("{w}")
- MouseClick("")
- $wTimer = TimerInit()
- Else
- Send("{w}")
- EndIf
- HotKeySet("w", w_fast)
- EndFunc
- Func e_fast()
- HotKeySet("e")
- if($e = 1) Then
- $e = 0
- Send("{e}")
- MouseClick("")
- $eTimer = TimerInit()
- Else
- Send("{e}")
- EndIf
- HotKeySet("e", e_fast)
- EndFunc
- Func r_fast()
- HotKeySet("r")
- if($r = 1) Then
- $r = 0
- Send("{r}")
- MouseClick("")
- $rTimer = TimerInit()
- Else
- Send("{r}")
- EndIf
- HotKeySet("r", r_fast)
- EndFunc
- Func t_fast()
- HotKeySet("t")
- if($t = 1) Then
- $t = 0
- Send("{t}")
- MouseClick("")
- $tTimer = TimerInit()
- Else
- Send("{t}")
- EndIf
- HotKeySet("t", t_fast)
- EndFunc
- Func y_fast()
- HotKeySet("y")
- if($y = 1) Then
- $y = 0
- Send("{y}")
- MouseClick("")
- $eTimer = TimerInit()
- Else
- Send("{y}")
- EndIf
- HotKeySet("y", y_fast)
- EndFunc
- Func skilltree()
- HotKeySet("t")
- Send("{Enter}")
- Send("{-}")
- Send("{t}")
- Send("{t}")
- Send("{Enter}")
- HotKeySet("t", t_fast)
- EndFunc
- Func Heal1()
- Local $pos = MouseGetPos()
- MouseMove(45,65,0)
- Send("{e}")
- MouseMove($pos[0],$pos[1],0)
- EndFunc
- Func Heal2()
- Local $pos = MouseGetPos()
- MouseMove(60,100,0)
- Send("{e}")
- MouseMove($pos[0],$pos[1],0)
- EndFunc
- Func Heal3()
- Local $pos = MouseGetPos()
- MouseMove(60,100,0)
- Send("{e}")
- MouseMove($pos[0],$pos[1],0)
- EndFunc
- Func Heal4()
- Local $pos = MouseGetPos()
- MouseMove(60,100,0)
- Send("{e}")
- MouseMove($pos[0],$pos[1],0)
- EndFunc
- Func Hot1()
- Local $pos = MouseGetPos()
- MouseMove(45,65,0)
- Send("{w}")
- MouseMove($pos[0],$pos[1],0)
- EndFunc
- Func Hot2()
- Local $pos = MouseGetPos()
- MouseMove(60,100,0)
- Send("{w}")
- MouseMove($pos[0],$pos[1],0)
- EndFunc
- Func Hot3()
- Local $pos = MouseGetPos()
- MouseMove(60,100,0)
- Send("{w}")
- MouseMove($pos[0],$pos[1],0)
- EndFunc
- Func Hot4()
- Local $pos = MouseGetPos()
- MouseMove(60,100,0)
- Send("{w}")
- MouseMove($pos[0],$pos[1],0)
- EndFunc
- Func setup()
- HotKeySet("g")
- HotKeySet("d")
- HotKeySet("t")
- Send("{Enter}")
- Send("{-}")
- Send("{f}")
- Send("{o}")
- Send("{g}")
- Send("{Enter}")
- Send("{Enter}")
- Send("{-}")
- Send("{c}")
- Send("{d}")
- Send("{i}")
- Send("{s}")
- Send("{t}")
- Send("{Enter}")
- HotKeySet("g", skilltree)
- HotKeySet("d", d_to_num)
- HotKeySet("t", t_fast)
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement