Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2015
639
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.79 KB | None | 0 0
  1. ;Autor: odzi:)
  2. ;Ver. 1.0.0
  3. ;Skrypt na automatyczne chodzenie, bez dwóch skryptów na dobijanie oraz auto atack jest bezuzyteczny
  4. ;Pod klawiszem F6 Można zatrzymać i wznowić skrypt
  5. ;Polecam szukanie grup mobów a nastepnie uruchamianie skryptu klawiszem
  6. ;Nie jest to sztuczna inteligencja, wiec jak na standard EUO jest dosc i tak sprytny
  7. ;Skrypt dziala w kazdym rejonie swiata, omija nam wode, drzewa, i inne tego typu rzeczy
  8. ;po ktorych nie mozemy chodzic.
  9. ;Skrypt nie wymaga zadnych ustawien, odpalamy go i sam dziala.
  10. ;Bez skryptu na dobijanie jest raczej uposledzony.
  11. ;Wymagane skrypty:
  12. ;-Dobijanie by odzi
  13. ;-Auto atack by odzi
  14. ;-grabienie by odzi
  15. ;-Auto - Chodzenie by odzi
  16. set #lpc 20000
  17. set %x_poczatek #charposx - 18
  18. set %y_poczatek #charposy - 10
  19. set %x_koniec #charposx + 18
  20. set %y_koniec #charposy + 10
  21. set *automat 1
  22. set %ji #jindex
  23. repeat
  24. {
  25. tile init
  26. for %ii 1 18
  27. {
  28. ;set %xx . %ii #charposx
  29. ;set %yy . %ii #charposy
  30. for %x %x_poczatek %x_koniec
  31. {
  32. if *atack = 1
  33. break
  34. for %y %y_poczatek %y_koniec
  35. {
  36. if *atack = 1
  37. break
  38. onhotkey q alt
  39. {
  40. event sysmessage ZATRZYMANO!!
  41. set *automat 0
  42. wait 1s
  43. repeat
  44. {
  45. onhotkey q alt
  46. {
  47. event sysmessage WZNOWIONO!
  48. set *automat 1
  49. wait 1s
  50. break
  51. }
  52. }
  53. until #false
  54. }
  55. tile cnt %x %y
  56. for %i 1 #tilecnt
  57. {
  58. if *atack = 1
  59. break
  60. if %i > #tilecnt
  61. break
  62. tile Get %x %y %i
  63. if #tileflags in Impassable
  64. continue
  65. for %iii 1 %ii
  66. {
  67. if *medyt = 1 || *bles = 1 || *czar = 1
  68. {
  69. repeat
  70. until *medyt = 0 && *bles = 0 && *czar = 0
  71. }
  72. if *atack = 1
  73. break
  74. if #charghost = YES
  75. halt
  76. if #tileflags in GenericStackable && #tileflags notin Impassable && #tileflags in Background || #tileflags in Background || #tileflags in GenericStackable
  77. {
  78. if %xx . %iii = #charposx && %yy . %iii <> #charposy && %xx . %iii <> %x && %yy . %iii <> %y || %xx . %iii <> #charposx && %yy . %iii = #charposy && %xx . %iii <> %x && %yy . %iii <> %y || %xx . %iii <> #charposx && %yy . %iii <> #charposy && %xx . %iii <> %x && %yy . %iii <> %y || %xx . %iii = #charposx && %yy . %iii <> #charposy && %xx . %iii = %x && %yy . %iii <> %y || %xx . %iii <> #charposx && %yy . %iii = #charposy && %xx . %iii <> %x && %yy . %iii = %y || %xx . %iii = #charposx && %yy . %iii <> #charposy && %xx . %iii <> %x && %yy . %iii = %y || %xx . %iii <> #charposx && %yy . %iii = #charposy && %xx . %iii = %x && %yy . %iii <> %y ||
  79. {
  80. if *atack = 1
  81. break
  82. event pathfind %x %y #tilez
  83. set %czas #scnt + 4
  84. repeat
  85. {
  86. if %czas < #scnt
  87. break
  88. onhotkey q alt
  89. {
  90. event sysmessage ZATRZYMANO!!
  91. set *automat 0
  92. wait 1s
  93. repeat
  94. {
  95. onhotkey q alt
  96. {
  97. event sysmessage WZNOWIONO!
  98. set *automat 1
  99. set %ji #jindex
  100. wait 1s
  101. break
  102. }
  103. }
  104. until #false
  105. }
  106. if %ji < #jindex
  107. {
  108. set %ji %ji + 1
  109. scanjournal %ji
  110. If Can't_get_there in #journal
  111. break
  112. }
  113. if *atack = 1
  114. break
  115. }
  116. until #charposx = %x && #charposy = %y || #charposx = %x + 1 && #charposy = %y || #charposx = %x && #charposy = %y + 1 || #charposx = %x + 1 && #charposy = %y + 1
  117. onhotkey q alt
  118. {
  119. event sysmessage ZATRZYMANO!!
  120. set *automat 0
  121. wait 1s
  122. repeat
  123. {
  124. onhotkey q alt
  125. {
  126. event sysmessage WZNOWIONO!
  127. set *automat 1
  128. wait 1s
  129. break
  130. }
  131. }
  132. until #false
  133. }
  134. set %x_poczatek #charposx - 18
  135. set %y_poczatek #charposy - 10
  136. set %x_koniec #charposx + 18
  137. set %y_koniec #charposy + 10
  138. set %xx . %i %x
  139. set %yy . %i %y
  140. }
  141. }
  142. }
  143. }
  144. if *atack = 1
  145. break
  146. }
  147. if *atack = 1
  148. break
  149. }
  150. if *atack = 1
  151. break
  152. }
  153. }
  154. if *atack = 1
  155. {
  156. set #sysmsgcol 75
  157. event sysmessage Jestem atakowany, przerywam chodzenie
  158. repeat
  159. onhotkey q alt
  160. {
  161. event sysmessage ZATRZYMANO!!
  162. set *automat 0
  163. wait 1s
  164. repeat
  165. {
  166. onhotkey q alt
  167. {
  168. event sysmessage WZNOWIONO!
  169. set *automat 1
  170. wait 1s
  171. break
  172. }
  173. }
  174. until #false
  175. }
  176. until *atack = 0
  177. event sysmessage Przestalem byc atakowany, chodzenie: ON
  178. wait 2s
  179. set %x_poczatek #charposx - 18
  180. set %y_poczatek #charposy - 10
  181. set %x_koniec #charposx + 18
  182. set %y_koniec #charposy + 10
  183. }
  184. ;}
  185. }
  186. until #false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement