[Ajuste] Macro de Escavaçao

Discussão em 'Botecolandia' iniciado por KeeepCooler, 13 Outubro 2017.

Status do Tópico:
Não esta aberto para novas mensagens.
  1. KeeepCooler

    KeeepCooler Craftlandiano
    VIP

    Afiliado:
    30 Dezembro 2013
    Mensagens:
    6,561
    Curtidas Recebidas:
    987
    Curtiu:
    2,349
    Sexo:
    Masculino
    Cubos:
    544.00
    Nick:
    ~
    Bom dia,

    Gostaria da ajuda de alguém que entenda de macros, eu estou usando a macro abaixo de escavação e creio que ela não está guardando os diamantes pois é o material de reparação da pá, gostaria que ajustasse ela para guardar os diamantes somente das 3 hotbars acima, a hotbar que fica a soulsand, pá e 1 pack de diamante não guardar.

    $${

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

    unset(@cav);
    unset(@economia);
    unset(@off);
    stop();

    else;
    set(cav);
    set(@economia);
    unset(@cav2);
    log( );
    log("&6&l[VIP] &d&lCava-Cava &2(ON)");
    log( );

    set(@cav);
    set(@economia);

    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, Qual pá sera 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: 200 - 300);
    PROMPT(#vel,$$?, Qual delay para quebrar os blocos? 0 = Apelao | 4 = pa sem Enchant);


    endif;

    }$$/g &Fusando macro de Escavar do mickey &5#semmoouse &4S2$${

    endif;

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

    else;

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

    set(cav2);
    set(@cav2);


    do;


    do(%#del%);
    pick(%#bloco%);
    key(use);

    if(%#vel% > 0);
    wait(%#vel%ms);
    endif;


    if(%#vel% <= 0);
    wait(1t);
    endif;

    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("&6&l[VIP] &d&lCava-Cava &4(OFF) &dNão pôde reparar(ou o macro bugou e desbugou!) &f- &aAproximadamente &a%#exp% de EXP.");
    log( );

    else(%#repq%>0%);

    #repq=0;
    look(%&near%);
    look(,90);
    key(use);
    wait(1);
    #repq=0;

    endif;endif;

    endif;

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

    if(%#vel% > 0);
    do(%#vel%);
    key(attack);
    loop;
    endif;

    if(%#vel% <= 0);
    key(attack);
    endif;



    inc(#exp, 2);
    loop;


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

    }$$

    $${ //1 linha\\ }$$

    $${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;}$$

    $${if(%#bau%=11);}$$
    /home esc11
    $${;endif;}$$

    $${if(%#bau%=12);}$$
    /home esc12
    $${;endif;}$$

    $${if(%#bau%=13);}$$
    /home esc13
    $${;endif;}$$

    $${if(%#bau%=14);}$$
    /home esc14
    $${;endif;}$$

    $${if(%#bau%=15);}$$
    /home esc15
    $${;endif;}$$

    $${if(%#bau%=16);}$$
    /home esc16
    $${;endif;}$$

    $${if(%#bau%=17);}$$
    /home esc17
    $${;endif;}$$

    $${if(%#bau%=18);}$$
    /home esc18
    $${;endif;}$$

    $${if(%#bau%=19);}$$
    /home esc19
    $${;endif;}$$

    $${if(%#bau%=20);}$$
    /home esc20
    $${;endif;}$$

    $${if(%#bau%=21);}$$
    /home esc21
    $${;endif;}$$

    $${if(%#bau%=22);}$$
    /home esc22
    $${;endif;}$$

    $${if(%#bau%=23);}$$
    /home esc23
    $${;endif;}$$

    $${if(%#bau%=24);}$$
    /home esc24
    $${;endif;}$$

    $${if(%#bau%=25);}$$
    /home esc25
    $${;endif;}$$

    $${if(%#bau%=26);}$$
    /home esc26
    $${;endif;}$$

    $${if(%#bau%=27);}$$
    /home esc27
    $${;endif;}$$

    $${if(%#bau%=28);}$$
    /home esc28
    $${;endif;}$$

    $${if(%#bau%=29);}$$
    /home esc29
    $${;endif;}$$

    $${if(%#bau%=30);}$$
    /home esc30
    $${;endif;}$$

    $${if(%#bau%=31);}$$
    /home esc31
    $${;endif;}$$

    $${if(%#bau%=32);}$$
    /home esc32
    $${;endif;}$$

    $${if(%#bau%=33);}$$
    /home esc33
    $${;endif;}$$

    $${if(%#bau%=34);}$$
    /home esc34
    $${;endif;}$$

    $${if(%#bau%=35);}$$
    /home esc35
    $${;endif;}$$

    $${if(%#bau%=36);}$$
    /home esc36
    $${;endif;}$$

    $${if(%#bau%=37);}$$
    /home esc37
    $${;endif;}$$

    $${if(%#bau%=38);}$$
    /home esc38
    $${;endif;}$$

    $${if(%#bau%=39);}$$
    /home esc39
    $${;endif;}$$

    $${if(%#bau%=40);}$$
    /home esc40
    $${;endif;}$$

    $${if(%#bau%=41);}$$
    /home esc41
    $${;endif;}$$

    $${if(%#bau%=42);}$$
    /home esc42
    $${;endif;}$$

    $${if(%#bau%=43);}$$
    /home esc43
    $${;endif;}$$

    $${if(%#bau%=44);}$$
    /home esc44
    $${;endif;}$$

    $${if(%#bau%=45);}$$
    /home esc45
    $${;endif;}$$

    $${if(%#bau%=46);}$$
    /home esc46
    $${;endif;}$$

    $${if(%#bau%=47);}$$
    /home esc47
    $${;endif;}$$

    $${if(%#bau%=48);}$$
    /home esc48
    $${;endif;}$$

    $${

    keydown(JUMP);
    wait(1);
    keyup(JUMP);

    wait(5);

    key(use);
    wait(1);

    key(use);
    wait(1);

    key(use);
    wait(1);

    key(use);
    wait(1);

    key(use);
    wait(1);


    for(#slotn,54,89);
    GETSLOTITEM(%#slotn%,#id,#stack);
    if((%#id%=%#pa%) || (%#id%=%#bloco%) || (%#id%=%#rep%));
    else;
    slotclick(%#slotn%,l,true);wait(30ms);
    endif;
    next;
    wait(500ms);
    getslotitem(53,#id,#stack);
    wait(500ms);
    if(%#stack%!=0);inc(#bau);

    endif;
    if(%#bau%=16);
    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(4);
    endif;
    endif;


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

    loop;
    endif;

    }$$

    Atenciosamente,
    KeeepCooler.
     
  2. edupt

    edupt Bom
    VIP

    Afiliado:
    1 Julho 2016
    Mensagens:
    1,499
    Curtidas Recebidas:
    152
    Curtiu:
    43
    Sexo:
    Masculino
    Cubos:
    150.00
    Nick:
    edupt
    Clan:
    AAA
    Não vale mais a pena usar um Macro do Sleep ou do Homeless, visto que não contém esse pequeno "bug" ?!?
     
  3. MatheusKING

    VIP

    Afiliado:
    3 Setembro 2017
    Mensagens:
    3,341
    Curtidas Recebidas:
    143
    Curtiu:
    40
    Sexo:
    Masculino
    Cubos:
    226.00
    Nick:
    MatheusK1NG
    nem posso ajudar man, malz.
     
  4. zGohan

    zGohan Excelente

    Afiliado:
    27 Maio 2017
    Mensagens:
    3,990
    Curtidas Recebidas:
    487
    Curtiu:
    0
    Sexo:
    Masculino
    Cubos:
    130.00
    Nick:
    -
    Clan:
    Algum.
    Nem tem como eu ajudar, malz
     
  5. Senderr O Retorno

    Senderr O Retorno Craftlandiano
    VIP

    Afiliado:
    14 Julho 2015
    Mensagens:
    7,179
    Curtidas Recebidas:
    1,618
    Curtiu:
    609
    Sexo:
    Masculino
    Localização:
    Macaé - RJ
    Cubos:
    258.00
    Nick:
    Aposentado
    Clan:
    LUX
    Discord:
    Senderr#8376
    Não sou bom de macros, mas boa sorte aí :/
     
  6. FandMine

    FandMine Neutro
    Banido

    Afiliado:
    9 Outubro 2017
    Mensagens:
    127
    Curtidas Recebidas:
    8
    Curtiu:
    0
    Sexo:
    Masculino
    Cubos:
    123.00
    Nick:
    FandMine
    Clan:
    Não tenho
    Eu não sei modificar macro
     
  7. Flakes_

    Flakes_ Hardcore
    Construção VIP

    Afiliado:
    15 Julho 2017
    Mensagens:
    18,344
    Curtidas Recebidas:
    3,206
    Curtiu:
    738
    Sexo:
    Masculino
    Ocupação:
    Designer
    Localização:
    Minas Gerais
    Cubos:
    67,813.00
    Nick:
    Flakes_
    Discord:
    yFlakes#9445
    Skype:
    yFlakes
    Não manjo, malz

    Enviado de meu SM-G531H usando Tapatalk
     
  8. Lyoon

    Lyoon Craftlandiano
    VIP

    Afiliado:
    25 Março 2017
    Mensagens:
    5,387
    Curtidas Recebidas:
    1,068
    Curtiu:
    208
    Sexo:
    Masculino
    Cubos:
    3,259.00
    Nick:
    Lyoon
    Nem mecho com esses coisa aí
     
  9. iNathanSZ

    iNathanSZ Craftlandiano
    VIP

    Afiliado:
    20 Julho 2017
    Mensagens:
    4,801
    Curtidas Recebidas:
    512
    Curtiu:
    304
    Sexo:
    Masculino
    Localização:
    BuildBattle
    Cubos:
    1,832.57
    Nick:
    Nathan_SZ
    Clan:
    Night Raid
    Discord:
    Iludido#5311
    Skype:
    Nathan Heart
    Nem tem como eu ajudar, malz
     
  10. M c w e s t

    M c w e s t Craftlandiano
    VIP

    Afiliado:
    6 Novembro 2014
    Mensagens:
    5,919
    Curtidas Recebidas:
    892
    Curtiu:
    670
    Cubos:
    226.00
    Nick:
    .
    Skype:
    marfia.scc
    N sei editar macros, mals

    Enviado de meu SM-J500M usando Tapatalk
     
  11. Xylic

    Xylic Excelente
    VIP

    Afiliado:
    23 Setembro 2015
    Mensagens:
    455
    Curtidas Recebidas:
    244
    Curtiu:
    119
    Sexo:
    Masculino
    Localização:
    ./
    Cubos:
    647.36
    Nick:
    %PLAYER%
    Clan:
    XYL
    Ta ai.

    Código:
    $${ 
     
    if(cav);
    unset(cav);
    unset(economia);
    unset(off);
    log( );
    log("&6&l[VIP] &d&lCava-Cava &4(OFF) &f- &aAproximadamente &a%#exp% de EXP.");
    log( );
     
    unset(@cav);
    unset(@economia);
    unset(@off);
    stop();
     
    else;
    set(cav);
    set(@economia);
    unset(@cav2);
    log( );
    log("&6&l[VIP] &d&lCava-Cava &2(ON)");
    log( );
     
    set(@cav);
    set(@economia);
     
    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, Qual pá sera 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: 200 - 300);
    PROMPT(#vel,$$?, Qual delay para quebrar os blocos? 0 = Apelao | 4 = pa sem Enchant);
     
     
    endif; 
     
    }$$/g &Fusando macro de Escavar do mickey &5#semmoouse &4S2$${
     
    endif; 
     
    #dur=%#dur%;
    #repq=0;
     
    else;
     
    look(%&near%);
    look(,55);
     
    set(cav2);
    set(@cav2);
     
     
    do;
     
     
    do(%#del%);
    pick(%#bloco%);
    key(use);
     
    if(%#vel% > 0);
    wait(%#vel%ms);
    endif;
     
     
    if(%#vel% <= 0);
    wait(1t);
    endif;
     
    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("&6&l[VIP] &d&lCava-Cava &4(OFF) &dNão pôde reparar(ou o macro bugou e desbugou!) &f- &aAproximadamente &a%#exp% de EXP.");
    log( );
     
    else(%#repq%>0%);
     
    #repq=0;
    look(%&near%);
    look(,90);
    key(use);
    wait(1);
    #repq=0;
     
    endif;endif;
     
    endif;
     
    look(%&near%);
    look(,55);
     
    if(%#vel% > 0);
    do(%#vel%);
    key(attack);
    loop;
    endif;
     
    if(%#vel% <= 0);
    key(attack);
    endif;
     
     
     
    inc(#exp, 2);
    loop;
     
     
    if(@cav2);
    gui(inventory);
    wait(1);
    getslotitem(35,#id,#stack);
    if(%#stack%=0);
    gui();
    else;
    do;
    wait(1);
     
    }$$
     
    $${ //1 linha\\ }$$
     
    $${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;}$$
     
    $${if(%#bau%=11);}$$
    /home esc11
    $${;endif;}$$
     
    $${if(%#bau%=12);}$$
    /home esc12
    $${;endif;}$$
     
    $${if(%#bau%=13);}$$
    /home esc13
    $${;endif;}$$
     
    $${if(%#bau%=14);}$$
    /home esc14
    $${;endif;}$$
     
    $${if(%#bau%=15);}$$
    /home esc15
    $${;endif;}$$
     
    $${if(%#bau%=16);}$$
    /home esc16
    $${;endif;}$$
     
    $${if(%#bau%=17);}$$
    /home esc17
    $${;endif;}$$
     
    $${if(%#bau%=18);}$$
    /home esc18
    $${;endif;}$$
     
    $${if(%#bau%=19);}$$
    /home esc19
    $${;endif;}$$
     
    $${if(%#bau%=20);}$$
    /home esc20
    $${;endif;}$$
     
    $${if(%#bau%=21);}$$
    /home esc21
    $${;endif;}$$
     
    $${if(%#bau%=22);}$$
    /home esc22
    $${;endif;}$$
     
    $${if(%#bau%=23);}$$
    /home esc23
    $${;endif;}$$
     
    $${if(%#bau%=24);}$$
    /home esc24
    $${;endif;}$$
     
    $${if(%#bau%=25);}$$
    /home esc25
    $${;endif;}$$
     
    $${if(%#bau%=26);}$$
    /home esc26
    $${;endif;}$$
     
    $${if(%#bau%=27);}$$
    /home esc27
    $${;endif;}$$
     
    $${if(%#bau%=28);}$$
    /home esc28
    $${;endif;}$$
     
    $${if(%#bau%=29);}$$
    /home esc29
    $${;endif;}$$
     
    $${if(%#bau%=30);}$$
    /home esc30
    $${;endif;}$$
     
    $${if(%#bau%=31);}$$
    /home esc31
    $${;endif;}$$
     
    $${if(%#bau%=32);}$$
    /home esc32
    $${;endif;}$$
     
    $${if(%#bau%=33);}$$
    /home esc33
    $${;endif;}$$
     
    $${if(%#bau%=34);}$$
    /home esc34
    $${;endif;}$$
     
    $${if(%#bau%=35);}$$
    /home esc35
    $${;endif;}$$
     
    $${if(%#bau%=36);}$$
    /home esc36
    $${;endif;}$$
     
    $${if(%#bau%=37);}$$
    /home esc37
    $${;endif;}$$
     
    $${if(%#bau%=38);}$$
    /home esc38
    $${;endif;}$$
     
    $${if(%#bau%=39);}$$
    /home esc39
    $${;endif;}$$
     
    $${if(%#bau%=40);}$$
    /home esc40
    $${;endif;}$$
     
    $${if(%#bau%=41);}$$
    /home esc41
    $${;endif;}$$
     
    $${if(%#bau%=42);}$$
    /home esc42
    $${;endif;}$$
     
    $${if(%#bau%=43);}$$
    /home esc43
    $${;endif;}$$
     
    $${if(%#bau%=44);}$$
    /home esc44
    $${;endif;}$$
     
    $${if(%#bau%=45);}$$
    /home esc45
    $${;endif;}$$
     
    $${if(%#bau%=46);}$$
    /home esc46
    $${;endif;}$$
     
    $${if(%#bau%=47);}$$
    /home esc47
    $${;endif;}$$
     
    $${if(%#bau%=48);}$$
    /home esc48
    $${;endif;}$$
     
    $${
     
    keydown(JUMP);
    wait(1);
    keyup(JUMP);
     
    wait(5);
     
    key(use);
    wait(1);
     
    key(use);
    wait(1);
     
    key(use);
    wait(1);
     
    key(use);
    wait(1);
     
    key(use);
    wait(1);
     
     
    for(#slotn,54,80);
    GETSLOTITEM(%#slotn%,#id,#stack);
    if((%#id%=%#pa%) || (%#id%=%#bloco%));
    else;
    slotclick(%#slotn%,l,true);wait(30ms);
    endif;
    next;
    wait(500ms);
    getslotitem(53,#id,#stack);
    wait(500ms);
    if(%#stack%!=0);inc(#bau);
     
    endif;
    if(%#bau%=16);
    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(4);
    endif;
    endif;
     
     
    gui(inventory);
    wait(600ms);
    for(#slot,9,35);
    GETSLOTITEM(%#slot%,#id,#stack);
    if((%#id%=%#pa%) || (%#id%=%#bloco%));
    slotclick(%#slot%,l,true);wait(30ms);
    endif;
    next;
    gui();
     
    
     
  12. Jaaaozaum

    Jaaaozaum Craftlandiano
    VIP

    Afiliado:
    9 Fevereiro 2014
    Mensagens:
    6,559
    Curtidas Recebidas:
    1,244
    Curtiu:
    473
    Sexo:
    Masculino
    Cubos:
    85.00
    Nick:
    Jaaaozao
    Clan:
    SoH
    Vixi nem sei mano, boa sorte ae
     
Status do Tópico:
Não esta aberto para novas mensagens.