ENTREGUE Macro de Matar Pigmam

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.

jeffersinhovl

Neutro
Entrou
Fev 25, 2015
Mensagens
16
Cubos
0
Tem como alguem editar esse macro para em vez de repara ele troca a espada e que ele não guarde os 9 slot do hotbar
Código:
$${
if(sword1);
  log("&4[Macro] &6Matar mobs desativado.");
  unset(sword1);
  stop();
else;
  log("&4[Macro] &6Matar mobs ativado.");
  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(,-20);
           wait(200ms);
           key(attack);
        loop;   
 
        if(nf);
        wait(1);
        gui(inventory);
        wait(1);
        LOOK(+180,);
        FOR(#u,9,44);
          GETSLOTITEM(%#u%,#idu,#stacku);
          IF(%#idu%=283);
             SLOTCLICK(%#u%);
             SLOTCLICK(-999);
          ENDIF;      
        NEXT;
        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;
}$$
 
HawzerVLS disse:
otimo macro recomando !
Krllll neem pro cubo fazer sentido!


jeffersinhovl disse:
Tem como alguem editar esse macro para em vez de repara ele troca a espada e que ele não guarde os 9 slot do hotbar

$${
if(sword1);
log("&4[Macro] &6Matar mobs desativado.");
unset(sword1);
stop();
else;
log("&4[Macro] &6Matar mobs ativado.");
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(,-20);
wait(200ms);
key(attack);
loop;

if(nf);
wait(1);
gui(inventory);
wait(1);
LOOK(+180,);
FOR(#u,9,44);
GETSLOTITEM(%#u%,#idu,#stacku);
IF(%#idu%=283);
SLOTCLICK(%#u%);
SLOTCLICK(-999);
ENDIF;
NEXT;
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;
}$$
Cara, não estou podendo programar ultimamente, mas tente essa macro aqui, funciona da forma que voce quer.
http://forum.craftlandia.com.br/ipb/index.php?/topic/503672-macro-mobstandart-multespadas-v5/
 
Status
Não está aberto para novas respostas.

Users who are viewing this thread

Voltar
Topo