Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 26th, 2012  |  syntax: None  |  size: 4.70 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #IfWinActive, Darkfall Online
  2.  
  3. End::Pause
  4. Home::Suspend
  5. Capslock::Alt
  6.  
  7.  
  8. GlobalReady = True
  9.  
  10. PungentReady = True
  11. UnholyReady = True
  12. ImpaleReady = True
  13. DragonReady = True
  14. InsectReady = True
  15. LightningReady = True
  16. PotReady = True
  17.  
  18. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  19.  
  20. GlobalTimer := -1250
  21.  
  22. UnholyTimer := -14000
  23. ImpaleTimer := -6100
  24. DragonTimer := -14000
  25. PungentTimer := -16100
  26. InsectTimer := -13100
  27. LightningTimer := -9000
  28. FrostTimer := -9000
  29.  
  30. ;//////////////////////////////////////////////////
  31. ;//Rays////////////////////////////////////
  32. ;//////////////////////////////////////////////////
  33.  
  34.  
  35. SleepTimer :=25
  36.  
  37. RButton Up:: ;the hotkey you spam ("Up" gives ability to "hold rays") Right mouse click up.
  38. {
  39. If GlobalReady = True
  40. {
  41. ;;;;;;;;;1st Priority;;;;;;;;;;; This is the priority of your rays, what one will come up 1st, and its dependent on the cool down.
  42. If DragonReady = True
  43. {
  44. DragonReady = False
  45. GlobalReady = False
  46. SetTimer, Dragon, %DragonTimer%
  47. SetTimer, Global, %GlobalTimer%
  48. Send !5 ;Dragon hotkey
  49. Sleep, %SleepTimer%
  50. Click
  51. Return
  52. }
  53. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  54.  
  55.  
  56. ;;;;;;;;;2nd Priority;;;;;;;;;
  57. If UnholyReady = True
  58. {
  59. UnholyReady = False
  60. GlobalReady = False
  61. SetTimer, Unholy, %UnholyTimer%
  62. SetTimer, Global, %GlobalTimer%
  63. Send !6 ;Unholy hotkey
  64. Sleep, %SleepTimer%
  65. Click
  66. Return
  67. }
  68. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  69.  
  70.  
  71. ;;;;;;;;;3rd Priority;;;;;;;;;
  72. If ImpaleReady = True
  73. {
  74. ImpaleReady = False
  75. GlobalReady = False
  76. SetTimer, Impale, %ImpaleTimer%
  77. SetTimer, Global, %GlobalTimer%
  78. Send !7 ;Impale hotkey
  79. Sleep, %SleepTimer%
  80. Click
  81. Return
  82. }
  83. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  84.  
  85.  
  86. ;;;;;;;;;4th Priority;;;;;;;;;
  87. If InsectReady = True
  88. {
  89. InsectReady = False
  90. GlobalReady = False
  91. SetTimer, Insect, %InsectTimer%
  92. SetTimer, Global, %GlobalTimer%
  93. Send !8 ;Insect hotkey
  94. Sleep, %SleepTimer%
  95. Click
  96. Return
  97. }
  98. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  99.  
  100.  
  101. ;;;;;;;;;5th Priority;;;;;;;;;
  102. If LightningReady = True
  103. {
  104. LightningReady = False
  105. GlobalReady = False
  106. SetTimer, Lightning, %LightningTimer%
  107. SetTimer, Global, %GlobalTimer%
  108. Send !9 ;Lightning hotkey
  109. Sleep, %SleepTimer%
  110. Click
  111. Return
  112. }
  113. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  114.  
  115.  
  116. Return
  117. }
  118. Return
  119. }
  120.  
  121. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  122.  
  123. Global:
  124. {
  125. GlobalReady = True
  126. Return
  127. }
  128. Impale:
  129. {
  130. ImpaleReady = True
  131. Return
  132. }
  133. Dragon:
  134. {
  135. DragonReady = True
  136. Return
  137. }
  138. Insect:
  139. {
  140. InsectReady = True
  141. Return
  142. }
  143.  
  144. Lightning:
  145. {
  146. LightningReady = True
  147. Return
  148. }
  149.  
  150. Unholy:
  151. {
  152. UnholyReady = True
  153. Return
  154. }
  155.  
  156.  
  157. f11:: ; This is a sword and board macro,
  158.  
  159. {
  160. Send {Numpad1}
  161. sleep 550 ;this will have to be adjusted if it does not pull out your shield, make this number bigger
  162. Send {Numpad2}
  163. Return
  164. }
  165.  
  166.  
  167. ; Burst keys
  168. +1::
  169. Send, {Numpad3}
  170. Send, {NumpadEnter}
  171. Send, {F7}
  172. Send, {/}
  173. return
  174.  
  175. +2::
  176. Send, {Numpad4}
  177. Send, {F5}
  178. return
  179.  
  180. +3::
  181. Send, {Numpad5}
  182. Send, {F6}
  183. return
  184.  
  185. +4::
  186. Send, {Numpad6}
  187. Send, {NumpadSub}
  188. return
  189.  
  190. +5::
  191. Send, {Numpad7}
  192. Send, {}
  193. return
  194.  
  195. +6::
  196. Send, {[}
  197. Send, {}
  198. return
  199.  
  200. +7::
  201. Send, {;}
  202. Send, {}
  203. return
  204.  
  205. ;;;;autostrpint;;;;;;;
  206.  
  207. ; Auto Sprint
  208. ; For this to work, F8 must be your sprint button
  209. ; This macro sprints automatically so you don't have to hold shift.
  210.  
  211. ; Pressing the middle mouse button toggles your auto sprinting on and off.
  212.  
  213. toggle = 0
  214.  
  215. ~*LShift::
  216. WinGetClass, classVar,A
  217. if classvar = SFMainWindow
  218. {
  219. if toggle := !toggle
  220. Send, {F8 down}
  221. else
  222. ;Send, {F8 Up}
  223. Send, {F8 down}
  224. ;toggle = 1
  225. }
  226. return
  227.  
  228. ~RButton::
  229. WinGetClass, classVar,A
  230. if classvar = SFMainWindow
  231. {
  232. If toggle = 1
  233. {
  234. Keywait, `RButton`
  235. Send, {F8 down}
  236. }
  237. else
  238. toggle = 0
  239. }
  240. return
  241.  
  242. ~Enter::
  243. If toggle = 1
  244. {
  245. WinGetClass, classVar,A
  246. if classvar = SFMainWindow
  247. {
  248. Keywait, Enter
  249. Send, {F8 down}
  250. }
  251. else
  252. toggle = 0
  253. }
  254. return
  255.  
  256. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  257. ;
  258. ; RAY COMBO KEY
  259. ;
  260. ; make sure you have your 7 ray spells bound to the following keys: Insert, home, end, pageup, pagedown, delete, ( \ backslash )
  261. ;
  262. ;;;;----- you may change these to whatever you like but I like them on these because I never press then anyways
  263. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  264.  
  265.  
  266. H::
  267. {
  268. Sleep 20
  269. Send +' ; Light Battle Spike
  270. Sleep 150
  271. 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.
  272. Sleep 100
  273. Click
  274. Sleep 500
  275. Send {space down}
  276. Send {space up}
  277. Sleep 20
  278. DllCall("mouse_event",uint,1,int,1,int,-700,uint,0,int,0) ; Change -8000 up or down to center your view in the middle of your screen, Normal viewing position.
  279. Sleep 500
  280. MeleeReady = True
  281. StaffReady = False
  282. Send {f9}
  283. sleep 325
  284. Send {space down}
  285. Send {space up}
  286. Return
  287. }