Este é um macro pra NÃO VIP venderem suas canas.
O macro foi desenvolvido para os que usam o macro Mega Fazendeiro (Nugou)
O macro venderá 5 baus por home (1 fileira) e serão necessários 1 sethome por fileira.
Set as homes nos baus assim:
O máximo de fileiras por vez são 5.
E a home para vender olhando para o agricultor (/sethome vender).
Código:
$${
if(macrodcana);
log("&d[VENDER CANAS] &2 Seu Macro Parou. &5<>");
unset(macrodcana);
stop();
else;
#cana=1;
log("&d[VENDER CANAS] &2 Seu Macro Iniciou .&5<>");
set(macrodcana);
do;
do;
if(%#cana%=1);}$$
/home canabau
$${wait(8);}$$
$${look(,-62);}$$
$${endif;}$$
$${if(%#cana%=2);}$$
/home canabau
$${wait(8);
look(,-50);}$$
$${endif;}$$
$${if(%#cana%=3);}$$
/home canabau
$${wait(8);
look(,-25);}$$
$${endif;}$$
$${if(%#cana%=4);}$$
/home canabau
$${wait(8);
look(,0);}$$
$${endif;}$$
$${if(%#cana%=5);}$$
/home canabau
$${wait(8);
look(,35);}$$
$${endif;}$$
$${if(%#cana%=6);}$$
/home canabau2
$${wait(8);}$$
$${look(,-62);}$$
$${endif;}$$
$${if(%#cana%=7);}$$
/home canabau2
$${wait(8);}$$
$${look(,-50);}$$
$${endif;}$$
$${if(%#cana%=8);}$$
/home canabau2
$${wait(8);}$$
$${look(,-25);}$$
$${endif;}$$
$${if(%#cana%=9);}$$
/home canabau2
$${wait(8);}$$
$${look(,0);}$$
$${endif;}$$
$${if(%#cana%=10);}$$
/home canabau2
$${wait(8);}$$
$${look(,35);}$$
$${endif;}$$
$${if(%#cana%=11);}$$
/home canabau3
$${wait(8);}$$
$${look(,-62);}$$
$${endif;}$$
$${if(%#cana%=12);}$$
/home canabau3
$${wait(8);}$$
$${look(,-50);}$$
$${endif;}$$
$${if(%#cana%=13);}$$
/home canabau3
$${wait(8);}$$
$${look(,-25);}$$
$${endif;}$$
$${if(%#cana%=14);}$$
/home canabau3
$${wait(8);}$$
$${look(,0);}$$
$${endif;}$$
$${if(%#cana%=15);}$$
/home canabau3
$${wait(8);}$$
$${look(,35);}$$
$${endif;}$$
$${if(%#cana%=16);}$$
/home canabau4
$${wait(8);}$$
$${look(,-62);}$$
$${endif;}$$
$${if(%#cana%=17);}$$
/home canabau4
$${wait(8);}$$
$${look(,-50);}$$
$${endif;}$$
$${if(%#cana%=18);}$$
/home canabau4
$${wait(8);}$$
$${look(,-25);}$$
$${endif;}$$
$${if(%#cana%=19);}$$
/home canabau4
$${wait(8);}$$
$${look(,0);}$$
$${endif;}$$
$${if(%#cana%=20);}$$
/home canabau4
$${wait(8);}$$
$${look(,35);}$$
$${endif;}$$
$${if(%#cana%=21);}$$
/home canabau5
$${wait(8);}$$
$${look(,-62);}$$
$${endif;}$$
$${if(%#cana%=22);}$$
/home canabau5
$${wait(8);}$$
$${look(,-50);}$$
$${endif;}$$
$${if(%#cana%=23);}$$
/home canabau5
$${wait(8);}$$
$${look(,-25);}$$
$${endif;}$$
$${if(%#cana%=24);}$$
/home canabau5
$${wait(8);}$$
$${look(,0);}$$
$${endif;}$$
$${if(%#cana%=25);}$$
/home canabau5
$${wait(8);}$$
$${look(,35);}$$
$${endif;}$$
$${if(%#cana%=26);
log("&d[VENDER CANAS] &2 Seu Macro Parou. &5<>");
log("&d[VENDER CANAS] &2 Acabo os baus!");
unset(macrodcana);
unset(oioi);
keyup(forward);
keyup(left);
stop;
endif;
wait(3);
key(use);
wait(3);
for(#bau132,0,53);
slotclick(%#bau132%,l,true);
wait(120ms);
next;
getslotitem(53,#id,#stack1);
getslotitem(54,#id1,#stack);
wait(200ms);
gui();
if(%#stack1%=0);
inc(#cana);
#return=0;
else;
#return=1;
endif;
if(%#stack%=64);
#return=1;
endif;
if(%#cana%>20);
#return=1;
endif;
until(%#return%);
}$$
/home vender
$${
wait(10);
do(3);keydown(jump);wait(5t);loop;
keyup(jump);
wait(1);
key(use);wait(1);key(use);wait(1);
do(10);
slotclick(16,l,true);
wait(500ms);
loop;
loop;
endif;
}$$
PS: Tome cuidado com sua fome e vida, se a vida estiver menor que 5 corações não ira teleportar para as homes e bugará.
PS²: Não sou um "expert" em macros, sei o básico, então essa é uma macro bem básica, me inspirei em uma que tem no forum de vender fungos.