este Macro é uma edit do felipesferreiras, portanto, o jeito de instalar e usar, é exatamente igual.
e uma parte de uma edit do [member=substituto]
[hr]
o macro está em teste, qualquer bug/erro me mande mp por favor.
[hr]
O que ele faz?
-Este código mata os mobs que estiverem a sua frente;
-Repara sua espada quando estiver com 70 usos restantes;
-Guarda as carnes pobres, ouro e pepitas em homes por bau, que você pode adicionar
quantos quiser.
Especifica mais como ele guarda? E é diferente em que do outro?
-Quando seu inventário estiver cheio, ele vai automaticamente na home que você marcou, olha para trás, joga as espadas de ouro fora,
guarda os itens, e volta para o mob
=Sem ter risco de guarda a espada e os dimas, pois ele não guarda os slots 8 e 9 da hotbar
e para players não vip ele não guarda os itens de toda a hotbar.
- ao chegar no bau, ele olha para trás e joga as espadas de ouro fora.
Espero que comente se o Macro funcionou ou não, aliais é um teste.
O código:
-Para VIPs:
$${
if(sword1);
log("&5[&aMACRO&5][&bESPADA OFF&5].");
unset(sword1);
stop();
else;
log("&5[&aMACRO&5][&bESPADA ON&5].");
set(sword1);
&dir = %DIRECTION%;
#bau=1;
set(nf);
ifmatches(%&dir%,N);&dir=NORTH;endif;
ifmatches(%&dir%,S);&dir=SOUTH;endif;
ifmatches(%&dir%,E);&dir=EAST;endif;
ifmatches(%&dir%,W);&dir=WEST;endif;
do;
pick(276);
if(%DURABILITY%<70);
look(0,90);
log("&4[Macro] &6 Durabilidade baixa, reparando...");
wait(500ms);
key(use);
wait(500ms);
key(use);}$$
/pvp off
$${log("&4[Macro] &6 Espada reparada!");
endif;
do(50);
look(%&dir%);
look(,-10);
wait(200ms);
key(attack);
loop;
if(nf);
wait(1);
gui(inventory);
wait(1);
getslotitem(35,#id,#stack);
if(%#stack%=0);
gui();
else;
do;
wait(1);}$$
$${if(%#bau%=1);}$$
/home bau1
$${endif;}$$
$${if(%#bau%=2);}$$
/home bau2
$${endif;}$$
$${if(%#bau%=3);}$$
/home bau3
$${endif;}$$
$${if(%#bau%=4);}$$
/home bau4
$${endif;}$$
$${if(%#bau%=5);}$$
/home bau5
$${endif;}$$
$${if(%#bau%=6);}$$
/home bau6
$${endif;}$$
$${if(%#bau%=7);}$$
/home bau7
$${endif;}$$
$${if(%#bau%=8);}$$
/home bau8
$${endif;}$$
$${if(%#bau%=9);}$$
/home bau9
$${endif;}$$
$${wait(7);
wait(1);
LOOK(+180,);
gui(inventory);
wait(1);
FOR(#u,9,44);
GETSLOTITEM(%#u%,#idu,#stacku);
IF(%#idu%=283);
SLOTCLICK(%#u%);
SLOTCLICK(-999);
ENDIF;
NEXT;
LOOK(+180,);
wait(1);
key(use);
wait(1);
for(#i,54,87);
slotclick(%#i%,l,true);
wait(30ms);
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau);
endif;
if(%#bau%=9);
unset(nf);
log("&4[Macro] &6Baús cheios! Apenas matará mobs agora.");
gui();
else;
gui();
endif;
until(%#stack%=0);}$$
/home matarmobs
$${
wait(7);
endif;
endif;
loop;
endif;
}$$
-Para Não-VIPs:
$${
if(sword1);
log("&5[&aMACRO&5][&bESPADA OFF&5].");
unset(sword1);
stop();
else;
log("&5[&aMACRO&5][&bESPADA ON&5].");
set(sword1);
&dir = %DIRECTION%;
#bau=1;
set(nf);
ifmatches(%&dir%,N);&dir=NORTH;endif;
ifmatches(%&dir%,S);&dir=SOUTH;endif;
ifmatches(%&dir%,E);&dir=EAST;endif;
ifmatches(%&dir%,W);&dir=WEST;endif;
do;
pick(276);
#esp=1;
do;
slot(%#esp%);
key(attack);
wait(10ms);
if(%DURABILITY% <70);
inc(#esp,1);
if(%#esp%=10);
unset(tr);
stop;
endif;
endif;
endif;
do(50);
look(%&dir%);
look(,-10);
wait(200ms);
key(attack);
loop;
if(nf);
wait(1);
gui(inventory);
wait(1);
getslotitem(35,#id,#stack);
if(%#stack%=0);
gui();
else;
do;
wait(1);}$$
$${if(%#bau%=1);}$$
/home bau1
$${endif;}$$
$${if(%#bau%=2);}$$
/home bau2
$${endif;}$$
$${if(%#bau%=3);}$$
/home bau3
$${endif;}$$
$${if(%#bau%=4);}$$
/home bau4
$${endif;}$$
$${if(%#bau%=5);}$$
/home bau5
$${endif;}$$
$${if(%#bau%=6);}$$
/home bau6
$${endif;}$$
$${if(%#bau%=7);}$$
/home bau7
$${endif;}$$
$${if(%#bau%=8);}$$
/home bau8
$${endif;}$$
$${if(%#bau%=9);}$$
/home bau9
$${endif;}$$
$${wait(7);
wait(1);
LOOK(+180,);
gui(inventory);
wait(1);
FOR(#u,9,44);
GETSLOTITEM(%#u%,#idu,#stacku);
IF(%#idu%=283);
SLOTCLICK(%#u%);
SLOTCLICK(-999);
ENDIF;
NEXT;
LOOK(+180,);
wait(1);
key(use);
wait(1);
for(#i,54,80);
slotclick(%#i%,l,true);
wait(30ms);
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau);
endif;
if(%#bau%=9);
unset(nf);
log("&4[Macro] &6Baús cheios! Apenas matará mobs agora.");
gui();
else;
gui();
endif;
until(%#stack%=0);}$$
/home matarmobs
$${
wait(7);
endif;
endif;
loop;
endif;
}$$
[hr]
Créditos a [member=Felipesferreira] por ter feito praticamente toda a macro.
e a [member=Substituto] Por uma pequena luz.