Advertisement
Guest User

Untitled

a guest
Feb 25th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.13 KB | None | 0 0
  1. #SingleInstance force
  2. ; you must be in fixed to use this script
  3. ; this script will do the following:
  4. ; do every action you need to do during the bank
  5. ; another button for banking that allows you to grab all items you need then pressing the button afterwards will finish the banking sequence
  6. ; cast a magic imbue and moving back to where your cursor was in order to make it 0 effort
  7. ; empty pouches and click on the earth runes
  8. ; teleport you to the crafting guild via the Crafting Cape
  9. ; you can suspend the script by pressing ~
  10.  
  11.  
  12.  
  13. get_random(min, max) {
  14. Random, result, min, max
  15. Return, result
  16. }
  17.  
  18.  
  19.  
  20. ~::
  21. Suspend,toggle
  22. return
  23.  
  24. ; 1 will bank lavas grab pure essence close bank and fill pouches
  25.  
  26.  
  27. ; 2 will grab more pure essence, close the bank and teleport to the duel arena
  28.  
  29. BankandFillandPot:
  30. BigPouchx = 582
  31. BigPouchy = 247
  32. SmallPouchx = 582
  33. SmallPouchy = 292
  34. Puressx = 428
  35. Puressy = 303
  36. item1x = 622
  37. item1y = 251
  38. item2x = 622
  39. item2y = 287
  40. item3x = 667
  41. item3y = 256
  42. random, macrosleep, 30, 60
  43. random, macrosleep2, 50, 70
  44. random microsleep, 3, 11
  45. mousemove, puressx+get_random(-7, 7), puressy+get_random(-6, 6)
  46. click Right
  47. sleep, microsleep
  48. MouseMove 0,100,0,R
  49. sleep, microsleep
  50. click Left
  51. sleep, microsleep
  52. send {esc}
  53. sleep, macrosleep2
  54. mousemove, BigPouchx+get_random(-4, 4), BigPouchy+get_random(-4, 4)
  55. Click
  56. sleep, microsleep
  57. mousemove, SmallPouchx+get_random(-4, 4), SmallPouchy+get_random(-4, 4)
  58. Click
  59. mousemove, item1x+get_random(-4, 4), item1y+get_random(-4, 4)
  60. sleep, microsleep
  61. click
  62. sleep, microsleep
  63. mousemove, item2x+get_random(-4, 4), item2y+get_random(-4, 4)
  64. click
  65. sleep, microsleep
  66. mousemove, item3x+get_random(-4, 4), item3y+get_random(-4, 4)
  67. click
  68. mousemove, 308, 198, 0
  69. return
  70.  
  71.  
  72. BankandFill:
  73. BigPouchx = 582
  74. BigPouchy = 247
  75. SmallPouchx = 582
  76. SmallPouchy = 292
  77. Puressx = 428
  78. Puressy = 303
  79. random, macrosleep, 30, 60
  80. random, macrosleep2, 50, 70
  81. random microsleep, 3, 11
  82. mousemove, puressx+get_random(-7, 7), puressy+get_random(-6, 6)
  83. click Right
  84. sleep, microsleep
  85. MouseMove 0,100,0,R
  86. sleep, microsleep
  87. click Left
  88. sleep, microsleep
  89. send {esc}
  90. sleep, macrosleep2
  91. mousemove, BigPouchx+get_random(-4, 4), BigPouchy+get_random(-4, 4)
  92. Click
  93. sleep, microsleep
  94. mousemove, SmallPouchx+get_random(-4, 4), SmallPouchy+get_random(-4, 4)
  95. Click
  96. mousemove, 308, 198, 0
  97. return
  98.  
  99.  
  100. bankandtele:
  101. Puressx = 428
  102. Puressy = 303
  103. ringx = 697
  104. ringy = 409
  105. random, macrosleep, 30, 60
  106. random, macrosleep2, 50, 70
  107. random microsleep, 3, 11
  108. mousemove, puressx+get_random(-7, 7), puressy+get_random(-6, 6)
  109. click Right
  110. sleep, microsleep
  111. MouseMove 0,100,0,R
  112. sleep, microsleep
  113. click Left
  114. sleep, microsleep
  115. send {esc}
  116. sleep, macrosleep2
  117. send, {F4}
  118. sleep, macrosleep
  119. mousemove, ringx+get_random(-4, 4), ringy+get_random(-7, 7)
  120. click Right
  121. sleep, microsleep
  122. mousemove,0,36,0,R
  123. sleep, microsleep
  124. click left
  125. mousemove, 581, 101, 0
  126. return
  127.  
  128.  
  129. Craft:
  130. capex = 605
  131. capey = 291
  132. BigPouchx = 582
  133. BigPouchy = 247
  134. random, macrosleep, 30, 60
  135. random, macrosleep2, 50, 70
  136. random microsleep, 3, 11
  137. MouseGetPos, MouseX, MouseY
  138. mousemove, BigPouchx+get_random(-4, 4), BigPouchy+get_random(-4, 4)
  139. sleep, microsleep
  140. click Right
  141. sleep, microsleep
  142. mousemove,0,36,0,R
  143. sleep, microsleep
  144. click left
  145. sleep, microsleep
  146. click Right
  147. sleep, microsleep
  148. mousemove,0,36,0,R
  149. sleep, microsleep
  150. click left
  151. sleep, microsleep
  152. Click
  153. sleep, macrosleep
  154. mousemove, MouseX, MouseY
  155. click left
  156. sleep, macrosleep2
  157. send, {F4}
  158. sleep, macrosleep
  159. mousemove, capex+get_random(-4, 4), Capey+get_random(-5, 5)
  160. sleep, microsleep
  161. click Right
  162. sleep, microsleep
  163. MouseMove 0, 51, 0, R
  164. sleep, microsleep
  165. click left
  166. return
  167.  
  168. Imbue:
  169. random, macrosleep, 30, 60
  170. random, macrosleep2, 50, 70
  171. random microsleep, 3, 11
  172. imbuex = 571
  173. imbuey = 366
  174. sendinput {f1}
  175. sleep, macrosleep
  176. mousemove, imbuex+get_random(-2, 2), imbuey+get_random(-2, 2)
  177. click left
  178. sleep, macrosleep
  179. sendinput {f5}
  180. mousemove, 680, 54, 0
  181. return
  182.  
  183. Delete::
  184. Send {f5}
  185. return
  186.  
  187. Pgdn::
  188. gosub, imbue
  189. return
  190.  
  191. Home::
  192. gosub, bankandtele
  193. return
  194.  
  195. Insert::
  196. gosub, bankandfill
  197. return
  198.  
  199. Pgup::
  200. gosub, bankandfillandpot
  201. return
  202.  
  203. End::
  204. gosub, craft
  205. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement