Olá galera da CraftLandia beleza?
Bom hoje trago essa bela macro para vocês! Vamos ao que interessa =P
Está MACRO é para 1.8/1.7 (Mas não quer dizer que ninguém pode arrumar pra 1.5 =D)
Tutorial de como instalar para novatos: http://forum.craftlandia.com.br/ipb/index.php?/topic/159896-tutorial-guia-de-macro-para-iniciantes/
[hr]
Como usar:
→ Primeiro de tudo você precisa setar uma home na frente da sua MobTrap de /home mob
→ A MACRO guarda os items em apenas 1 hora! /home armazem
→ Você pode selecionar os items que deseja que ela guarda na seguinte linha da MACRO:
→ Aqui é um exemplo do que eu quero que ela guarde no meus baus, EX: Rotten Flesh (carne de zumbi), Iron Ingot (Ferro), Gold Ingot...(Ouro) etc
Você pode alterar o que quer ou pode adicionar um novo item apenas seguindo o padrão da MACRO.
if((&id="bone")|(&id="rotten_flesh")|(&id="iron_ingot")|(&id="gold_ingot")|(&id="gold_nugget")|(&id="string")|(&id="spider_eye")|(&id="bow")|(&id="potato")|(&id="carrot"));
slotclick(%#i%,l,true);
→ [PARA NÃO VIPS] Encher a hotbar com espada a desejar!!
[hr]
Funções:
→ Ela guarda os sets de Chain
→ MACRO inteligente, ela só bate quando há MOBS na sua frente, fazendo com que não haja End Of Stream!
→ Função ON/OFF apertando e segurando F4
→ Sistema AUTO-DC integrado, você pode editar nas configurações da MACRO, mas o padrão é dar home quando estiver com 3 corações de vida!
→ Sistema de anti-knockback, muitas vezes o MOB te bate e você é jogado para tras, fazendo com que não pegue os drops do MOB, ela de tempo em tempo digita /home mob para que não aja esse problema
→ Caso o servidor reinicie e você seja mandado para o /spawn ou /warp loja ela volta para a trap automaticamente!
[hr]
AutoLogin:
Colocar em - OnJoinGame
$${wait(2)}$$/login SUA SENHA$${$${WAIT(4);PRESS(LETRA DA MACRO);WAIT(4);PRESS(LETRA DA MACRO);endif;}$$
[VIPS]
- Repara olhando para baixo (ESPADA TEM QUE FICAR NO SLOT 9 E ITEMS PARA REPARAR NO SLOT 8!!)
[hr]
Como deve ser suas homes:
[MOBTRAP]
[BAUS]
Fazer os baús 5x7 olhando para (East/West)
Setar /sethome armazem olhando no meio do bloco (Coloquei Crafting Table pra ficar bem no centro, mas não muda se for outro bloco!!)
[hr]
CÓDIGO VIP :
$${
if(autousing);
LOG("&d[MACRO] &fAutoClick &eXP &c[OFF]");
LOG("&d[MACRO] &bEspada reparada &f%#repa% &bvezes!!!");
UNSET(autousing);
STOP();
else;
LOG("&d[MACRO] &fAutoClick &eXP &a[ON]");
LOG("&d[MACRO] &bUsar espada no Slot 9 e dimas no Slot 8.");
LOG("&d[MACRO] &bPara pausar o macro segure a tecla F4 por instantes.");
SET(autousing);
&d=%DIRECTION%;
IFMATCHES(%&d%,N);
&d1=NORTH;
&b1=90;
&b2=120;
&b3=240;
&b4=270;
&b5=180;
endif;
IFMATCHES(%&d%,S);
&d1=SOUTH;
&b1=270;
&b2=300;
&b3=60;
&b4=90;
&b5=0;
endif;
IFMATCHES(%&d%,E);
&d1=EAST;
&b1=180;
&b2=210;
&b3=330;
&b4=0;
&b5=270;
endif;
IFMATCHES(%&d%,W);
&d1=WEST;
&b1=0;
&b2=30;
&b3=150;
&b4=180;
&b5=90;
endif;
#bau=1;
#repa=0;
#stack0=0;
DO;
#cont=0;
do;
look(%&d1%);
look(,340);
slot(9);
if(%DURABILITY%<61);
look(,90);
wait(1);
key(USE);
wait(2);
INC(#repa,1);
LOG("&d[MACRO] &bEspada reparada &f%#repa% &bvezes!!!");
endif;
if((%DURABILITY%<51)|((%DURABILITY%<61)&&(#stack0=0)));
LOG("&d[MACRO] &fAutoClick &eXP &c[OFF] &f- &cDurabilidade Baixa!!!");
LOG("&d[MACRO] &bEspada reparada &f%#repa% &bvezes!!!");
UNSET(autousing);
STOP();
endif;
if(%HEALTH%<4);
}$$/home$${
LOG("&d[MACRO] &fAutoClick &eXP &c[OFF] &f- &cVida Baixa!!!");
LOG("&d[MACRO] &bEspada reparada &f%#repa% &bvezes!!!");
UNSET(autousing);
STOP();
endif;
ifmatches(%GUI%,CHAT|INVENTORY|CHEST);
#g=1;
do;
ifmatches(%GUI%,CHAT|INVENTORY|CHEST);
else;
#g=0;
endif;
until(%#g%=0);
endif;
if(KEY_F4);
#msg=0;
LOG("&d[MACRO] &fAutoClick &eXP &6[Interrompido]");
LOG("&d[MACRO] &bPara continuar segure a tecla &fF4 &bpor instantes...");
wait(2);
do;
if(#msg=35);
LOG("&d[MACRO] &fAutoClick &eXP &6[Interrompido] &fF4 &bpara retomar...");
#msg=0;
else;
INC(#msg,1);
endif;
if(KEY_F4);
SET(resume);
endif;
wait(250ms);
until(resume);
UNSET(resume);
}$$/home mob$${
LOG("&d[MACRO] &fAutoClick &eXP &6[Retomado]");
slot(9);
wait(6);
endif;
ifmatches(%HITID%,50|51|52|54|59|90|92|93|96|57);
key(ATTACK);
INC(#cont,1);
endif;
wait(250ms);
until(#cont>=50);
GUI(inventory);
wait(1);
getslotitem(43,&id,#stack);
if((&id="diamond")|(&id="iron_ingot"));
#stack0=%#stack%;
else;
#stack0=0;
endif;
LOG("&d» &b[&f%#stack0%&b] Dimas/Ferros no inventario!!!");
getslotitem(35,&id,#stack);
if(#stack=0);
GUI();
else;
#macro_f_inv_analysis=2;
¯o_empty=air;
#bau=1;
#macro_full=0;
#macro_f_inv_analysis_aux=0;
#macro_teleport=0;
#macro_done=0;
do;
if(%#macro_teleport%=0);
echo("/home armazem");
wait(3);
keydown(jump);
wait(1);
keyup(jump);
wait(1);
#macro_teleport=1;
endif;
gui();
wait(800ms);
if(%#bau%=1);
look(West);
look(+62,30);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=2);
look(West);
look(+62,20);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=3);
look(West);
look(+62,+0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=4);
look(West);
look(+62,-10);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=5);
look(West);
look(+62,-25);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=6);
look(West);
look(+52,40);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=7);
look(West);
look(+52,20);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=8);
look(West);
look(+52,+0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=9);
look(West);
look(+52,-20);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=10);
look(West);
look(+52,-32);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=11);
look(West);
look(+32,50);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=12);
look(West);
look(+32,25);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=13);
look(West);
look(+32,0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=14);
look(West);
look(+32,-25);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=15);
look(West);
look(+32,-40);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=16);
look(West);
look(+0,55);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=17);
look(West);
look(+0,+32);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=18);
look(West);
look(+0,+0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=19);
look(West);
look(+0,-30);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=20);
look(West);
look(+0,-48);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=21);
look(West);
look(-32,50);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=22);
look(West);
look(-32,25);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=23);
look(West);
look(-32,0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=24);
look(West);
look(-32,-25);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=25);
look(West);
look(-32,-40);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=26);
look(West);
look(-50,40);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=27);
look(West);
look(-50,24);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=28);
look(West);
look(-50,0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=29);
look(West);
look(-50,-20);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=30);
look(West);
look(-50,-34);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=31);
look(West);
look(-61,32);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=32);
look(West);
look(-61,20);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=33);
look(West);
look(-61,0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=34);
look(West);
look(-61,-15);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=35);
look(West);
look(-61,-26);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=36);
look(East);
look(-61,32);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=37);
look(East);
look(-61,20);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=38);
look(East);
look(-61,0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=39);
look(East);
look(-61,-15);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=40);
look(East);
look(-61,-26);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=41);
look(East);
look(-50,40);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=42);
look(East);
look(-50,24);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=43);
look(East);
look(-50,0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=44);
look(East);
look(-50,-20);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=45);
look(East);
look(-50,-34);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=46);
look(East);
look(-32,50);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=47);
look(East);
look(-32,25);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=48);
look(East);
look(-32,0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=49);
look(East);
look(-32,-25);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=50);
look(East);
look(-32,-40);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=51);
look(East);
look(+0,55);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=52);
look(East);
look(+0,+32);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=53);
look(East);
look(+0,+0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=54);
look(East);
look(+0,-30);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=55);
look(East);
look(+0,-48);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=56);
look(East);
look(+32,50);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=57);
look(East);
look(+32,25);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=58);
look(East);
look(+32,0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=59);
look(East);
look(+32,-25);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=60);
look(East);
look(+32,-40);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=61);
look(East);
look(+52,40);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=62);
look(East);
look(+52,20);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=63);
look(East);
look(+52,+0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=64);
look(East);
look(+52,-20);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=65);
look(East);
look(+52,-32);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=66);
look(East);
look(+62,30);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=67);
look(East);
look(+62,20);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=68);
look(East);
look(+62,+0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=69);
look(East);
look(+62,-10);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=70);
look(East);
look(+62,-25);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
ifmatches(%&id%,%¯o_empty%);
#macro_done=1;
else;
inc(#bau);
if(%#bau%=71);
#macro_full=1;
#macro_f_inv_analysis_aux=0;
log("&a&l[Macro]&f Baús cheios! ");
endif;
endif;
wait(250ms);
key(use);
wait(2);
do;
ifmatches(%GUI%,CHEST);
#g=1;
else;
key(USE);
#g=0;
endif;
wait(100ms);
until(%#g%=1);
getslotitem(53,&id,#stack1);
if(#stack1!=0);
LOG("&d» &bBau[&f%#bau%&b] Cheio!!!");
INC(#bau,1);
endif;
if(#stack1=0);
LOG("&d» &bBau[&f%#bau%&b] Guardando...");
for(#i,54,80);
getslotitem(%#i%,&id,#stack);
if((&id="bone")|(&id="rotten_flesh")|(&id="iron_ingot")|(&id="gold_ingot")|(&id="gold_nugget")|(&id="string")|(&id="spider_eye")|(&id="bow")|(&id="potato")|(&id="carrot"));
slotclick(%#i%,l,true);
wait(50ms);
endif;
ifmatches(%&id%,"^(chainmail_)$*");
slotclick(%#i%,l,true);
wait(50ms);
endif;
next;
wait(100ms);
getslotitem(53,&id,#stack1);
if(#stack1!=0);
LOG("&d» &bBau[&f%#bau%&b] Cheio!!!");
INC(#bau,1);
endif;
endif;
until((%#stack1%=0)|(%#bau%=49));
wait(1);
PRESS(ESCAPE);
if(#bau=11);
LOG("&d[MACRO] &fAutoClick &eXP &c[OFF] &bBaus cheios!!! &c[Desligando...]");
LOG("&d[MACRO] &bEspada reparada &f%#repa% &bvezes!!!");
UNSET(autousing);
STOP();
endif;
wait(1);
look(%&b5%,0);
wait(250ms);
GUI(INVENTORY);
wait(1);
LOG("&d» &bLimpando Inventario...");
for(#i,9,35);
getslotitem(%#i%,&id,#stack);
ifmatches(%&id%,"^(arrow|chicken|golden_|iron_|leather_)$*");
slotclick(%#i%,l,false);
wait(100ms);
slotclick(-999);
wait(100ms);
endif;
next;
wait(1);
GUI();
endif;
}$$/home mob$${
LOOP;
endif;
}$$
CÓDIGOS NÃO VIP:
$${
if(autousing);
LOG("&d[MACRO] &fAutoClick &eXP &c[OFF]");
UNSET(autousing);
STOP();
else;
LOG("&d[MACRO] &fAutoClick &eXP &a[ON]");
LOG("&d[MACRO] &b&lPRENCHER A HOTBAR DE ESPADAS!!!");
LOG("&d[MACRO] &bPara pausar o macro segure a tecla F4 por instantes.");
SET(autousing);
&d=%DIRECTION%;
IFMATCHES(%&d%,N);
&d1=NORTH;
&b1=90;
&b2=120;
&b3=240;
&b4=270;
&b5=180;
endif;
IFMATCHES(%&d%,S);
&d1=SOUTH;
&b1=270;
&b2=300;
&b3=60;
&b4=90;
&b5=0;
endif;
IFMATCHES(%&d%,E);
&d1=EAST;
&b1=180;
&b2=210;
&b3=330;
&b4=0;
&b5=270;
endif;
IFMATCHES(%&d%,W);
&d1=WEST;
&b1=0;
&b2=30;
&b3=150;
&b4=180;
&b5=90;
endif;
#bau=1;
#repa=0;
#stack0=0;
DO;
#cont=0;
#espada=1;
slot(1);
do;
look(%&d1%);
look(,340);
if(%DURABILITY%<80);
if(%#espada%=9);log("&d&l[Macro] &b&lMatar mobs desativado.");
unset(autousing);
stop();
endif;
log("&d&l[Macro] &6 Durabilidade baixa, espada trocada...");
inc(#espada);
inventoryup(1);
wait(500ms);
endif;
if(%HEALTH%<4);
}$$/home$${
wait(6);
LOG("&d[MACRO] &fAutoClick &eXP &c[OFF] &f- &cVida Baixa!!!");
UNSET(autousing);
STOP();
endif;
ifmatches(%GUI%,CHAT|INVENTORY|CHEST);
#g=1;
do;
ifmatches(%GUI%,CHAT|INVENTORY|CHEST);
else;
#g=0;
endif;
until(%#g%=0);
endif;
if(KEY_F4);
#msg=0;
LOG("&d[MACRO] &fAutoClick &eXP &6[Interrompido]");
LOG("&d[MACRO] &bPara continuar segure a tecla &fF4 &bpor instantes...");
wait(3);
do;
if(#msg=35);
LOG("&d[MACRO] &fAutoClick &eXP &6[Interrompido] &fF4 &bpara retomar...");
#msg=0;
else;
INC(#msg,1);
endif;
if(KEY_F4);
SET(resume);
endif;
wait(250ms);
until(resume);
UNSET(resume);
}$$/home mob$${
wait(6);
LOG("&d[MACRO] &fAutoClick &eXP &6[Retomado]");
slot(9);
wait(6);
endif;
ifmatches(%HITID%,50|51|52|54|59|90|92|93|96|57);
key(ATTACK);
INC(#cont,1);
endif;
wait(250ms);
until(#cont>=50);
GUI(inventory);
wait(1);
getslotitem(43,&id,#stack);
if((&id="diamond")|(&id="iron_ingot"));
#stack0=%#stack%;
else;
#stack0=0;
endif;
getslotitem(35,&id,#stack);
if(#stack=0);
GUI();
else;
#macro_f_inv_analysis=2;
¯o_empty=air;
#bau=1;
#macro_full=0;
#macro_f_inv_analysis_aux=0;
#macro_teleport=0;
#macro_done=0;
do;
if(%#macro_teleport%=0);
echo("/home armazem");
wait(10);
keydown(jump);
wait(1);
keyup(jump);
wait(1);
#macro_teleport=1;
endif;
gui();
wait(800ms);
if(%#bau%=1);
look(West);
look(+62,30);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=2);
look(West);
look(+62,20);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=3);
look(West);
look(+62,+0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=4);
look(West);
look(+62,-10);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=5);
look(West);
look(+62,-25);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=6);
look(West);
look(+52,40);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=7);
look(West);
look(+52,20);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=8);
look(West);
look(+52,+0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=9);
look(West);
look(+52,-20);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=10);
look(West);
look(+52,-32);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=11);
look(West);
look(+32,50);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=12);
look(West);
look(+32,25);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=13);
look(West);
look(+32,0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=14);
look(West);
look(+32,-25);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=15);
look(West);
look(+32,-40);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=16);
look(West);
look(+0,55);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=17);
look(West);
look(+0,+32);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=18);
look(West);
look(+0,+0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=19);
look(West);
look(+0,-30);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=20);
look(West);
look(+0,-48);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=21);
look(West);
look(-32,50);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=22);
look(West);
look(-32,25);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=23);
look(West);
look(-32,0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=24);
look(West);
look(-32,-25);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=25);
look(West);
look(-32,-40);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=26);
look(West);
look(-50,40);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=27);
look(West);
look(-50,24);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=28);
look(West);
look(-50,0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=29);
look(West);
look(-50,-20);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=30);
look(West);
look(-50,-34);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=31);
look(West);
look(-61,32);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=32);
look(West);
look(-61,20);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=33);
look(West);
look(-61,0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=34);
look(West);
look(-61,-15);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=35);
look(West);
look(-61,-26);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=36);
look(East);
look(-61,32);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=37);
look(East);
look(-61,20);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=38);
look(East);
look(-61,0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=39);
look(East);
look(-61,-15);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=40);
look(East);
look(-61,-26);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=41);
look(East);
look(-50,40);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=42);
look(East);
look(-50,24);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=43);
look(East);
look(-50,0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=44);
look(East);
look(-50,-20);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=45);
look(East);
look(-50,-34);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=46);
look(East);
look(-32,50);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=47);
look(East);
look(-32,25);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=48);
look(East);
look(-32,0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=49);
look(East);
look(-32,-25);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=50);
look(East);
look(-32,-40);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=51);
look(East);
look(+0,55);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=52);
look(East);
look(+0,+32);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=53);
look(East);
look(+0,+0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=54);
look(East);
look(+0,-30);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=55);
look(East);
look(+0,-48);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=56);
look(East);
look(+32,50);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=57);
look(East);
look(+32,25);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=58);
look(East);
look(+32,0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=59);
look(East);
look(+32,-25);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=60);
look(East);
look(+32,-40);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=61);
look(East);
look(+52,40);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=62);
look(East);
look(+52,20);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=63);
look(East);
look(+52,+0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=64);
look(East);
look(+52,-20);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=65);
look(East);
look(+52,-32);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=66);
look(East);
look(+62,30);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=67);
look(East);
look(+62,20);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=68);
look(East);
look(+62,+0);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=69);
look(East);
look(+62,-10);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
if(%#bau%=70);
look(East);
look(+62,-25);
log("&a&l[Macro]&e Bau %#bau% ");
wait(500ms);
endif;
ifmatches(%&id%,%¯o_empty%);
#macro_done=1;
else;
inc(#bau);
if(%#bau%=71);
#macro_full=1;
#macro_f_inv_analysis_aux=0;
log("&a&l[Macro]&f Baús cheios! ");
endif;
endif;
wait(250ms);
key(use);
wait(2);
do;
ifmatches(%GUI%,CHEST);
#g=1;
else;
key(USE);
#g=0;
endif;
wait(100ms);
until(%#g%=1);
getslotitem(53,&id,#stack1);
if(#stack1!=0);
LOG("&d» &bBau[&f%#bau%&b] Cheio!!!");
INC(#bau,1);
endif;
if(#stack1=0);
LOG("&d» &bBau[&f%#bau%&b] Guardando...");
for(#i,54,80);
getslotitem(%#i%,&id,#stack);
if((&id="bone")|(&id="rotten_flesh")|(&id="iron_ingot")|(&id="gold_ingot")|(&id="gold_nugget")|(&id="string")|(&id="spider_eye")|(&id="bow")|(&id="potato")|(&id="carrot"));
slotclick(%#i%,l,true);
wait(50ms);
endif;
ifmatches(%&id%,"^(chainmail_)$*");
slotclick(%#i%,l,true);
wait(50ms);
endif;
next;
wait(100ms);
getslotitem(53,&id,#stack1);
if(#stack1!=0);
LOG("&d» &bBau[&f%#bau%&b] Cheio!!!");
INC(#bau,1);
endif;
endif;
until((%#stack1%=0)|(%#bau%=70));
wait(1);
PRESS(ESCAPE);
if(#bau=11);
LOG("&d[MACRO] &fAutoClick &eXP &c[OFF] &bBaus cheios!!! &c[Desligando...]");
UNSET(autousing);
STOP();
endif;
wait(1);
look(%&b5%,0);
wait(250ms);
GUI(INVENTORY);
wait(1);
LOG("&d» &bLimpando Inventario...");
for(#i,9,35);
getslotitem(%#i%,&id,#stack);
ifmatches(%&id%,"(arrow|chicken|golden_|iron_|leather_|cobblestone|stone_))$*");
slotclick(%#i%,l,false);
wait(100ms);
slotclick(-999);
wait(100ms);
endif;
next;
wait(1);
GUI();
endif;
}$$/home mob$${
wait(6);
keydown(jump);
wait(1);
keyup(jump);
wait(1);
log("&a&l[Macro]&e Armazenamento finalizado. &c<3");
wait(100ms);
endif;
else;
if(%#macro_full%=1);
log("&a&l[Macro]&f Baús cheios! &c<3");
else;
inc(#macro_f_inv_analysis_aux);
endif;
endif;
LOOP;
endif;
}$$
Créditos:
([member=balashark])
([member=ernanik])
(Homeless)
Bugs:
[hr]
ChangeLog:
13/10/15 - Testado na versão 1.8 e funcionando.
26/10/15 - Código atualizado para o PROPANO
26/10/15 - Arrumado erro de ortografia
27/10/15 - Corrigido código AutoLogin
28/10/15 - Adicionado tutorial para novatos
28/10/15 - Código para não VIP's criado!