Macro esc

Bem-vindo!

Ao se registrar conosco, você poderá discutir, compartilhar e enviar mensagens privadas com outros membros da nossa comunidade.

Inscreva-se agora!
Status
Não está aberto para novas respostas.

Pescandouro

Excelente
VIP
Entrou
Ago 22, 2018
Mensagens
1,486
Cubos
0
Olá, queria saber se alguem possuí macro de escavação para 1.5.2 (Asgard) que:

-Continue trabalhando dps q o sv reinicia, que nem a sleepmobkill faz;
-Guarde os drops pegos em baus com homes especificas.
-Repare
-De para configurar delay de olhar inv e itens que iremos utilizar para escavar e reparar.

De momento estou usando a macro do srbluuues que executa tudo isso, exceto 1 coisa, depois que sv reinicia, ela desliga e não volta + a upar, se não formos nos a ligar ela.

Caso alguem saiba editar macros, estarei deixando o codigo dela para que, se possivel, deixa ela apta a continuar a upar depois que servidor reinicia.

$${

if(cav);
unset(cav);
log( );
log("&d&l[MACRO] Cava-Cava &4(OFF) &f- &aAproximadamente &a%#exp% de EXP.");
log( );

unset(@cav);
stop();

else;
set(cav);
log( );
log("&d&l[MACRO] Cava-Cava &2(ON)");
log( );

set(@cav);

IFMATCHES(%DIRECTION%,N);
&near = NORTH;
ENDIF;
IFMATCHES(%DIRECTION%,S);
&near = SOUTH;
ENDIF;
IFMATCHES(%DIRECTION%,W);
&near = WEST;
ENDIF;
IFMATCHES(%DIRECTION%,E);
&near = EAST;
ENDIF;


#exp = 0;
#bau = 1;

PROMPT(&bloco,$$i, Que bloco usará para cavar?);
PROMPT(&pa,$$i, Que tipo de pá irá ser usada?);
PROMPT(#rep,$$i, Qual o material usado na reparação da sua pá?);
PROMPT(#dur,$$?, Em qual durabilidade você quer reparar sua pá?);
PROMPT(&del,$$?, Qual delay para verificar o Inventário? Recomendado: 140 - 250);
PROMPT(&quebrar,$$?, Qual delay para quebrar os blocos? Recomendado: 1 para pá eff4 - aumente o valor se o bloco nâo quebrar!);

#dur=%#dur%;
#repq=0;

look(%&near%);
look(,55);

set(cav2);

do;
do(%&del%);
pick(%&bloco%);
key(use);
wait(2ms);
pick(%&pa%);

if(%DURABILITY%<%#dur%);
gui(inventory);
for(#i,9,45);
getslotitem(%#i%,#id,#stack1);
if(%#id%=%#rep%);
#repq=%#repq%+%#stack1%;
endif;
next;
wait(1);
gui();

if(%#repq%=0);

log( );
log("&d&l[MACRO] Cava-Cava &4(OFF) &dNão pôde reparar &f- &aAproximadamente &a%#exp% de EXP.");
log( );

unset(cav);
unset(cav2);
stop();

else(%#repq%>0%);
look(%&near%);
look(,90);
wait(500ms);
key(use);
wait(500ms);
#repq=0;
endif;endif;

endif;

look(%&near%);
look(,55);
do(%&quebrar%);
key(attack);
loop;
inc(#exp, 2);
loop;


if(cav2);
gui(inventory);
wait(1);
getslotitem(35,#id,#stack);
if(%#stack%=0);
gui();
else;
do;
wait(1);

}$$


$${if(%#bau%=1);}$$
/home esc1
$${endif;}$$
$${if(%#bau%=2);}$$
/home esc2
$${endif;}$$
$${if(%#bau%=3);}$$
/home esc3
$${endif;}$$
$${if(%#bau%=4);}$$
/home esc4
$${endif;}$$
$${if(%#bau%=5);}$$
/home esc5
$${endif;}$$
$${if(%#bau%=6);}$$
/home esc6
$${endif;}$$
$${if(%#bau%=7);}$$
/home esc7
$${endif;}$$
$${if(%#bau%=8);}$$
/home esc8
$${endif;}$$
$${if(%#bau%=9);}$$
/home esc9
$${endif;}$$
$${if(%#bau%=10);}$$
/home esc10
$${endif;}$$



$${

wait(5);
key(use);
wait(1);
for(#i,54,80);
slotclick(%#i%,l,true);
wait(15ms);
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);inc(#bau);

endif;
if(%#bau%=11);
unset(cav2);
log(&d&l[MACRO] Cava-Cava &b"Baús cheios! Voltando a escavar.");
gui();
else;
gui();
endif;
until(%#stack%=0);

}$$

/home macroesc

$${
wait(2);
endif;
endif;
loop;
endif;
}$$?
 
Se descobrir uma boa passa por mp tbm estou precisando. Todas as minhas bugam quando o serv reinicia.
 
eu uso uma que se nao me engano e do mrbluees.. algo assim o nome dele.

nunca tive problema com o macro.


$${

if(cav);
unset(cav);
log( );
log("&6&l[MACRO] &3&Escavacao organizada V1.0 &4(OFF) &f- &aAproximadamente &a%#exp% de EXP.");
log( );

unset(@cav);
stop();

else;
set(cav);
log( );
log("&6&l[MACRO] &3&lEscavacao organizada V1.0 &2(ON)");
log( );

set(@cav);

IFMATCHES(%DIRECTION%,N);
&near = NORTH;
ENDIF;
IFMATCHES(%DIRECTION%,S);
&near = SOUTH;
ENDIF;
IFMATCHES(%DIRECTION%,W);
&near = WEST;
ENDIF;
IFMATCHES(%DIRECTION%,E);
&near = EAST;
ENDIF;
ACHIEVEMENTGET(Macro iniciado by elissonS2,277);
#frente1=1;
#frente2=1;
#frente3=1;
#frente4=1;
#bau1=1;
#bau2=1;
#bau3=1;
#bau4=1;
#bau5=1;
#exp=0;
PROMPT(#bloco,$$i, Que bloco usara para cavar?);
PROMPT(#pa,$$i, Que tipo de pa ira ser usada?);
PROMPT(#rep,$$i, Qual o material usado na reparacao da sua pa?);
PROMPT(#dur,$$?, Em qual durabilidade voce quer reparar sua pa?);
ACHIEVEMENTGET(Macro iniciado by elissonS2,277);
PROMPT(#del,$$?, Qual delay para verificar o Inventario? Recomendado: 140 - 250);
PROMPT(#vel,$$?, Qual delay para quebrar os blocos? 1 = rapido | acima de 1 = diminuir a velociade);
PROMPT(#nivel,$$?, Qual seu nivel de escavacao? 1 = menor que 350 | 2 = MAIOR ou iqual a 350);
ACHIEVEMENTGET(Macro iniciado by elissonS2,277);
PROMPT(#conj,$$?, Quantos conjuntos de baus voce ira usar: maximo 10);
#dur=%#dur%;
#repq=0;
inc(#conj,1);
look(%&near%);
look(,55);
set(cav2);


//selecionando bloco a grauda

&line5="^264$|^387$";
if(%#bloco%=12);
&line1="^348$";
&line2="^2267$";
&line3="^88$";
&line4="^354$";
endif;
if(%#bloco%=13);
&line1="^289$";
&line2="^352$";
&line3="^2267$";
&line4="^88$|^354$|^87$";
endif;
if(%#bloco%=82);
&line1="^341$";
&line2="^2267$";
&line3="^287$";
&line4="^374$|^325$|^88$|^354$|^30$";
endif;
if(%#bloco%=2)
log( );
log("&6&l[VIP] &3&lEscavacao organizada V1 &4(OFF) &dbloco Incompativel.");
log( );
unset(@cav);
unset(cav);
unset(cav2);
stop();
endif;
if(%#bloco%=3)
log( );
log("&6&l[VIP] &3&lEscavacao organizada V1 &4(OFF) &dbloco Incompativel.");
log( );
unset(@cav);
unset(cav);
unset(cav2);
stop();
endif;
if(%#bloco%=3:2)
log( );
log("&6&l[VIP] &3&lEscavacao organizada V1 &4(OFF) &dbloco Incompativel.");
log( );
unset(@cav);
unset(cav);
unset(cav2);
stop();
endif;
if(%#bloco%=88)
log( );
log("&6&l[VIP] &3&lEscavacao organizada V1 &4(OFF) &dbloco Incompativel.");
log( );
unset(@cav);
unset(cav);
unset(cav2);
stop();
endif;

//colocando e quebrando o bloco
//inicio do loop

do;
do(%#del%);
ACHIEVEMENTGET(Aproximadamente %#exp% xp,277);
pick(%#bloco%);
key(use);
wait(%#vel%ms);
pick(%#pa%);

//checando durabilidade

if(%DURABILITY%<%#dur%);
gui(inventory);
for(#i,9,45);
getslotitem(%#i%,#id,#stack1);
if(%#id%=%#rep%);
#repq=%#repq%+%#stack1%;
endif;
next;
wait(1);
gui();

if(%#repq%=0);
if(%#nivel%=1);
log( );
log("&6&l[VIP] &3&lEscavacao organizada V1 &4(OFF) &dNao pode reparar &f- &aAproximadamente &a%#exp% de EXP.");
log( );
unset(@cav);
unset(cav);
unset(cav2);
stop();
else;
log( );
log("&6&l[VIP] &3&lEscavacao organizada V1 &4(ON) &dAlgo de errado com seus dimas detectado tentando reparar.");
log( )
wait(2);
endif;
else(%#repq%>0%);
#repq=0;
look(%&near%);
look(,90);
key(use);
wait(2);
#repq=0;
endif;
endif;

look(%&near%);
look(,55);
key(attack);
inc(#exp, 1);
loop;


if(cav2);
gui(inventory);
wait(500ms);
getslotitem(35,#id,#stack);
wait(200ms);
if(%#stack%=0);
gui();
else;
wait(1);

//guardando primeiro item


if(%#frente1%=1);
}$$/home esc1$${
endif;
if(%#frente1%=2);
}$$/home esc12$${
endif;
if(%#frente1%=3);
}$$/home esc13$${
endif;
if(%#frente1%=4);
}$$/home esc14$${
endif;
if(%#frente1%=5);
}$$/home esc15$${
endif;
if(%#frente1%=6);
}$$/home esc16$${
endif;
if(%#frente1%=7);
}$$/home esc17$${
endif;
if(%#frente1%=8);
}$$/home esc18$${
endif;
if(%#frente1%=9);
}$$/home esc19$${
endif;
if(%#frente1%=10);
}$$/home esc10$${
endif;

if(%#bau1%=1);
wait(2);
look(,313);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line1%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau1,1);
endif;
endif;

if(%#bau1%=2);
wait(2);
gui();
look(,330);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line1%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau1,1);
endif;
endif;

if(%#bau1%=3);
wait(2);
gui();
look(,0);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line1%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau1,1);
endif;
endif;

if(%#bau1%=4);
wait(2);
gui();
look(,33);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line1%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#frente1,1);
#bau1=1;
endif;
endif;

//guardando segundo item


if(%#frente2%=1);
}$$/home esc2$${
endif;
if(%#frente2%=2);
}$$/home esc22$${
endif;
if(%#frente2%=3);
}$$/home esc23$${
endif;
if(%#frente2%=4);
}$$/home esc24$${
endif;
if(%#frente2%=5);
}$$/home esc25$${
endif;
if(%#frente2%=6);
}$$/home esc26$${
endif;
if(%#frente2%=7);
}$$/home esc27$${
endif;
if(%#frente2%=8);
}$$/home esc28$${
endif;
if(%#frente2%=9);
}$$/home esc29$${
endif;
if(%#frente2%=10);
}$$/home esc20$${
endif;

if(%#bau2%=1);
wait(2);
look(,313);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line2%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau2,1);
endif;
endif;

if(%#bau2%=2);
wait(2);
gui();
look(,330);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line2%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau2,1);
endif;
endif;

if(%#bau2%=3);
wait(2);
gui();
look(,0);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line2%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau2,1);
endif;
endif;

if(%#bau2%=4);
wait(2);
gui();
look(,33);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line2%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#frente2,1);
#bau2=1;
endif;
endif;

//guardando terceiro item


if(%#frente3%=1);
}$$/home esc3$${
endif;
if(%#frente3%=2);
}$$/home esc32$${
endif;
if(%#frente3%=3);
}$$/home esc33$${
endif;
if(%#frente3%=4);
}$$/home esc34$${
endif;
if(%#frente3%=5);
}$$/home esc35$${
endif;
if(%#frente3%=6);
}$$/home esc36$${
endif;
if(%#frente3%=7);
}$$/home esc37$${
endif;
if(%#frente3%=8);
}$$/home esc38$${
endif;
if(%#frente3%=9);
}$$/home esc39$${
endif;
if(%#frente3%=10);
}$$/home esc30$${
endif;

if(%#bau3%=1);
wait(2);
look(,313);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line3%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau3,1);
endif;
endif;

if(%#bau3%=2);
wait(2);
gui();
look(,330);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line3%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau3,1);
endif;
endif;

if(%#bau3%=3);
wait(2);
gui();
look(,0);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line3%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau3,1);
endif;
endif;

if(%#bau3%=4);
wait(2);
gui();
look(,33);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line3%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#frente3,1);
#bau3=1;
endif;
endif;

//guardando quarto item


if(%#frente4%=1);
}$$/home esc4$${
endif;
if(%#frente4%=2);
}$$/home esc42$${
endif;
if(%#frente4%=3);
}$$/home esc43$${
endif;
if(%#frente4%=4);
}$$/home esc44$${
endif;
if(%#frente4%=5);
}$$/home esc45$${
endif;
if(%#frente4%=6);
}$$/home esc46$${
endif;
if(%#frente4%=7);
}$$/home esc47$${
endif;
if(%#frente4%=8);
}$$/home esc48$${
endif;
if(%#frente4%=9);
}$$/home esc49$${
endif;
if(%#frente4%=10);
}$$/home esc40$${
endif;

if(%#bau4%=1);
wait(2);
look(,313);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line4%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau4,1);
endif;
endif;

if(%#bau4%=2);
wait(2);
gui();
look(,330);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line4%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau4,1);
endif;
endif;

if(%#bau4%=3);
wait(2);
gui();
look(,0);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line4%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau4,1);
endif;
endif;

if(%#bau4%=4);
wait(2);
gui();
look(,33);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line4%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#frente4,1);
#bau4=1;
endif;
endif;


//guardando quinto item

}$$
/home esc5
$${
if(%#bau5%=1);
wait(2);
key(use);
wait(1);
for(#slotn,54,80);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line5%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau5,1);
endif;
endif;

if(%#bau5%=2);
wait(2);
look(,0);
key(use);
wait(1);
for(#slotn,54,80);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line5%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau5,1);
endif;
endif;

}$$

/home escavar

$${
wait(1);
endif;
endif;


gui(inventory);
wait(200ms);
for(#slot,9,35);
GETSLOTITEM(%#slot%,#id,#stack);
if((%#id%=%#pa%) || (%#id%=%#bloco%));
slotclick(%#slot%,l,true);wait(30ms);
endif;
next;
gui();

loop;
endif;
}$$
 
eu uso uma que se nao me engano e do mrbluees.. algo assim o nome dele.

nunca tive problema com o macro.


$${

if(cav);
unset(cav);
log( );
log("&6&l[MACRO] &3&Escavacao organizada V1.0 &4(OFF) &f- &aAproximadamente &a%#exp% de EXP.");
log( );

unset(@cav);
stop();

else;
set(cav);
log( );
log("&6&l[MACRO] &3&lEscavacao organizada V1.0 &2(ON)");
log( );

set(@cav);

IFMATCHES(%DIRECTION%,N);
&near = NORTH;
ENDIF;
IFMATCHES(%DIRECTION%,S);
&near = SOUTH;
ENDIF;
IFMATCHES(%DIRECTION%,W);
&near = WEST;
ENDIF;
IFMATCHES(%DIRECTION%,E);
&near = EAST;
ENDIF;
ACHIEVEMENTGET(Macro iniciado by elissonS2,277);
#frente1=1;
#frente2=1;
#frente3=1;
#frente4=1;
#bau1=1;
#bau2=1;
#bau3=1;
#bau4=1;
#bau5=1;
#exp=0;
PROMPT(#bloco,$$i, Que bloco usara para cavar?);
PROMPT(#pa,$$i, Que tipo de pa ira ser usada?);
PROMPT(#rep,$$i, Qual o material usado na reparacao da sua pa?);
PROMPT(#dur,$$?, Em qual durabilidade voce quer reparar sua pa?);
ACHIEVEMENTGET(Macro iniciado by elissonS2,277);
PROMPT(#del,$$?, Qual delay para verificar o Inventario? Recomendado: 140 - 250);
PROMPT(#vel,$$?, Qual delay para quebrar os blocos? 1 = rapido | acima de 1 = diminuir a velociade);
PROMPT(#nivel,$$?, Qual seu nivel de escavacao? 1 = menor que 350 | 2 = MAIOR ou iqual a 350);
ACHIEVEMENTGET(Macro iniciado by elissonS2,277);
PROMPT(#conj,$$?, Quantos conjuntos de baus voce ira usar: maximo 10);
#dur=%#dur%;
#repq=0;
inc(#conj,1);
look(%&near%);
look(,55);
set(cav2);


//selecionando bloco a grauda

&line5="^264$|^387$";
if(%#bloco%=12);
&line1="^348$";
&line2="^2267$";
&line3="^88$";
&line4="^354$";
endif;
if(%#bloco%=13);
&line1="^289$";
&line2="^352$";
&line3="^2267$";
&line4="^88$|^354$|^87$";
endif;
if(%#bloco%=82);
&line1="^341$";
&line2="^2267$";
&line3="^287$";
&line4="^374$|^325$|^88$|^354$|^30$";
endif;
if(%#bloco%=2)
log( );
log("&6&l[VIP] &3&lEscavacao organizada V1 &4(OFF) &dbloco Incompativel.");
log( );
unset(@cav);
unset(cav);
unset(cav2);
stop();
endif;
if(%#bloco%=3)
log( );
log("&6&l[VIP] &3&lEscavacao organizada V1 &4(OFF) &dbloco Incompativel.");
log( );
unset(@cav);
unset(cav);
unset(cav2);
stop();
endif;
if(%#bloco%=3:2)
log( );
log("&6&l[VIP] &3&lEscavacao organizada V1 &4(OFF) &dbloco Incompativel.");
log( );
unset(@cav);
unset(cav);
unset(cav2);
stop();
endif;
if(%#bloco%=88)
log( );
log("&6&l[VIP] &3&lEscavacao organizada V1 &4(OFF) &dbloco Incompativel.");
log( );
unset(@cav);
unset(cav);
unset(cav2);
stop();
endif;

//colocando e quebrando o bloco
//inicio do loop

do;
do(%#del%);
ACHIEVEMENTGET(Aproximadamente %#exp% xp,277);
pick(%#bloco%);
key(use);
wait(%#vel%ms);
pick(%#pa%);

//checando durabilidade

if(%DURABILITY%<%#dur%);
gui(inventory);
for(#i,9,45);
getslotitem(%#i%,#id,#stack1);
if(%#id%=%#rep%);
#repq=%#repq%+%#stack1%;
endif;
next;
wait(1);
gui();

if(%#repq%=0);
if(%#nivel%=1);
log( );
log("&6&l[VIP] &3&lEscavacao organizada V1 &4(OFF) &dNao pode reparar &f- &aAproximadamente &a%#exp% de EXP.");
log( );
unset(@cav);
unset(cav);
unset(cav2);
stop();
else;
log( );
log("&6&l[VIP] &3&lEscavacao organizada V1 &4(ON) &dAlgo de errado com seus dimas detectado tentando reparar.");
log( )
wait(2);
endif;
else(%#repq%>0%);
#repq=0;
look(%&near%);
look(,90);
key(use);
wait(2);
#repq=0;
endif;
endif;

look(%&near%);
look(,55);
key(attack);
inc(#exp, 1);
loop;


if(cav2);
gui(inventory);
wait(500ms);
getslotitem(35,#id,#stack);
wait(200ms);
if(%#stack%=0);
gui();
else;
wait(1);

//guardando primeiro item


if(%#frente1%=1);
}$$/home esc1$${
endif;
if(%#frente1%=2);
}$$/home esc12$${
endif;
if(%#frente1%=3);
}$$/home esc13$${
endif;
if(%#frente1%=4);
}$$/home esc14$${
endif;
if(%#frente1%=5);
}$$/home esc15$${
endif;
if(%#frente1%=6);
}$$/home esc16$${
endif;
if(%#frente1%=7);
}$$/home esc17$${
endif;
if(%#frente1%=8);
}$$/home esc18$${
endif;
if(%#frente1%=9);
}$$/home esc19$${
endif;
if(%#frente1%=10);
}$$/home esc10$${
endif;

if(%#bau1%=1);
wait(2);
look(,313);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line1%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau1,1);
endif;
endif;

if(%#bau1%=2);
wait(2);
gui();
look(,330);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line1%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau1,1);
endif;
endif;

if(%#bau1%=3);
wait(2);
gui();
look(,0);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line1%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau1,1);
endif;
endif;

if(%#bau1%=4);
wait(2);
gui();
look(,33);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line1%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#frente1,1);
#bau1=1;
endif;
endif;

//guardando segundo item


if(%#frente2%=1);
}$$/home esc2$${
endif;
if(%#frente2%=2);
}$$/home esc22$${
endif;
if(%#frente2%=3);
}$$/home esc23$${
endif;
if(%#frente2%=4);
}$$/home esc24$${
endif;
if(%#frente2%=5);
}$$/home esc25$${
endif;
if(%#frente2%=6);
}$$/home esc26$${
endif;
if(%#frente2%=7);
}$$/home esc27$${
endif;
if(%#frente2%=8);
}$$/home esc28$${
endif;
if(%#frente2%=9);
}$$/home esc29$${
endif;
if(%#frente2%=10);
}$$/home esc20$${
endif;

if(%#bau2%=1);
wait(2);
look(,313);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line2%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau2,1);
endif;
endif;

if(%#bau2%=2);
wait(2);
gui();
look(,330);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line2%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau2,1);
endif;
endif;

if(%#bau2%=3);
wait(2);
gui();
look(,0);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line2%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau2,1);
endif;
endif;

if(%#bau2%=4);
wait(2);
gui();
look(,33);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line2%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#frente2,1);
#bau2=1;
endif;
endif;

//guardando terceiro item


if(%#frente3%=1);
}$$/home esc3$${
endif;
if(%#frente3%=2);
}$$/home esc32$${
endif;
if(%#frente3%=3);
}$$/home esc33$${
endif;
if(%#frente3%=4);
}$$/home esc34$${
endif;
if(%#frente3%=5);
}$$/home esc35$${
endif;
if(%#frente3%=6);
}$$/home esc36$${
endif;
if(%#frente3%=7);
}$$/home esc37$${
endif;
if(%#frente3%=8);
}$$/home esc38$${
endif;
if(%#frente3%=9);
}$$/home esc39$${
endif;
if(%#frente3%=10);
}$$/home esc30$${
endif;

if(%#bau3%=1);
wait(2);
look(,313);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line3%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau3,1);
endif;
endif;

if(%#bau3%=2);
wait(2);
gui();
look(,330);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line3%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau3,1);
endif;
endif;

if(%#bau3%=3);
wait(2);
gui();
look(,0);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line3%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau3,1);
endif;
endif;

if(%#bau3%=4);
wait(2);
gui();
look(,33);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line3%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#frente3,1);
#bau3=1;
endif;
endif;

//guardando quarto item


if(%#frente4%=1);
}$$/home esc4$${
endif;
if(%#frente4%=2);
}$$/home esc42$${
endif;
if(%#frente4%=3);
}$$/home esc43$${
endif;
if(%#frente4%=4);
}$$/home esc44$${
endif;
if(%#frente4%=5);
}$$/home esc45$${
endif;
if(%#frente4%=6);
}$$/home esc46$${
endif;
if(%#frente4%=7);
}$$/home esc47$${
endif;
if(%#frente4%=8);
}$$/home esc48$${
endif;
if(%#frente4%=9);
}$$/home esc49$${
endif;
if(%#frente4%=10);
}$$/home esc40$${
endif;

if(%#bau4%=1);
wait(2);
look(,313);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line4%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau4,1);
endif;
endif;

if(%#bau4%=2);
wait(2);
gui();
look(,330);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line4%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau4,1);
endif;
endif;

if(%#bau4%=3);
wait(2);
gui();
look(,0);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line4%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau4,1);
endif;
endif;

if(%#bau4%=4);
wait(2);
gui();
look(,33);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line4%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#frente4,1);
#bau4=1;
endif;
endif;


//guardando quinto item

}$$
/home esc5
$${
if(%#bau5%=1);
wait(2);
key(use);
wait(1);
for(#slotn,54,80);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line5%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau5,1);
endif;
endif;

if(%#bau5%=2);
wait(2);
look(,0);
key(use);
wait(1);
for(#slotn,54,80);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line5%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau5,1);
endif;
endif;

}$$

/home escavar

$${
wait(1);
endif;
endif;


gui(inventory);
wait(200ms);
for(#slot,9,35);
GETSLOTITEM(%#slot%,#id,#stack);
if((%#id%=%#pa%) || (%#id%=%#bloco%));
slotclick(%#slot%,l,true);wait(30ms);
endif;
next;
gui();

loop;
endif;
}$$
 
eu uso uma que se nao me engano e do mrbluees.. algo assim o nome dele.

nunca tive problema com o macro.


$${

if(cav);
unset(cav);
log( );
log("&6&l[MACRO] &3&Escavacao organizada V1.0 &4(OFF) &f- &aAproximadamente &a%#exp% de EXP.");
log( );

unset(@cav);
stop();

else;
set(cav);
log( );
log("&6&l[MACRO] &3&lEscavacao organizada V1.0 &2(ON)");
log( );

set(@cav);

IFMATCHES(%DIRECTION%,N);
&near = NORTH;
ENDIF;
IFMATCHES(%DIRECTION%,S);
&near = SOUTH;
ENDIF;
IFMATCHES(%DIRECTION%,W);
&near = WEST;
ENDIF;
IFMATCHES(%DIRECTION%,E);
&near = EAST;
ENDIF;
ACHIEVEMENTGET(Macro iniciado by elissonS2,277);
#frente1=1;
#frente2=1;
#frente3=1;
#frente4=1;
#bau1=1;
#bau2=1;
#bau3=1;
#bau4=1;
#bau5=1;
#exp=0;
PROMPT(#bloco,$$i, Que bloco usara para cavar?);
PROMPT(#pa,$$i, Que tipo de pa ira ser usada?);
PROMPT(#rep,$$i, Qual o material usado na reparacao da sua pa?);
PROMPT(#dur,$$?, Em qual durabilidade voce quer reparar sua pa?);
ACHIEVEMENTGET(Macro iniciado by elissonS2,277);
PROMPT(#del,$$?, Qual delay para verificar o Inventario? Recomendado: 140 - 250);
PROMPT(#vel,$$?, Qual delay para quebrar os blocos? 1 = rapido | acima de 1 = diminuir a velociade);
PROMPT(#nivel,$$?, Qual seu nivel de escavacao? 1 = menor que 350 | 2 = MAIOR ou iqual a 350);
ACHIEVEMENTGET(Macro iniciado by elissonS2,277);
PROMPT(#conj,$$?, Quantos conjuntos de baus voce ira usar: maximo 10);
#dur=%#dur%;
#repq=0;
inc(#conj,1);
look(%&near%);
look(,55);
set(cav2);


//selecionando bloco a grauda

&line5="^264$|^387$";
if(%#bloco%=12);
&line1="^348$";
&line2="^2267$";
&line3="^88$";
&line4="^354$";
endif;
if(%#bloco%=13);
&line1="^289$";
&line2="^352$";
&line3="^2267$";
&line4="^88$|^354$|^87$";
endif;
if(%#bloco%=82);
&line1="^341$";
&line2="^2267$";
&line3="^287$";
&line4="^374$|^325$|^88$|^354$|^30$";
endif;
if(%#bloco%=2)
log( );
log("&6&l[VIP] &3&lEscavacao organizada V1 &4(OFF) &dbloco Incompativel.");
log( );
unset(@cav);
unset(cav);
unset(cav2);
stop();
endif;
if(%#bloco%=3)
log( );
log("&6&l[VIP] &3&lEscavacao organizada V1 &4(OFF) &dbloco Incompativel.");
log( );
unset(@cav);
unset(cav);
unset(cav2);
stop();
endif;
if(%#bloco%=3:2)
log( );
log("&6&l[VIP] &3&lEscavacao organizada V1 &4(OFF) &dbloco Incompativel.");
log( );
unset(@cav);
unset(cav);
unset(cav2);
stop();
endif;
if(%#bloco%=88)
log( );
log("&6&l[VIP] &3&lEscavacao organizada V1 &4(OFF) &dbloco Incompativel.");
log( );
unset(@cav);
unset(cav);
unset(cav2);
stop();
endif;

//colocando e quebrando o bloco
//inicio do loop

do;
do(%#del%);
ACHIEVEMENTGET(Aproximadamente %#exp% xp,277);
pick(%#bloco%);
key(use);
wait(%#vel%ms);
pick(%#pa%);

//checando durabilidade

if(%DURABILITY%<%#dur%);
gui(inventory);
for(#i,9,45);
getslotitem(%#i%,#id,#stack1);
if(%#id%=%#rep%);
#repq=%#repq%+%#stack1%;
endif;
next;
wait(1);
gui();

if(%#repq%=0);
if(%#nivel%=1);
log( );
log("&6&l[VIP] &3&lEscavacao organizada V1 &4(OFF) &dNao pode reparar &f- &aAproximadamente &a%#exp% de EXP.");
log( );
unset(@cav);
unset(cav);
unset(cav2);
stop();
else;
log( );
log("&6&l[VIP] &3&lEscavacao organizada V1 &4(ON) &dAlgo de errado com seus dimas detectado tentando reparar.");
log( )
wait(2);
endif;
else(%#repq%>0%);
#repq=0;
look(%&near%);
look(,90);
key(use);
wait(2);
#repq=0;
endif;
endif;

look(%&near%);
look(,55);
key(attack);
inc(#exp, 1);
loop;


if(cav2);
gui(inventory);
wait(500ms);
getslotitem(35,#id,#stack);
wait(200ms);
if(%#stack%=0);
gui();
else;
wait(1);

//guardando primeiro item


if(%#frente1%=1);
}$$/home esc1$${
endif;
if(%#frente1%=2);
}$$/home esc12$${
endif;
if(%#frente1%=3);
}$$/home esc13$${
endif;
if(%#frente1%=4);
}$$/home esc14$${
endif;
if(%#frente1%=5);
}$$/home esc15$${
endif;
if(%#frente1%=6);
}$$/home esc16$${
endif;
if(%#frente1%=7);
}$$/home esc17$${
endif;
if(%#frente1%=8);
}$$/home esc18$${
endif;
if(%#frente1%=9);
}$$/home esc19$${
endif;
if(%#frente1%=10);
}$$/home esc10$${
endif;

if(%#bau1%=1);
wait(2);
look(,313);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line1%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau1,1);
endif;
endif;

if(%#bau1%=2);
wait(2);
gui();
look(,330);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line1%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau1,1);
endif;
endif;

if(%#bau1%=3);
wait(2);
gui();
look(,0);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line1%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau1,1);
endif;
endif;

if(%#bau1%=4);
wait(2);
gui();
look(,33);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line1%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#frente1,1);
#bau1=1;
endif;
endif;

//guardando segundo item


if(%#frente2%=1);
}$$/home esc2$${
endif;
if(%#frente2%=2);
}$$/home esc22$${
endif;
if(%#frente2%=3);
}$$/home esc23$${
endif;
if(%#frente2%=4);
}$$/home esc24$${
endif;
if(%#frente2%=5);
}$$/home esc25$${
endif;
if(%#frente2%=6);
}$$/home esc26$${
endif;
if(%#frente2%=7);
}$$/home esc27$${
endif;
if(%#frente2%=8);
}$$/home esc28$${
endif;
if(%#frente2%=9);
}$$/home esc29$${
endif;
if(%#frente2%=10);
}$$/home esc20$${
endif;

if(%#bau2%=1);
wait(2);
look(,313);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line2%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau2,1);
endif;
endif;

if(%#bau2%=2);
wait(2);
gui();
look(,330);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line2%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau2,1);
endif;
endif;

if(%#bau2%=3);
wait(2);
gui();
look(,0);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line2%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau2,1);
endif;
endif;

if(%#bau2%=4);
wait(2);
gui();
look(,33);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line2%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#frente2,1);
#bau2=1;
endif;
endif;

//guardando terceiro item


if(%#frente3%=1);
}$$/home esc3$${
endif;
if(%#frente3%=2);
}$$/home esc32$${
endif;
if(%#frente3%=3);
}$$/home esc33$${
endif;
if(%#frente3%=4);
}$$/home esc34$${
endif;
if(%#frente3%=5);
}$$/home esc35$${
endif;
if(%#frente3%=6);
}$$/home esc36$${
endif;
if(%#frente3%=7);
}$$/home esc37$${
endif;
if(%#frente3%=8);
}$$/home esc38$${
endif;
if(%#frente3%=9);
}$$/home esc39$${
endif;
if(%#frente3%=10);
}$$/home esc30$${
endif;

if(%#bau3%=1);
wait(2);
look(,313);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line3%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau3,1);
endif;
endif;

if(%#bau3%=2);
wait(2);
gui();
look(,330);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line3%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau3,1);
endif;
endif;

if(%#bau3%=3);
wait(2);
gui();
look(,0);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line3%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau3,1);
endif;
endif;

if(%#bau3%=4);
wait(2);
gui();
look(,33);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line3%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#frente3,1);
#bau3=1;
endif;
endif;

//guardando quarto item


if(%#frente4%=1);
}$$/home esc4$${
endif;
if(%#frente4%=2);
}$$/home esc42$${
endif;
if(%#frente4%=3);
}$$/home esc43$${
endif;
if(%#frente4%=4);
}$$/home esc44$${
endif;
if(%#frente4%=5);
}$$/home esc45$${
endif;
if(%#frente4%=6);
}$$/home esc46$${
endif;
if(%#frente4%=7);
}$$/home esc47$${
endif;
if(%#frente4%=8);
}$$/home esc48$${
endif;
if(%#frente4%=9);
}$$/home esc49$${
endif;
if(%#frente4%=10);
}$$/home esc40$${
endif;

if(%#bau4%=1);
wait(2);
look(,313);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line4%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau4,1);
endif;
endif;

if(%#bau4%=2);
wait(2);
gui();
look(,330);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line4%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau4,1);
endif;
endif;

if(%#bau4%=3);
wait(2);
gui();
look(,0);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line4%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau4,1);
endif;
endif;

if(%#bau4%=4);
wait(2);
gui();
look(,33);
key(use);
wait(1);
for(#slotn,54,89);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line4%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#frente4,1);
#bau4=1;
endif;
endif;


//guardando quinto item

}$$
/home esc5
$${
if(%#bau5%=1);
wait(2);
key(use);
wait(1);
for(#slotn,54,80);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line5%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau5,1);
endif;
endif;

if(%#bau5%=2);
wait(2);
look(,0);
key(use);
wait(1);
for(#slotn,54,80);
GETSLOTITEM(%#slotn%,#id,#stack);
ifmatches(%#id%,%&line5%);
slotclick(%#slotn%,l,true);wait(30ms);
endif;
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau5,1);
endif;
endif;

}$$

/home escavar

$${
wait(1);
endif;
endif;


gui(inventory);
wait(200ms);
for(#slot,9,35);
GETSLOTITEM(%#slot%,#id,#stack);
if((%#id%=%#pa%) || (%#id%=%#bloco%));
slotclick(%#slot%,l,true);wait(30ms);
endif;
next;
gui();

loop;
endif;
}$$

Ela continua upando dps q sv reinicia?
 
ué mas acho que é essa ai que eu tenho e ela não para de upar quando reinicia, isso n é do server?
 
sim...
100% seguro.. pq eu uso ele..
via das duvidas.. se quiser testar, deixa correr o macro e depois desliga e religa o seu router so pra simular uma queda de conexao..
=)

Eu testei ligando ela e dando /ativar 1 para eu cair do sv e quando voltei, ela desligo e não retomou a upar entao n e como vc fala
 
Mano eu acho você pegou essa macro sem permissão do autor.

Mesma assim boa macro.

nao e sem permissao, pois essa estava liberado quando eu peguei em 2015. Se nao me engano deve estar em algum post aqui do forum

Eu testei ligando ela e dando /ativar 1 para eu cair do sv e quando voltei, ela desligo e não retomou a upar entao n e como vc fala

estranho.. comigo funciona numa boa.. @_@
 
Status
Não está aberto para novas respostas.

Users who are viewing this thread

Voltar
Topo