Advertisement
Guest User

Untitled

a guest
Sep 25th, 2015
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.19 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. set #lpc 1000
  8. menu Clear
  9. menu window title Skaner zwlok v. 1.0.0
  10. menu font name times
  11. menu Window size 440 200
  12. menu Window color black
  13. menu Show
  14. ignoreitem reset
  15. set %y1 0
  16. set %liczba 0
  17. repeat
  18. {
  19. onhotkey z ctrl
  20. {
  21. menu Clear
  22. set %liczba 0
  23. set %y1 0
  24. finditem * G_2
  25. for #findindex 1 #findcnt
  26. {
  27. if #findtype = YFM
  28. {
  29. if #finddist > 1
  30. move #findx #findy 1 3s
  31. set #lobjectid #findid
  32. event macro 17
  33. ignoreitem #findid
  34. repeat
  35. {
  36. if #conttype <> YFM
  37. event macro 17
  38. }
  39. until #conttype = YFM
  40. set %x #contposx - 80
  41. contpos %x #contposy
  42. finditem * C_ , #contid
  43. for #findindex 1 #findcnt
  44. {
  45. if #findcol <> 0
  46. {
  47. event property #findid
  48. repeat
  49. {
  50. if #property = N/A
  51. event property #findid
  52. }
  53. until #property <> N/A
  54. if smazon in #property || pieczon in #property
  55. {
  56. ignoreitem #findid
  57. continue
  58. }
  59. set %p1 #property
  60. str Count %p1
  61. str Pos %p1 $
  62. str Del %p1 #strres 1
  63. set %p1 #strres
  64. str count %p1
  65. str Pos %p1 ]
  66. str Del %p1 #strres 20
  67. set %p1 #strres
  68. menu Font BGColor black
  69. menu Font Size 12
  70. menu Font Color white
  71. set %liczba %liczba + 1
  72. menu Text znal1 0 %y1 %liczba : %p1
  73. set %y1 %y1 + 20
  74. sound F:\ringin.wav
  75. set #sysmsgcol 75
  76. event sysmessage ZNALAZLEM!!! %p1
  77. }
  78. }
  79. }
  80. }
  81. event macro 1 0 .grab zloto, klejnoty, ziola, druid, nekro, wampir, magiczne
  82. set %x 0
  83. }
  84. if *grab = 1
  85. {
  86. menu Clear
  87. set %liczba 0
  88. set %y1 0
  89. finditem * G_2
  90. for #findindex 1 #findcnt
  91. {
  92. if #findtype = YFM
  93. {
  94. set %x1 #charposx
  95. set %y1 #charposy
  96. if #finddist > 1
  97. {
  98. event pathfind #findx #findy
  99. set %czas #scnt + 2
  100. repeat
  101. {
  102. if %czas < #scnt
  103. break
  104. if #charposx = %x1 && #charposy = %y1
  105. event pathfind #findx #findy
  106. }
  107. until #charposx = #findx && #charposy = #findy
  108. }
  109. set #lobjectid #findid
  110. event macro 17
  111. ignoreitem #findid
  112. repeat
  113. {
  114. if #conttype <> YFM
  115. event macro 17
  116. }
  117. until #conttype = YFM
  118. set %x #contposx - 80
  119. contpos %x #contposy
  120. finditem * C_ , #contid
  121. for #findindex 1 #findcnt
  122. {
  123. if #findcol <> 0
  124. {
  125. event property #findid
  126. repeat
  127. {
  128. if #property = N/A
  129. event property #findid
  130. }
  131. until #property <> N/A
  132. if smazon in #property || pieczon in #property
  133. {
  134. ignoreitem #findid
  135. continue
  136. }
  137. set %p1 #property
  138. str Count %p1
  139. str Pos %p1 $
  140. str Del %p1 #strres 1
  141. set %p1 #strres
  142. str count %p1
  143. str Pos %p1 ]
  144. str Del %p1 #strres 20
  145. set %p1 #strres
  146. menu Font BGColor black
  147. menu Font Size 12
  148. menu Font Color white
  149. set %liczba %liczba + 1
  150. menu Text znal1 0 %y1 %liczba : %p1
  151. set %y1 %y1 + 20
  152. sound F:\ringin.wav
  153. set #sysmsgcol 75
  154. event sysmessage ZNALAZLEM!!! %p1
  155. }
  156. }
  157. }
  158. }
  159. event macro 1 0 .grab zloto, klejnoty, ziola, druid, nekro, wampir, magiczne
  160. set *grab 0
  161. set %x 0
  162. }
  163. onhotkey x ctrl
  164. {
  165. event macro 1 0 .walka
  166. wait 3
  167. }
  168. }
  169. until #false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement