Advertisement
Guest User

Untitled

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