Guest User

Untitled

a guest
Oct 23rd, 2015
345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.42 KB | None | 0 0
  1. ;Autor: odzi:)
  2. ;ver. 1.0.0
  3. ;Skrypt na grabienie i skanowanie zwlok w poszukiwaniu nietypowym itemow ktore nie powinny normalnie sie tam znajdowac (Moga być wyjatki)
  4. ;Skrypt zbiera nam automatycznie - połączenie ze skryptem na dobijanie
  5. ;Skrypt zbiera nam manualnie, po wcisnięciu klawisz ctrl + z (Mozna sobie zmienic niżej, chyba każdy znajdzie)
  6. ;Pod przyciskiem F1 zbindowane: .walka
  7. ;Skrypt kompatybilny ze skryptem na auto-chodzenie/dobijanie
  8. set #lpc 1000
  9. menu Clear
  10. menu window title Skaner zwlok v. 1.0.0
  11. menu font name times
  12. menu Window size 440 200
  13. menu Window color black
  14. menu Show
  15. ignoreitem reset
  16. set %y1 0
  17. set %liczba 0
  18. repeat
  19. {
  20. onhotkey z ctrl
  21. {
  22. menu Clear
  23. set %liczba 0
  24. set %y1 0
  25. finditem * G_2
  26. for #findindex 1 #findcnt
  27. {
  28. if #findtype = YFM
  29. {
  30. if #finddist > 1
  31. move #findx #findy 1 3s
  32. set #lobjectid #findid
  33. event macro 17
  34. ignoreitem #findid
  35. repeat
  36. {
  37. if #conttype <> YFM
  38. event macro 17
  39. }
  40. until #conttype = YFM
  41. set %x #contposx - 80
  42. contpos %x #contposy
  43. finditem * C_ , #contid
  44. for #findindex 1 #findcnt
  45. {
  46. if #findcol <> 0
  47. {
  48. event property #findid
  49. repeat
  50. {
  51. if #property = N/A
  52. event property #findid
  53. }
  54. until #property <> N/A
  55. if smazon in #property || pieczon in #property
  56. {
  57. ignoreitem #findid
  58. continue
  59. }
  60. set %p1 #property
  61. str Count %p1
  62. str Pos %p1 $
  63. str Del %p1 #strres 1
  64. set %p1 #strres
  65. str count %p1
  66. str Pos %p1 ]
  67. str Del %p1 #strres 20
  68. set %p1 #strres
  69. menu Font BGColor black
  70. menu Font Size 12
  71. menu Font Color white
  72. set %liczba %liczba + 1
  73. menu Text znal1 0 %y1 %liczba : %p1
  74. set %y1 %y1 + 20
  75. sound F:\ringin.wav
  76. set #sysmsgcol 75
  77. event sysmessage ZNALAZLEM!!! %p1
  78. }
  79. }
  80. }
  81. }
  82. event macro 1 0 .grab zloto, klejnoty, ziola, druid, nekro, wampir, magiczne
  83. set %x 0
  84. }
  85. set %liczba 0
  86. set %y1 0
  87. finditem * G_10
  88. for #findindex 1 #findcnt
  89. {
  90. if #findtype = YFM
  91. {
  92. set *grabie 1
  93. set %x1 #charposx
  94. set %y1 #charposy
  95. if #finddist > 1
  96. {
  97. event pathfind #findx #findy
  98. set %czas #scnt + 2
  99. repeat
  100. {
  101. if %czas < #scnt
  102. break
  103. if #charposx = %x1 && #charposy = %y1
  104. event pathfind #findx #findy
  105. }
  106. until #charposx = #findx && #charposy = #findy
  107. }
  108. event macro 1 0 .grab zloto, klejnoty, ziola, druid, nekro, wampir, magiczne
  109. set #lobjectid #findid
  110. event macro 17
  111. ignoreitem #findid
  112. set %czas #scnt + 2
  113. repeat
  114. {
  115. if #conttype <> YFM
  116. event macro 17
  117. if %czas < #scnt
  118. break
  119. }
  120. until #conttype = YFM
  121. deletejournal
  122. set %x #contposx - 80
  123. contpos %x #contposy
  124. finditem * C_ , #contid
  125. for #findindex 1 #findcnt
  126. {
  127. if #findcol <> 0
  128. {
  129. event property #findid
  130. repeat
  131. {
  132. if #property = N/A
  133. event property #findid
  134. }
  135. until #property <> N/A
  136. if smazon in #property || pieczon in #property
  137. {
  138. ignoreitem #findid
  139. continue
  140. }
  141. menu Clear
  142. set %p1 #property
  143. str Count %p1
  144. str Pos %p1 $
  145. str Del %p1 #strres 1
  146. set %p1 #strres
  147. str count %p1
  148. str Pos %p1 ]
  149. str Del %p1 #strres 20
  150. set %p1 #strres
  151. menu Font BGColor black
  152. menu Font Size 12
  153. menu Font Color white
  154. set %liczba %liczba + 1
  155. menu Text znal1 0 %y1 %liczba : %p1
  156. set %y1 %y1 + 20
  157. sound F:\ringin.wav
  158. set #sysmsgcol 75
  159. event sysmessage ZNALAZLEM!!! %p1
  160.  
  161. }
  162. }
  163. ignoreitem #findid
  164. wait 5s
  165. set *grabie 0
  166. set %x 0
  167. }
  168. }
  169.  
  170.  
  171. }
  172. onhotkey x ctrl
  173. {
  174. event macro 1 0 .walka
  175. wait 3
  176. }
  177. }
  178. until #false
Advertisement
Add Comment
Please, Sign In to add comment