Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Inventory.au3"
- ;Arcanist
- Global $qTimer = TimerInit()
- Global $qYTimer = TimerInit()
- Global $PotTimer = TimerInit()
- Global $eTimer = TimerInit()
- Global $rTimer = TimerInit()
- Global $tTimer = TimerInit()
- Global $sixTimer = TimerInit()
- Global $four_five_Timer = TimerInit()
- $p = False
- $x = False
- $q = 0
- $qY = 0
- $Pot = 0
- $e = 0
- $r = 0
- $t = 0
- $six = 0
- $four_five = 0
- HotKeySet("u", switchHotkeyActivation)
- HotKeySet("{Numpad3}",Terminate)
- HotKeySet("q",q_fast)
- HotKeySet("^q",qY_fast)
- HotKeySet("c",Pot_fast)
- HotKeySet("e",e_fast)
- HotKeySet("r",r_fast)
- HotKeySet("t",t_fast)
- HotKeySet("4",four_to_num)
- HotKeySet("6",six_to_num)
- Global $qDiff = TimerDiff($qTimer)
- Global $qYDiff = TimerDiff($qYTimer)
- Global $PotDiff = TimerDiff($PotTimer)
- Global $eDiff = TimerDiff($eTimer)
- Global $rDiff = TimerDiff($rTimer)
- Global $tDiff = TimerDiff($tTimer)
- Global $sixDiff = TimerDiff($sixTimer)
- Global $four_five_Diff = TimerDiff($four_five_Timer)
- while 1
- Sleep(100)
- $qDiff = TimerDiff($qTimer)
- $qYDiff = TimerDiff($qYTimer)
- $PotDiff = TimerDiff($PotTimer)
- $eDiff = TimerDiff($eTimer)
- $rDiff = TimerDiff($rTimer)
- $tDiff = TimerDiff($tTimer)
- $sixDiff = TimerDiff($sixTimer)
- $four_five_Diff = TimerDiff($four_five_Timer)
- if($qDiff > 1500) and ($q = 0) and ($x) Then
- $q = 1
- EndIf
- if($qYDiff > 16700) and ($qY = 0) and ($x) Then
- $qY = 1
- EndIf
- if($PotDiff > 90000) and ($Pot = 0) and ($x) Then
- $Pot = 1
- EndIf
- if($eDiff > 7000) and ($e = 0) and ($x) Then
- $e = 1
- EndIf
- if($rDiff > 8000) and ($r = 0) and ($x) Then
- $r = 1
- EndIf
- if($tDiff > 20000) and ($t = 0) and ($x) Then
- $t = 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("l", setup)
- $q = 1
- $qY = 1
- $Pot = 1
- $e = 1
- $r = 1
- $t = 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("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 qY_fast()
- HotKeySet("^q")
- if($qY = 1) Then
- $qY = 0
- Send("y")
- Send("{q}")
- $qYTimer = TimerInit()
- Else
- Send("{q}")
- EndIf
- HotKeySet("^q", qY_fast)
- EndFunc
- Func Pot_fast()
- HotKeySet("c")
- if($Pot = 1) Then
- $Pot = 0
- Send("{5}")
- Send("{y}")
- Send("{t}")
- $PotTimer = TimerInit()
- Else
- Send("{y}")
- Send("{t}")
- EndIf
- HotKeySet("c", Pot_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 skilltree()
- HotKeySet("t")
- Send("{Enter}")
- Send("{-}")
- Send("{t}")
- Send("{t}")
- Send("{Enter}")
- HotKeySet("t", t_fast)
- EndFunc
- Func setup()
- HotKeySet("g")
- HotKeySet("d")
- HotKeySet("t")
- HotKeySet("c")
- 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)
- HotKeySet("c",Pot_fast)
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement