Advertisement
Guest User

Untitled

a guest
Nov 29th, 2015
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.28 KB | None | 0 0
  1. $${
  2. if(pesca);
  3. log("&d» &6Auto Fishing &c[OFF]");
  4. unset(pesca);
  5. stop();
  6. else;
  7. log("&d» &6Auto Fishing &a[ON]");
  8. set(pesca);
  9. set(ches);
  10. #overp=-21;
  11. &itens="^349$|^264$|^265$|^266$|^369$|^346$|^387$|^386$|^287$|^370$|^0$";
  12. &itensz="^349$|^264$|^265$|^266$|^369$|^370$";
  13. #bau=1;
  14.  
  15. }$$/home pesca$${wait(2);#xi=%XPOS%;#yi=%YPOS%;#zi=%ZPOS%;
  16. &dir=%DIRECTION%;
  17. ifmatches(%&dir%,N);&dirz=NORTH;endif;
  18. ifmatches(%&dir%,S);&dirz=SOUTH;endif;
  19. ifmatches(%&dir%,E);&dirz=EAST;endif;
  20. ifmatches(%&dir%,W);&dirz=WEST;endif;
  21. gui(inventory);
  22.  
  23. do;
  24. #p=8;#qt=0;
  25. #pass=0;
  26. #jui=0;
  27. do;
  28. if((%#yi%!=%YPOS%)|(%#xi%!=%XPOS%)|(%#zi%!=%ZPOS%));
  29. }$$/home pesca$${
  30. wait(2);
  31. endif;
  32. ifmatches(%GUI%,GUIINVENTORY);
  33. else;
  34. wait(2);
  35. do;ifmatches(%GUI%,CHAT);else;break;endif;loop;
  36. gui(inventory);
  37. endif;
  38. look(%&dirz%);
  39. inc(#p,1);
  40. getslotitem(%#p%,#idx,#stackx);
  41. ifmatches(%#idx%,%&itens%);
  42. ifmatches(%#idx%,^349$|^264$|^265$|^266$|^369$|^346$|^287$|^370$);
  43. #qt=%#qt%+1;
  44. endif;
  45. else;
  46. slotclick(%#p%);
  47. slotclick(-999);
  48. endif;
  49. getslotitem(%#p%,#idx,#stackx);
  50. if(%#idx%=0);#pass=1;endif;
  51. pick(346);
  52. do;
  53. if(%ITEM%=346);
  54. break;else;wait(12);pick(346);wait(1);
  55. if(%ITEM%=346);
  56. break;
  57. else;}$$/bau$${wait(5);slotclick(81,l,false);wait(100ms);
  58. getslot(346,#jj,#jjy);slotclick(%#jj%,l,false);wait(100ms);slotclick(81,l,false);wait(200ms);gui(inventory);break;
  59. #posx=%XPOS%;#posz=%ZPOS%;}$$/home linhas$${do(400);if((%XPOS%!=%#posx%)&&(%ZPOS%!=%#posxz));break;endif;loop;wait(1);
  60. }$$/home pesca$${do(400);if((%XPOS%=%#posx%)&&(%ZPOS%=%#posz%));break;endif;loop;wait(2);keydown(jump);wait(1);keyup(jump);wait(2);}$$/home pesca$${;wait(2);
  61. endif;
  62. endif;
  63. loop;
  64. if(%#idx%=287);#jui=%#jui%+%#stackx%;endif;
  65. key(use);
  66. wait(110ms);
  67. key(use);
  68. wait(110ms);
  69. if(%DURABILITY%<10);
  70. gui();
  71. wait(1);
  72. look(0,90);
  73. wait(160ms)
  74. key(use);
  75. key(attack);
  76. key(use);
  77. wait(1);
  78. gui(inventory);
  79. endif;
  80. until((%#p%=44));
  81. if(%#jui%<20);}$$/bau$${wait(5);getslot(287,#hy,#hyy);slotclick(%#hy%,l,true);wait(1);gui(inventory);
  82. #posx=%XPOS%;#posz=%ZPOS%;}$$/home linhas$${do(400);if((%XPOS%!=%#posx%)&&(%ZPOS%!=%#posxz));break;endif;loop;wait(1);
  83. }$$/home pesca$${do(400);if((%XPOS%=%#posx%)&&(%ZPOS%=%#posz%));break;endif;loop;wait(2);keydown(jump);wait(1);keyup(jump);wait(2);endif;
  84. if(ches);
  85. if(%#qt%>30);
  86. do;
  87. }$$
  88. $${if(%#bau%=1);}$$/home baum1$${endif;}$$
  89. $${if(%#bau%=2);}$$/home baum2$${endif;}$$
  90. $${if(%#bau%=3);}$$/home baum3$${endif;}$$
  91. $${if(%#bau%=4);}$$/home baum4$${endif;}$$
  92. $${if(%#bau%=5);}$$/home baum5$${endif;}$$
  93. $${if(%#bau%=6);}$$/home baum6$${endif;}$$
  94. $${if(%#bau%=7);}$$/home baum7$${endif;}$$
  95. $${if(%#bau%=8);}$$/home baum8$${endif;}$$
  96. $${if(%#bau%=9);}$$/home baum9$${endif;}$$
  97. $${if(%#bau%=10);}$$/home baum10$${endif;}$$
  98. $${if(%#bau%=11);}$$/home baum11$${endif;}$$
  99. $${if(%#bau%=12);}$$/home baum12$${endif;}$$
  100. $${if(%#bau%=13);}$$/home baum13$${endif;}$$
  101. $${if(%#bau%=14);}$$/home baum14$${endif;}$$
  102. $${if(%#bau%=15);}$$/home baum15$${endif;}$$
  103. $${if(%#bau%=16);}$$/home baum16$${endif;}$$
  104. $${if(%#bau%=17);}$$/home baum17$${endif;}$$
  105. $${if(%#bau%=18);}$$/home baum18$${endif;}$$
  106. $${if(%#bau%=19);}$$/home baum19$${endif;}$$
  107. $${if(%#bau%=20);}$$/home baum20$${endif;}$$
  108. $${if(%#bau%=21);}$$/home baum21$${endif;}$$
  109. $${if(%#bau%=22);}$$/home baum22$${endif;}$$
  110. $${if(%#bau%=23);}$$/home baum23$${endif;}$$
  111. $${if(%#bau%=24);}$$/home baum24$${endif;}$$
  112. $${if(%#bau%=25);}$$/home baum25$${endif;}$$
  113. $${if(%#bau%=26);}$$/home baum26$${endif;}$$
  114. $${if(%#bau%=27);}$$/home baum27$${endif;}$$
  115. $${if(%#bau%=28);}$$/home baum28$${endif;}$$
  116. $${if(%#bau%=29);}$$/home baum29$${endif;}$$
  117. $${if(%#bau%=30);}$$/home baum30$${endif;}$$
  118. $${if(%#bau%=31);}$$/home baum31$${endif;}$$
  119. $${if(%#bau%=32);}$$/home baum32$${endif;}$$
  120. $${if(%#bau%=33);}$$/home baum33$${endif;}$$
  121. $${if(%#bau%=34);}$$/home baum34$${endif;}$$
  122. $${if(%#bau%=35);}$$/home baum35$${endif;}$$
  123. $${if(%#bau%=36);}$$/home baum36$${endif;}$$
  124. $${if(%#bau%=37);}$$/home baum37$${endif;}$$
  125. $${if(%#bau%=38);}$$/home baum38$${endif;}$$
  126. $${if(%#bau%=39);}$$/home baum39$${endif;}$$
  127. $${if(%#bau%=40);}$$/home baum40$${endif;}$$
  128. $${if(%#bau%=41);}$$/home baum41$${endif;}$$
  129. $${if(%#bau%=42);}$$/home baum42$${endif;}$$
  130. $${if(%#bau%=43);}$$/home baum43$${endif;}$$
  131. $${if(%#bau%=44);}$$/home baum44$${endif;}$$
  132. $${if(%#bau%=45);}$$/home baum45$${endif;}$$
  133. $${if(%#bau%=46);}$$/home baum46$${endif;}$$
  134. $${if(%#bau%=47);}$$/home baum47$${endif;}$$
  135. $${if(%#bau%=48);}$$/home baum48$${endif;}$$
  136. $${if(%#bau%=49);}$$/home baum49$${endif;}$$
  137. $${if(%#bau%=50);}$$/home baum50$${endif;}$$
  138. $${if(%#bau%=51);}$$/home baum51$${endif;}$$
  139. $${if(%#bau%=52);}$$/home baum52$${endif;}$$
  140. $${
  141. wait(8);
  142. key(use);
  143. wait(1);
  144. for(#i,54,88);
  145. getslotitem(%#i%,#ide,#stacke);
  146. ifmatches(%#ide%,^349$|^264$|^265$|^266$|^369$|^370$);
  147. slotclick(%#i%,l,true);
  148. endif;
  149. wait(300ms);
  150. next;
  151. getslotitem(53,#id,#stackt);
  152. wait(250ms);
  153. if(%#stackt%!=0);
  154. #bau=%#bau%+1;
  155. endif;
  156. if(%#bau%=53);
  157. log("&d» &6Limite de baús!")
  158. log("&d» &6Auto Fishing &c[OFF]");
  159. unset(pesca);
  160. stop();
  161. endif;
  162. until(%#stackt%=0);
  163. }$$
  164. /home pesca
  165. $${
  166. wait(2);
  167. }$$
  168. /home pesca
  169. $${
  170. wait(10);keydown(jump);wait(1);keyup(jump);wait(1);
  171. gui(inventory);
  172. endif;
  173. endif;
  174. loop;
  175. endif;
  176. }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement