Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;//////////////////////////////////////////////////
- ;/////Pot Variables And Timers/////////////////////
- ;//////////////////////////////////////////////////
- PotReady = True
- PotTimer := -54000
- ;//////////////////////////////////////////////////
- ;///////Spell Variables////////////////////////////
- ;//////////////////////////////////////////////////
- HealSelfReady = True
- BrewReady = True
- ;//////////////////////////////////////////////////
- ;//////Spell Timers////////////////////////////////
- ;//////////////////////////////////////////////////
- HealSelfTimer:= -33000
- ;//////////////////////////////////////////////////
- ;//////Ray Variables///////////////////////////////
- ;//////////////////////////////////////////////////
- GlobalReady = True
- UnholyReady = True
- ImpaleReady = True
- DragonReady = True
- InsectReady = True
- ;//////////////////////////////////////////////////
- ;//////Ray Timers//////////////////////////////////
- ;//////////////////////////////////////////////////
- GlobalTimer := -1250
- UnholyTimer := -13000
- ImpaleTimer := -8000
- DragonTimer := -16000
- InsectTimer := -12000
- ;//////////////////////////////////////////////////
- ;///////Ray Global Sleep Timer/////////////////////
- ;//////////////////////////////////////////////////
- SleepTimer := 25
- ;//////////////////////////////////////////////////
- ;///////Ray Labels//////////////////////////////
- ;//////////////////////////////////////////////////
- Global:
- {
- GlobalReady = True
- Return
- }
- Impale:
- {
- ImpaleReady = True
- Return
- }
- Dragon:
- {
- DragonReady = True
- Return
- }
- Insect:
- {
- InsectReady = True
- Return
- }
- Unholy:
- {
- UnholyReady = True
- Return
- }
- ;//////////////////////////////////////////////////
- ;//Rays////////////////////////////////////////////
- ;//////////////////////////////////////////////////
- Send {F1 Down}::
- Sleep 270
- {
- Return
- }
- send {F1 Up}::
- {
- }
- If GlobalReady = True
- {
- }
- ;;;;;;;;;1st Priority;;;;;;;;;;;
- If DragonReady = True
- {
- DragonReady = False
- GlobalReady = False
- SetTimer, Dragon, %DragonTimer%
- SetTimer, Global, %GlobalTimer%
- Send {Q Down}
- sleep 270
- send {Q Up} ;Dragon hotkey
- Sleep, %SleepTimer%
- Click
- Return
- }
- ;;;;;;;;;2nd Priority;;;;;;;;;;;
- If UnholyReady = True
- {
- UnholyReady = False
- GlobalReady = False
- SetTimer, Unholy, %UnholyTimer%
- SetTimer, Global, %GlobalTimer%
- Send {6 Down}
- sleep 270
- send {6 Up} ;Unholy hotkey
- Sleep, %SleepTimer%
- Click
- Return
- }
- ;;;;;;;;;3rd Priority;;;;;;;;;
- If InsectReady = True
- {
- InsectReady = False
- GlobalReady = False
- SetTimer, Insect, %InsectTimer%
- SetTimer, Global, %GlobalTimer%
- Send {7 Down}
- sleep 270
- send {7 Up} ;Insect hotkey
- Sleep, %SleepTimer%
- Click
- Return
- }
- ;;;;;;;;;4th Priority;;;;;;;;;
- If ImpaleReady = True
- {
- ImpaleReady = False
- GlobalReady = False
- SetTimer, Impale, %ImpaleTimer%
- SetTimer, Global, %GlobalTimer%
- Send {4 Down}
- sleep 270
- send {4 Up} ;Impale hotkey
- Sleep, %SleepTimer%
- Click
- Return
- {
- }
- Return
- }
- Return
- ;//////////////////////////////////////////////////
- ;//Auto Loot///////////////////////////////////////
- ;//////////////////////////////////////////////////
- IniFile := "C:\loot.txt"
- FileGetSize, size, %IniFile%
- if (size = "") {
- MsgBox Setting up
- IniWrite, 1300, %IniFile%, Loot, xdest ; --- destination x pos
- IniWrite, 700, %IniFile%, Loot, ydest ; --- destination y pos
- } else {
- IniRead, xdest, %IniFile%, Loot, xdest ; --- destination x pos
- IniRead, ydest, %IniFile%, Loot, ydest ; --- destination y pos
- }
- {
- CoordMode, Pixel
- $>!Lbutton:: ;quick loot -------------------------
- MouseGetPos, x1, y1
- MouseClickDrag, left, x1, y1, xdest, ydest, 2 ;0 is mouse speed, 0 is instant
- MouseMove, x1, y1, 0 ;0 is mouse speed, 0 is instant
- Return
- }
- $>!Rbutton:: ;loot destination ------------------------->
- MouseGetPos, xdest, ydest
- IniWrite, %xdest%, %IniFile%, Loot, xdest
- IniWrite, %ydest%, %IniFile%, Loot, ydest
- Return
- ;//////////////////////////////////////////////////
- ;///Potion Audio //////////////////////////////////
- ;//////////////////////////////////////////////////
- LAlt & f::
- {
- If PotReady = True
- {
- sleep 350
- Send {RCtrl Down}
- sleep 20
- Send {F4 Down}
- sleep 270
- send {F4 Up}
- Sleep 20
- Send {RCtrl Up}
- PotReady = False
- SetTimer, Pot, %PotTimer%
- Return
- }
- Return
- }
- LAlt & g::
- {
- If PotReady = True
- {
- sleep 350
- Send {RCtrl Down}
- Sleep 20
- Send {F5 Down}
- sleep 270
- send {F5 Up}
- Sleep 20
- Send {RCtrl Up}
- PotReady = False
- SetTimer, Pot, %PotTimer%
- Return
- }
- Return
- }
- ;//////////////////////////////////////////////////
- ;//Out of Combat///////////////////////////////////
- ;//////////////////////////////////////////////////
- isMouseShown()
- {
- StructSize := A_PtrSize + 16
- VarSetCapacity(InfoStruct, StructSize)
- NumPut(StructSize, InfoStruct)
- DllCall("GetCursorInfo", UInt, &InfoStruct)
- Result := NumGet(InfoStruct, 8)
- if Result
- return 1
- else
- return 0
- }
- #If !isMouseShown()
- ;////////////////////////////////////////////////////
- ;///Battle Spike Throw///////////////////////////////
- ;////////////////////////////////////////////////////
- c::
- {
- Send {RCtrl Down}
- Sleep 20
- Send {F10 Down}
- sleep 20
- send {F10 Up}
- Sleep 20
- send {RCtrl Up}
- Sleep 350
- DllCall("mouse_event",uint,1,int,1,int,25200,uint,0,int,0) ; Change 25200 to a Higher number if you do not look all the way to the floor.
- Sleep 100
- Click
- Sleep 400
- Send {space down}
- Sleep 50
- Send {space up}
- Sleep 55
- DllCall("mouse_event",uint,1,int,1,int,-5000,uint,0,int,0) ; Change -8000 up or down to center your view in the middle of your screen, Normal viewing position.
- }
- Return
- ;////////////////////////////////////////////////////
- ;///Fast Sit///////////////////////////////
- ;////////////////////////////////////////////////////
- o::
- {
- Send {J Down}
- Send {J Up}
- Send {J Down}
- Send {J Up}
- Send {J Down}
- Send {J Up}
- Send {J Down}
- Send {J Up}
- Send {J Down}
- Send {J Up}
- Send {J Down}
- Send {J Up}
- Return
- }
- ;//////////////////////////////////////////////////
- ;///////Pot Audio//////////////////////////////////
- ;//////////////////////////////////////////////////
- Pot:
- {
- PotReady = True
- SoundPlay, C:\Users\Michael\Desktop\pot.wma
- Sleep 1500
- SoundPlay, C:\Users\Michael\Desktop\pot.wma
- Sleep 1500
- SoundPlay, C:\Users\Michael\Desktop\pot.wma
- Return
- }
- HealSelfReady:
- {
- HealSelfReady = True
- SoundPlay, C:\Users\Michael\Desktop\Healself2.wav
- Sleep 1500
- SoundPlay, C:\Users\Michael\Desktop\Healself2.wav
- Return
- }
- Return
- ;//////////////////////////////////////////////////
- ;//////Spells//////////////////////////////////////
- ;//////////////////////////////////////////////////
- LAlt & 5::
- {
- If HealSelfReady = True
- {
- sleep 350
- Send {RCtrl Down}
- sleep 20
- Send {F3 Down}
- sleep 270
- send {F3 Up}
- Sleep 20
- Send {RCtrl Up}
- HealSelfReady = False
- SetTimer, HealSelfReady, %HealSelfTimer%
- Return
- }
- Return
- }
- ;//////////////////////////////////////////////////
- ;///Laugh Commands/////////////////////////////////
- ;//////////////////////////////////////////////////
- 9::
- {
- sleep 20
- Send {F8 Down}
- sleep 50
- send {F8 Up}
- sleep 20
- Send {F2 Down}
- sleep 20
- send {F2 Up}
- Sleep 50
- Send {LButton Up}
- Return
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement