ENTREGUE [Macro] MatarMagmas (Com Vara)

Bem-vindo!

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

Registrar agora!
  • PROMOÇÃO DE NATAL NO AR

    Novo servidor: CraftLandia Olimpo


Status
Não está aberto para novas respostas.

LordPl

Neutro
VIP
Entrou
Jul 5, 2013
Mensagens
127
Pontuação de reação
37
Idade
25
Localização
Parana Curitiba
Cubos
0
O que ele faz?
-Este código mata os mobs que estiverem a sua frente;
-Repara sua vara quando estiver com 20 usos restantes;

-Guarda em baus por meio de homes

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, guarda os itens, e volta para o mob
sem ter risco de guarda a vara e as linhas, pois ele não guarda os slots 8 e 9 da hotbar.

Pode ser para player VIP e Não-VIP?
Podendo reparar a vara ou nao , temos 2
codigos , para quem tem 100 de reparaçao
e para os que nao tem(troca de vara antes de quebrar)

Codigo:
100 DE REPARAÇAO
$${
if(fishing rod1);
log("&4[Macro] &6Matar magma desativado.");
unset(fishing rod1);
stop();
else;
log("&4[Macro] &6Matar magma ativado.");
set(fishing rod1);

&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%<20);
look(0,90);
log("&4[Macro] &6 Durabilidade baixa, reparando...");
wait(500ms);
key(use);
wait(500ms);
key(use);}$$
/pvp off
$${log("&4[Macro] &6 vara reparada!");
endif;

do(50);
look(%&dir%);
look(,-20);
wait(200ms);
key(use);
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;}$$
$${if(%#bau%=10);}$$
/home bau10
$${endif;}$$
$${if(%#bau%=11);}$$
/home bau11
$${endif;}$$
$${if(%#bau%=12);}$$
/home bau12
$${endif;}$$
$${if(%#bau%=13);}$$
/home bau13
$${endif;}$$
$${if(%#bau%=14);}$$
/home bau14
$${endif;}$$

$${wait(5);
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%=14);
unset(nf);
log("&4[Macro] &6Baús cheios! Apenas matará mobs agora.");
gui();
else;
gui();
endif;
until(%#stack%=0);}$$
/home matarmobs
$${endif;
endif;
loop;
endif;
}$$
[/spoiler]



obs: vo aprende a fazer spoiler
obs2: em breve colokarei prints

Change Log:
26/07: Topico Criado
26/08 :Corrigo Bug De Bater e Nao Puxar com a Vara
 
$${
if(fishing rod1);
log("&4[Macro] &6Matar magma desativado.");
unset(fishing rod1);
stop();
else;
log("&4[Macro] &6Matar magma ativado.");
set(fishing rod1);

&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%<20);
look(0,90);
log("&4[Macro] &6 Durabilidade baixa, reparando...");
wait(500ms);
key(use);
wait(500ms);
key(use);}$$
/pvp off
$${log("&4[Macro] &6 vara reparada!");
endif;

do(50);
look(%&dir%);
look(,-20);
wait(200ms);
key(use);
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;}$$
$${if(%#bau%=10);}$$
/home bau10
$${endif;}$$
$${if(%#bau%=11);}$$
/home bau11
$${endif;}$$
$${if(%#bau%=12);}$$
/home bau12
$${endif;}$$
$${if(%#bau%=13);}$$
/home bau13
$${endif;}$$
$${if(%#bau%=14);}$$
/home bau14
$${endif;}$$

$${wait(5);
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%=14);
unset(nf);
log("&4[Macro] &6Baús cheios! Apenas matará mobs agora.");
gui();
else;
gui();
endif;
until(%#stack%=0);}$$
/home matarmobs
$${endif;
endif;
loop;
endif;
}$$


:D
texto[*spoiler] No lugar no * coloque /
 
poderia não guardar a 1ª hotbar pois acho que em uma madrugada gastaria mais de 1pack de linha....
 
ja vi um macro mt parecido com esse depois eu procuro o link
 
Esse macro so funcina com magma? queria matar PIGMAN com vara, queria saber se esse macro serve!!
 
Status
Não está aberto para novas respostas.

Usuários que estão visualizando este tópico

Voltar
Topo