Guest User

Pesca WARP VIP

a guest
Nov 5th, 2020
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 161.27 KB | None | 0 0
  1. $${
  2. toggle(pescavip);
  3. if(pescavip);
  4. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aAtivada");
  5.  
  6. //tudo isso aqui em baixo sera colocado na parte de resetar
  7. #bau_peixe = 1;
  8. #bau_dimablaze = 1;
  9. #bau_ghastapple = 1;
  10. #bau_helmet = 1;
  11. #bau_chestplate = 1;
  12. #bau_legging = 1;
  13. #bau_boots = 1;
  14. #bau_pickaxe = 1;
  15. #bau_shovel = 1;
  16. #bau_axe = 1;
  17. #bau_sword = 1;
  18. //
  19. Unsafe(0);
  20. Gui(inventory);
  21. GETSLOTITEM(43,#slot43);
  22. GETSLOTITEM(44,#slot44);
  23. Gui();
  24. IF(#slot43 != 287);
  25. log("");
  26. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cSem &7LINHA &cno SLOT &b8");
  27. log("");
  28. toggle(pescavip);
  29. stop;
  30. ENDIF;
  31. IF(#slot44 != 346);
  32. log("");
  33. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cSem &7Vara &cno SLOT &b9");
  34. log("");
  35. toggle(pescavip);
  36. stop;
  37. ENDIF;
  38. #delay_look = 300;
  39. #bau_n = 1;
  40. #pickaxe = 278;
  41. //ids para limpeza
  42. unset(#lista_lixo[]);
  43. put(#lista_lixo[],298);
  44. put(#lista_lixo[],299);
  45. put(#lista_lixo[],300);
  46. put(#lista_lixo[],301);
  47. put(#lista_lixo[],306);
  48. put(#lista_lixo[],307);
  49. put(#lista_lixo[],308);
  50. put(#lista_lixo[],309);
  51. put(#lista_lixo[],314);
  52. put(#lista_lixo[],394);
  53. put(#lista_lixo[],315);
  54. put(#lista_lixo[],316);
  55. put(#lista_lixo[],317);
  56. put(#lista_lixo[],268);
  57. put(#lista_lixo[],272);
  58. put(#lista_lixo[],267);
  59. put(#lista_lixo[],283);
  60. put(#lista_lixo[],270);
  61. put(#lista_lixo[],274);
  62. put(#lista_lixo[],257);
  63. put(#lista_lixo[],285);
  64. put(#lista_lixo[],271);
  65. put(#lista_lixo[],275);
  66. put(#lista_lixo[],258);
  67. put(#lista_lixo[],256);
  68. put(#lista_lixo[],284);
  69. put(#lista_lixo[],286);
  70. put(#lista_lixo[],290);
  71. put(#lista_lixo[],291);
  72. put(#lista_lixo[],292);
  73. put(#lista_lixo[],293);
  74. put(#lista_lixo[],294);
  75. unset(#disk_list[]);
  76. For(#discos,2256,2267);
  77. put(#disk_list[],%#discos%);
  78. Next;
  79. Endunsafe;
  80. //encantamentos
  81. &efficiency4 = "Efici.ncia IV|Efficiency IV";&efficiency5 = "Efici.ncia V|Efficiency V";&fortune3 = "Fortuna III|Fortune III";
  82. //
  83. &protection4 = "Prote.{2}o IV|Protection IV";&protection3 = "Prote.{2}o III|Protection III";&thorns = "Espinhos III|Espinhos II|Espinhos I|Thorns III|Thorns II|Thorns I";
  84. &umbreaking1 = "Inquebr.vel I|Unbreaking I"; &umbreaking2 = "Inquebr.vel II|Unbreaking II"; &umbreaking3 = "Inquebr.vel III|Unbreaking III";
  85. //
  86. &fire_aspect = "Aspecto Flamejante I|Aspecto Flamejante II|Fire Aspect I|Fire Aspect II";&sharpness4 = "Afiada IV|Sharpness IV";&sharpness5 = "Afiada V|Sharpness V";
  87. &smite4 = "^Julgamento IV$|^Smite IV$";&smite5 = "^Julgamento V$|^Smite V$";&arthropods4 = "^Ru.na dos Artr.podes IV$|^Bane of Arthropods IV$";
  88. &arthropods5 = "^Ru.na dos Artr.podes V$|^Bane of Arthropods V$";&looting3 = "Pilhagem III|Looting III";&knockback = "^Repuls.o II$|^Knockback II$";
  89. //outras variaveis
  90. &itens_enc = "^310$|^311$|^312$|^313$|^276$|^277$|^278$|^279$|^349$";
  91. #have_enc_inc = 0;
  92. #limpeza_padrao = 0;
  93. unset(inv_lotado);unset(fim_inv);unset(fome);
  94. set(verificar_encantamentos);set(limpeza_padrao);
  95.  
  96. log("");
  97. log("&f&1[&7&lAdvanced &e&lFishing&1]: &eSelecione uma Configuraçao&f");
  98. Log("");
  99. log("&f--------------------------------------------");log("");
  100. log("&1&l[&e&r1&1&l] &fManter Configuraçao &aPersonalizada");log("");
  101. log("&f----------Configuraçoes prontas---------------");
  102. log("&1&l[&e&r2&1&l] &fConfiguraçao &dIniciante");
  103. log("&1&l[&e&r3&1&l] &fConfiguraçao &4Normal");
  104. log("&1&l[&e&r4&1&l] &fConfiguraçao &cPvP");
  105. log("&1&l[&e&r5&1&l] &fConfiguraçao &6Gladiador");
  106. log("&1&l[&e&r6&1&l] &fConfiguraçao &bFull SET");
  107. log("&f--------------------------------------------");
  108. log("&1&l[&e&r7&1&l] &fConfiguraçao &aPersonalizada &f(configurar do 0)");
  109. log("");
  110. log("&6(Veja o que cada configuraçao faz no TOPICO)");
  111. Log("");
  112. LOG("");
  113. Prompt(#change_config,$$?,Escolha uma das Opçoes acima:);
  114. IF(#change_config = 0);
  115. LOG("&cOpçao Inválida.");toggle(pescavip);Stop;
  116. ELSEIF(#change_config = 1);
  117. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aConfiguraçoes mantidas.");
  118. wait(300ms);
  119. ELSEIF(#change_config = 2);
  120. set(vender_discos);
  121. set(armazenar_itens);
  122. unset(assar_peixes);
  123. set(guardar_blazedima);
  124. set(guardar_lagrimaapple);
  125. set(armazenar_peixe);
  126. set(guardar_picareta);
  127. set(guardar_pa);
  128. set(guardar_machadoeff);
  129. set(guardar_machados5);
  130. set(guardar_armadura);
  131. set(guardar_cp3umb3);
  132. unset(guardar_capabotap3umb3);
  133. set(guardar_p4liso);
  134. set(guardar_umb1);
  135. set(guardar_umb2);
  136. set(guardar_umb3);
  137. set(guardar_umb3liso);
  138. set(guardar_silkt);
  139. set(guardar_fortune3);
  140. set(guardar_eff4);
  141. set(guardar_eff5);
  142. set(guardar_eficiencia4umb3);
  143. set(guardar_eficiencia5umb3);
  144. set(guardar_eff4umb3silk1);
  145. set(guardar_eff4umb3fort3);
  146. set(guardar_eff5umb3silk1);
  147. set(guardar_eff5umb3fort3);
  148. set(guardar_sw_afiada4);
  149. set(guardar_sw_afiada5);
  150. set(guardar_afiada5fire);
  151. set(guardar_s5umb3);
  152. set(guardar_looting3);
  153. set(guardar_sj3loot3);
  154. set(guardar_sj3loot3umb3);
  155. set(guardar_m_s5);
  156. set(guardar_m_s5umb3);
  157. set(guardar_m_s5j5a5);
  158. ELSEIF(#change_config = 3);
  159. set(vender_discos);
  160. set(armazenar_itens);
  161. unset(assar_peixes);
  162. set(guardar_blazedima);
  163. set(guardar_lagrimaapple);
  164. set(armazenar_peixe);
  165. set(guardar_picareta);
  166. set(guardar_pa);
  167. set(guardar_machadoeff);
  168. set(guardar_machados5);
  169. set(guardar_armadura);
  170. set(guardar_cp3umb3);
  171. set(guardar_capabotap3umb3);
  172. set(guardar_p4liso);
  173. set(guardar_umb1);
  174. set(guardar_umb2);
  175. set(guardar_umb3);
  176. unset(guardar_umb3liso);
  177. unset(guardar_capabotap3umb3);
  178. unset(guardar_silkt);
  179. unset(guardar_fortune3);
  180. unset(guardar_eff4);
  181. set(guardar_eff5);
  182. unset(guardar_eficiencia4umb3);
  183. unset(guardar_eficiencia5umb3);
  184. set(guardar_eff4umb3silk1);
  185. set(guardar_eff4umb3fort3);
  186. set(guardar_eff5umb3silk1);
  187. set(guardar_eff5umb3fort3);
  188. unset(guardar_sw_afiada4);
  189. set(guardar_sw_afiada5);
  190. set(guardar_afiada5fire);
  191. set(guardar_s5umb3);
  192. unset(guardar_looting3);
  193. set(guardar_sj3loot3);
  194. set(guardar_sj3loot3umb3);
  195. set(guardar_m_s5);
  196. set(guardar_m_s5umb3);
  197. set(guardar_m_s5j5a5);
  198. ELSEIF(#change_config = 4);
  199. unset(vender_discos);
  200. set(armazenar_itens);
  201. unset(assar_peixes);
  202. set(guardar_blazedima);
  203. set(guardar_lagrimaapple);
  204. unset(armazenar_peixe);
  205. unset(guardar_picareta);
  206. unset(guardar_pa);
  207. unset(guardar_machadoeff);
  208. set(guardar_machados5);
  209. set(guardar_armadura);
  210. set(guardar_cp3umb3);
  211. set(guardar_capabotap3umb3);
  212. set(guardar_umb1);
  213. set(guardar_umb2);
  214. set(guardar_umb3);
  215. unset(guardar_umb3liso);
  216. unset(guardar_silkt);
  217. unset(guardar_fortune3);
  218. unset(guardar_eff4);
  219. unset(guardar_eff5);
  220. unset(guardar_eficiencia4umb3);
  221. unset(guardar_eficiencia5umb3);
  222. unset(guardar_eff4umb3silk1);
  223. unset(guardar_eff4umb3fort3);
  224. unset(guardar_eff5umb3silk1);
  225. unset(guardar_eff5umb3fort3);
  226. unset(guardar_sw_afiada4);
  227. set(guardar_p4liso);
  228. set(guardar_sw_afiada5);
  229. set(guardar_afiada5fire);
  230. set(guardar_s5umb3);
  231. unset(guardar_looting3);
  232. unset(guardar_sj3loot3);
  233. unset(guardar_sj3loot3umb3);
  234. set(guardar_m_s5);
  235. set(guardar_m_s5umb3);
  236. set(guardar_m_s5j5a5);
  237. ELSEIF(#change_config = 5);
  238. unset(vender_discos);
  239. set(armazenar_itens);
  240. unset(assar_peixes);
  241. unset(guardar_blazedima);
  242. unset(guardar_lagrimaapple);
  243. unset(armazenar_peixe);
  244. unset(guardar_picareta);
  245. unset(guardar_pa);
  246. unset(guardar_machadoeff);
  247. set(guardar_machados5);
  248. set(guardar_armadura);
  249. set(guardar_cp3umb3);
  250. set(guardar_capabotap3umb3);
  251. unset(guardar_p4liso);
  252. unset(guardar_umb1);
  253. set(guardar_umb2);
  254. set(guardar_umb3);
  255. unset(guardar_umb3liso);
  256. unset(guardar_silkt);
  257. unset(guardar_fortune3);
  258. unset(guardar_eff4);
  259. unset(guardar_eff5);
  260. unset(guardar_eficiencia4umb3);
  261. unset(guardar_eficiencia5umb3);
  262. unset(guardar_eff4umb3silk1);
  263. unset(guardar_eff4umb3fort3);
  264. unset(guardar_eff5umb3silk1);
  265. unset(guardar_eff5umb3fort3);
  266. unset(guardar_sw_afiada4);
  267. unset(guardar_sw_afiada5);
  268. unset(guardar_afiada5fire);
  269. set(guardar_s5umb3);
  270. unset(guardar_looting3);
  271. unset(guardar_sj3loot3);
  272. unset(guardar_sj3loot3umb3);
  273. unset(guardar_m_s5);
  274. set(guardar_m_s5umb3);
  275. set(guardar_m_s5j5a5);
  276. unset(guardar_picareta);
  277. unset(guardar_pa);
  278. unset(guardar_machadoeff);
  279. ELSEIF(#change_config = 6);
  280. unset(guardar_espada);
  281. unset(vender_discos);
  282. set(armazenar_itens);
  283. unset(assar_peixes);
  284. unset(guardar_blazedima);
  285. unset(guardar_lagrimaapple);
  286. unset(armazenar_peixe);
  287. unset(guardar_picareta);
  288. unset(guardar_pa);
  289. unset(guardar_machadoeff);
  290. unset(guardar_machados5);
  291. set(guardar_armadura);
  292. set(guardar_cp3umb3);
  293. unset(guardar_umb1);
  294. unset(guardar_umb2);
  295. set(guardar_umb3);
  296. unset(guardar_p4liso);
  297. unset(guardar_umb3liso);
  298. unset(guardar_silkt);
  299. unset(guardar_fortune3);
  300. unset(guardar_eff4);
  301. unset(guardar_eff5);
  302. unset(guardar_eficiencia4umb3);
  303. unset(guardar_eficiencia5umb3);
  304. unset(guardar_eff4umb3silk1);
  305. unset(guardar_eff4umb3fort3);
  306. unset(guardar_eff5umb3silk1);
  307. unset(guardar_eff5umb3fort3);
  308. unset(guardar_sw_afiada4);
  309. unset(guardar_sw_afiada5);
  310. unset(guardar_afiada5fire);
  311. unset(guardar_s5umb3);
  312. unset(guardar_looting3);
  313. unset(guardar_sj3loot3);
  314. unset(guardar_sj3loot3umb3);
  315. unset(guardar_m_s5);
  316. unset(guardar_m_s5umb3);
  317. unset(guardar_m_s5j5a5);
  318. ELSEIF(#change_config = 7);
  319. #durability = 17;
  320. Do;
  321. CLEARCHAT;
  322. LOG("");
  323. LOG("&1[&7&lAdvanced &e&lFishing&1]: &fEscolha as Opções desejadas abaixo:");
  324. LOG("");
  325. IF(!vip);LOG("&1&l[&f1&1&l] &f[&cOFF&f] &fSou &6VIP");ENDIF;
  326. IF(vip);LOG("&1&l[&f1&1&l] &f[&aON&f] &fSou &6VIP");ENDIF;
  327.  
  328. IF(!warpvip);LOG("&1&l[&f2&1&l] &f[&cOFF&f] &fIra pescar na &6Warp VIP&f?");ENDIF;
  329. IF(warpvip);LOG("&1&l[&f2&1&l] &f[&aON&f] &fIra pescar na &6Warp VIP&f?");ENDIF;
  330. LOG("");
  331. if(!vender_discos);LOG("&1&l[&f3&1&l] &f[&cOFF&f] &fVender discos");ENDIF;
  332. if(vender_discos); LOG("&1&l[&f3&1&l] &f[&aON&f] &fVender discos");ENDIF;
  333.  
  334. IF(armazenar_peixe);LOG("&1&l[&f4&1&l] &f[&cOFF&f] &fJogar os peixes fora?");ENDIF;
  335. IF(!armazenar_peixe);LOG("&1&l[&f4&1&l] &f[&aON&f] &fJogar os peixes fora?");ENDIF;
  336.  
  337. if(!armazenar_itens);LOG("&1&l[&f5&1&l] &f[&cOFF&f] &fArmazenar itens (&coff &f= Apenas Upar)");ENDIF;
  338. if(armazenar_itens);LOG("&1&l[&f5&1&l] &f[&aON&f] &fArmazenar itens (&coff &f= Apenas Upar)");ENDIF;
  339.  
  340. if(!assar_peixes);LOG("&1&l[&86&1&l] &8[&cOFF&8] &8Assar peixes &c(Em Breve)");ENDIF;
  341. if(assar_peixes);LOG("&1&l[&86&1&l] &8[&aON&8] &8Assar peixes &c(Em Breve)");ENDIF;
  342. LOG("");
  343. LOG("&1&l[&f7&1&l] &f[&a%#durability%&f] &bDurabilidade &fpara reparar. (Padrao &b17&f)");
  344. LOG("&1&l[&f8&1&l] &f[&a%#delay%&f] &bDelay &fda Pesca. (Padrao &b1&f)");
  345. LOG("");
  346. LOG("&bPressione &bENTER &bpara confirmar sua configuraçao");
  347. LOG("");
  348. IF(KEY_1);
  349. do;wait(1ms);until(!KEY_1);
  350. if(!vip);
  351. set(vip);
  352. elseif(vip);
  353. unset(vip);
  354. endif;
  355. ENDIF;
  356. IF(KEY_2);
  357. do;wait(1ms);until(!KEY_2);
  358. if(!warpvip);
  359. set(warpvip);
  360. elseif(warpvip);
  361. unset(warpvip);
  362. endif;
  363. ENDIF;
  364. IF(KEY_3);
  365. do;wait(1ms);until(!KEY_3);
  366. if(!vender_discos);
  367. set(vender_discos);
  368. elseif(vender_discos);
  369. unset(vender_discos);
  370. endif;
  371. ENDIF;
  372. IF(KEY_4);
  373. do;wait(1ms);until(!KEY_4);
  374. if(!armazenar_peixe);
  375. set(armazenar_peixe);
  376. elseif(armazenar_peixe);
  377. unset(armazenar_peixe);
  378. endif;
  379. ENDIF;
  380. IF(KEY_5);
  381. do;wait(1ms);until(!KEY_5);
  382. if(!armazenar_itens);
  383. set(armazenar_itens);
  384. elseif(armazenar_itens);
  385. unset(armazenar_itens);
  386. endif;
  387. ENDIF;
  388. IF(desativado);
  389. IF(KEY_6);
  390. do;wait(1ms);until(!KEY_6);
  391. if(!assar_peixes);
  392. set(assar_peixes);
  393. elseif(assar_peixes);
  394. unset(assar_peixes);
  395. endif;
  396. ENDIF;
  397. ENDIF;
  398. IF(KEY_7);
  399. prompt(#durability,$$?,Escolha uma durabilidade (de 5 a 50);
  400. wait(100ms);
  401. IF(#durability = 0);
  402. #durability = 17;
  403. ENDIF;
  404. ENDIF;
  405. IF(KEY_8);
  406. prompt(#delay,$$?,Escolha um delay para pesca);
  407. wait(100ms);
  408. IF(#delay = 0);
  409. #delay = 1;
  410. ENDIF;
  411. ENDIF;
  412. IF(KEY_RETURN);
  413. LOG("&1[&7&lAdvanced &e&lFishing&1]: &bConfiguraçao salva.");
  414. do;wait(1ms);until(!KEY_RETURN);
  415. BREAK;
  416. ENDIF;
  417. Loop;
  418. IF(armazenar_itens);
  419. Do;
  420. CLEARCHAT;
  421. LOG("");
  422. LOG("&1[&7&lAdvanced &e&lFishing&1]: &fEscolha o que deseja guardar:");
  423. LOG("");
  424. IF(!guardar_blazedima);LOG("&1&l[&f1&1&l] &f[&cOFF&f] &6Blazerod &7& &bDiamante");ENDIF;
  425. IF(guardar_blazedima);LOG("&1&l[&f1&1&l] &f[&aON&f] &6Blazerod &7& &bDiamante");ENDIF;
  426.  
  427. IF(!guardar_lagrimaapple);LOG("&1&l[&f2&1&l] &f[&cOFF&f] &fLagrima &7& &eGolden Apple");ENDIF;
  428. IF(guardar_lagrimaapple);LOG("&1&l[&f2&1&l] &f[&aON&f] &fLagrima &7& &eGolden Apple");ENDIF;
  429. IF(armazenar_peixe);IF(!vender_peixes);LOG("&1&l[&f3&1&l] &f[&cOFF&f] &bVender Peixes &f(&cOff &f= guardar nos baus)");ENDIF;ENDIF;
  430. IF(armazenar_peixe);IF(vender_peixes);LOG("&1&l[&f3&1&l] &f[&aON&f] &bVender Peixes &f(&cOff &f= guardar nos baus)");ENDIF;ENDIF;
  431. LOG("");
  432. IF(!guardar_picareta);LOG("&1&l[&f4&1&l] &f[&cOFF&f] &fPicaretas");ENDIF;
  433. IF(guardar_picareta);LOG("&1&l[&f4&1&l] &f[&aON&f] &fPicaretas");ENDIF;
  434.  
  435. IF(!guardar_pa);LOG("&1&l[&f5&1&l] &f[&cOFF&f] &fPás");ENDIF;
  436. IF(guardar_pa);LOG("&1&l[&f5&1&l] &f[&aON&f] &fPás");ENDIF;
  437.  
  438. IF(!guardar_espada);LOG("&1&l[&f6&1&l] &f[&cOFF&f] &fEspadas");ENDIF;
  439. IF(guardar_espada);LOG("&1&l[&f6&1&l] &f[&aON&f] &fEspadas");ENDIF;
  440.  
  441. IF(!guardar_machadoeff);LOG("&1&l[&f7&1&l] &f[&cOFF&f] &fMachados (Eficiência & etc)");ENDIF;
  442. IF(guardar_machadoeff);LOG("&1&l[&f7&1&l] &f[&aON&f] &fMachados (Eficiência & etc)");ENDIF;
  443.  
  444. IF(!guardar_machados5);LOG("&1&l[&f8&1&l] &f[&cOFF&f] &fMachados AFIADA 5");ENDIF;
  445. IF(guardar_machados5);LOG("&1&l[&f8&1&l] &f[&aON&f] &fMachados AFIADA 5");ENDIF;
  446. LOG("");
  447. IF(!guardar_armadura);LOG("&1&l[&f9&1&l] &f[&cOFF&f] &fArmaduras");ENDIF;
  448. IF(guardar_armadura);LOG("&1&l[&f9&1&l] &f[&aON&f] &fArmaduras");ENDIF;
  449. LOG("");
  450. IF(KEY_1);
  451. do;wait(1ms);until(!KEY_1);
  452. if(!guardar_blazedima);
  453. set(guardar_blazedima);
  454. elseif(guardar_blazedima);
  455. unset(guardar_blazedima);
  456. endif;
  457. ENDIF;
  458. IF(KEY_2);
  459. do;wait(1ms);until(!KEY_2);
  460. if(!guardar_lagrimaapple);
  461. set(guardar_lagrimaapple);
  462. elseif(guardar_lagrimaapple);
  463. unset(guardar_lagrimaapple);
  464. endif;
  465. ENDIF;
  466. IF(KEY_3);
  467. do;wait(1ms);until(!KEY_3);
  468. if(!vender_peixes);
  469. set(vender_peixes);
  470. elseif(vender_peixes);
  471. unset(vender_peixes);
  472. endif;
  473. ENDIF;
  474. IF(KEY_4);
  475. do;wait(1ms);until(!KEY_4);
  476. if(!guardar_picareta);
  477. set(guardar_picareta);
  478. elseif(guardar_picareta);
  479. unset(guardar_picareta);
  480. endif;
  481. ENDIF;
  482. IF(KEY_5);
  483. do;wait(1ms);until(!KEY_5);
  484. if(!guardar_pa);
  485. set(guardar_pa);
  486. elseif(guardar_pa);
  487. unset(guardar_pa);
  488. endif;
  489. ENDIF;
  490. IF(KEY_6);
  491. do;wait(1ms);until(!KEY_6);
  492. if(!guardar_espada);
  493. set(guardar_espada);
  494. elseif(guardar_espada);
  495. unset(guardar_espada);
  496. endif;
  497. ENDIF;
  498. IF(KEY_7);
  499. do;wait(1ms);until(!KEY_7);
  500. if(!guardar_machadoeff);
  501. set(guardar_machadoeff);
  502. elseif(guardar_machadoeff);
  503. unset(guardar_machadoeff);
  504. endif;
  505. ENDIF;
  506. IF(KEY_8);
  507. do;wait(1ms);until(!KEY_8);
  508. if(!guardar_machados5);
  509. set(guardar_machados5);
  510. elseif(guardar_machados5);
  511. unset(guardar_machados5);
  512. endif;
  513. ENDIF;
  514. IF(KEY_9);
  515. do;wait(1ms);until(!KEY_9);
  516. if(!guardar_armadura);
  517. set(guardar_armadura);
  518. elseif(guardar_armadura);
  519. unset(guardar_armadura);
  520. endif;
  521. ENDIF;
  522. IF(KEY_RETURN);
  523. LOG("&1[&7&lAdvanced &e&lFishing&1]: &bConfiguraçao salva.");
  524. do;wait(1ms);until(!KEY_RETURN);
  525. BREAK;
  526. ENDIF;
  527. Loop;
  528. ENDIF;
  529. IF(armazenar_itens);
  530. Do;
  531. CLEARCHAT;
  532. LOG("");
  533. LOG("&1[&7&lAdvanced &e&lFishing&1]: &fEscolha o encantamento das armaduras (thorns nao incluido):");
  534. IF(!guardar_umb3liso);LOG("&1&l[&f1&1&l] &f[&cOFF&f] &fTudo com Inquebrável &b&bIII&f");ENDIF;
  535. IF(guardar_umb3liso);LOG("&1&l[&f1&1&l] &f[&aON&f] &fTudo com Inquebrável &b&bIII&f");ENDIF;
  536.  
  537. IF(!guardar_cp3umb3);LOG("&1&l[&f2&1&l] &f[&cOFF&f] &fProtecao &bIII&f Inquebrável &bIII&f");ENDIF;
  538. IF(guardar_cp3umb3);LOG("&1&l[&f2&1&l] &f[&aON&f] &fProtecao &bIII&f Inquebrável &bIII&f");ENDIF;
  539.  
  540. IF(!guardar_capabotap3umb3);LOG("&1&l[&f3&1&l] &f[&cOFF&f] &fProtecao &bIII&f Inquebrável &bIII&f (Apenas &cCapa &fe &cBota&f)");ENDIF;
  541. IF(guardar_capabotap3umb3);LOG("&1&l[&f3&1&l] &f[&aON&f] &fProtecao &bIII&f Inquebrável &bIII&f (Apenas &cCapa &fe &cBota&f)");ENDIF;
  542.  
  543. IF(!guardar_p4liso);LOG("&1&l[&f4&1&l] &f[&cOFF&f] &fProteçao &bIV&f Liso");ENDIF;
  544. IF(guardar_p4liso);LOG("&1&l[&f4&1&l] &f[&aON&f] &fProteçao &bIV&f Liso");ENDIF;
  545.  
  546. IF(!guardar_umb1);LOG("&1&l[&f5&1&l] &f[&cOFF&f] &fProteçao &bIV&f Inquebrável &bI");ENDIF;
  547. IF(guardar_umb1);LOG("&1&l[&f5&1&l] &f[&aON&f] &fProteçao &bIV&f Inquebrável &bI");ENDIF;
  548.  
  549. IF(!guardar_umb2);LOG("&1&l[&f6&1&l] &f[&cOFF&f] &fProteçao &bIV&f Inquebrável &bII&f");ENDIF;
  550. IF(guardar_umb2);LOG("&1&l[&f6&1&l] &f[&aON&f] &fProteçao &bIV&f Inquebrável &bII&f");ENDIF;
  551.  
  552. IF(!guardar_umb3);LOG("&1&l[&f7&1&l] &f[&cOFF&f] &fProteçao &bIV&f Inquebrável &b&bIII&f");ENDIF;
  553. IF(guardar_umb3);LOG("&1&l[&f7&1&l] &f[&aON&f] &fProteçao &bIV&f Inquebrável &b&bIII&f");ENDIF;
  554. LOG("");
  555. IF(KEY_1);
  556. do;wait(1ms);until(!KEY_1);
  557. if(!guardar_umb3liso);
  558. set(guardar_umb3liso);
  559. elseif(guardar_umb3liso);
  560. unset(guardar_umb3liso);
  561. endif;
  562. ENDIF;
  563. IF(KEY_2);
  564. do;wait(1ms);until(!KEY_2);
  565. if(!guardar_cp3umb3);
  566. set(guardar_cp3umb3);
  567. elseif(guardar_cp3umb3);
  568. unset(guardar_cp3umb3);
  569. endif;
  570. ENDIF;
  571. IF(KEY_3);
  572. do;wait(1ms);until(!KEY_3);
  573. if(!guardar_capabotap3umb3);
  574. set(guardar_capabotap3umb3);
  575. elseif(guardar_capabotap3umb3);
  576. unset(guardar_capabotap3umb3);
  577. endif;
  578. ENDIF;
  579. IF(KEY_4);
  580. do;wait(1ms);until(!KEY_4);
  581. if(!guardar_p4liso);
  582. set(guardar_p4liso);
  583. elseif(guardar_p4liso);
  584. unset(guardar_p4liso);
  585. endif;
  586. ENDIF;
  587. IF(KEY_5);
  588. do;wait(1ms);until(!KEY_5);
  589. if(!guardar_umb1);
  590. set(guardar_umb1);
  591. elseif(guardar_umb1);
  592. unset(guardar_umb1);
  593. endif;
  594. ENDIF;
  595. IF(KEY_6);
  596. do;wait(1ms);until(!KEY_6);
  597. if(!guardar_umb2);
  598. set(guardar_umb2);
  599. elseif(guardar_umb2);
  600. unset(guardar_umb2);
  601. endif;
  602. ENDIF;
  603. IF(KEY_7);
  604. do;wait(1ms);until(!KEY_7);
  605. if(!guardar_umb3);
  606. set(guardar_umb3);
  607. elseif(guardar_umb3);
  608. unset(guardar_umb3);
  609. endif;
  610. ENDIF;
  611. IF(KEY_RETURN);
  612. LOG("&1[&7&lAdvanced &e&lFishing&1]: &bConfiguraçao salva.");
  613. do;wait(1ms);until(!KEY_RETURN);
  614. BREAK;
  615. ENDIF;
  616. Loop;
  617. IF(guardar_p4liso);
  618. set(guardar_umb1);
  619. set(guardar_umb2);
  620. set(guardar_umb3);
  621. ELSEIF(guardar_umb1);
  622. set(guardar_umb2);
  623. set(guardar_umb3);
  624. ELSEIF(guardar_umb2);
  625. set(guardar_umb3);
  626. ENDIF;
  627. IF(guardar_capabotap3umb3);
  628. set(guardar_cp3umb3);
  629. ENDIF;
  630. ENDIF;
  631. IF(armazenar_itens);
  632. Do;
  633. CLEARCHAT;
  634. LOG("");
  635. LOG("&1[&7&lAdvanced &e&lFishing&1]: &fEscolha o encantamento das Ferramentas");
  636. LOG("");
  637. IF(!guardar_silkt);LOG("&1&l[&f1&1&l] &f[&cOFF&f] &fTudo com Toque Suave &bI");ENDIF;
  638. IF(guardar_silkt);LOG("&1&l[&f1&1&l] &f[&aON&f] &fTudo com Toque Suave &bI");ENDIF;
  639.  
  640. IF(!guardar_fortune3);LOG("&1&l[&f2&1&l] &f[&cOFF&f] &fTudo com Fortune &bIII");ENDIF;
  641. IF(guardar_fortune3);LOG("&1&l[&f2&1&l] &f[&aON&f] &fTudo com Fortune &bIII");ENDIF;
  642.  
  643. IF(!guardar_eff4);LOG("&1&l[&f3&1&l] &f[&cOFF&f] &fTudo com Eficiencia &bIV");ENDIF;
  644. IF(guardar_eff4);LOG("&1&l[&f3&1&l] &f[&aON&f] &fTudo com Eficiencia &bIV");ENDIF;
  645.  
  646. IF(!guardar_eff5);LOG("&1&l[&f4&1&l] &f[&cOFF&f] &fTudo com Eficiencia &bV");ENDIF;
  647. IF(guardar_eff5);LOG("&1&l[&f4&1&l] &f[&aON&f] &fTudo com Eficiencia &bV");ENDIF;
  648.  
  649. IF(!guardar_eficiencia4umb3);LOG("&1&l[&f5&1&l] &f[&cOFF&f] &fTudo com Eficiencia &bIV &fe Inquebrável &bIII");ENDIF;
  650. IF(guardar_eficiencia4umb3);LOG("&1&l[&f5&1&l] &f[&aON&f] &fTudo com Eficiencia &bIV &fe Inquebrável &bIII");ENDIF;
  651.  
  652. IF(!guardar_eficiencia5umb3);LOG("&1&l[&f6&1&l] &f[&cOFF&f] &fTudo com Eficiencia &bV&f e Inquebrável &bIII");ENDIF;
  653. IF(guardar_eficiencia5umb3);LOG("&1&l[&f6&1&l] &f[&aON&f] &fTudo com Eficiencia &bV&f e Inquebrável &bIII");ENDIF;
  654.  
  655. IF(!guardar_eff4umb3silk1);LOG("&1&l[&f7&1&l] &f[&cOFF&f] &fApenas Eficiencia &bIV&f e Inquebrável &bIII&f e Toque Suave &bI");ENDIF;
  656. IF(guardar_eff4umb3silk1);LOG("&1&l[&f7&1&l] &f[&aON&f] &fApenas Eficiencia &bIV&f e Inquebrável &bIII&f e Toque Suave &bI");ENDIF;
  657.  
  658. IF(!guardar_eff4umb3fort3);LOG("&1&l[&f8&1&l] &f[&cOFF&f] &fApenas Eficiencia &bIV&f e Inquebrável &bIII&f e Fortune &bIII");ENDIF;
  659. IF(guardar_eff4umb3fort3);LOG("&1&l[&f8&1&l] &f[&aON&f] &fApenas Eficiencia &bIV&f e Inquebrável &bIII&f e Fortune &bIII");ENDIF;
  660.  
  661. IF(!guardar_eff5umb3silk1);LOG("&1&l[&f9&1&l] &f[&cOFF&f] &fApenas Eficiencia &bV&f e Inquebrável &bIII&f e Toque Suave &bI");ENDIF;
  662. IF(guardar_eff5umb3silk1);LOG("&1&l[&f9&1&l] &f[&aON&f] &fApenas Eficiencia &bV&f e Inquebrável &bIII&f e Toque Suave &bI");ENDIF;
  663.  
  664. IF(!guardar_eff5umb3fort3);LOG("&1&l[&f0&1&l] &f[&cOFF&f] &fApenas Eficiencia &bV&f e Inquebrável &bIII&f e Fortune &bIII");ENDIF;
  665. IF(guardar_eff5umb3fort3);LOG("&1&l[&f0&1&l] &f[&aON&f] &fApenas Eficiencia &bV&f e Inquebrável &bIII&f e Fortune &bIII");ENDIF;
  666. LOG("");
  667. IF(KEY_1);
  668. do;wait(1ms);until(!KEY_1);
  669. if(!guardar_silkt);
  670. set(guardar_silkt);
  671. elseif(guardar_silkt);
  672. unset(guardar_silkt);
  673. endif;
  674. ENDIF;
  675. IF(KEY_2);
  676. do;wait(1ms);until(!KEY_2);
  677. if(!guardar_fortune3);
  678. set(guardar_fortune3);
  679. elseif(guardar_fortune3);
  680. unset(guardar_fortune3);
  681. endif;
  682. ENDIF;
  683. IF(KEY_3);
  684. do;wait(1ms);until(!KEY_3);
  685. if(!guardar_eff4);
  686. set(guardar_eff4);
  687. elseif(guardar_eff4);
  688. unset(guardar_eff4);
  689. endif;
  690. ENDIF;
  691. IF(KEY_4);
  692. do;wait(1ms);until(!KEY_4);
  693. if(!guardar_eff5);
  694. set(guardar_eff5);
  695. elseif(guardar_eff5);
  696. unset(guardar_eff5);
  697. endif;
  698. ENDIF;
  699. IF(KEY_5);
  700. do;wait(1ms);until(!KEY_5);
  701. if(!guardar_eficiencia4umb3);
  702. set(guardar_eficiencia4umb3);
  703. elseif(guardar_eficiencia4umb3);
  704. unset(guardar_eficiencia4umb3);
  705. endif;
  706. ENDIF;
  707. IF(KEY_6);
  708. do;wait(1ms);until(!KEY_6);
  709. if(!guardar_eficiencia5umb3);
  710. set(guardar_eficiencia5umb3);
  711. elseif(guardar_eficiencia5umb3);
  712. unset(guardar_eficiencia5umb3);
  713. endif;
  714. ENDIF;
  715. IF(KEY_7);
  716. do;wait(1ms);until(!KEY_7);
  717. if(!guardar_eff4umb3silk1);
  718. set(guardar_eff4umb3silk1);
  719. elseif(guardar_eff4umb3silk1);
  720. unset(guardar_eff4umb3silk1);
  721. endif;
  722. ENDIF;
  723. IF(KEY_8);
  724. do;wait(1ms);until(!KEY_8);
  725. if(!guardar_eff4umb3fort3);
  726. set(guardar_eff4umb3fort3);
  727. elseif(guardar_eff4umb3fort3);
  728. unset(guardar_eff4umb3fort3);
  729. endif;
  730. ENDIF;
  731. IF(KEY_9);
  732. do;wait(1ms);until(!KEY_9);
  733. if(!guardar_eff5umb3silk1);
  734. set(guardar_eff5umb3silk1);
  735. elseif(guardar_eff5umb3silk1);
  736. unset(guardar_eff5umb3silk1);
  737. endif;
  738. ENDIF;
  739. IF(KEY_0);
  740. do;wait(1ms);until(!KEY_0);
  741. if(!guardar_eff5umb3fort3);
  742. set(guardar_eff5umb3fort3);
  743. elseif(guardar_eff5umb3fort3);
  744. unset(guardar_eff5umb3fort3);
  745. endif;
  746. ENDIF;
  747. IF(KEY_RETURN);
  748. LOG("&1[&7&lAdvanced &e&lFishing&1]: &bConfiguraçao salva.");
  749. do;wait(1ms);until(!KEY_RETURN);
  750. BREAK;
  751. ENDIF;
  752. Loop;
  753. IF(guardar_eff4);
  754. set(guardar_eff5);
  755. set(guardar_eff4umb3fort3);
  756. set(guardar_eff4umb3silk1);
  757. set(guardar_eff5umb3silk1);
  758. set(guardar_eff5umb3fort3);
  759. ELSEIF(guardar_eff5);
  760. set(guardar_eff5umb3silk1);
  761. set(guardar_eff5umb3fort3);
  762. ENDIF;
  763.  
  764.  
  765. ENDIF;
  766. IF(armazenar_itens);
  767. Do;
  768. CLEARCHAT;
  769. LOG("");
  770. LOG("&1[&7&lAdvanced &e&lFishing&1]: &fEscolha o encantamento das &bEspadas");
  771. LOG("");
  772. IF(!guardar_sw_afiada4);LOG("&1&l[&f1&1&l] &f[&cOFF&f] &fTudo com Afiada IV");ENDIF;
  773. IF(guardar_sw_afiada4);LOG("&1&l[&f1&1&l] &f[&aON&f] &fTudo com Afiada IV");ENDIF;
  774.  
  775. IF(!guardar_sw_afiada5);LOG("&1&l[&f2&1&l] &f[&cOFF&f] &fTudo com Afiada V");ENDIF;
  776. IF(guardar_sw_afiada5);LOG("&1&l[&f2&1&l] &f[&aON&f] &fTudo com Afiada V");ENDIF;
  777.  
  778. IF(!guardar_afiada5fire);LOG("&1&l[&f3&1&l] &f[&cOFF&f] &fAfiada V com Aspecto Flamejante I ou II");ENDIF;
  779. IF(guardar_afiada5fire);LOG("&1&l[&f3&1&l] &f[&aON&f] &fAfiada V com Aspecto Flamejante I ou II");ENDIF;
  780.  
  781. IF(!guardar_s5umb3);LOG("&1&l[&f4&1&l] &f[&cOFF&f] &fAfiada V Com Inquebrável III");ENDIF;
  782. IF(guardar_s5umb3);LOG("&1&l[&f4&1&l] &f[&aON&f] &fAfiada V Com Inquebrável III");ENDIF;
  783.  
  784. IF(!guardar_looting3);LOG("&1&l[&f5&1&l] &f[&cOFF&f] Tudo com Pilhagem III");ENDIF;
  785. IF(guardar_looting3);LOG("&1&l[&f5&1&l] &f[&aON&f] &fTudo com Pilhagem III");ENDIF;
  786.  
  787. IF(!guardar_sj3loot3);LOG("&1&l[&f6&1&l] &f[&cOFF&f] &fJulgamento 3+ ou Afiada 3+ com Pilhagem III");ENDIF;
  788. IF(guardar_sj3loot3);LOG("&1&l[&f6&1&l] &f[&aON&f] &fJulgamento 3+ ou Afiada 3+ com Pilhagem III");ENDIF;
  789.  
  790. IF(!guardar_sj3loot3umb3);LOG("&1&l[&f7&1&l] &f[&cOFF&f] &fJulg 3+ ou Afiada 3+ com Pilhagem III e Inquebrável III");ENDIF;
  791. IF(guardar_sj3loot3umb3);LOG("&1&l[&f7&1&l] &f[&aON&f] &fJulg 3+ ou Afiada 3+ com Pilhagem III e Inquebrável III");ENDIF;
  792. LOG("");
  793. LOG("&1[&7&lAdvanced &e&lFishing&1]: &fEscolha o encantamento dos &bMachados");
  794. LOG("");
  795. IF(!guardar_m_s5);LOG("&1&l[&f8&1&l] &f[&cOFF&f] Tudo com Afiada V");ENDIF;
  796. IF(guardar_m_s5);LOG("&1&l[&f8&1&l] &f[&aON&f] Tudo com Afiada V");ENDIF;
  797.  
  798. IF(!guardar_m_s5umb3);LOG("&1&l[&f9&1&l] &f[&cOFF&f] Afiada V Inquebrável 3");ENDIF;
  799. IF(guardar_m_s5umb3);LOG("&1&l[&f9&1&l] &f[&aON&f] Afiada V Inquebrável 3");ENDIF;
  800.  
  801. IF(!guardar_m_s5j5a5);LOG("&1&l[&f0&1&l] &f[&cOFF&f] Afiada V Julgamento V Artropodes V");ENDIF;
  802. IF(guardar_m_s5j5a5);LOG("&1&l[&f0&1&l] &f[&aON&f] Afiada V Julgamento V Artropodes V");ENDIF;
  803.  
  804. IF(KEY_1);
  805. do;wait(1ms);until(!KEY_1);
  806. if(!guardar_sw_afiada4);
  807. set(guardar_sw_afiada4);
  808. elseif(guardar_sw_afiada4);
  809. unset(guardar_sw_afiada4);
  810. endif;
  811. ENDIF;
  812. IF(KEY_2);
  813. do;wait(1ms);until(!KEY_2);
  814. if(!guardar_sw_afiada5);
  815. set(guardar_sw_afiada5);
  816. elseif(guardar_sw_afiada5);
  817. unset(guardar_sw_afiada5);
  818. endif;
  819. ENDIF;
  820. IF(KEY_3);
  821. do;wait(1ms);until(!KEY_3);
  822. if(!guardar_afiada5fire);
  823. set(guardar_afiada5fire);
  824. elseif(guardar_afiada5fire);
  825. unset(guardar_afiada5fire);
  826. endif;
  827. ENDIF;
  828. IF(KEY_4);
  829. do;wait(1ms);until(!KEY_4);
  830. if(!guardar_s5umb3);
  831. set(guardar_s5umb3);
  832. elseif(guardar_s5umb3);
  833. unset(guardar_s5umb3);
  834. endif;
  835. ENDIF;
  836. IF(KEY_5);
  837. do;wait(1ms);until(!KEY_5);
  838. if(!guardar_looting3);
  839. set(guardar_looting3);
  840. elseif(guardar_looting3);
  841. unset(guardar_looting3);
  842. endif;
  843. ENDIF;
  844. IF(KEY_6);
  845. do;wait(1ms);until(!KEY_6);
  846. if(!guardar_sj3loot3);
  847. set(guardar_sj3loot3);
  848. elseif(guardar_sj3loot3);
  849. unset(guardar_sj3loot3);
  850. endif;
  851. ENDIF;
  852. IF(KEY_7);
  853. do;wait(1ms);until(!KEY_7);
  854. if(!guardar_sj3loot3umb3);
  855. set(guardar_sj3loot3umb3);
  856. elseif(guardar_sj3loot3umb3);
  857. unset(guardar_sj3loot3umb3);
  858. endif;
  859. ENDIF;
  860. IF(KEY_8);
  861. do;wait(1ms);until(!KEY_8);
  862. if(!guardar_m_s5);
  863. set(guardar_m_s5);
  864. elseif(guardar_m_s5);
  865. unset(guardar_m_s5);
  866. endif;
  867. ENDIF;
  868. IF(KEY_9);
  869. do;wait(1ms);until(!KEY_9);
  870. if(!guardar_m_s5umb3);
  871. set(guardar_m_s5umb3);
  872. elseif(guardar_m_s5umb3);
  873. unset(guardar_m_s5umb3);
  874. endif;
  875. ENDIF;
  876. IF(KEY_0);
  877. do;wait(1ms);until(!KEY_0);
  878. if(!guardar_m_s5j5a5);
  879. set(guardar_m_s5j5a5);
  880. elseif(guardar_m_s5j5a5);
  881. unset(guardar_m_s5j5a5);
  882. endif;
  883. ENDIF;
  884. IF(KEY_RETURN);
  885. LOG("");
  886. LOG("&1[&7&lAdvanced &e&lFishing&1]: &bConfiguraçao salva.");
  887. LOG("");
  888. do;wait(1ms);until(!KEY_RETURN);
  889. wait(300ms);
  890. BREAK;
  891. ENDIF;
  892. Loop;
  893. ENDIF;
  894. ENDIF;
  895.  
  896. IF((#change_config != 1)&&(#change_config != 7));
  897. Do;
  898. CLEARCHAT;
  899. LOG("");
  900. LOG("&1[&7&lAdvanced &e&lFishing&1]: &fEscolha as Opções desejadas abaixo:");
  901. LOG("");
  902. IF(!vip);LOG("&1&l[&f1&1&l] &f[&cOFF&f] &fSou &6VIP");ENDIF;
  903. IF(vip);LOG("&1&l[&f1&1&l] &f[&aON&f] &fSou &6VIP");ENDIF;
  904.  
  905. IF(!warpvip);LOG("&1&l[&f2&1&l] &f[&cOFF&f] &fIra pescar na &6Warp VIP&f?");ENDIF;
  906. IF(warpvip);LOG("&1&l[&f2&1&l] &f[&aON&f] &fIra pescar na &6Warp VIP&f?");ENDIF;
  907.  
  908. IF(armazenar_peixe);IF(!vender_peixes);LOG("&1&l[&f3&1&l] &f[&cOFF&f] &bVender Peixes &f(&cOff &f= guardar nos baus)");ENDIF;ENDIF;
  909. IF(armazenar_peixe);IF(vender_peixes);LOG("&1&l[&f3&1&l] &f[&aON&f] &bVender Peixes &f(&cOff &f= guardar nos baus)");ENDIF;ENDIF;
  910.  
  911. if(!vender_discos);LOG("&1&l[&f4&1&l] &f[&cOFF&f] &fVender discos");ENDIF;
  912. if(vender_discos); LOG("&1&l[&f4&1&l] &f[&aON&f] &fVender discos");ENDIF;
  913.  
  914. LOG("");
  915. IF(KEY_1);
  916. do;wait(1ms);until(!KEY_1);
  917. if(!vip);
  918. set(vip);
  919. elseif(vip);
  920. unset(vip);
  921. endif;
  922. ENDIF;
  923. IF(KEY_2);
  924. do;wait(1ms);until(!KEY_2);
  925. if(!warpvip);
  926. set(warpvip);
  927. elseif(warpvip);
  928. unset(warpvip);
  929. endif;
  930. ENDIF;
  931. IF(KEY_3);
  932. do;wait(1ms);until(!KEY_3);
  933. if(!vender_peixes);
  934. set(vender_peixes);
  935. elseif(vender_peixes);
  936. unset(vender_peixes);
  937. endif;
  938. ENDIF;
  939. IF(KEY_4);
  940. do;wait(1ms);until(!KEY_4);
  941. if(!vender_discos);
  942. set(vender_discos);
  943. elseif(vender_discos);
  944. unset(vender_discos);
  945. endif;
  946. ENDIF;
  947. IF(KEY_RETURN);
  948. LOG("");
  949. LOG("&1[&7&lAdvanced &e&lFishing&1]: &bConfiguraçao salva.");
  950. LOG("");
  951. do;wait(1ms);until(!KEY_RETURN);
  952. wait(300ms);
  953. BREAK;
  954. ENDIF;
  955. Loop;
  956. ENDIF;
  957.  
  958. UNSET(devmode);
  959.  
  960. if(!armazenar_peixe);put(#lista_lixo[],349);endif;
  961. if(!guardar_picareta);put(#lista_lixo[],278);endif;
  962. if(!guardar_pa);put(#lista_lixo[],277);endif;
  963. if(!guardar_espada);put(#lista_lixo[],276);endif;
  964. if((!guardar_machadoeff)&&(!guardar_machados5));put(#lista_lixo[],279);endif;
  965. if(!guardar_armadura);put(#lista_lixo[],310);put(#lista_lixo[],311);put(#lista_lixo[],312);put(#lista_lixo[],313);endif;
  966. if(!vender_discos);put(#lista_lixo[],2256);put(#lista_lixo[],2257);put(#lista_lixo[],2258);put(#lista_lixo[],2259);put(#lista_lixo[],2260);put(#lista_lixo[],2261);put(#lista_lixo[],2262);put(#lista_lixo[],2263);put(#lista_lixo[],2264);put(#lista_lixo[],2265);put(#lista_lixo[],2266);put(#lista_lixo[],2267);endif;
  967. if(!guardar_blazedima);put(#lista_lixo[],264);put(#lista_lixo[],369);endif;
  968. if(!guardar_lagrimaapple);put(#lista_lixo[],322);put(#lista_lixo[],370);endif;
  969.  
  970. Echo("/g &aIniciei a macro &7advanced &bfishing &av0.1 &6pesca ultra completa &cby zmatheus22");
  971. CLEARCHAT;
  972. LOG("");
  973. IF(vender_discos);LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fVender Discos &aON");ENDIF;
  974. IF(vip);LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fVoce e um jogador &6VIP");ENDIF;
  975. #xcoord = %XPOS%; #zcoord = %ZPOS%;
  976. Echo("/home adv_pesca");wait(500ms);
  977. Do(10);IF(!vip);wait(500ms);ElseIF(vip);wait(100ms);Endif;Until((%XPOS% != %#xcoord%)|(%XPOS% != %#xcoord%));
  978. Do;
  979. Do;
  980. Do;
  981. PICK(346);
  982. //Verificadores
  983. Unsafe(0);
  984. //comida
  985. GETSLOTITEM(42,#slot42);
  986. IF((#slot42 != 0)&&(#slot42 != 349));
  987. Slotclick(42,l,true);wait(10ms);
  988. GETSLOT(349,#fish);
  989. IF(#fish != -1);
  990. Slotclick(%#fish%,l,false);wait(10ms);
  991. Slotclick(42,l,false);wait(10ms);
  992. ENDIF;
  993. ENDIF;
  994. //fome
  995. GETSLOT(349,#hotbar_fish,36);
  996. IF(#hotbar_fish != -1);
  997. IF(%HUNGER% < 14);
  998. LOG("&1[&7&lAdvanced &e&lFishing&1]: &cVoce esta com fome, &aComendo");
  999. pick(%#hotbar_fish%);
  1000. set(fome);BREAK;
  1001. ENDIF;
  1002. ENDIF;
  1003. Do;Gui(inventory);wait(10ms);Until(%GUI% = "GUIINVENTORY");
  1004. IF(armazenar_itens);
  1005. //verif_lotado
  1006. getslotitem(34,#penultimo_slot);
  1007. IF(#penultimo_slot != 0);
  1008. set(inv_lotado);set(verificar_encantamentos);set(limpeza_padrao);BREAK;
  1009. ENDIF;
  1010. ENDIF;
  1011. //vara
  1012. getslotitem(44,#vara1);
  1013. IF(#vara1 != 346);
  1014. set(pegar_vara);BREAK
  1015. ENDIF;
  1016. //linha
  1017. getslotitem(43,#ls1,#linha_stack1);
  1018. IF(#linha_stack1 < 5);
  1019. set(pegar_linha);BREAK
  1020. ENDIF;
  1021. IF(!warpvip);
  1022. IF((%OXYGEN% < 250)|(%HEALTH% < 10));
  1023. log("&f&1[&7&lAdvanced &e&lFishing&1]: &cOxigenio ou Vida caindo, &aReposicionando");
  1024. Gui(chat);wait(10ms);Type("/spawn");wait(10ms);press(return);toggle(pescavip);stop;
  1025. ENDIF;
  1026. ENDIF;
  1027. //limpeza em tempo real
  1028. IF(!warpvip);
  1029. For(#inv_clear,9,41);
  1030. GETSLOTITEM(%#inv_clear%,#clear_slot);
  1031. Foreach(#lista_lixo[],#item_atual);
  1032. IFmatches(%#clear_slot%,%#item_atual%);
  1033. Slotclick(%#inv_clear%,l,false);
  1034. Slotclick(-999,l,false);
  1035. Endif;
  1036. Next;
  1037. Next;
  1038. ELSEIF(warpvip);
  1039. IF(limpeza_padrao);
  1040. GETSLOTITEM(28,#slot28);
  1041. GETSLOTITEM(29,#slot29);
  1042. IF(devmode);LOG("&eSLOT 28: &b%#slot28% &eSLOT 29: &b%#slot29%");ENDIF;
  1043. IF(devmode);LOG("&9ITENS ENC: &a%&itens_enc%");ENDIF;
  1044. Ifmatches("%#slot28%|%#slot29%","%&itens_enc%");
  1045. IF(devmode);LOG("&9SLOT28/9 DEU MATCH COM ITENS_ENC");ENDIF;
  1046. Else;
  1047. IF(devmode);LOG("SLOT 28/9 NAO DEU MATCH ENTROU NO ELSE");ENDIF;
  1048. IF((#slot28 != 0)&&(#slot29 != 0));
  1049. INC(#limpeza_padrao,1);LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &bLimpeza padrao INC: &a%#limpeza_padrao%/5");
  1050. IF(#limpeza_padrao = 5);
  1051. unset(limpeza_padrao);
  1052. #limpeza_padrao = 0;
  1053. ENDIF;
  1054. IF(limpeza_padrao);
  1055. #xcoord = %XPOS%; #zcoord = %ZPOS%;
  1056. Gui(chat);wait(10ms);Type("/home adv_trappesca");wait(10ms);press(return);
  1057. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aIndo jogar os itens fora");wait(500ms);
  1058. Do(15);wait(500ms);Until((%#xcoord% != %XPOS%)|(%#zcoord% != %ZPOS%));wait(500ms);
  1059. Gui(inventory);
  1060. Look(0,0);
  1061. For(#inv_clear,9,41);
  1062. GETSLOTITEM(%#inv_clear%,#clear_slot);
  1063. Foreach(#lista_lixo[],#item_atual);
  1064. IFmatches(%#clear_slot%,%#item_atual%);
  1065. Slotclick(%#inv_clear%,l,false);
  1066. Slotclick(-999,l,false);
  1067. Endif;
  1068. Next;
  1069. Next;
  1070. For(#hot_shift,36,41);
  1071. Slotclick(%#hot_shift%,l,true);
  1072. Next;
  1073. GETSLOTITEM(28,#slot28);
  1074. GETSLOTITEM(29,#slot29);
  1075. IF((#slot28 != 0)&&(#slot29 != 0));
  1076. Slotclick(28,l,true);wait(10ms);
  1077. Slotclick(29,l,true);wait(10ms);
  1078. ENDIF;
  1079. #xcoord = %XPOS%; #zcoord = %ZPOS%;
  1080. Gui(chat);wait(10ms);Type("/home adv_pesca");wait(10ms);press(return);
  1081. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aVoltando de jogar os itens fora");wait(500ms);
  1082. Do(15);wait(500ms);Until((%#xcoord% != %XPOS%)|(%#zcoord% != %ZPOS%));wait(200ms);
  1083. ENDIF;
  1084. ENDIF;
  1085. ENDIF;
  1086. ENDIF;
  1087. ENDIF;
  1088. //
  1089. IF(verificar_encantamentos);
  1090. GETSLOTITEM(31,#slot31);
  1091. IF(#slot31 != 0);
  1092. Ifmatches(%#slot31%,%&itens_enc%);
  1093. #limpeza_padrao = 0;
  1094. IF(#have_enc_inc > 15);
  1095. IF(devmode);LOG("&bDesativando verificadores de armadura");ENDIF;
  1096. unset(verificar_encantamentos);
  1097. #have_enc_inc = 0;
  1098. ENDIF;
  1099. IF(verificar_encantamentos);
  1100. IF(warpvip);
  1101. #xcoord = %XPOS%; #zcoord = %ZPOS%;
  1102. Gui(chat);wait(10ms);Type("/home adv_trappesca");wait(10ms);press(return);
  1103. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aIndo jogar itens sem encanto fora");wait(500ms);
  1104. Do(15);wait(500ms);Until((%#xcoord% != %XPOS%)|(%#zcoord% != %ZPOS%));wait(500ms);
  1105. Gui(inventory);
  1106. Look(0,0);
  1107. ENDIF;
  1108. Slotclick(36,l,true);wait(10ms);
  1109. For(#verif_enc,9,41);
  1110. wait(1ms);
  1111. GETSLOTITEM(%#verif_enc%,#slotenc);
  1112. IFmatches(%#slotenc%,%&itens_enc%);
  1113. IF(#slotenc != 349);
  1114. Slotclick(%#verif_enc%,l,false);
  1115. Slotclick(36,l,false);
  1116. ENDIF;
  1117. Endif;
  1118. SLOT(1);
  1119. GETSLOTITEM(36,#slot36);
  1120. Ifmatches(%#slot36%,%&itens_enc%);
  1121. unset(have_enchantment);
  1122. Foreach(enchantments);
  1123. set(have_enchantment);
  1124. Next;
  1125. IF(!have_enchantment);
  1126. Slotclick(36,l,false);wait(10ms);
  1127. Slotclick(-999,l,false);wait(10ms);
  1128. DEC(#have_enc_inc,1);IF(#have_enc_inc < 1);#have_enc_inc = 0;ENDIF;
  1129. IF(devmode);LOG("&bhave enc inc &e%#have_enc_inc%");ENDIF;
  1130. Else;
  1131. INC(#have_enc_inc,1);
  1132. IF(devmode);LOG("&bhave enc inc &e%#have_enc_inc%");ENDIF;
  1133. Slotclick(36,l,true);wait(10ms);
  1134. ENDIF;
  1135. ENDIF;
  1136. Next;
  1137. IF(warpvip);
  1138. #xcoord = %XPOS%; #zcoord = %ZPOS%;
  1139. Gui(chat);wait(10ms);Type("/home adv_pesca");wait(10ms);press(return);
  1140. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aVoltando para a Pescaria");wait(500ms);
  1141. Do(15);wait(500ms);Until((%#xcoord% != %XPOS%)|(%#zcoord% != %ZPOS%));wait(200ms);
  1142. #yaw_s = %YAW%; #pitch_s = %PITCH%;
  1143. ENDIF;
  1144. ENDIF;
  1145. ENDIF;
  1146. ENDIF;
  1147. ENDIF;
  1148.  
  1149. Endunsafe;
  1150. //fazer dar home para jogar os itens fora
  1151. //ação
  1152. Do(20);
  1153. IF(%GUI% = "GUICHAT");LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aSeu CHAT foi aberto, Aguardando o fechamento.");Do();wait(500ms);Until(%GUI% = "NONE");ENDIF;
  1154. Pick(346);
  1155. IF(%DURABILITY% < 17);
  1156. do;
  1157. IF(vip);echo("/reparar");ENDIF;
  1158. IF(!vip);look(+0,90);wait(100ms);do(3);key(use);wait(100ms);until(%DURABILITY% > 17);ENDIF;
  1159. wait(550ms);
  1160. until(%DURABILITY% > 17);
  1161. ENDIF;
  1162. look(%#yaw_s%,%#pitch_s%);
  1163. key(use);
  1164. wait(%#delay%ms);
  1165. Loop;
  1166. IF(devmode);LOG("&e&lSai do do 20");ENDIF;
  1167. Loop;
  1168. //Consequencias dos verificadores
  1169. //inv lotado
  1170. IF(inv_lotado);
  1171. LOG("");LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cInventário Lotado, Indo guardar/vender itens.");LOG("");wait(300ms);
  1172. IF(warpvip);
  1173. #xcoord = %XPOS%; #zcoord = %ZPOS%;
  1174. Echo("/home adv_trappesca");do(15);wait(500ms);Until((%XPOS% != %#xcoord%)|(%XPOS% != %#xcoord%));
  1175. #x_antibug_cl = %XPOS%; #x_antibug_cl_plus = %XPOS% + 1;
  1176. Do;keydown(right);until(%XPOS% = %#x_antibug_cl_plus%);keyup(right);wait(500ms);
  1177. Do;keydown(left);keydown(sneak);until(%XPOS% = %#x_antibug_cl%);wait(295ms);keyup(left);keyup(sneak);
  1178. ENDIF;
  1179. wait(400ms);
  1180. looks(+0,0,1);
  1181. //limpar inv
  1182. LOG("LIMPAR INVENTARIO");
  1183. Unsafe(0);
  1184. Gui(inventory);wait(10ms);
  1185. Do(2);
  1186. For(#inv_clear,9,41);
  1187. GETSLOTITEM(%#inv_clear%,#clear_slot);
  1188. Foreach(#lista_lixo[],#item_atual);
  1189. IFmatches(%#clear_slot%,%#item_atual%);
  1190. Slotclick(%#inv_clear%,l,false);
  1191. Slotclick(-999,l,false);
  1192. Endif;
  1193. Next;
  1194. Next;
  1195. wait(200ms);
  1196. Loop;
  1197. Gui();
  1198. Endunsafe;
  1199. SLOT(1);
  1200. keydown(jump);wait(1);keyup(jump);wait(100ms);
  1201. #fish = 349;
  1202. #blaze_rod = 369;
  1203. #diamond = 264;
  1204. #boots = 313;
  1205. #leggings = 312;
  1206. #chestplate = 311;
  1207. #helmet = 310;
  1208. #pickaxe = 278;
  1209. #axe = 279;
  1210. #shovel = 277;
  1211. #sword = 276;
  1212. #ghast_tear = 370;
  1213. #golden_apple = 322;
  1214. IF(devmode);LOG("PEGANDO GETSLOT DOS ITENS (HAVE)");ENDIF;
  1215. Unsafe(0);
  1216. Gui(Inventory);
  1217. unset(have_fish);
  1218. unset(have_blaze);
  1219. unset(have_diamond);
  1220. unset(have_apple);
  1221. unset(have_ghast);
  1222. unset(have_boots);
  1223. unset(have_leggings);
  1224. unset(have_chestplate);
  1225. unset(have_helmet);
  1226. unset(have_pickaxe);
  1227. unset(have_shovel);
  1228. unset(have_axe);
  1229. unset(have_sword);
  1230. unset(have_disk);
  1231. //
  1232. GETSLOT(%#fish%,#inv_fish);
  1233. GETSLOT(%#blaze_rod%,#inv_blaze);
  1234. GETSLOT(%#diamond%,#inv_diamond);
  1235. GETSLOT(%#boots%,#inv_boots,9);
  1236. GETSLOT(%#leggings%,#inv_leggings,9);
  1237. GETSLOT(%#chestplate%,#inv_chestplate,9);
  1238. GETSLOT(%#helmet%,#inv_helmet,9);
  1239. GETSLOT(%#pickaxe%,#inv_pickaxe);
  1240. GETSLOT(%#axe%,#inv_axe);
  1241. GETSLOT(%#shovel%,#inv_shovel);
  1242. GETSLOT(%#sword%,#inv_sword);
  1243. GETSLOT(%#ghast_tear%,#inv_ghast);
  1244. GETSLOT(%#golden_apple%,#inv_apple);
  1245. Foreach(#disk_list[],#disklist);
  1246. For(#inv_clear,9,41);
  1247. GETSLOTITEM(%#inv_clear%,#icid);
  1248. IFmatches(%#icid%,%#disklist%);
  1249. set(have_disk);
  1250. Endif;
  1251. Next;
  1252. Next;
  1253. IF(have_disk);
  1254. LOG("&bDiscos &aEncontrado(s)");
  1255. ELSE;
  1256. LOG("&bDiscos &cNao &aEncontrado(s)");
  1257. ENDIF;
  1258.  
  1259. IF(devmode);LOG("IFS E ENDIFS DOS GETSLOTS");ENDIF;
  1260. IF((#inv_fish != -1)&&(#inv_fish > 8)&&(#inv_fish != 42));
  1261. LOG("&bPeixe &aEncontrado");
  1262. set(have_fish);
  1263. ELSE;
  1264. LOG("&bPeixe &cNao Encontrado");
  1265. unset(have_fish);
  1266. ENDIF;
  1267. IF((#inv_blaze != -1)&&(#inv_blaze > 8));
  1268. LOG("&bBlazerod &aEncontrado");
  1269. set(have_blaze);
  1270. ELSE;
  1271. LOG("&bBlazerod &cNao &aEncontrado");
  1272. unset(have_blaze);
  1273. ENDIF;
  1274. IF((#inv_diamond != -1)&&(#inv_diamond > 8));
  1275. LOG("&bDiamante &aEncontrado");
  1276. set(have_diamond);
  1277. ELSE;
  1278. LOG("&bDiamante &cnao Encontrado");
  1279. unset(have_diamond);
  1280. ENDIF;
  1281. IF(#inv_boots > 8);
  1282. LOG("Botas &aEncontrada");
  1283. set(have_boots);
  1284. ELSE;
  1285. LOG("Botas &cNao Encontrada");
  1286. unset(have_boots);
  1287. ENDIF;
  1288. IF(#inv_leggings > 8);
  1289. LOG("Calcas &aEncontradas");
  1290. set(have_leggings);
  1291. ELSE;
  1292. LOG("Calcas &cNao Encontradas");
  1293. unset(have_leggings);
  1294. ENDIF;
  1295. IF(#inv_chestplate > 8);
  1296. LOG("&bPeitorais &aEncontrados");
  1297. set(have_chestplate);
  1298. ELSE;
  1299. LOG("&bPeitorais &cNao Encontrados");
  1300. unset(have_chestplate);
  1301. ENDIF;
  1302. IF(#inv_helmet > 8);
  1303. LOG("&bCapacete &aEncontrado");
  1304. set(have_helmet);
  1305. ELSE;
  1306. LOG("&bCapacete &cNao Encontrado");
  1307. unset(have_helmet);
  1308. ENDIF;
  1309. IF((#inv_pickaxe != -1)&&(#inv_pickaxe > 8));
  1310. LOG("&bPicareta &aEncontrada");
  1311. set(have_pickaxe);
  1312. ELSE;
  1313. LOG("&bPicareta &cNao Encontrada");
  1314. unset(have_pickaxe);
  1315. ENDIF;
  1316. IF((#inv_axe != -1)&&(#inv_axe > 8));
  1317. LOG("&bMachado &aEncontrado");
  1318. set(have_axe);
  1319. ELSE;
  1320. LOG("&bMachado &cNao Encontrado");
  1321. unset(have_axe);
  1322. ENDIF;
  1323. IF((#inv_shovel != -1)&&(#inv_shovel > 8));
  1324. LOG("&bPa &aEncontrada");
  1325. set(have_shovel);
  1326. ELSE;
  1327. LOG("&bPa &cNao Encontrada");
  1328. unset(have_shovel);
  1329. ENDIF;
  1330. IF((#inv_sword != -1)&&(#inv_sword > 8));
  1331. LOG("&bEspada &aEncontrada");
  1332. set(have_sword);
  1333. ELSE;
  1334. LOG("&bEspada &cNao Encontrada");
  1335. unset(have_sword);
  1336. ENDIF;
  1337. IF((#inv_ghast != -1)&&(#inv_ghast > 8));
  1338. LOG("&fGhast &aEncontrada");
  1339. set(have_ghast);
  1340. ELSE;
  1341. LOG("&fGhast &cNao Encontrada");
  1342. unset(have_ghast);
  1343. ENDIF;
  1344. IF((#inv_apple != -1)&&(#inv_apple > 8));
  1345. LOG("&eMaca &aEncontrada");
  1346. set(have_apple);
  1347. ELSE;
  1348. LOG("&eMaca &cNao Encontrada");
  1349. unset(have_apple);
  1350. ENDIF;
  1351. Endunsafe;
  1352. Gui();
  1353. IF(devmode);LOG("PASSEI POR AQUI GUI ()");ENDIF;
  1354. Unsafe(0);
  1355. &player_id = "\d{5,8}";
  1356. IF(devmode);LOG("&eHITID: &c%HITID% &eplayerID %&player_id%");ENDIF;
  1357. IFmatches(%HITID%,%&player_id%);
  1358. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cJogador detectado no mesmo local, aguardando um pouco");
  1359. #xcoord = %XPOS%; #zcoord = %ZPOS%;
  1360. Gui(chat);wait(10ms);Type("/home adv_pesca");wait(10ms);press(return);
  1361. do(15);wait(500ms);Until((%XPOS% != %#xcoord%)|(%XPOS% != %#xcoord%));
  1362. #sec = 0;
  1363. Do(20);INC(#sec,1);wait(1);LOG("&fAguardando &b%#sec%/20 &fsegundos para voltar a guardar.");Loop;
  1364. #sec = 0;
  1365. #xcoord = %XPOS%; #zcoord = %ZPOS%;
  1366. Gui(chat);wait(10ms);Type("/home adv_trappesca");wait(10ms);press(return);
  1367. do(15);wait(500ms);Until((%XPOS% != %#xcoord%)|(%XPOS% != %#xcoord%));
  1368. Endif;
  1369. Endunsafe;
  1370. IF((vender_discos)&&(have_disk));
  1371. GUI();
  1372. #fileira = 0;
  1373. Do(2);
  1374. #xcoord = %XPOS%; #zcoord = %ZPOS%;
  1375. IF(vip);IF(#fileira = 0);Echo("/home zmatheus22 vd_disco1");ELSEIF(#fileira = 1);Echo("/home zmatheus22 vd_disco2");ENDIF;ENDIF;
  1376. IF(!vip);IF(#fileira = 0);Echo("/home zmatheus22 vd_disco1nv");ELSEIF(#fileira = 1);Echo("/home zmatheus22 vd_disco2nv");ENDIF;ENDIF;
  1377. Do(15);wait(500ms);Until((%#xcoord% != %XPOS%)|(%#zcoord% != %ZPOS%));wait(400ms);
  1378. Gui(chat);wait(10ms);Type("/esconder");wait(10ms);press(return);wait(100ms);
  1379. Gui(chat);wait(10ms);Type("/menuloja off");wait(10ms);press(return);
  1380. IF(vip);IF(#fileira = 0);Look(west);ELSEIF(#fileira = 1); look(east); ENDIF;wait(300ms);ENDIF;
  1381. //primeira fileira de discos:
  1382. IF(vip);IF(#fileira = 0);#discos1 = 2262;#discos2 = 2267;ELSEIF(#fileira = 1);#discos1 = 2256; #discos2 = 2261;ENDIF;ENDIF;
  1383. IF(!vip);IF(#fileira = 0);#discos1 = 2256;#discos2 = 2263;ELSEIF(#fileira = 1);#discos1 = 2264; #discos2 = 2267;ENDIF;ENDIF;
  1384. For(#disk_id,%#discos1%,%#discos2%);
  1385. keydown(sneak);wait(100ms);
  1386. Do(5);
  1387. Do(3);key(attack);wait(100ms);Loop;
  1388. GUI(inventory);
  1389. GETSLOT(%#disk_id%,#disco1);
  1390. Gui();
  1391. IF(#disco1 != -1);
  1392. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aAinda ha o disco &b(%#disco1%) &ano inventário. ");
  1393. ELSE;
  1394. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aNenhum disco &b(%#disco1%) &afoi encontrado. indo para o proximo");
  1395. BREAK;
  1396. ENDIF;
  1397. Loop;
  1398. //divisão entre os discos
  1399. keydown(sneak);
  1400. #zwalk = %ZPOS%;
  1401. IF(#disk_id != %#disco1%);Do(12);keydown(right);Until(#zwalk != %ZPOS%);wait(295ms);keyup(right);ENDIF;
  1402. Next;
  1403. INC(#fileira,1);
  1404. IF(#fileira = 0);LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &findo para proxima fileira");ENDIF;
  1405. Loop;
  1406. #xcoord = %XPOS%; #zcoord = %ZPOS%;
  1407. IF((vender_peixes)|(vender_discos));
  1408. Else;
  1409. Echo("/home adv_trappesca");do(15);wait(500ms);Until((%XPOS% != %#xcoord%)|(%XPOS% != %#xcoord%));wait(400ms);
  1410. Unsafe(0);
  1411. &player_id = "\d{5,8}";
  1412. IF(devmode);LOG("&eHITID: &c%HITID% &eplayerID %&player_id%");ENDIF;
  1413. IFmatches(%HITID%,%&player_id%);
  1414. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cJogador detectado no mesmo local, aguardando um pouco");
  1415. #xcoord = %XPOS%; #zcoord = %ZPOS%;
  1416. Gui(chat);wait(10ms);Type("/home adv_pesca");wait(10ms);press(return);
  1417. do(15);wait(500ms);Until((%XPOS% != %#xcoord%)|(%XPOS% != %#xcoord%));
  1418. #sec = 0;
  1419. Do(20);INC(#sec,1);wait(1);LOG("&fAguardando &b%#sec%/20 &fsegundos para voltar a guardar.");Loop;
  1420. #sec = 0;
  1421. #xcoord = %XPOS%; #zcoord = %ZPOS%;
  1422. Gui(chat);wait(10ms);Type("/home adv_trappesca");wait(10ms);press(return);
  1423. do(15);wait(500ms);Until((%XPOS% != %#xcoord%)|(%XPOS% != %#xcoord%));
  1424. Endif;
  1425. Endunsafe;
  1426. #x_antibug_cl = %XPOS%; #x_antibug_cl_plus = %XPOS% + 1;
  1427. Do;keydown(right);until(%XPOS% = %#x_antibug_cl_plus%);keyup(right);wait(500ms);
  1428. Do;keydown(left);keydown(sneak);until(%XPOS% = %#x_antibug_cl%);wait(295ms);keyup(left);keyup(sneak);
  1429. wait(400ms);
  1430. look(+0,0);
  1431. ENDIF;
  1432. ENDIF;
  1433. IF(!have_fish);
  1434. LOG("&aIndo para TRAP de baus");
  1435. #xcoord = %XPOS%; #zcoord = %ZPOS%;
  1436. Echo("/home adv_trappesca");
  1437. do(15);wait(500ms);Until((%XPOS% != %#xcoord%)|(%XPOS% != %#xcoord%));wait(400ms);
  1438. #x_antibug_cl = %XPOS%; #x_antibug_cl_plus = %XPOS% + 1;
  1439. Do;keydown(right);until(%XPOS% = %#x_antibug_cl_plus%);keyup(right);wait(500ms);
  1440. Do;keydown(left);keydown(sneak);until(%XPOS% = %#x_antibug_cl%);wait(295ms);keyup(left);keyup(sneak);
  1441. wait(400ms);
  1442. looks(+0,0,1);
  1443. ENDIF;
  1444. ////////////////////Baus de peixe
  1445. IF(have_fish);
  1446. IF(vender_peixes);
  1447. unset(have_fish);
  1448. GUI();
  1449. #xcoord = %XPOS%; #zcoord = %ZPOS%;
  1450. IF(vip);Echo("/home zmatheus22 vd_peixes");ENDIF;
  1451. IF(!vip);Echo("/home zmatheus22 vd_peixesnv");ENDIF;
  1452. Do(15);wait(500ms);Until((#xcoord != %XPOS%)|(#zcoord != %ZPOS%));Wait(450ms);
  1453. Keydown(sneak);
  1454. Echo("/menuloja off");Echo("/esconder");
  1455. Do;
  1456. Do(3);key(attack);wait(100ms);Loop;
  1457. GUI(inventory);
  1458. GETSLOT(349,#peixe_cru);
  1459. Gui();
  1460. IF((#peixe_cru != -1)&&(#peixe_cru != 42));
  1461. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aAinda ha peixes &b(%#peixe_cru%) &ano inventário. ");
  1462. ELSE;
  1463. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aNenhum Peixe&b(%#peixe_cru%) &afoi encontrado. prosseguindo");
  1464. BREAK;
  1465. ENDIF;
  1466. Loop;
  1467. #xcoord = %XPOS%; #zcoord = %ZPOS%;
  1468. Echo("/home adv_trappesca");do(15);wait(500ms);Until((%XPOS% != %#xcoord%)|(%XPOS% != %#xcoord%));
  1469. #x_antibug_cl = %XPOS%; #x_antibug_cl_plus = %XPOS% + 1;
  1470. Do;keydown(right);until(%XPOS% = %#x_antibug_cl_plus%);keyup(right);wait(500ms);
  1471. Do;keydown(left);keydown(sneak);until(%XPOS% = %#x_antibug_cl%);wait(295ms);keyup(left);keyup(sneak);
  1472. wait(400ms);
  1473. looks(+0,0,1);
  1474. ENDIF;
  1475. IF(have_fish);
  1476. Do;GUI();Until(%GUI% = "NONE");
  1477. Echo("/home adv_btempfish");Do;wait(400ms);Until((%HITID% = 54)|(%HITID% = 146));
  1478. Do;
  1479. IF(fim_inv);
  1480. unset(fim_inv);BREAK;
  1481. ENDIF;
  1482. Do;
  1483. IF(#bau_peixe < 6);BREAK;ENDIF;
  1484. #pos_ini = %XPOS%;#pos_inip = %XPOS% + 1;
  1485. do;keydown(sneak);Keydown(left);Until(%#pos_inip% = %XPOS%);wait(260ms);keyup(sneak);Keyup(left);
  1486. IF(%XPOS% = %#pos_inip%);
  1487. Do(2);echo("/sethome adv_btempfish");wait(600ms);Loop;
  1488. Break;
  1489. ENDIF;
  1490. Loop;
  1491. Gui();
  1492. IF(devmode);LOG("CHEGUEI NA PARTE DE OLHAR PROS BAUS");ENDIF;
  1493. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aBAU PEIXE: &e%#bau_peixe%");
  1494. IF(#bau_peixe = 1); look(0,270); wait(%#delay_look%ms); ENDIF; //bau de peixe
  1495. IF(#bau_peixe = 2); look(0,310); wait(%#delay_look%ms); ENDIF; //bau de peixe
  1496. IF(#bau_peixe = 3); look(0,50); wait(%#delay_look%ms); ENDIF; //bau de peixe
  1497. IF(#bau_peixe = 4); look(180,300); wait(%#delay_look%ms); ENDIF; //bau de peixe
  1498. IF(#bau_peixe = 5); look(180,60); wait(%#delay_look%ms); ENDIF; //bau de peixe
  1499. IF(#bau_peixe = 6); #bau_peixe = 1; LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cTodos os baus de peixes estão lotados, Indo para proxima.");Break;ENDIF;
  1500. wait(700ms);
  1501. do;key(use);wait(400ms);Until(%GUI% = "GUICHEST");
  1502. IF(devmode);LOG("CHEGUEI NA PARTE ONDE GUARDO OS PEIXES");ENDIF;
  1503. FOR(#inv_bpeixe,54,87);
  1504. GETSLOT(349,#search_fish,54);
  1505. IF(devmode);LOG("");LOG("ID DO SEARCH FISH = &e%#search_fish%");;LOG("");ENDIF;
  1506. GETSLOTITEM(53,#lastslot_chest);
  1507. GETSLOTITEM(%#inv_bpeixe%,#bpeixeid);
  1508. IF(#lastslot_chest != 0);
  1509. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cBau cheio, Indo para o proximo");
  1510. INC(#bau_peixe,1);
  1511. BREAK;
  1512. ENDIF;
  1513. IF(#bpeixeid = 349);
  1514. SLOTCLICK(%#inv_bpeixe%,l,true);
  1515. ENDIF;
  1516. IF((#search_fish = -1)|(#search_fish = 42));
  1517. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cMais nenhum peixe foi encontrado no inventário.");
  1518. unset(have_fish);
  1519. set(fim_inv);
  1520. GUI();
  1521. BREAK;
  1522. ENDIF;
  1523. ENDIF;
  1524. wait(20ms);
  1525. NEXT;
  1526. Loop;
  1527. unset(have_fish);
  1528. ENDIF;
  1529. ENDIF;
  1530. ///
  1531. IF(devmode);LOG("CHEGUI NA PARTE DO BLAZE");ENDIF;
  1532. ////////////////////Blazerod/Diamante
  1533. IF((have_diamond)|(have_blaze));
  1534. IF(devmode);LOG("PARTE DO DIAMANTE BLAZE IF HAVE ATIVADO");ENDIF;
  1535. Do;GUI();Until(%GUI% = "NONE");
  1536.  
  1537. Echo("/home adv_btempdimablaze");
  1538.  
  1539. IF(devmode);LOG("BTEMPDIMABLAZE");ENDIF;Do;wait(400ms);Until((%HITID% = 54)|(%HITID% = 146));
  1540. Do;
  1541. IF(fim_inv);
  1542. unset(fim_inv);BREAK;
  1543. ENDIF;
  1544. Do;
  1545. IF(#bau_dimablaze < 2);BREAK;ENDIF;
  1546. #pos_ini = %XPOS%;#pos_inip = %XPOS% + 1;
  1547. do;keydown(sneak);Keydown(right);Until(%#pos_inip% = %XPOS%);wait(260ms);keyup(sneak);Keyup(right);
  1548. IF(%XPOS% = %#pos_inip%);
  1549. Do(2);echo("/sethome adv_btempdimablaze");wait(600ms);Loop;
  1550. Break;
  1551. ENDIF;
  1552. Loop;
  1553. Gui();
  1554. IF(devmode);LOG("CHEGUEI NA PARTE DE OLHAR PARA BAUS DE BLAZE");ENDIF;
  1555. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aBAU DIMA/BLAZE: &e%#bau_dimablaze%");
  1556. IF(#bau_dimablaze = 1); look(0,30); wait(%#delay_look%ms); ENDIF; //bau de Blaze/dima
  1557. IF(#bau_dimablaze = 2); LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cTodos os baus de Blazerod/Diamante estão lotados, &aIndo para proxima.");Break;ENDIF;
  1558. wait(700ms);
  1559. do;key(use);wait(400ms);Until(%GUI% = "GUICHEST");
  1560.  
  1561. FOR(#inv_bdimablaze,54,89);
  1562. GETSLOT(264,#search_dima,54);
  1563. GETSLOT(369,#search_blaze,54);
  1564. GETSLOTITEM(53,#lastslot_chest);
  1565. GETSLOTITEM(%#inv_bdimablaze%,#bdimablazeid);
  1566. IF(#lastslot_chest != 0);
  1567. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cBau cheio, Indo para o proximo");
  1568. INC(#bau_dimablaze,1);
  1569. BREAK;
  1570. ENDIF;
  1571. IF((#bdimablazeid = 264)|(#bdimablazeid = 369));
  1572. SLOTCLICK(%#inv_bdimablaze%,l,true);
  1573. ENDIF;
  1574. IF((#search_dima = -1)&&(#search_blaze = -1));
  1575. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cMais nenhum Dima/Blaze foi encontrado no inventário.");
  1576. set(fim_inv);
  1577. unset(have_blaze);
  1578. unset(have_diamond);
  1579. GUI();
  1580. BREAK;
  1581. ENDIF;
  1582. NEXT;
  1583. Loop;
  1584. unset(have_blaze);
  1585. unset(have_diamond);
  1586. ENDIF;
  1587. ///
  1588. ////////////////////Ghast Tear/Maça 370/322
  1589. IF((have_ghast)|(have_apple));
  1590. IF(devmode);LOG("CHEGUEI NA PARTE HAVE GHAST HAVE APPLE");ENDIF;
  1591. Do;GUI();Until(%GUI% = "NONE");
  1592. Echo("/home adv_btempghaapl");Do;wait(400ms);Until((%HITID% = 54)|(%HITID% = 146));
  1593. Do;
  1594. IF(fim_inv);
  1595. unset(fim_inv);BREAK;
  1596. ENDIF;
  1597. Do;
  1598. IF(#bau_ghastapple < 2);BREAK;ENDIF;
  1599. #pos_ini = %XPOS%;#pos_inip = %XPOS% + 1;
  1600. do;keydown(sneak);Keydown(right);Until(%#pos_inip% = %XPOS%);wait(260ms);keyup(sneak);Keyup(right);
  1601. IF(%XPOS% = %#pos_inip%);
  1602. Do(2);echo("/sethome adv_btempghaapl");wait(600ms);Loop;
  1603. Break;
  1604. ENDIF;
  1605. Loop;
  1606. Gui();
  1607. if(devmode);LOG("CHEGUEI NA PARTE DE OLHAR BAU GHAST APPLE");ENDIF;
  1608. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aBAU GHAST/APPLE: &e%#bau_ghastapple%");
  1609. IF(#bau_ghastapple = 1);look(180,35); wait(%#delay_look%ms); ENDIF; //bau de ghast e maça
  1610. IF(#bau_ghastapple = 2); LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cTodos os baus de Lagrima/Maça Dourada estão lotados, &aIndo para proxima.");Break;ENDIF;
  1611. do;key(use);wait(400ms);Until(%GUI% = "GUICHEST");
  1612. FOR(#inv_ghastapple,54,89);
  1613. GETSLOT(370,#search_ghast,54);
  1614. GETSLOT(322,#search_apple,54);
  1615. GETSLOTITEM(53,#lastslot_chest);
  1616. GETSLOTITEM(%#inv_ghastapple%,#ghastappleid);
  1617. IF(#lastslot_chest != 0);
  1618. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cBau cheio, Indo para o proximo");
  1619. INC(#bau_ghastapple,1);
  1620. BREAK;
  1621. ENDIF;
  1622. IF((#ghastappleid = 370)|(#ghastappleid = 322));
  1623. SLOTCLICK(%#inv_ghastapple%,l,true);
  1624. ENDIF;
  1625. IF((#search_ghast = -1)&&(#search_apple = -1));
  1626. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cMais nenhuma Lagrima/Maça Dourada foi encontrado no inventário.");
  1627. set(fim_inv);
  1628. unset(have_apple);
  1629. unset(have_ghast);
  1630. GUI();
  1631. BREAK;
  1632. ENDIF;
  1633. NEXT;
  1634. Loop;
  1635. unset(have_ghast);
  1636. unset(have_apple);
  1637. ENDIF;
  1638. /////////Bau de Capacetes
  1639. IF(have_helmet);
  1640. IF(devmode);LOG("CHEGUEI NA PARTE DO HAVE HELMET");ENDIF;
  1641. Do;GUI();Until(%GUI% = "NONE");
  1642. Echo("/home adv_btemphelmet");Do;wait(800ms);Until((%HITID% = 54)|(%HITID% = 146));
  1643. Do;
  1644. IF(fim_inv);
  1645. unset(fim_inv);BREAK;
  1646. ENDIF;
  1647. Do;
  1648. IF(#bau_helmet < 2);BREAK;ENDIF;
  1649. #pos_ini = %XPOS%;#pos_inip = %XPOS% + 1;
  1650. do;keydown(sneak);Keydown(right);Until(%#pos_inip% = %XPOS%);wait(260ms);keyup(sneak);Keyup(right);
  1651. IF(%XPOS% = %#pos_inip%);
  1652. Do(2);echo("/sethome adv_btemphelmet");wait(600ms);Loop;
  1653. Break;
  1654. ENDIF;
  1655. Loop;
  1656. Gui();
  1657. IF(devmode);LOG("CHEGUEI NA PARTE DE OLHAR PROS BAUS");ENDIF;
  1658. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aBAU Helmet: &e%#bau_helmet%");
  1659. IF(#bau_helmet = 1); look(0,335); wait(%#delay_look%ms); ENDIF;
  1660. IF(#bau_helmet = 2); LOG("&cTodos os baus de Capacetes estão lotados, &aIndo para proxima.");Break;ENDIF;
  1661. SLOT(1);
  1662. wait(500ms);do;key(use);wait(100ms);Until(%GUI% = "GUICHEST");wait(700ms);
  1663. FOR(#inv_helmet,54,89);
  1664. GETSLOT(310,#search_helmet,54);
  1665. GETSLOTITEM(53,#lastslot_chest);
  1666. GETSLOTITEM(%#inv_helmet%,#helmetid);
  1667. IF(#lastslot_chest != 0);
  1668. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cBau cheio, Indo para o proximo");
  1669. INC(#bau_helmet,1);
  1670. BREAK;
  1671. ENDIF;
  1672. SLOTCLICK(%#search_helmet%,l,false);wait(40ms);
  1673. SLOTCLICK(81,l,false);wait(40ms);
  1674. //
  1675. unset(&ench); unset(ok);
  1676. foreach(enchantments);
  1677. If(ok);
  1678. set(&ench,%&ench%-%ENCHANTMENT%);
  1679. else;
  1680. set(&ench,%&ench%%ENCHANTMENT%);
  1681. Set(ok);
  1682. endif;
  1683. next;
  1684. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &5Encantamento: &9&l%&ench%");
  1685. IFmatches("%&ench%","%&thorns%");
  1686. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cJogando item com Thorns fora.");
  1687. slotclick(81,l,false);wait(40ms);
  1688. slotclick(-999,l,false);wait(40ms);
  1689. Endif;
  1690. IF(guardar_umb3liso);
  1691. IFmatches(%&ench%,%&umbreaking3%);
  1692. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando parte &bUmb3");
  1693. Slotclick(81,l,true);wait(40ms);
  1694. Endif;
  1695. ENDIF;
  1696. IF(guardar_cp3umb3);
  1697. IFmatches(%&ench%,%&protection3%);
  1698. IFmatches(%&ench%,%&umbreaking3%);
  1699. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando capacete &bP3 Umb3");
  1700. Slotclick(81,l,true);wait(40ms);
  1701. Endif;
  1702. Endif;
  1703. ENDIF;
  1704. IFmatches(%&ench%,%&protection4%);
  1705. IF(guardar_p4liso);
  1706. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando capacete &bP4 liso");
  1707. Slotclick(81,l,true);wait(40ms);
  1708. ENDIF;
  1709. IF((guardar_umb1)&&(guardar_umb2)&&(guardar_umb3));
  1710. IFmatches(%&ench%,"%&umbreaking1%|%&umbreaking2%|%&umbreaking3%");
  1711. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando capacete &bP4 Umb1~3");
  1712. Slotclick(81,l,true);wait(40ms);
  1713. ENDIF;
  1714. ELSEIF((!guardar_umb1)&&(guardar_umb2)&&(guardar_umb3));
  1715. IFmatches(%&ench%,"%&umbreaking2%|%&umbreaking3%");
  1716. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando capacete &bP4 Umb2~3");
  1717. Slotclick(81,l,true);wait(40ms);
  1718. ENDIF;
  1719. ELSEIF((!guardar_umb1)&&(!guardar_umb2)&&(guardar_umb3));
  1720. IFmatches(%&ench%,%&umbreaking3%);
  1721. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando capacete &bP4 Umb3");
  1722. Slotclick(81,l,true);wait(40ms);
  1723. ENDIF;
  1724. ELSEIF((!guardar_umb1)&&(!guardar_umb2)&&(!guardar_umb3));
  1725. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fJogando armadura fora");
  1726. slotclick(81,l,false);wait(40ms);
  1727. slotclick(-999,l,false);wait(40ms);
  1728. ENDIF;
  1729. Endif;
  1730. IF(%ITEM% != 0);
  1731. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fOpa este item nao passou na pericia. &cjogando fora");
  1732. slotclick(81,l,false);wait(40ms);
  1733. slotclick(-999,l,false);wait(40ms);
  1734. ENDIF;
  1735. //
  1736. IF((#search_helmet = -1)&&(#search_helmet < 54));
  1737. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cMais nenhum Capacete foi encontrado no inventário.");
  1738. set(fim_inv);
  1739. unset(have_helmet);
  1740. GUI();
  1741. BREAK;
  1742. ENDIF;
  1743. NEXT;
  1744. Loop;
  1745. unset(have_helmet);
  1746. ENDIF;
  1747. ////////////////////Bau de Peitorals
  1748. IF(have_chestplate);
  1749. IF(devmode);LOG("CHEGUEI NA PARTE DE HAVE CHESTPLATE");ENDIF;
  1750. Do;GUI();Until(%GUI% = "NONE");
  1751. Echo("/home adv_btempchestplate");Do;wait(100ms);Until((%HITID% = 54)|(%HITID% = 146));
  1752. Do;
  1753. IF(fim_inv);
  1754. unset(fim_inv);BREAK;
  1755. ENDIF;
  1756. Do;
  1757. IF(#bau_chestplate < 2);BREAK;ENDIF;
  1758. #pos_ini = %XPOS%;#pos_inip = %XPOS% + 1;
  1759. do;keydown(sneak);Keydown(right);Until(%#pos_inip% = %XPOS%);wait(260ms);keyup(sneak);Keyup(right);
  1760. IF(%XPOS% = %#pos_inip%);
  1761. Do(2);echo("/sethome adv_btempchestplate");wait(600ms);Loop;
  1762. Break;
  1763. ENDIF;
  1764. Loop;
  1765. Gui();
  1766. IF(devmode);LOG("CHEGUEI NA PARTE DE OLHAR PROS BAUS CHEST");ENDIF;
  1767. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aBAU Chestplate: &e%#bau_chestplate%");
  1768. IF(#bau_chestplate = 1); look(0,350); wait(%#delay_look%ms); ENDIF;
  1769. IF(#bau_chestplate = 2); LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cTodos os baus de Peitorais estão lotados, &aIndo para proxima.");Break;ENDIF;
  1770. SLOT(1);
  1771. wait(700ms);
  1772. do;key(use);wait(100ms);Until(%GUI% = "GUICHEST");wait(700ms);
  1773. FOR(#inv_chestplate,54,89);
  1774. GETSLOT(311,#search_chestplate,54);
  1775. GETSLOTITEM(53,#lastslot_chest);
  1776. GETSLOTITEM(%#inv_chestplate%,#chestplateid);
  1777. IF(#lastslot_chest != 0);
  1778. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cBau cheio, Indo para o proximo");
  1779. INC(#bau_chestplate,1);
  1780. BREAK;
  1781. ENDIF;
  1782. SLOTCLICK(%#search_chestplate%,l,false);wait(40ms);
  1783. SLOTCLICK(81,l,false);wait(40ms);
  1784. //
  1785. unset(&ench); unset(ok);
  1786. foreach(enchantments);
  1787. If(ok);
  1788. set(&ench,%&ench%-%ENCHANTMENT%);
  1789. else;
  1790. set(&ench,%&ench%%ENCHANTMENT%);
  1791. Set(ok);
  1792. endif;
  1793. next;
  1794. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &5Encantamento: &9&l%&ench%");
  1795. IFmatches("%&ench%","%&thorns%");
  1796. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cJogando item com &4Thorns &cfora.");
  1797. slotclick(81,l,false);wait(40ms);
  1798. slotclick(-999,l,false);wait(40ms);
  1799. Endif;
  1800. IF(guardar_umb3liso);
  1801. IFmatches(%&ench%,%&umbreaking3%);
  1802. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando parte &bUmb3");
  1803. Slotclick(81,l,true);wait(40ms);
  1804. Endif;
  1805. ENDIF;
  1806. IF((guardar_cp3umb3)&&(!guardar_capabotap3umb3));
  1807. IFmatches(%&ench%,%&protection3%);
  1808. IFmatches(%&ench%,%&umbreaking3%);
  1809. LOG("&aGuardando Peitoral p3umb3");
  1810. Slotclick(81,l,true);wait(40ms);
  1811. Endif;
  1812. Endif;
  1813. ENDIF;
  1814. IFmatches(%&ench%,%&protection4%);
  1815. IF(guardar_p4liso);
  1816. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Peitoral &bP4 liso");
  1817. Slotclick(81,l,true);wait(40ms);
  1818. ENDIF;
  1819. IF((guardar_umb1)&&(guardar_umb2)&&(guardar_umb3));
  1820. IFmatches(%&ench%,"%&umbreaking1%|%&umbreaking2%|%&umbreaking3%");
  1821. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Peitoral &bP4 Umb1~3");
  1822. Slotclick(81,l,true);wait(40ms);
  1823. ENDIF;
  1824. ELSEIF((!guardar_umb1)&&(guardar_umb2)&&(guardar_umb3));
  1825. IFmatches(%&ench%,"%&umbreaking2%|%&umbreaking3%");
  1826. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Peitoral &bP4 Umb2~3");
  1827. Slotclick(81,l,true);wait(40ms);
  1828. ENDIF;
  1829. ELSEIF((!guardar_umb1)&&(!guardar_umb2)&&(guardar_umb3));
  1830. IFmatches(%&ench%,%&umbreaking3%);
  1831. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Peitoral &bP4 Umb3");
  1832. Slotclick(81,l,true);wait(40ms);
  1833. ENDIF;
  1834. ELSEIF((!guardar_umb1)&&(!guardar_umb2)&&(!guardar_umb3));
  1835. slotclick(81,l,false);wait(40ms);
  1836. slotclick(-999,l,false);wait(40ms);
  1837. ENDIF;
  1838. Endif;
  1839. IF(%ITEM% != 0);
  1840. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fOpa este item nao passou na pericia. &cjogando fora");
  1841. slotclick(81,l,false);wait(40ms);
  1842. slotclick(-999,l,false);wait(40ms);
  1843. ENDIF;
  1844. //
  1845. IF((#search_chestplate = -1)&&(#search_chestplate < 54));
  1846. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cMais nenhum Peitoral foi encontrado no inventário.");
  1847. set(fim_inv);
  1848. unset(have_chestplate);
  1849. GUI();
  1850. BREAK;
  1851. ENDIF;
  1852. NEXT;
  1853. Loop;
  1854. unset(have_chestplate);
  1855. ENDIF;
  1856. ////////////////////Bau de Calças
  1857. Do;GUI();Until(%GUI% = "NONE");
  1858. IF(have_leggings);
  1859. IF(devmode);LOG("CHEGUEI NA PARTE DE HAVE LEGGING");ENDIF;
  1860. Echo("/home adv_btemplegging");Do;wait(100ms);Until((%HITID% = 54)|(%HITID% = 146));
  1861. Do;
  1862. IF(fim_inv);
  1863. unset(fim_inv);BREAK;
  1864. ENDIF;
  1865. Do;
  1866. IF(#bau_legging < 2);BREAK;ENDIF;
  1867. #pos_ini = %XPOS%;#pos_inip = %XPOS% + 1;
  1868. do;keydown(sneak);Keydown(right);Until(%#pos_inip% = %XPOS%);wait(260ms);keyup(sneak);Keyup(right);
  1869. IF(%XPOS% = %#pos_inip%);
  1870. Do(2);echo("/sethome adv_btemplegging");wait(600ms);Loop;
  1871. Break;
  1872. ENDIF;
  1873. Loop;
  1874. Gui();
  1875. IF(devmode);LOG("CHEGUEI NA PARTE DE OLHAR PROS BAUS LEGGING");ENDIF;
  1876. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aBAU Legging: &e%#bau_legging%");
  1877. IF(#bau_legging = 1); look(0,0); wait(%#delay_look%ms); ENDIF;
  1878. IF(#bau_legging = 2); LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cTodos os baus de Calças estão lotados, &aIndo para proxima.");Break;ENDIF;
  1879. SLOT(1);
  1880. wait(700ms);
  1881. do;key(use);wait(100ms);Until(%GUI% = "GUICHEST");wait(700ms);
  1882. FOR(#inv_legging,54,89);
  1883. GETSLOT(312,#search_legging,54);
  1884. GETSLOTITEM(53,#lastslot_chest);
  1885. GETSLOTITEM(%#inv_legging%,#leggingid);
  1886. IF(#lastslot_chest != 0);
  1887. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cBau cheio, Indo para o proximo");
  1888. INC(#bau_legging,1);
  1889. BREAK;
  1890. ENDIF;
  1891. SLOTCLICK(%#search_legging%,l,false);wait(40ms);
  1892. SLOTCLICK(81,l,false);wait(40ms);
  1893. //
  1894. unset(&ench); unset(ok);
  1895. foreach(enchantments);
  1896. If(ok);
  1897. set(&ench,%&ench%-%ENCHANTMENT%);
  1898. else;
  1899. set(&ench,%&ench%%ENCHANTMENT%);
  1900. Set(ok);
  1901. endif;
  1902. next;
  1903. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &5Encantamento: &9&l%&ench%");
  1904. IFmatches("%&ench%","%&thorns%");
  1905. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cJogando item com Thorns fora.");
  1906. slotclick(81,l,false);wait(40ms);
  1907. slotclick(-999,l,false);wait(40ms);
  1908. Endif;
  1909. IF(guardar_umb3liso);
  1910. IFmatches(%&ench%,%&umbreaking3%);
  1911. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando parte &bUmb3");
  1912. Slotclick(81,l,true);wait(40ms);
  1913. Endif;
  1914. ENDIF;
  1915. IF((guardar_cp3umb3)&&(!guardar_capabotap3umb3));
  1916. IFmatches(%&ench%,%&protection3%);
  1917. IFmatches(%&ench%,%&umbreaking3%);
  1918. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Calça &bp3umb3");
  1919. Slotclick(81,l,true);wait(40ms);
  1920. Endif;
  1921. Endif;
  1922. ENDIF;
  1923. IFmatches(%&ench%,%&protection4%);
  1924. IF(guardar_p4liso);
  1925. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Calça &bP4 liso");
  1926. Slotclick(81,l,true);wait(40ms);
  1927. ENDIF;
  1928. IF((guardar_umb1)&&(guardar_umb2)&&(guardar_umb3));
  1929. IFmatches(%&ench%,"%&umbreaking1%|%&umbreaking2%|%&umbreaking3%");
  1930. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Calça &bP4 Umb1~3");
  1931. Slotclick(81,l,true);wait(40ms);
  1932. ENDIF;
  1933. ELSEIF((!guardar_umb1)&&(guardar_umb2)&&(guardar_umb3));
  1934. IFmatches(%&ench%,"%&umbreaking2%|%&umbreaking3%");
  1935. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Calça &bP4 Umb2~3");
  1936. Slotclick(81,l,true);wait(40ms);
  1937. ENDIF;
  1938. ELSEIF((!guardar_umb1)&&(!guardar_umb2)&&(guardar_umb3));
  1939. IFmatches(%&ench%,%&umbreaking3%);
  1940. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aGuardando Calça &bP4 Umb3");
  1941. Slotclick(81,l,true);wait(40ms);
  1942. ENDIF;
  1943. ELSEIF((!guardar_umb1)&&(!guardar_umb2)&&(!guardar_umb3));
  1944. slotclick(81,l,false);wait(40ms);
  1945. slotclick(-999,l,false);wait(40ms);
  1946. ENDIF;
  1947. Endif;
  1948. IF(%ITEM% != 0);
  1949. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fOpa este item nao passou na pericia. &cjogando fora");
  1950. slotclick(81,l,false);wait(40ms);
  1951. slotclick(-999,l,false);wait(40ms);
  1952. ENDIF;
  1953. //
  1954. IF((#search_legging = -1)&&(#search_legging < 54));
  1955. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cMais nenhum Calça foi encontrado no inventário.");
  1956. set(fim_inv);
  1957. unset(have_leggings);
  1958. GUI();
  1959. BREAK;
  1960. ENDIF;
  1961. NEXT;
  1962. Loop;
  1963. unset(have_leggings);
  1964. ENDIF;
  1965. ////////////////////Bau de Botas
  1966. Do;GUI();Until(%GUI% = "NONE");
  1967. IF(have_boots);
  1968. IF(devmode);LOG("CHEGUEI NA PARTE DE HAVE BOOTS");ENDIF;
  1969. Echo("/home adv_btempboots");Do;wait(100ms);Until((%HITID% = 54)|(%HITID% = 146));
  1970. Do;
  1971. IF(fim_inv);
  1972. unset(fim_inv);BREAK;
  1973. ENDIF;
  1974. Do;
  1975. IF(#bau_boots < 2);BREAK;ENDIF;
  1976. #pos_ini = %XPOS%;#pos_inip = %XPOS% + 1;
  1977. do;keydown(sneak);Keydown(right);Until(%#pos_inip% = %XPOS%);wait(260ms);keyup(sneak);Keyup(right);
  1978. IF(%XPOS% = %#pos_inip%);
  1979. Do(2);echo("/sethome adv_btempboots");wait(600ms);Loop;
  1980. Break;
  1981. ENDIF;
  1982. Loop;
  1983. Gui();
  1984. IF(devmode);LOG("CHEGUEI NA PARTE DE OLHAR PROS BAUS BOOTS");ENDIF;
  1985. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aBAU Boots: &e%#bau_boots%");
  1986. IF(#bau_boots = 1); look(0,20); wait(%#delay_look%ms); ENDIF;
  1987. IF(#bau_boots = 2); LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cTodos os baus de Botas estão lotados, &aIndo para proxima.");Break;ENDIF;
  1988. SLOT(1);
  1989. wait(700ms);
  1990. do;key(use);wait(100ms);Until(%GUI% = "GUICHEST");wait(700ms);
  1991. FOR(#inv_boots,54,89);
  1992. GETSLOT(313,#search_boots,54);
  1993. GETSLOTITEM(53,#lastslot_chest);
  1994. GETSLOTITEM(%#inv_boots%,#bootsid);
  1995. IF(#lastslot_chest != 0);
  1996. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cBau cheio, Indo para o proximo");
  1997. INC(#bau_boots,1);
  1998. BREAK;
  1999. ENDIF;
  2000. SLOTCLICK(%#search_boots%,l,false);wait(40ms);
  2001. SLOTCLICK(81,l,false);wait(40ms);
  2002. //
  2003. unset(&ench); unset(ok);
  2004. foreach(enchantments);
  2005. If(ok);
  2006. set(&ench,%&ench%-%ENCHANTMENT%);
  2007. else;
  2008. set(&ench,%&ench%%ENCHANTMENT%);
  2009. Set(ok);
  2010. endif;
  2011. next;
  2012. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &5Encantamento: &9&l%&ench%");
  2013. IFmatches("%&ench%","%&thorns%");
  2014. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cJogando item com Thorns fora.");
  2015. slotclick(81,l,false);wait(40ms);
  2016. slotclick(-999,l,false);wait(40ms);
  2017. Endif;
  2018. IF(guardar_umb3liso);
  2019. IFmatches(%&ench%,%&umbreaking3%);
  2020. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando parte &bUmb3");
  2021. Slotclick(81,l,true);wait(40ms);
  2022. Endif;
  2023. ENDIF;
  2024. IF(guardar_cp3umb3);
  2025. IFmatches(%&ench%,%&protection3%);
  2026. IFmatches(%&ench%,%&umbreaking3%);
  2027. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Bota &bp3umb3");
  2028. Slotclick(81,l,true);wait(40ms);
  2029. Endif;
  2030. Endif;
  2031. ENDIF;
  2032. IFmatches(%&ench%,%&protection4%);
  2033. IF(guardar_p4liso);
  2034. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Bota &bP4 liso");
  2035. Slotclick(81,l,true);wait(40ms);
  2036. ENDIF;
  2037. IF((guardar_umb1)&&(guardar_umb2)&&(guardar_umb3));
  2038. IFmatches(%&ench%,"%&umbreaking1%|%&umbreaking2%|%&umbreaking3%");
  2039. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Bota &bP4 Umb1~3");
  2040. Slotclick(81,l,true);wait(40ms);
  2041. ENDIF;
  2042. ELSEIF((!guardar_umb1)&&(guardar_umb2)&&(guardar_umb3));
  2043. IFmatches(%&ench%,"%&umbreaking2%|%&umbreaking3%");
  2044. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Bota &bP4 Umb2~3");
  2045. Slotclick(81,l,true);wait(40ms);
  2046. ENDIF;
  2047. ELSEIF((!guardar_umb1)&&(!guardar_umb2)&&(guardar_umb3));
  2048. IFmatches(%&ench%,%&umbreaking3%);
  2049. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Bota &bP4 Umb3");
  2050. Slotclick(81,l,true);wait(40ms);
  2051. ENDIF;
  2052. ELSEIF((!guardar_umb1)&&(!guardar_umb2)&&(!guardar_umb3));
  2053. slotclick(81,l,false);wait(40ms);
  2054. slotclick(-999,l,false);wait(40ms);
  2055. ENDIF;
  2056. Endif;
  2057. IF(%ITEM% != 0);
  2058. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fOpa este item nao passou na pericia. &cjogando fora");
  2059. slotclick(81,l,false);wait(40ms);
  2060. slotclick(-999,l,false);wait(40ms);
  2061. ENDIF;
  2062. //
  2063. IF((#search_boots = -1)&&(#search_boots < 54));
  2064. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cMais nenhum Bota foi encontrado no inventário.");
  2065. set(fim_inv);
  2066. unset(have_boots);
  2067. GUI();
  2068. BREAK;
  2069. ENDIF;
  2070. NEXT;
  2071. Loop;
  2072. unset(have_boots);
  2073. ENDIF;
  2074. ////////////////////Bau de Picaretas
  2075. IF(have_pickaxe);
  2076. IF(devmode);LOG("CHEGUEI NA PARTE DE HAVE PICKAXE");ENDIF;
  2077. Do;GUI();Until(%GUI% = "NONE");
  2078. Echo("/home adv_btemppickaxe");Do;wait(100ms);Until((%HITID% = 54)|(%HITID% = 146));
  2079. Do;
  2080. IF(fim_inv);
  2081. unset(fim_inv);BREAK;
  2082. ENDIF;
  2083. Do;
  2084. IF(#bau_pickaxe < 2);BREAK;ENDIF;
  2085. #pos_ini = %XPOS%;#pos_inip = %XPOS% + 1;
  2086. do;keydown(sneak);Keydown(right);Until(%#pos_inip% = %XPOS%);wait(260ms);keyup(sneak);Keyup(right);
  2087. IF(%XPOS% = %#pos_inip%);
  2088. Do(2);echo("/sethome adv_btemppickaxe");wait(600ms);Loop;
  2089. Break;
  2090. ENDIF;
  2091. Loop;
  2092. Gui();
  2093. IF(devmode);LOG("CHEGUEI NA PARTE DE OLHRA BAUS PICKAXE");ENDIF;
  2094. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aBAU Pickaxe: &e%#bau_pickaxe%");
  2095. IF(#bau_pickaxe = 1); look(180,328); wait(%#delay_look%ms); ENDIF;
  2096. IF(#bau_pickaxe = 2); LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cTodos os baus de Picaretas estão lotados, &aIndo para proxima.");Break;ENDIF;
  2097. SLOT(1);
  2098. wait(700ms);
  2099. do;key(use);wait(100ms);Until(%GUI% = "GUICHEST");wait(700ms);
  2100. FOR(#inv_pickaxe,54,89);
  2101. GETSLOT(278,#search_pickaxe,54);
  2102. GETSLOTITEM(53,#lastslot_chest);
  2103. GETSLOTITEM(%#inv_pickaxe%,#pickaxeid);
  2104. IF(#lastslot_chest != 0);
  2105. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cBau cheio, Indo para o proximo");
  2106. INC(#bau_pickaxe,1);
  2107. BREAK;
  2108. ENDIF;
  2109. SLOTCLICK(%#search_pickaxe%,l,false);wait(40ms);
  2110. SLOTCLICK(81,l,false);wait(40ms);
  2111. //
  2112. unset(&ench); unset(ok);
  2113. foreach(enchantments);
  2114. If(ok);
  2115. set(&ench,%&ench%-%ENCHANTMENT%);
  2116. else;
  2117. set(&ench,%&ench%%ENCHANTMENT%);
  2118. Set(ok);
  2119. endif;
  2120. next;
  2121. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &5Encantamento: &9&l%&ench%");
  2122. IF(!guardar_silkt);
  2123. IFmatches("%&ench%","%&silk_touch1%");
  2124. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cJogando item com &bToque Suave &ffora.");
  2125. slotclick(81,l,false);wait(40ms);
  2126. slotclick(-999,l,false);wait(40ms);
  2127. Endif;
  2128. ENDIF;
  2129. IF(!guardar_fortune3);
  2130. IFmatches("%&ench%","%&fortune3%");
  2131. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cJogando item com &bFortune 3 &fFora");
  2132. slotclick(81,l,false);wait(40ms);
  2133. slotclick(-999,l,false);wait(40ms);
  2134. Endif;
  2135. ENDIF;
  2136. IF(guardar_eff4);
  2137. IFmatches(%&ench%,"%&efficiency4%|%&efficiency5%");
  2138. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Picareta &bEff4/5 &fLisa");
  2139. Slotclick(81,l,true);wait(40ms);
  2140. ENDIF;
  2141. ENDIF;
  2142. IF(guardar_eff5);
  2143. IFmatches("%&ench%","%&efficiency5%");
  2144. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Picareta &bEficiencia 5 &fLisa");
  2145. Slotclick(81,l,true);wait(40ms);
  2146. ENDIF;
  2147. ENDIF;
  2148. IFmatches("%&ench%","%&efficiency4%|%&efficiency5%");
  2149. IF((guardar_eficiencia4umb3)&&(guardar_eficiencia5umb3));
  2150. IFmatches(%&ench%,"%&umbreaking3%");
  2151. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Picareta &bEficiencia 4~5 Umb3");
  2152. Slotclick(81,l,true);wait(40ms);
  2153. ENDIF;
  2154. ELSEIF((!guardar_eficiencia4umb3)&&(guardar_eficiencia5umb3));
  2155. IFmatches("%&ench%","%&efficiency4%");
  2156. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cJogando picareta Eff4Umb3 fora.");
  2157. slotclick(81,l,false);wait(40ms);
  2158. slotclick(-999,l,false);wait(40ms);
  2159. Endif;
  2160. IFmatches("%&ench%","%&umbreaking3%");
  2161. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Picareta &bEff5 Umb3");
  2162. Slotclick(81,l,true);wait(40ms);
  2163. ENDIF;
  2164. ELSEIF((!guardar_eficiencia4umb3)&&(!guardar_eficiencia5umb3));
  2165. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cJogando picareta fora.");
  2166. slotclick(81,l,false);wait(40ms);
  2167. slotclick(-999,l,false);wait(40ms);
  2168. ENDIF;
  2169. Endif;
  2170. IF(guardar_eff4umb3silk1);
  2171. IFmatches("%&ench%","%&efficiency4%|%&efficiency5%");
  2172. IFmatches("%&ench%","%&umbreaking3%");
  2173. IFmatches("%&ench%","%&silk_touch1%");
  2174. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Picareta &bEff5 Umb3 Silk1");
  2175. Slotclick(81,l,true);wait(40ms);
  2176. ENDIF;
  2177. ENDIF;
  2178. ENDIF;
  2179. ENDIF;
  2180. IF(guardar_eff4umb3fort3);
  2181. IFmatches(%&ench%,"%&efficiency4%|%&efficiency5%");
  2182. IFmatches(%&ench%,"%&umbreaking3%");
  2183. IFmatches("%&ench%","%&fortune3%");
  2184. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Picareta &bEff5 Umb3 Fortune3");
  2185. Slotclick(81,l,true);wait(40ms);
  2186. ENDIF;
  2187. ENDIF;
  2188. ENDIF;
  2189. ENDIF;
  2190. IF(guardar_eff5umb3silk1);
  2191. IFmatches("%&ench%","%&efficiency5%");
  2192. IFmatches(%&ench%,"%&umbreaking3%");
  2193. IFmatches("%&ench%","%&silk_touch1%");
  2194. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Picareta &bEff5 Umb3 Silk1");
  2195. Slotclick(81,l,true);wait(40ms);
  2196. ENDIF;
  2197. ENDIF;
  2198. ENDIF;
  2199. ENDIF;
  2200. IF(guardar_eff5umb3fort3);
  2201. IFmatches("%&ench%","%&efficiency5%");
  2202. IFmatches("%&ench%","%&umbreaking3%");
  2203. IFmatches("%&ench%","%&fortune3%");
  2204. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Picareta &bEff5 Umb3 Fortune3");
  2205. Slotclick(81,l,true);wait(40ms);
  2206. ENDIF;
  2207. ENDIF;
  2208. ENDIF;
  2209. ENDIF;
  2210. IF(%ITEM% != 0);
  2211. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aOpa este item nao passou na pericia. &cjogando fora");
  2212. slotclick(81,l,false);wait(40ms);
  2213. slotclick(-999,l,false);wait(40ms);
  2214. ENDIF;
  2215. //
  2216. IF((#search_pickaxe = -1)&&(#search_pickaxe < 54));
  2217. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cMais nenhuma Picareta foi encontrado no inventário.");
  2218. set(fim_inv);
  2219. unset(have_pickaxe);
  2220. GUI();
  2221. BREAK;
  2222. ENDIF;
  2223. NEXT;
  2224. Loop;
  2225. unset(have_pickaxe);
  2226. ENDIF;
  2227. /////
  2228. ////////////////////Bau de Pás
  2229. IF(have_shovel);
  2230. IF(devmode);LOG("CHEGUEI NA PARTE DE HAVE SHOVEL");ENDIF;
  2231. Do;GUI();Until(%GUI% = "NONE");
  2232. Echo("/home adv_btempshovel");Do;wait(100ms);Until((%HITID% = 54)|(%HITID% = 146));
  2233. Do;
  2234. IF(fim_inv);
  2235. unset(fim_inv);BREAK;
  2236. ENDIF;
  2237. Do;
  2238. IF(#bau_shovel < 2);BREAK;ENDIF;
  2239. #pos_ini = %XPOS%;#pos_inip = %XPOS% + 1;
  2240. do;keydown(sneak);Keydown(right);Until(%#pos_inip% = %XPOS%);wait(260ms);keyup(sneak);Keyup(right);
  2241. IF(%XPOS% = %#pos_inip%);
  2242. Do(2);echo("/sethome adv_btempshovel");wait(600ms);Loop;
  2243. Break;
  2244. ENDIF;
  2245. Loop;
  2246. Gui();
  2247. IF(devmode);LOG("CHEGUEI NA PARTE DE OLHAR PROS BAUS SHOVEL");ENDIF;
  2248. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aBAU Shovel: &e%#bau_shovel%");
  2249. IF(#bau_shovel = 1); look(180,0); wait(%#delay_look%ms); ENDIF;
  2250. IF(#bau_shovel = 2); LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &co bau de Pá esta lotado, &aIndo para proximo.");Break;ENDIF;
  2251. SLOT(1);
  2252. wait(700ms);
  2253. do;key(use);wait(100ms);Until(%GUI% = "GUICHEST");wait(700ms);
  2254. FOR(#inv_shovel,54,89);
  2255. GETSLOT(277,#search_shovel,54);
  2256. GETSLOTITEM(53,#lastslot_chest);
  2257. GETSLOTITEM(%#inv_shovel%,#shovelid);
  2258. IF(#lastslot_chest != 0);
  2259. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cBau cheio, Indo para o proximo");
  2260. INC(#bau_shovel,1);
  2261. BREAK;
  2262. ENDIF;
  2263. SLOTCLICK(%#search_shovel%,l,false);wait(40ms);
  2264. SLOTCLICK(81,l,false);wait(40ms);
  2265. //
  2266. unset(&ench); unset(ok);
  2267. foreach(enchantments);
  2268. If(ok);
  2269. set(&ench,%&ench%-%ENCHANTMENT%);
  2270. else;
  2271. set(&ench,%&ench%%ENCHANTMENT%);
  2272. Set(ok);
  2273. endif;
  2274. next;
  2275. LOG("&5Encantamento: &9&l%&ench%");
  2276. IF(!guardar_silkt);
  2277. IFmatches("%&ench%","%&silk_touch1%");
  2278. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cJogando item com &bToque Suave &cfora.");
  2279. slotclick(81,l,false);wait(40ms);
  2280. slotclick(-999,l,false);wait(40ms);
  2281. Endif;
  2282. ENDIF;
  2283. IF(!guardar_fortune3);
  2284. IFmatches("%&ench%","%&fortune3%");
  2285. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cJogando item com &bFortune 3 &cFora");
  2286. slotclick(81,l,false);wait(40ms);
  2287. slotclick(-999,l,false);wait(40ms);
  2288. Endif;
  2289. ENDIF;
  2290. IF(guardar_eff4);
  2291. IFmatches(%&ench%,"%&efficiency4%|%&efficiency5%");
  2292. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Pa &bEff4/5 &fLisa");
  2293. Slotclick(81,l,true);wait(40ms);
  2294. ENDIF;
  2295. ENDIF;
  2296. IF(guardar_eff5);
  2297. IFmatches("%&ench%","%&efficiency5%");
  2298. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Pa &bEFF5 &fLisa");
  2299. Slotclick(81,l,true);wait(40ms);
  2300. ENDIF;
  2301. ENDIF;
  2302. IFmatches("%&ench%","%&efficiency4%|%&efficiency5%");
  2303. IF((guardar_eficiencia4umb3)&&(guardar_eficiencia5umb3));
  2304. IFmatches(%&ench%,"%&umbreaking3%");
  2305. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Pa &bEff4~5 Umb3");
  2306. Slotclick(81,l,true);wait(40ms);
  2307. ENDIF;
  2308. ELSEIF((!guardar_eficiencia4umb3)&&(guardar_eficiencia5umb3));
  2309. IFmatches("%&ench%","%&efficiency4%");
  2310. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cJogando Pa &bEff4Umb3 &cfora.");
  2311. slotclick(81,l,false);wait(40ms);
  2312. slotclick(-999,l,false);wait(40ms);
  2313. Endif;
  2314. IFmatches("%&ench%","%&umbreaking3%");
  2315. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Pa &bEff5 Umb3");
  2316. Slotclick(81,l,true);wait(40ms);
  2317. ENDIF;
  2318. ELSEIF((!guardar_eficiencia4umb3)&&(!guardar_eficiencia5umb3));
  2319. LOG("&aJogando Pa fora.");
  2320. slotclick(81,l,false);wait(40ms);
  2321. slotclick(-999,l,false);wait(40ms);
  2322. ENDIF;
  2323. Endif;
  2324. IF(guardar_eff4umb3silk1);
  2325. IFmatches("%&ench%","%&efficiency4%|%&efficiency5%");
  2326. IFmatches("%&ench%","%&umbreaking3%");
  2327. IFmatches("%&ench%","%&silk_touch1%");
  2328. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aGuardando Pa &bEff5 Umb3 Silk1");
  2329. Slotclick(81,l,true);wait(40ms);
  2330. ENDIF;
  2331. ENDIF;
  2332. ENDIF;
  2333. ENDIF;
  2334. IF(guardar_eff4umb3fort3);
  2335. IFmatches(%&ench%,"%&efficiency4%|%&efficiency5%");
  2336. IFmatches(%&ench%,"%&umbreaking3%");
  2337. IFmatches("%&ench%","%&fortune3%");
  2338. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Pa &bEff5 Umb3 Fortune3");
  2339. Slotclick(81,l,true);wait(40ms);
  2340. ENDIF;
  2341. ENDIF;
  2342. ENDIF;
  2343. ENDIF;
  2344. IF(guardar_eff5umb3silk1);
  2345. IFmatches("%&ench%","%&efficiency5%");
  2346. IFmatches(%&ench%,"%&umbreaking3%");
  2347. IFmatches("%&ench%","%&silk_touch1%");
  2348. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Pa &bEff5 Umb3 Silk1");
  2349. Slotclick(81,l,true);wait(40ms);
  2350. ENDIF;
  2351. ENDIF;
  2352. ENDIF;
  2353. ENDIF;
  2354. IF(guardar_eff5umb3fort3);
  2355. IFmatches("%&ench%","%&efficiency5%");
  2356. IFmatches("%&ench%","%&umbreaking3%");
  2357. IFmatches("%&ench%","%&fortune3%");
  2358. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Pa &bEff5 Umb3 Fortune3");
  2359. Slotclick(81,l,true);wait(40ms);
  2360. ENDIF;
  2361. ENDIF;
  2362. ENDIF;
  2363. ENDIF;
  2364. IF(%ITEM% != 0);
  2365. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aOpa este item nao passou na pericia. &cjogando fora");
  2366. slotclick(81,l,false);wait(40ms);
  2367. slotclick(-999,l,false);wait(40ms);
  2368. ENDIF;
  2369. //
  2370. IF((#search_shovel = -1)&&(#search_shovel < 54));
  2371. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cMais nenhum Pá foi encontrado no inventário.");
  2372. set(fim_inv);
  2373. unset(have_shovel);
  2374. GUI();
  2375. BREAK;
  2376. ENDIF;
  2377. NEXT;
  2378. Loop;
  2379. unset(have_shovel);
  2380. ENDIF;
  2381. ////////////////////Bau de Machados
  2382. IF(have_axe);
  2383. IF(devmode);LOG("CHEGUEI NA PARTE DE HAVE AXE");ENDIF;
  2384. Do;GUI();Until(%GUI% = "NONE");
  2385. Echo("/home adv_btempaxe");Do;wait(100ms);Until((%HITID% = 54)|(%HITID% = 146));
  2386. Do;
  2387. IF(fim_inv);
  2388. unset(fim_inv);BREAK;
  2389. ENDIF;
  2390. Do;
  2391. IF(#bau_axe < 2);BREAK;ENDIF;
  2392. #pos_ini = %XPOS%;#pos_inip = %XPOS% + 1;
  2393. do;keydown(sneak);Keydown(right);Until(%#pos_inip% = %XPOS%);wait(260ms);keyup(sneak);Keyup(right);
  2394. IF(%XPOS% = %#pos_inip%);
  2395. Do(2);echo("/sethome adv_btempaxe");wait(600ms);Loop;
  2396. Break;
  2397. ENDIF;
  2398. Loop;
  2399. Gui();
  2400. IF(devmode);LOG("CHEGUEI NA PARTE DE OLHAR BAUS AXE");ENDIF;
  2401. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aBAU AXE: &e%#bau_axe%");
  2402. IF(#bau_axe = 1); look(180,340); wait(%#delay_look%ms); ENDIF;
  2403. IF(#bau_axe = 2); LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cTodos os baus de Machados estão lotados, &aIndo para proxima.");Break;ENDIF;
  2404. SLOT(1);
  2405. wait(700ms);
  2406. do;key(use);wait(100ms);Until(%GUI% = "GUICHEST");wait(700ms);
  2407. FOR(#inv_axe,54,89);
  2408. GETSLOT(279,#search_axe,54);
  2409. GETSLOTITEM(53,#lastslot_chest);
  2410. GETSLOTITEM(%#inv_axe%,#axeid);
  2411. IF(#lastslot_chest != 0);
  2412. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cBau cheio, Indo para o proximo");
  2413. INC(#bau_axe,1);
  2414. BREAK;
  2415. ENDIF;
  2416. SLOTCLICK(%#search_axe%,l,false);wait(40ms);
  2417. SLOTCLICK(81,l,false);wait(40ms);
  2418. //
  2419. unset(&ench); unset(ok);
  2420. foreach(enchantments);
  2421. If(ok);
  2422. set(&ench,%&ench%-%ENCHANTMENT%);
  2423. else;
  2424. set(&ench,%&ench%%ENCHANTMENT%);
  2425. Set(ok);
  2426. endif;
  2427. next;
  2428. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &5Encantamento: &9&l%&ench%");
  2429. IF((guardar_m_afiada5_liso)|(guardar_m_afiada5_umb2)|(guardar_m_s5umb3));
  2430. IFmatches("%&ench%","%&sharpness5%");
  2431. SET(pular_verif_eff);
  2432. Endif;
  2433. ELSE;
  2434. unset(pular_verif_eff);
  2435. ENDIF;
  2436. IF(!pular_verif_eff);
  2437. IF(!guardar_silkt);
  2438. IFmatches("%&ench%","%&silk_touch1%");
  2439. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cJogando item com &bToque Suave &cfora.");
  2440. slotclick(81,l,false);wait(40ms);
  2441. slotclick(-999,l,false);wait(40ms);
  2442. Endif;
  2443. ENDIF;
  2444. IF(!guardar_fortune3);
  2445. IFmatches("%&ench%","%&fortune3%");
  2446. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cJogando item com &bFortune 3 &cFora");
  2447. slotclick(81,l,false);wait(40ms);
  2448. slotclick(-999,l,false);wait(40ms);
  2449. Endif;
  2450. ENDIF;
  2451. IF(guardar_eff4);
  2452. IFmatches(%&ench%,"%&efficiency4%|%&efficiency5%");
  2453. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Pa &bEff4/5 &fLisa");
  2454. Slotclick(81,l,true);wait(40ms);
  2455. ENDIF;
  2456. ENDIF;
  2457. IF(guardar_eff5);
  2458. IFmatches("%&ench%","%&efficiency5%");
  2459. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Pa &bEFF5 &fLisa");
  2460. Slotclick(81,l,true);wait(40ms);
  2461. ENDIF;
  2462. ENDIF;
  2463. IFmatches("%&ench%","%&efficiency4%|%&efficiency5%");
  2464. IF((guardar_eficiencia4umb3)&&(guardar_eficiencia5umb3));
  2465. IFmatches(%&ench%,"%&umbreaking3%");
  2466. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Pa &bEficiencia 4~5 Umb3");
  2467. Slotclick(81,l,true);wait(40ms);
  2468. ENDIF;
  2469. ELSEIF((!guardar_eficiencia4umb3)&&(guardar_eficiencia5umb3));
  2470. IFmatches("%&ench%","%&efficiency4%");
  2471. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cJogando Pa &bEff4Umb3 &cfora.");
  2472. slotclick(81,l,false);wait(40ms);
  2473. slotclick(-999,l,false);wait(40ms);
  2474. Endif;
  2475. IFmatches("%&ench%","%&umbreaking3%");
  2476. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Pa &bEff5 Umb3");
  2477. Slotclick(81,l,true);wait(40ms);
  2478. ENDIF;
  2479. ELSEIF((!guardar_eficiencia4umb3)&&(!guardar_eficiencia5umb3));
  2480. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aJogando Pa fora.");
  2481. slotclick(81,l,false);wait(40ms);
  2482. slotclick(-999,l,false);wait(40ms);
  2483. ENDIF;
  2484. Endif;
  2485. IF(guardar_eff4umb3silk1);
  2486. IFmatches("%&ench%","%&efficiency4%|%&efficiency5%");
  2487. IFmatches("%&ench%","%&umbreaking3%");
  2488. IFmatches("%&ench%","%&silk_touch1%");
  2489. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Pa &bEff5 Umb3 Silk1");
  2490. Slotclick(81,l,true);wait(40ms);
  2491. ENDIF;
  2492. ENDIF;
  2493. ENDIF;
  2494. ENDIF;
  2495. IF(guardar_eff4umb3fort3);
  2496. IFmatches(%&ench%,"%&efficiency4%|%&efficiency5%");
  2497. IFmatches(%&ench%,"%&umbreaking3%");
  2498. IFmatches("%&ench%","%&fortune3%");
  2499. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Pa &bEff5 Umb3 Fortune3");
  2500. Slotclick(81,l,true);wait(40ms);
  2501. ENDIF;
  2502. ENDIF;
  2503. ENDIF;
  2504. ENDIF;
  2505. IF(guardar_eff5umb3silk1);
  2506. IFmatches("%&ench%","%&efficiency5%");
  2507. IFmatches(%&ench%,"%&umbreaking3%");
  2508. IFmatches("%&ench%","%&silk_touch1%");
  2509. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Pa &bEff5 Umb3 Silk1");
  2510. Slotclick(81,l,true);wait(40ms);
  2511. ENDIF;
  2512. ENDIF;
  2513. ENDIF;
  2514. ENDIF;
  2515. IF(guardar_eff5umb3fort3);
  2516. IFmatches("%&ench%","%&efficiency5%");
  2517. IFmatches("%&ench%","%&umbreaking3%");
  2518. IFmatches("%&ench%","%&fortune3%");
  2519. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Pa &bEff5 Umb3 Fortune3");
  2520. Slotclick(81,l,true);wait(40ms);
  2521. ENDIF;
  2522. ENDIF;
  2523. ENDIF;
  2524. ENDIF;
  2525. unset(pular_verif_eff);
  2526. ENDIF;
  2527. //
  2528. IF(guardar_m_s5j5a5);
  2529. IFmatches("%&ench%","%&sharpness5%");
  2530. IFmatches("%&ench%","%&smite5%");
  2531. IFmatches("%&ench%","%&arthropods5%");
  2532. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Machado &bS5 J5 A5");
  2533. Slotclick(81,l,true);wait(40ms);
  2534. Endif;
  2535. ENDIF;
  2536. ENDIF;
  2537. ENDIF;
  2538. IF(guardar_m_s5);
  2539. IFmatches("%&ench%","%&sharpness5%");
  2540. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Machado com &bAfiada 5");
  2541. Slotclick(81,l,true);wait(40ms);
  2542. Endif;
  2543. ElseIF(!guardar_m_s5);
  2544. IFmatches("%&ench%","%&umbreaking2%|%&umbreaking3%");
  2545. Else;
  2546. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cJogando Machado com &bAfiada 5 liso~umb1 &cfora");
  2547. slotclick(81,l,false);wait(40ms);
  2548. slotclick(-999,l,false);wait(40ms);
  2549. Endif;
  2550. ENDIF;
  2551. IF(guardar_m_afiada5_umb2);
  2552. IFmatches("%&ench%","%&sharpness5%%");
  2553. IFmatches("%&ench%","%&umbreaking2%");
  2554. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando item com &bS5 Umb2");
  2555. Slotclick(81,l,true);wait(40ms);
  2556. ENDIF;
  2557. ENDIF;
  2558. ENDIF;
  2559. IF(guardar_m_s5umb3);
  2560. IFmatches("%&ench%","%&sharpness5%%");
  2561. IFmatches("%&ench%","%&umbreaking3%");
  2562. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando item com &bS5 Umb3");
  2563. Slotclick(81,l,true);wait(40ms);
  2564. ENDIF;
  2565. ENDIF;
  2566. ENDIF;
  2567. //
  2568. IF(%ITEM% != 0);
  2569. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aOpa este item nao passou na pericia. &cjogando fora");
  2570. slotclick(81,l,false);wait(40ms);
  2571. slotclick(-999,l,false);wait(40ms);
  2572. ENDIF;
  2573. //
  2574. IF((#search_axe = -1)&&(#search_axe < 54));
  2575. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cMais nenhum Machado foi encontrado no inventário.");
  2576. set(fim_inv);
  2577. unset(have_axe);
  2578. GUI();
  2579. BREAK;
  2580. ENDIF;
  2581. NEXT;
  2582. Loop;
  2583. unset(have_axe);
  2584. ENDIF;
  2585. ////////////////////
  2586. ////////////////////Bau de Espadas
  2587. IF(have_sword);
  2588. Echo("/home adv_btempsword");Do;wait(100ms);Until((%HITID% = 54)|(%HITID% = 146));
  2589. Do;
  2590. IF(fim_inv);
  2591. unset(fim_inv);BREAK;
  2592. ENDIF;
  2593. Do;
  2594. IF(#bau_sword < 2);BREAK;ENDIF;
  2595. #pos_ini = %XPOS%;#pos_inip = %XPOS% + 1;
  2596. do;keydown(sneak);Keydown(right);Until(%#pos_inip% = %XPOS%);wait(260ms);keyup(sneak);Keyup(right);
  2597. IF(%XPOS% = %#pos_inip%);
  2598. Do(2);echo("/sethome adv_btempsword");wait(600ms);Loop;
  2599. Break;
  2600. ENDIF;
  2601. Loop;
  2602. Gui();
  2603. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aBAU Sword: &e%#bau_sword%");
  2604. IF(#bau_sword = 1); look(180,20); wait(%#delay_look%ms); ENDIF;
  2605. IF(#bau_sword = 2); LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cTodos os baus de Espadas estão lotados, &aIndo para proxima.");Break;ENDIF;
  2606. SLOT(1);
  2607. do;key(use);wait(100ms);Until(%GUI% = "GUICHEST");wait(700ms);
  2608. FOR(#inv_sword,54,89);
  2609. GETSLOT(276,#search_sword,54);
  2610. GETSLOTITEM(53,#lastslot_chest);
  2611. GETSLOTITEM(%#inv_sword%,#swordid);
  2612. IF(#lastslot_chest != 0);
  2613. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cBau cheio, Indo para o proximo");
  2614. INC(#bau_sword,1);
  2615. BREAK;
  2616. ENDIF;
  2617. SLOTCLICK(%#search_sword%,l,false);wait(40ms);
  2618. SLOTCLICK(81,l,false);wait(40ms);
  2619. //
  2620. unset(&ench); unset(ok);
  2621. foreach(enchantments);
  2622. If(ok);
  2623. set(&ench,%&ench%-%ENCHANTMENT%);
  2624. else;
  2625. set(&ench,%&ench%%ENCHANTMENT%);
  2626. Set(ok);
  2627. endif;
  2628. next;
  2629. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &5Encantamento: &9&l%&ench%");
  2630. IF(guardar_looting3);
  2631. IFmatches("%&ench%","%&looting3%");
  2632. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Espada com &bLooting 3.");
  2633. Slotclick(81,l,true);wait(40ms);
  2634. Endif;
  2635. ENDIF;
  2636. IF(guardar_sj3loot3);
  2637. IFmatches("%&ench%","%&looting3%");
  2638. IFmatches("%&ench%","%&sharpness3%|%&sharpness4%|%&sharpness5%|%&smite3%|%&smite4%|%&smite5%");
  2639. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Espada &bS3+/J3+ Looting 3");
  2640. Slotclick(81,l,true);wait(40ms);
  2641. ENDIF;
  2642. Endif;
  2643. ENDIF;
  2644. IF(guardar_sj3loot3umb3);
  2645. IFmatches("%&ench%","%&looting3%");
  2646. IFmatches("%&ench%","%&sharpness3%|%&sharpness4%|%&sharpness5%|%&smite3%|%&smite4%|%&smite5%");
  2647. IFmatches("%&ench%","%&umbreaking3%");
  2648. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando Espada &bS3+/J3+ Looting 3 UMB3");
  2649. Slotclick(81,l,true);wait(40ms);
  2650. ENDIF;
  2651. ENDIF;
  2652. Endif;
  2653. ENDIF;
  2654. IF(guardar_sw_afiada4);
  2655. IFmatches("%&ench%","%&sharpness4%");
  2656. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando &bS4 &flisa.");
  2657. Slotclick(81,l,true);wait(40ms);
  2658. Endif;
  2659. ENDIF;
  2660. IF(guardar_afiada5fire);
  2661. IFmatches("%&ench%","%&sharpness5%");
  2662. IFmatches("%&ench%","%&fire_aspect%");
  2663. LOG("&f&1[&7&lAdvanced &e&lFishing&1]:&fGuardando &bS5 F2.");
  2664. Slotclick(81,l,true);wait(40ms);
  2665. Endif;
  2666. Endif;
  2667. ENDIF;
  2668. IF(guardar_sw_afiada5);
  2669. IFmatches("%&ench%","%&sharpness5%");
  2670. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando &bS5 &flisa.");
  2671. Slotclick(81,l,true);wait(40ms);
  2672. Endif;
  2673. ELSEIF(!guardar_sw_afiada5);
  2674. IFmatches("%&ench%","%&sharpness5%");
  2675. IFmatches("%&ench%","%&umbreaking1%");
  2676. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cJogando &bS5 LISA/UMB1 &cFora.");
  2677. slotclick(81,l,false);wait(40ms);
  2678. slotclick(-999,l,false);wait(40ms);
  2679. ENDIF;
  2680. IFmatches("%&ench%","%&umbreaking2%");
  2681. Else;
  2682. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cJogando &bS5 LISA/UMB1 &cFora.");
  2683. slotclick(81,l,false);wait(40ms);
  2684. slotclick(-999,l,false);wait(40ms);
  2685. ENDIF;
  2686. IFmatches("%&ench%","%&umbreaking3%");
  2687. Else;
  2688. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cJogando &bS5 LISA/UMB1 &cFora.");
  2689. slotclick(81,l,false);wait(40ms);
  2690. slotclick(-999,l,false);wait(40ms);
  2691. ENDIF;
  2692. Endif;
  2693. ENDIF;
  2694. IF(guardar_sw_s5umb3);
  2695. IFmatches(%&ench%,"%&sharpness5%");
  2696. IFmatches(%&ench%,"%&umbreaking3%");
  2697. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fGuardando &bS5 UMB3.");
  2698. Slotclick(81,l,true);wait(40ms);
  2699. Endif;
  2700. Endif;
  2701. ENDIF;
  2702. IF(%ITEM% != 0);
  2703. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aOpa este item nao passou na pericia. &cjogando fora");
  2704. slotclick(81,l,false);wait(40ms);
  2705. slotclick(-999,l,false);wait(40ms);
  2706. ENDIF;
  2707. //
  2708. IF((#search_sword = -1)&&(#search_sword < 54));
  2709. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cMais nenhum Espada foi encontrada no inventário.");
  2710. unset(have_sword);
  2711. set(fim_inv);
  2712. GUI();
  2713. BREAK;
  2714. ENDIF;
  2715. NEXT;
  2716. Loop;
  2717. unset(have_sword);
  2718. ENDIF;
  2719. /////
  2720. ///Voltando para pescar.
  2721. #xcoord = %XPOS%; #zcoord = %ZPOS%;
  2722. Echo("/home adv_pesca");wait(1);
  2723. Do(15);wait(500ms);Until((%XPOS% != %#xcoord%)|(%ZPOS% != %#zcoord%));wait(400ms);
  2724. Gui(inventory);
  2725. /////
  2726. /////////////////
  2727. unset(inv_lotado);
  2728. ENDIF;
  2729. IF(pegar_vara);
  2730. #xcoord = %XPOS%; #zcoord = %ZPOS%;
  2731. Echo("/home adv_trappesca");wait(1);keydown(jump);wait(750ms);keyup(jump);wait(300ms);
  2732. do(15);wait(500ms);Until((%XPOS% != %#xcoord%)|(%ZPOS% != %#zcoord%));
  2733. #x_antibug_cl = %XPOS%; #x_antibug_cl_plus = %XPOS% + 1;
  2734. Do;keydown(right);until(%XPOS% = %#x_antibug_cl_plus%);keyup(right);wait(500ms);
  2735. Do;keydown(left);keydown(sneak);until(%XPOS% = %#x_antibug_cl%);wait(295ms);keyup(left);keyup(sneak);
  2736. Gui(inventory);
  2737. GETSLOTITEM(44,#slot44);
  2738. IF(#slot44 != -1);
  2739. slotclick(44,l,false);wait(200ms);
  2740. slotclick(-999,l,false);wait(200ms);
  2741. ENDIF;
  2742. Gui();
  2743. Do;
  2744. IF(walk_right);
  2745. Gui();wait(300ms);
  2746. unset(walk_right);
  2747. #pos_strpls = %XPOS% + 1;
  2748. do;keydown(sneak);Keydown(right);Until(%#pos_strpls% = %XPOS%);wait(260ms);keyup(sneak);Keyup(right);
  2749. ENDIF;
  2750. look(0,70);
  2751. Do;key(use);wait(400ms);Until(%GUI% = "GUICHEST");wait(400ms);
  2752. GETSLOT(346,#chest_vara);
  2753. IF(devmode);LOG("&lChest_vara = &e&l%#chest_vara% &cfora do IF");ENDIF;
  2754. GETSLOTITEM(89,#slot89);
  2755. IF(#slot89 != 0);
  2756. SLOTCLICK(%#slot89%,l,true);wait(400ms);
  2757. ENDIF;
  2758. IF((#chest_vara = -1)|(#chest_vara > 54));
  2759. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fAs &bVaras &fdesse bau acabaram, indo para o proximo.");
  2760. set(walk_right);
  2761. ELSE;
  2762. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aPegando Vara");
  2763. DO(1);GETSLOT(346,#chest_vara);SLOTCLICK(%#chest_vara%,l,true);wait(400ms);Loop;
  2764. ENDIF;
  2765. GETSLOTITEM(89,#slot89);
  2766. IF((#slot89 = 346));
  2767. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &bVara &fem seus devidos lugares, Voltando a pescar.");
  2768. GUI();
  2769. #xcoord = %XPOS%; #zcoord = %ZPOS%;
  2770. ECHO("/home adv_pesca");wait(1);keydown(jump);wait(750ms);keyup(jump);wait(300ms);
  2771. do(15);wait(500ms);Until((%XPOS% != %#xcoord%)|(%ZPOS% != %#zcoord%));
  2772. Gui(inventory);
  2773. BREAK;
  2774. ENDIF;
  2775. Loop;
  2776. unset(pegar_vara);
  2777. ENDIF;
  2778. IF(pegar_linha);
  2779. unset(walk_right);
  2780. SLOT(1);
  2781. #xcoord = %XPOS%; #zcoord = %ZPOS%;
  2782. Echo("/home adv_trappesca");wait(1);keydown(jump);wait(750ms);keyup(jump);wait(300ms);
  2783. Do(15);wait(500ms);Until((%XPOS% != %#xcoord%)|(%ZPOS% != %#zcoord%));wait(400ms);
  2784. #x_antibug_cl = %XPOS%; #x_antibug_cl_plus = %XPOS% + 1;
  2785. Do;keydown(right);until(%XPOS% = %#x_antibug_cl_plus%);keyup(right);wait(500ms);
  2786. Do;keydown(left);keydown(sneak);until(%XPOS% = %#x_antibug_cl%);wait(295ms);keyup(left);keyup(sneak);
  2787. Do;
  2788. IF(walk_right);
  2789. Gui();wait(300ms);
  2790. unset(walk_right);
  2791. #pos_strpls = %XPOS% + 1;
  2792. do;keydown(sneak);Keydown(right);Until(%#pos_strpls% = %XPOS%);wait(260ms);keyup(sneak);Keyup(right);
  2793. ENDIF;
  2794. look(0,70);
  2795. Do;key(use);wait(400ms);Until(%GUI% = "GUICHEST");wait(400ms);
  2796. GETSLOT(287,#chest_linha);
  2797. IF(devmode);LOG("&lChest_linha = &e&l%#chest_linha% &cfora do IF");ENDIF;
  2798. IF((#chest_linha = -1)|(#chest_linha > 54));
  2799. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &fAs &bLinhas &fdesse bau acabaram, indo para o proximo.");
  2800. set(walk_right);
  2801. ELSE;
  2802. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &aPegando linha");
  2803. DO(1);GETSLOT(287,#chest_linha);SLOTCLICK(%#chest_linha%,l,true);wait(100ms);Loop;
  2804. ENDIF;
  2805. GETSLOTITEM(87,#slot87);
  2806. IF(#slot87 = 287);
  2807. SLOTCLICK(87,l,true);wait(200ms);
  2808. ENDIF;
  2809. Unsafe(0);
  2810. FOR(#string_f,54,80);
  2811. wait(1ms);
  2812. GETSLOTITEM(%#string_f%,#stringff);
  2813. IF(#stringff = 287);
  2814. SLOTCLICK(%#string_f%,l,true);wait(10ms);
  2815. ENDIF;
  2816. Next;
  2817. Endunsafe;
  2818. GETSLOTITEM(88,#slot88,#stack88);
  2819. IF((#slot88 = 287)&&(#stack88 > 4));
  2820. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &bLinhas &fem seus devidos lugares, Voltando a pescar.");
  2821. GUI();
  2822. #xcoord = %XPOS%; #zcoord = %ZPOS%;
  2823. ECHO("/home adv_pesca");wait(1);
  2824. do(15);wait(500ms);Until((%XPOS% != %#xcoord%)|(%ZPOS% != %#zcoord%));
  2825. Gui(inventory);
  2826. BREAK;
  2827. ENDIF;
  2828. Loop;
  2829. unset(pegar_linha);
  2830. ENDIF;
  2831. IF(fome);
  2832. keydown(jump);wait(1);keyup(jump);
  2833. pick(349);do;key(use);until(%HUNGER% >= 16);keyup(sneak);
  2834. unset(fome);
  2835. ENDIF;
  2836. Loop;
  2837. Loop;
  2838. else;
  2839. LOG("&f&1[&7&lAdvanced &e&lFishing&1]: &cDesativada");
  2840. GUI();
  2841. stop;
  2842. endif;
  2843. }$$
Add Comment
Please, Sign In to add comment