daily pastebin goal
37%
SHARE
TWEET

Untitled

a guest Sep 12th, 2018 62 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. #If !isMouseShown() and #If WinActive("Darkfall Online")
  2.  
  3. SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
  5.  
  6.  
  7. Q:: ; key
  8. {
  9. if (!Impale || A_TickCount-Impale > 5000) {
  10. Send ^{F12}
  11. Sleep 300
  12. Send ^{F1}
  13. KeyWait, LButton, D
  14. KeyWait, LButton
  15. Impale := A_TickCount
  16. Sleep 120
  17. Send ^{F2}
  18. }
  19.  
  20. if (!Pungent || A_TickCount-Pungent > 5000) {
  21. Send ^{F2}
  22. KeyWait, LButton, D
  23. KeyWait, LButton
  24. Pungent := A_TickCount
  25. Sleep 120
  26. Send ^{F3}
  27. }
  28.  
  29. if (!Dragonbreath || A_TickCount-Dragonbreath > 5000) {
  30. Send ^{F3}
  31. KeyWait, LButton, D
  32. KeyWait, LButton
  33. Dragonbreath := A_TickCount
  34. Sleep 120
  35. Send ^{F4}
  36. }
  37.  
  38. if (!Insect_Swarm || A_TickCount-Insect_Swarm > 5000) {
  39. Send ^{F4}
  40. KeyWait, LButton, D
  41. KeyWait, LButton
  42. Insect_Swarm := A_TickCount22
  43. }
  44. }
  45.  
  46. Reload
  47. return
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65. ; GUI check in game
  66. isMouseShown()
  67. {
  68.     StructSize := A_PtrSize + 16
  69.     VarSetCapacity(InfoStruct, StructSize)
  70.     NumPut(StructSize, InfoStruct)
  71.     DllCall("GetCursorInfo", UInt, &InfoStruct)
  72.     Result := NumGet(InfoStruct, 8)
  73.  
  74.     if Result
  75.     return 1
  76.     else
  77.     return 0
  78. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top