Guest User

pesca com /reparar all

a guest
Jul 16th, 2019
82
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $${
  2. if(beefish);
  3. unset(beefish);
  4. if((%#tline1%!=0)|(%#tline6%!=0));
  5. #amountvip=(%#tline5%*110)+(%#tline1%*11);#amountnvip=(%#tline5%*100)+(%#tline1%*9);
  6. log("&c» &8Aprox. &6%#tline1%&8 peixes e &6%#tline5%&8 discos foram guardados.");
  7. log("&c» &8Lucro total na warp vip seria de &6%#amountvip%c&8!");
  8. log("&c» &8Lucro total na warp loja seria de &6%#amountnvip%c&8!");
  9. endif;
  10. log("&c» &8Auto Fishing &c[OFF]");
  11. stop();
  12. else;
  13. log("&c» &8Auto Fishing &a[ON]");
  14. set(beefish);
  15. &linetext1="Guardando peixes";&line1=^349$;
  16. &linetext2="Guardando armaduras";
  17. &linetext3="Guardando ferramentas e espadas";
  18. &linetext4="Guardando minérios e outros";&line4="^387|^264$|^265$|^266$|^369$|^370$|^351";
  19. &linetext5="Guardando discos";&line5="^2256$|^2257$|^2258$|^2259$|^2260$|^2261$|^2262$|^2263$|^2264$|^2265$|^2266$|^2267$";
  20. #hor1=;#ver1=;#hor2=;#ver2=;#hor3=;#ver3=;#hor4=;#ver4=;#hor5=;#ver5=;#sdd=0;;#tline1=0;#tline5=0;
  21. getidrel(+3,0,0,#l1);getidrel(-3,0,0,#l2);getidrel(0,0,+3,#l3);getidrel(0,0,-3,#l4);
  22. getidrel(+3,0,+1,#y1);getidrel(-3,0,+1,#y2);getidrel(+1,0,+3,#y3);getidrel(+1,0,-3,#y4);
  23. getidrel(+1,-1,-3,#down1);getidrel(+1,+0,-3,#down2);getidrel(+1,+1,-3,#down3);
  24. if((%#l4%!=146)&&(%#l4%!=54));&dir=NORTH;#sdd=1;endif;
  25. if((%#l3%!=146)&&(%#l3%!=54));&dir=SOUTH;#sdd=1;endif;
  26. if((%#l1%!=146)&&(%#l1%!=54));&dir=EAST;#sdd=1;endif;
  27. if((%#l2%!=146)&&(%#l2%!=54));&dir=WEST;#sdd=1;endif;
  28. if(((%#y1%!=146)&&(%#y1%!=54))|((%#y2%!=146)&&(%#y2%!=54))|((%#y3%!=146)&&(%#y3%!=54))|((%#y4%!=146)&&(%#y4%!=54))|(%#sdd%=0)|((%#down1%!=146)&&(%#down1%!=54))|((%#down2%!=146)&&(%#down2%!=54))|((%#down3%!=146)&&(%#down3%!=54)));
  29. log("&c» &4Ops, algo no pesqueiro não parece certo!");
  30. log("&c» &8Veja como fazer em &9http://imgur.com/a/B0p8c");
  31. log("&c» &8Se tem certeza que está tudo certo e mesmo assim recebe esta mensagem, olhe manualmente para o lado no qual não há baús no centro e aperte &61&8. Se escolher o lado errado ou o pesqueiro não estiver bem feito, vários bugs poderão ocorrer. Preste atenção!);
  32. set(autom);
  33. do(200);
  34. ifmatches(%DIRECTION%,N);&dir=NORTH;endif;
  35. ifmatches(%DIRECTION%,S);&dir=SOUTH;endif;
  36. ifmatches(%DIRECTION%,E);&dir=EAST;endif;
  37. ifmatches(%DIRECTION%,W);&dir=WEST;endif;
  38. if(KEY_1);log(&c» &8Direção gravada com sucesso! &6%&dir%);
  39. unset(autom);wait(2);break;
  40. endif;
  41. loop;
  42. if(autom);
  43. log(&c» &810 segundos passados sem resposta!);
  44. log("&c» &8Auto Fishing &c[OFF]");
  45. unset(beefish);
  46. stop();
  47. endif;
  48. endif;
  49. #xi=%XPOS%;#yi=%YPOS%;#zi=%ZPOS%;
  50. log("&c» &8Opções sobre a venda de discos!");
  51. log("&c» &8Aperte &31 &8para vender discos na &6/warp vip&8!");
  52. log("&c» &8Aperte &32 &8para vender discos na &6/warp loja&8!");
  53. log("&c» &8Aperte &33 &8para &4não &8vender discos!");
  54. log("&c» &8Aperte &34 &8para &4não &8guardar discos!");
  55. do;
  56. if(KEY_1);log(&c» &8Discos serão vendidos na &6/warp vip&8!);&vip=true;break;endif;
  57. if(KEY_2);log(&c» &8Discos serão vendidos na &6/warp loja&8!);&vip=false;break;
  58. log("&c» &8/home cds em &9http://i.imgur.com/voBbhkx.png");
  59. endif;
  60. if(KEY_3);log(&c» &8Discos serão &4apenas &8armazenados!);&vip=nothing;break;endif;
  61. if(KEY_4);log(&c» &8Discos serão jogados fora!);&line5=empty;&vip=nothing;break;endif;
  62. loop;
  63. wait(1);
  64. log("&c» &8Opções sobre os itens armazenados!");
  65. log("&c» &8Aperte &31 &8para guardar itens de &bdiamante&8!");
  66. log("&c» &8Aperte &32 &8para guardar itens de &bdiamante &8e &7ferro&8!");
  67. log("&c» &8Aperte &33 &8para guardar itens de &bdiamante&8, &7ferro &8e &eouro&8!");
  68. do;
  69. if(KEY_1);log("&c» &8Itens de &bdiamante&8 serão guardados!");
  70. &line2="^310$|^311$|^312$|^313$";&line3="^276$|^277$|^278$|^279$";break;
  71. endif;
  72. if(KEY_2);log("&c» &8Itens de &bdiamante&8 e &7ferro&8 serão guardados!");
  73. &line2="^310$|^311$|^312$|^313$|^306$|^307$|^308$|^309$";&line3="^276$|^277$|^278$|^279$|^256$|^257$|^258$|^267$";break;
  74. endif;
  75. if(KEY_3);log("&c» &8Itens de &bdiamante&8, &7ferro&8 e &eouro&8 serão guardados!");
  76. &line2="^310$|^311$|^312$|^313$|^306$|^307$|^308$|^309$|^314$|^315$|^316$|^317$";&line3="^276$|^277$|^278$|^279$|^256$|^257$|^258$|^267$|^283$|^284$|^285$|^286$";break;
  77. endif;
  78. loop;
  79. do;
  80. #pass=0;
  81. for(#p,9,44);
  82. if((%#yi%!=%YPOS%)|(%#xi%!=%XPOS%)|(%#zi%!=%ZPOS%));
  83. log(&c» &8Parece que você não está onde deveria!);
  84. log(&c» &8Voltando para &3/home mar&8!);
  85. }$$/home mar$${
  86. do;
  87. if((%#yi%=%YPOS%)&&(%#xi%=%XPOS%)&&(%#zi%=%ZPOS%));
  88. wait(3);keydown(jump);wait(1);keyup(jump);wait(1);
  89. break;
  90. endif;
  91. loop;
  92. endif;
  93. ifmatches(%GUI%,GUIINVENTORY);
  94. else;
  95. wait(2);
  96. do;
  97. ifmatches(%GUI%,GUICHAT);else;break;endif;loop;
  98. gui(inventory);
  99. endif;
  100. look(%&dir%);
  101. look(0,-90);
  102. pick(346);
  103. wait(10ms);
  104. key(use);
  105. wait(100ms);
  106. key(use);
  107. if(%DURABILITY%<20);
  108. gui();
  109. wait(1);
  110. look(0,90);
  111. wait(160ms)
  112. key(use);
  113. key(attack);
  114. ECHO("/reparar all");
  115. key(use);
  116. wait(1);
  117. gui(inventory);
  118. endif;
  119. getslotitem(%#p%,#idx,#stackx);
  120. if(%#idx%=0);inc(#pass);endif;
  121. next;
  122. if(%#pass%<3);
  123. log(&c» &8Inventário quase cheio. Jogando itens fora!);
  124. look(%&dir%);
  125. #qt=0;
  126. for(#p,9,44);
  127. getslotitem(%#p%,#idx,#stackx);
  128. ifmatches(%#idx%,%&line1%|%&line2%|%&line3%|%&line4%|%&line5%|^346$|^287$|^0$);
  129. if(%#idx%=0);inc(#qt,1);endif;
  130. else;
  131. inc(#qt,1);
  132. slotclick(%#p%);
  133. slotclick(-999);
  134. wait(80ms);
  135. endif;
  136. next;
  137. if(%#qt%<8);
  138. log(&c» &8Inventário com poucos slots vazios. Guardando itens!);
  139. unset(line1);unset(line2);unset(line3);unset(line4);unset(line5);
  140. for(#i,9,44);
  141. getslotitem(%#i%,#ide,#stacke);
  142. ifmatches(%#ide%,%&line1%);#tline1=%#tline1%+%#stacke%;set(line1);endif;
  143. ifmatches(%#ide%,%&line2%);set(line2);endif;
  144. ifmatches(%#ide%,%&line3%);set(line3);endif;
  145. ifmatches(%#ide%,%&line4%);set(line4);endif;
  146. ifmatches(%#ide%,%&line5%);#tline5=%#tline5%+1;set(line5);endif;
  147. #tim=0;
  148. if(line1);#tim=%#tim%+1;endif;
  149. if(line2);#tim=%#tim%+1;endif;
  150. if(line3);#tim=%#tim%+1;endif;
  151. if(line4);#tim=%#tim%+1;endif;
  152. if(line5);#tim=%#tim%+1;endif;
  153. next;
  154. do(%#tim%);
  155. #hor=0;
  156. #ver=0;
  157. if(line1);
  158. #sidep=180;&current=%&line1%;unset(line1);
  159. #hor=%#hor1%;#ver=%#ver1%;log("&c» &8%&linetext1%!");
  160. else;
  161. if(line2);
  162. #sidep=90;&current=%&line2%;unset(line2);
  163. #hor=%#hor2%;#ver=%#ver2%;log("&c» &8%&linetext2%!");
  164. else;
  165. if(line3);
  166. #sidep=270;&current=%&line3%;unset(line3);
  167. #hor=%#hor3%;#ver=%#ver3%;log("&c» &8%&linetext3%!");
  168. else;
  169. if(line4);
  170. #sidep=360;&current=%&line4%;unset(line4);
  171. #hor=%#hor4%;#ver=%#ver4%;log("&c» &8%&linetext4%!");
  172. else;
  173. if(line5);
  174. #sidep=54;&current=%&line5%;unset(line5);
  175. #hor=%#hor5%;#ver=%#ver5%;log("&c» &8%&linetext5%!");
  176. endif;
  177. endif;
  178. endif;
  179. endif;
  180. endif;
  181. #side=%#sidep%-36;
  182. do;
  183. keyup(sneak);
  184. look(%&dir%);
  185. look(+%#side%,);
  186. look(+%#hor%,+%#ver%);
  187. wait(220ms);
  188. key(use);
  189. do;ifmatches(%GUI%,GUICHEST);break;endif;key(use);wait(1);loop;
  190. wait(220ms);
  191. getslotitem(53,#id,#stackt);
  192. wait(250ms);
  193. if(%#stackt%=0);
  194. for(#i,54,89);
  195. getslotitem(%#i%,#ide,#stacke);
  196. ifmatches(%#ide%,%&current%);
  197. slotclick(%#i%,l,true);
  198. wait(80ms);
  199. endif;
  200. next;
  201. endif;
  202. getslotitem(53,#id,#stackt);
  203. wait(250ms);
  204. if(%#stackt%!=0);
  205. #hor=%#hor%+18;
  206. endif;
  207. if((%#sidep%=360)|(%#sidep%=54));
  208. if(%#hor%>18);
  209. if(%#ver%=36);
  210. if(%#sidep%=360);&line4=empty;endif;
  211. if(%#sidep%=54);
  212. #hor=0;#ver=0;gui();wait(1);
  213. ifmatches(%&vip%,nothing);
  214. &line5=empty;
  215. else;
  216. do;
  217. do;
  218. look(%&dir%);look(+%#side%,);look(+%#hor%,+%#ver%);
  219. wait(220ms);key(use);do;ifmatches(%GUI%,GUICHEST);break;endif;key(use);wait(1);loop;
  220. getslotitem(53,#id,#stackt);
  221. wait(250ms);
  222. if(%#stackt%!=0);
  223. for(#i,0,53);
  224. getslotitem(%#i%,#ide,#stacke);
  225. ifmatches(%#ide%,%&current%);
  226. slotclick(%#i%,l,true);
  227. wait(80ms);
  228. endif;
  229. next;
  230. endif;
  231. getslotitem(53,#id,#stackt);
  232. if(%#stackt%=0);
  233. #hor=%#hor%+18;
  234. endif;
  235. if(%#hor%>18);
  236. if(%#ver%=36);
  237. #stackt=1;#pass=1;
  238. endif;
  239. #ver=%#ver%+18;#hor=0;
  240. endif;gui();
  241. wait(500ms);
  242. until(%#stackt%!=0);
  243. gui(inventory);
  244. #cd58=2;#cd59=2;#cd60=2;#cd61=2;#cd62=2;#cd63=2;#cd64=2;#cd65=2;#cd66=2;#cd67=2;
  245. wait(1);
  246. for(#i,9,44);
  247. getslotitem(%#i%,#ide,#stacke);
  248. if(%#ide%=2262);inc(#cd62);endif;if(%#ide%=2263);inc(#cd63);endif;if(%#ide%=2264);inc(#cd64);endif;
  249. if(%#ide%=2265);inc(#cd65);endif;if(%#ide%=2266);inc(#cd66);endif;if(%#ide%=2267);inc(#cd67);endif;
  250. if(%#ide%=2258);inc(#cd58);endif;if(%#ide%=2259);inc(#cd59);endif;if(%#ide%=2260);inc(#cd60);endif;
  251. if(%#ide%=2261);inc(#cd61);endif;
  252. next;
  253. ifmatches(%&vip%,true);
  254. }$$/warp vip$${
  255. gui();
  256. wait(2);keydown(jump);wait(1);keyup(jump);
  257. do(1000);if(%YPOS%=4);wait(3);if(%YPOS%=4);break();endif;endif;loop;keyup(sneak);look(EAST);
  258. do(120);keydown(forward);if(%XPOS%=709);keydown(sneak);endif;until(%XPOS%=710);wait(350ms);
  259. keyup(sneak);keyup(forward);look(WEST);keydown(right);
  260. do(1200);
  261. if(%ZPOS%=653);keydown(sneak);endif;
  262. if(%ZPOS%=652);if(%#cd62%!=2);wait(50ms);keyup(right);do(%#cd62%);key(attack);wait(350ms);loop;keydown(right);do(200);until(%ZPOS%=651);endif;endif;
  263. if(%ZPOS%=651);if(%#cd63%!=2);wait(50ms);keyup(right);do(%#cd63%);key(attack);wait(350ms);loop;keydown(right);do(200);until(%ZPOS%=650);endif;endif;
  264. if(%ZPOS%=650);if(%#cd64%!=2);wait(50ms);keyup(right);do(%#cd64%);key(attack);wait(350ms);loop;keydown(right);do(200);until(%ZPOS%=649);endif;endif;
  265. if(%ZPOS%=649);if(%#cd65%!=2);wait(50ms);keyup(right);do(%#cd65%);key(attack);wait(350ms);loop;keydown(right);do(200);until(%ZPOS%=648);endif;endif;
  266. if(%ZPOS%=648);if(%#cd66%!=2);wait(50ms);keyup(right);do(%#cd66%);key(attack);wait(350ms);loop;keydown(right);do(200);until(%ZPOS%=647);endif;endif;
  267. if(%ZPOS%=647);if(%#cd67%!=2);wait(50ms);keyup(right);do(%#cd67%);key(attack);wait(350ms);loop;endif;break;endif;
  268. loop;
  269. wait(500ms);
  270. keyup(right);
  271. look(EAST);
  272. keyup(sneak);
  273. do(120);keydown(forward);until(%XPOS%=733);keyup(forward);keydown(sneak);do(120);keydown(forward);until(%XPOS%=734);
  274. wait(200ms);keyup(forward);wait(200ms);wait(200ms);
  275. do(1200);
  276. keydown(sneak);
  277. keydown(right);
  278. if(%ZPOS%=649);if(%#cd58%!=2);wait(50ms);keyup(right);do(%#cd58%);key(attack);wait(350ms);loop;keydown(right);do(200);until(%ZPOS%=650);endif;endif;
  279. if(%ZPOS%=650);if(%#cd59%!=2);wait(50ms);keyup(right);do(%#cd59%);key(attack);wait(350ms);loop;keydown(right);do(200);until(%ZPOS%=651);endif;endif;
  280. if(%ZPOS%=651);if(%#cd60%!=2);wait(50ms);keyup(right);do(%#cd60%);key(attack);wait(350ms);loop;keydown(right);do(200);until(%ZPOS%=652);endif;endif;
  281. if(%ZPOS%=652);if(%#cd61%!=2);wait(50ms);keyup(right);do(%#cd61%);key(attack);wait(350ms);loop;break;endif;endif;
  282. if(%ZPOS%>655);break;endif;
  283. loop;
  284. keyup(sneak);keyup(right);
  285. }$$/home mar$${
  286. do;if((%#yi%=%YPOS%)&&(%#xi%=%XPOS%)&&(%#zi%=%ZPOS%));wait(4);keydown(jump);wait(1);keyup(jump);wait(1);if((%#yi%=%YPOS%)&&(%#xi%=%XPOS%)&&(%#zi%=%ZPOS%));break;endif;endif;loop;
  287. else;
  288. #posx=%XPOS%;#posy=%YPOS%;#posz=%ZPOS%;}$$/home cds$${wait(8);
  289. gui();
  290. do(1000);if(%YPOS%=6);wait(4);keydown(jump);wait(1);keyup(jump);wait(2);if(%YPOS%=6);break();endif;endif;loop;keyup(sneak);look(WEST);
  291. keydown(right);keydown(sneak);
  292. do(1200);
  293. if(%ZPOS%=623);if(%#cd58%!=2);wait(50ms);keyup(right);do(%#cd58%);key(attack);wait(350ms);loop;keydown(right);do(200);until(%ZPOS%=622);endif;endif;
  294. if(%ZPOS%=622);if(%#cd59%!=2);wait(50ms);keyup(right);do(%#cd59%);key(attack);wait(350ms);loop;keydown(right);do(200);until(%ZPOS%=621);endif;endif;
  295. if(%ZPOS%=621);if(%#cd60%!=2);wait(50ms);keyup(right);do(%#cd60%);key(attack);wait(350ms);loop;keydown(right);do(200);until(%ZPOS%=620);endif;endif;
  296. if(%ZPOS%=620);if(%#cd61%!=2);wait(50ms);keyup(right);do(%#cd61%);key(attack);wait(350ms);loop;keydown(right);do(200);until(%ZPOS%=619);endif;endif;
  297. if(%ZPOS%=619);if(%#cd62%!=2);wait(50ms);keyup(right);do(%#cd62%);key(attack);wait(350ms);loop;keydown(right);do(200);until(%ZPOS%=618);endif;endif;
  298. if(%ZPOS%=618);if(%#cd63%!=2);wait(50ms);keyup(right);do(%#cd63%);key(attack);wait(350ms);loop;keydown(right);endif;
  299. keydown(jump);do(200);until(%ZPOS%=615);keyup(jump);do(200);until(%ZPOS%=612);keydown(jump);do(200);until(%ZPOS%=611);keyup(jump);
  300. do(200);until(%ZPOS%=610);keyup(sneak);wait(100ms);keyup(right);keydown(left);wait(500ms);keyup(left);break;
  301. endif;
  302. loop;
  303. keydown(right);keydown(sneak);
  304. do(1200);
  305. if(%ZPOS%=610);if(%#cd64%!=2);wait(50ms);keyup(right);do(%#cd64%);key(attack);wait(350ms);loop;keydown(right);do(200);until(%ZPOS%=609);endif;endif;
  306. if(%ZPOS%=609);if(%#cd65%!=2);wait(50ms);keyup(right);do(%#cd65%);key(attack);wait(350ms);loop;keydown(right);do(200);until(%ZPOS%=608);endif;endif;
  307. if(%ZPOS%=608);if(%#cd66%!=2);wait(50ms);keyup(right);do(%#cd66%);key(attack);wait(350ms);loop;keydown(right);do(200);until(%ZPOS%=607);endif;endif;
  308. if(%ZPOS%=607);if(%#cd67%!=2);wait(50ms);keyup(right);do(%#cd67%);key(attack);wait(350ms);loop;break;endif;endif;
  309. if(%ZPOS%<607);break;endif;
  310. loop;
  311. keyup(sneak);keyup(right);
  312. }$$/home mar$${
  313. do;if((%#yi%=%YPOS%)&&(%#xi%=%XPOS%)&&(%#zi%=%ZPOS%));wait(4);keydown(jump);wait(1);keyup(jump);wait(1);if((%#yi%=%YPOS%)&&(%#xi%=%XPOS%)&&(%#zi%=%ZPOS%));break;endif;endif;loop;
  314. endif;
  315. until(%#pass%=1);
  316. endif;
  317. endif;
  318. #stackt=0;#ver=0;
  319. log(&c» &8Processo de venda encerrado!);
  320. else;
  321. #ver=%#ver%+18;
  322. #hor=0;
  323. endif;
  324. endif;
  325. endif;
  326. if(%#hor%>72);
  327. if(%#ver%=36);
  328. if(%#sidep%=180);&line1=empty;endif;
  329. if(%#sidep%=90);&line2=empty;endif;
  330. if(%#sidep%=270);&line3=empty;endif;
  331. #stackt=0;
  332. else;
  333. #ver=%#ver%+18;
  334. #hor=0;
  335. endif;
  336. endif;
  337. wait(100ms);
  338. gui();
  339. wait(400ms);
  340. if(%#sidep%=180);#hor1=%#hor%;#ver1=%#ver%;endif;
  341. if(%#sidep%=90);#hor2=%#hor%;#ver2=%#ver%;endif;
  342. if(%#sidep%=270);#hor3=%#hor%;#ver3=%#ver%;endif;
  343. if(%#sidep%=360);#hor4=%#hor%;#ver4=%#ver%;endif;
  344. if(%#sidep%=54);#hor5=%#hor%;#ver5=%#ver%;endif;
  345. until(%#stackt%=0);
  346. loop;
  347. #posx=%XPOS%;#posz=%ZPOS%;}$$/home$${do(400);if((%XPOS%!=%#posx%)&&(%ZPOS%!=%#posxz));break;endif;loop;wait(1);
  348. }$$/home mar$${do(400);if((%XPOS%=%#posx%)&&(%ZPOS%=%#posz%));break;endif;loop;wait(2);keydown(jump);wait(1);keyup(jump);wait(2);
  349. gui(inventory);
  350. else;
  351. log(&c» &8Não é necessário guardar itens ainda!);
  352. endif;
  353. endif;
  354. loop;
  355. endif;
  356. }$$
RAW Paste Data