Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.57 KB | None | 0 0
  1. #ifWinActive,Darkfall Online
  2.  
  3.  
  4. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  5. ;;;;;;;;;;;;; Variabili Prefissate, Non toccare!!;;;;;;;;
  6. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  7. DFSprint=F12
  8. DFonehand=l
  9. DFShield=o
  10. DFtwohand=j
  11. DFBow=à
  12. DFStaffa=ù
  13. DFSfodera=R
  14. DFLeanRight=i
  15. DFLeanLeft=n
  16. DFWhirl=k
  17. raggiox = 1
  18.  
  19.  
  20. 1h_status=0
  21. 2h_status=0
  22. bow_status=0
  23. staffa_status=0
  24.  
  25. SpellStartTime0 := A_TickCount - 100000
  26. spell=0
  27. SpellStartTime1 := A_TickCount - 100000
  28. spell1=0
  29. SpellStartTime2 := A_TickCount - 100000
  30. spell2=0
  31. SpellStartTime3 := A_TickCount - 100000
  32. spell3=0
  33. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  34. ;;;;;;;;;;;;;;;;; Keybind da Impostare ;;;;;;;;;;;;;;;;
  35. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  36.  
  37. Xbutton1::
  38. gosub Onehand
  39. return
  40.  
  41. Xbutton2::
  42. gosub twohand
  43. return
  44.  
  45. 1::
  46. gosub staffa
  47. return
  48.  
  49. ;y::
  50. ;gosub Bow
  51. ;return
  52.  
  53. <::
  54. gosub turbo
  55. return
  56.  
  57. ~4::
  58. send, {k}
  59. return
  60.  
  61. ~h::
  62. send, {ò}
  63. sleep, 50
  64. send, {è}
  65. return
  66.  
  67. ~^u::
  68. send, {NumpadAdd}
  69. return
  70.  
  71. ~wheelup::
  72. send, {Numpad1}
  73. return
  74.  
  75. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  76. ;;;;;;;;;;;;;;;;;;;;;;;;;; TURBO ;;;;;;;;;;;;;;;;;;;;;;;;;;;
  77. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  78. Turbo_toggle=0
  79.  
  80. turbo:
  81. if Turbo_toggle := !Turbo_toggle
  82. Send, {F12 down}
  83. else
  84. Send, {F12 Up}
  85. return
  86.  
  87. ~Mbutton:: ;;; TASTO DA CONFIGURARE!!!
  88. If toggle = 0
  89. {
  90. sleep, 150
  91. Send, {F12 down}
  92. }
  93. else
  94. toggle = 0
  95. return
  96.  
  97. ~Enter::
  98. toggle = 0
  99. return
  100.  
  101. ~F::
  102. toggle = 0
  103. return
  104.  
  105. ~G::
  106. toggle = 0
  107. return
  108.  
  109.  
  110.  
  111. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  112. ;;;;;;;;;;;;;;;;;;;; Lean Bomb! ;;;;;;;;;;;;;;;;;;;;;;;;;;;
  113. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  114.  
  115. ~$d::
  116. while GetKeyState("d", "P")
  117. if 1h_status= 1
  118. {
  119. send, {%DFLeanRight%}
  120. sleep, 150
  121. }
  122. return
  123.  
  124. ~$a::
  125. while GetKeyState("a", "P")
  126. if 1h_status= 1
  127. {
  128. send, {%DFLeanleft%}
  129. sleep, 150
  130. }
  131. return
  132.  
  133. ;;;;;;;;;;;;;;;;;;;;;;;; Onehand ;;;;;;;;;;;;;;;;;;;;;;;;;;;
  134.  
  135. onehand:
  136.  
  137. if staffa_status OR 2h_status OR bow_status = 1
  138. {
  139. send, {%DFonehand%}
  140. sleep, 250
  141. send, {%DFSfodera%}
  142. sleep, 400
  143. send, {%DFShield%}
  144. }
  145.  
  146. else
  147.  
  148. {
  149. send, {%DFSfodera%}
  150. sleep, 250
  151. send, {%DFonehand%}
  152. sleep, 250
  153. send, {%DFSfodera%}
  154. sleep, 400
  155. send, {%DFShield%}
  156. }
  157.  
  158. 1h_status=1
  159. 2h_status=0
  160. bow_status=0
  161. staffa_status=0
  162.  
  163. Return
  164.  
  165.  
  166. ;;;;;;;;;;;;;;;;;;;;;;;;; 2h ;;;;;;;;;;;;;;;;;;;;;;;;;
  167.  
  168.  
  169. twohand:
  170.  
  171. if staffa_status OR 1h_status OR bow_status = 1
  172. {
  173. send, {%DFtwohand%}
  174. sleep, 250
  175. send, {%DFSfodera%}
  176. sleep, 150
  177. send, {%DFWhirl%}
  178. }
  179.  
  180. else
  181.  
  182. {
  183. send, {%DFSfodera%}
  184. sleep, 250
  185. send, {%DFtwohand%}
  186. sleep, 250
  187. send, {%DFSfodera%}
  188. sleep, 150
  189. send, {%DFWhirl%}
  190. }
  191.  
  192. 1h_status=0
  193. 2h_status=1
  194. bow_status=0
  195. staffa_status=0
  196.  
  197. Return
  198.  
  199.  
  200.  
  201. ;;;;;;;;;;;;;;;;;;;;;;;;;; Bow ;;;;;;;;;;;;;;;;;;;
  202.  
  203. bow:
  204.  
  205. if staffa_status OR 1h_status OR 2h_status = 1
  206. {
  207. send, {%DFbow%}
  208. sleep, 250
  209. send, {%DFSfodera%}
  210. }
  211.  
  212. else
  213.  
  214. {
  215.  
  216. send, {%DFSfodera%}
  217. sleep, 250
  218. send, {%DFbow%}
  219. sleep, 250
  220. send, {%DFSfodera%}
  221. }
  222.  
  223. 1h_status=0
  224. 2h_status=0
  225. bow_status=1
  226. staffa_status=0
  227.  
  228. Return
  229.  
  230.  
  231. ;;;;;;;;;;;;;;;;;;;;;;;;;; Staffa ;;;;;;;;;;;;;;;;;;;
  232.  
  233. staffa:
  234.  
  235. if 2h_status OR 1h_status OR bow_status = 1
  236. {
  237. send, {%DFstaffa%}
  238. sleep, 250
  239. send, {%DFSfodera%}
  240. }
  241.  
  242. else
  243.  
  244. {
  245. send, {%DFSfodera%}
  246. sleep, 250
  247. send, {%DFstaffa%}
  248. sleep, 250
  249. send, {%DFSfodera%}
  250. }
  251.  
  252. 1h_status=0
  253. 2h_status=0
  254. bow_status=0
  255. staffa_status=1
  256.  
  257. Return
  258.  
  259. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  260.  
  261. ~CapsLock::
  262. sleep, 150
  263. SetCapsLockState, Off
  264. return
  265.  
  266.  
  267.  
  268. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  269. ;;;;;;;;;;;;;;;;;;;;; A R C O DISABLING RAGGI APO (calips) ;;;;;;;;;;;;;;;;;;;;;
  270. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  271.  
  272. ~y::
  273.  
  274.  
  275. ;;;;;;;;;;;;; SFODERA Arco e Disabling ;;;;;;;;;;;;;;;;;;;;;
  276.  
  277. Send {è}
  278. Sleep, 30
  279. gosub Bow
  280. Sleep, 50
  281.  
  282. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;NEW RAGGI;;;;;;;;;;;;;;;;;;;;;;;;;
  283. $wheeldown::
  284. spellTime0 := A_TickCount - SpellStartTime0
  285. if spellTime0 > 60000 ; Quanto tempo prima di resettare il tasto?
  286. {
  287. spell = 0
  288. }
  289.  
  290.  
  291. if spell = 0
  292.  
  293. {
  294.  
  295. send, ^{3}
  296. spell := spell + 1
  297. SpellStartTime0 := A_TickCount
  298. return
  299.  
  300. }
  301.  
  302. else if spell = 1
  303.  
  304. {
  305. send, ^{5}
  306. spell := spell + 1
  307. SpellStartTime0 := A_TickCount
  308. return
  309. }
  310.  
  311. else if spell = 2
  312.  
  313. {
  314. send, ^{6}
  315. spell := spell + 1
  316. SpellStartTime0 := A_TickCount
  317. return
  318. }
  319.  
  320. else if spell = 3
  321.  
  322. {
  323. send, ^{3}
  324. spell := spell + 1
  325. SpellStartTime0 := A_TickCount
  326. return
  327. }
  328.  
  329. else if spell = 4
  330.  
  331. {
  332. send, ^{7}
  333. spell := spell + 1
  334. SpellStartTime0 := A_TickCount
  335. return
  336. }
  337.  
  338. else if spell = 5
  339.  
  340. {
  341. send, ^{8}
  342. spell := spell + 1
  343. SpellStartTime0 := A_TickCount
  344. return
  345. }
  346.  
  347. else if spell = 6
  348.  
  349. {
  350. send, ^{9}
  351. spell = 0
  352. SpellStartTime0 := A_TickCount
  353. return
  354. }
  355.  
  356. return
  357.  
  358. $TAB::
  359. spellTime1 := A_TickCount - SpellStartTime1
  360. if spellTime1 > 30000 ; Quanto tempo prima di resettare il tasto?
  361. {
  362. spell1 = 0
  363. }
  364.  
  365.  
  366. if spell1 = 0
  367.  
  368. {
  369. send, {numpad3}
  370. spell1 := spell1 + 1
  371. SpellStartTime1 := A_TickCount
  372. return
  373.  
  374. }
  375.  
  376. else if spell1 = 1
  377. {
  378. send, {numpad4}
  379. spell1 = 0
  380. SpellStartTime1 := A_TickCount
  381. return
  382. }
  383.  
  384. return
  385.  
  386. $^TAB::
  387. spellTime2 := A_TickCount - SpellStartTime2
  388. if spellTime2 > 30000 ; Quanto tempo prima di resettare il tasto?
  389. {
  390. spell2 = 0
  391. }
  392.  
  393.  
  394. if spell2 = 0
  395.  
  396. {
  397. send, {numpad5}
  398. spell2 := spell2 + 1
  399. SpellStartTime2 := A_TickCount
  400. return
  401.  
  402. }
  403.  
  404. else if spell2 = 1
  405. {
  406. send, {numpad6}
  407. spell2 = 0
  408. SpellStartTime2 := A_TickCount
  409. return
  410. }
  411.  
  412. return
  413. ;;;;;;;;;;;;;;;;;;;;; Serie di buff ;;;;;;;;;;;;;;;;;;;;
  414. $u::
  415. spellTime3 := A_TickCount - SpellStartTime3
  416. if spellTime3 > 30000 ; Quanto tempo prima di resettare il tasto?
  417. {
  418. spell3 = 0
  419. }
  420.  
  421.  
  422. if spell3 = 0
  423.  
  424. {
  425.  
  426. send, !{z}
  427. spell3 := spell3 + 1
  428. SpellStartTime3 := A_TickCount
  429. return
  430.  
  431. }
  432.  
  433. else if spell3 = 1
  434.  
  435. {
  436. send, !{x}
  437. spell3 := spell3 + 1
  438. SpellStartTime3 := A_TickCount
  439. return
  440. }
  441.  
  442. else if spell3 = 2
  443.  
  444. {
  445. send, !{s}
  446. spell3 := spell3 + 1
  447. SpellStartTime3 := A_TickCount
  448. return
  449. }
  450.  
  451. else if spell3 = 3
  452.  
  453. {
  454. send, !{a}
  455. spell3 := spell3 + 1
  456. SpellStartTime3 := A_TickCount
  457. return
  458. }
  459.  
  460. else if spell3 = 4
  461.  
  462.  
  463. {
  464. send, !{q}
  465. spell3 = 0
  466. SpellStartTime3 := A_TickCount
  467. return
  468. }
  469.  
  470. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement