Pedido de macro

Discussão em 'Dúvidas resolvidas (macro)' iniciado por _Casluu_, 9 Março 2019.

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

    _Casluu_ Lendário
    VIP

    Afiliado:
    3 Janeiro 2017
    Mensagens:
    9,243
    Curtidas Recebidas:
    5,842
    Curtiu:
    582
    Sexo:
    Masculino
    Ocupação:
    Técnico em...
    Localização:
    São Paulo -...
    Cubos:
    2,935.00
    Nick:
    _Casluu_
    Clan:
    CBR
    Olá pessoal,

    Alguém que tem mais entendimento sobre macros, poderia criar uma que faz crafting de frascos de vidro automatico?

    Motivo: é muito entediante fazer frascos toda hora kkk
     
  2. Lehcki

    Lehcki Craftlandiano
    VIP

    Afiliado:
    13 Dezembro 2012
    Mensagens:
    1,836
    Curtidas Recebidas:
    920
    Curtiu:
    353
    Sexo:
    Feminino
    Cubos:
    4,458.00
    Nick:
    Trashpoc
    Discord:
    Lehcki#8342
    Eu uso essa, ela faz 3 baus de frasco por vez.
    Vc tem só que encher os baus de vidro, ficar em cima da mesa de trabalho e iniciar a macro olhando para os baus.

    Fica assim a trap:
    [​IMG]

    Não importa a direção dos baus, mas vc tem q ficar em cima da mesa de trabalho e iniciar a macro olhando para os baus

    O cod: (poe em qq tecla);
    $${
    if(glass);
    log("&d{MACRO} &6Macro Fazer Garrafas by Trashpoc &4[OFF]");
    unset(glass);
    stop();
    else;
    log("&d{MACRO} &6Macro Fazer Garrafas by Trashpoc &a[ON]");
    set(glass);
    endif();

    #bau=1;
    &dir=%DIRECTION%;
    ifmatches(%&dir%,N);&d=NORTH;endif;
    ifmatches(%&dir%,S);&d=SOUTH;endif;
    ifmatches(%&dir%,E);&d=EAST;endif;
    ifmatches(%&dir%,W);&d=WEST;endif;

    do;
    do;

    look(%&d%);
    wait(50ms);
    if(%#bau%=1);look(,330);endif;
    if(%#bau%=2);look(,0);endif;
    if(%#bau%=3);look(,30);endif;
    if(%#bau%>=4);

    log("&d{MACRO} &6Tarefa Terminada!");
    log("&d{MACRO} &6Macro Fazer Garrafas by Trashpoc &4[OFF]");
    unset(glass);
    stop();
    endif;

    wait(1);
    key(use);
    wait(1500ms);

    /////////////////////////

    #slot3=54;
    for(#i,0,53);
    if(%#slot3%<=89);
    getslotitem(%#i%,#id,#stack);
    if(%#id%=20);
    slotclick(%#i%,l);
    wait(1t);
    slotclick(%#slot3%,l);
    wait(1t);
    getslotitem(%#slot3%,#id,#stack);
    if(%#stack%!=0);
    inc(#slot3);
    endif();
    endif();
    endif;
    next();
    #slot3=54;
    wait(300ms);
    getslotitem(53,#id,#stack);
    wait(55ms);
    if((%#stack%=0)||(%#id%!=287));
    inc(#bauli);
    endif();

    gui;



    ////////////////////////////////////////////

    look(,90);
    key(use);
    wait(1);

    SLOTCLICK(37,left,false);WAIT(200ms);
    SLOTCLICK(1,left,false);WAIT(200ms);
    SLOTCLICK(38,left,false);WAIT(200ms);
    SLOTCLICK(5,left,false);WAIT(200ms);
    SLOTCLICK(39,left,false);WAIT(200ms);
    SLOTCLICK(3,left,false);WAIT(200ms);
    SLOTCLICK(0,left,true);WAIT(200ms);
    SLOTCLICK(40,left,false);WAIT(200ms);
    SLOTCLICK(1,left,false);WAIT(200ms);
    SLOTCLICK(41,left,false);WAIT(200ms);
    SLOTCLICK(5,left,false);WAIT(200ms);
    SLOTCLICK(42,left,false);WAIT(200ms);
    SLOTCLICK(3,left,false);WAIT(200ms);
    SLOTCLICK(0,left,true);WAIT(200ms);
    SLOTCLICK(43,left,false);WAIT(200ms);
    SLOTCLICK(1,left,false);WAIT(200ms);
    SLOTCLICK(44,left,false);WAIT(200ms);
    SLOTCLICK(5,left,false);WAIT(200ms);
    SLOTCLICK(45,left,false);WAIT(200ms);
    SLOTCLICK(3,left,false);WAIT(200ms);
    SLOTCLICK(0,left,true);WAIT(200ms);

    SLOTCLICK(28,left,false);WAIT(200ms);
    SLOTCLICK(1,left,false);WAIT(200ms);
    SLOTCLICK(29,left,false);WAIT(200ms);
    SLOTCLICK(5,left,false);WAIT(200ms);
    SLOTCLICK(30,left,false);WAIT(200ms);
    SLOTCLICK(3,left,false);WAIT(200ms);
    SLOTCLICK(0,left,true);WAIT(200ms);
    SLOTCLICK(31,left,false);WAIT(200ms);
    SLOTCLICK(1,left,false);WAIT(200ms);
    SLOTCLICK(32,left,false);WAIT(200ms);
    SLOTCLICK(5,left,false);WAIT(200ms);
    SLOTCLICK(33,left,false);WAIT(200ms);
    SLOTCLICK(3,left,false);WAIT(200ms);
    SLOTCLICK(0,left,true);WAIT(200ms);
    SLOTCLICK(34,left,false);WAIT(200ms);
    SLOTCLICK(1,left,false);WAIT(200ms);
    SLOTCLICK(35,left,false);WAIT(200ms);
    SLOTCLICK(5,left,false);WAIT(200ms);
    SLOTCLICK(36,left,false);WAIT(200ms);
    SLOTCLICK(3,left,false);WAIT(200ms);
    SLOTCLICK(0,left,true);WAIT(200ms);


    SLOTCLICK(19,left,false);WAIT(200ms);
    SLOTCLICK(1,left,false);WAIT(200ms);
    SLOTCLICK(20,left,false);WAIT(200ms);
    SLOTCLICK(5,left,false);WAIT(200ms);
    SLOTCLICK(21,left,false);WAIT(200ms);
    SLOTCLICK(3,left,false);WAIT(200ms);
    SLOTCLICK(0,left,true);WAIT(200ms);
    SLOTCLICK(22,left,false);WAIT(200ms);
    SLOTCLICK(1,left,false);WAIT(200ms);
    SLOTCLICK(23,left,false);WAIT(200ms);
    SLOTCLICK(5,left,false);WAIT(200ms);
    SLOTCLICK(24,left,false);WAIT(200ms);
    SLOTCLICK(3,left,false);WAIT(200ms);
    SLOTCLICK(0,left,true);WAIT(200ms);
    SLOTCLICK(25,left,false);WAIT(200ms);
    SLOTCLICK(1,left,false);WAIT(200ms);
    SLOTCLICK(26,left,false);WAIT(200ms);
    SLOTCLICK(5,left,false);WAIT(200ms);
    SLOTCLICK(27,left,false);WAIT(200ms);
    SLOTCLICK(3,left,false);WAIT(200ms);
    SLOTCLICK(0,left,true);WAIT(200ms);

    SLOTCLICK(10,left,false);WAIT(200ms);
    SLOTCLICK(1,left,false);WAIT(200ms);
    SLOTCLICK(11,left,false);WAIT(200ms);
    SLOTCLICK(5,left,false);WAIT(200ms);
    SLOTCLICK(12,left,false);WAIT(200ms);
    SLOTCLICK(3,left,false);WAIT(200ms);
    SLOTCLICK(0,left,true);WAIT(200ms);
    SLOTCLICK(13,left,false);WAIT(200ms);
    SLOTCLICK(1,left,false);WAIT(200ms);
    SLOTCLICK(14,left,false);WAIT(200ms);
    SLOTCLICK(5,left,false);WAIT(200ms);
    SLOTCLICK(15,left,false);WAIT(200ms);
    SLOTCLICK(3,left,false);WAIT(200ms);
    SLOTCLICK(0,left,true);WAIT(200ms);
    SLOTCLICK(16,left,false);WAIT(200ms);
    SLOTCLICK(1,left,false);WAIT(200ms);
    SLOTCLICK(17,left,false);WAIT(200ms);
    SLOTCLICK(5,left,false);WAIT(200ms);
    SLOTCLICK(18,left,false);WAIT(200ms);
    SLOTCLICK(3,left,false);WAIT(200ms);
    SLOTCLICK(0,left,true);WAIT(200ms);




    gui;

    look(%&d%);
    if(%#bau%=1);look(,330);endif;
    if(%#bau%=2);look(,0);endif;
    if(%#bau%=3);look(,30);endif;


    wait(600ms);
    key(use);
    wait(1);
    for(#i,54,89);
    slotclick(%#i%,l,true);
    wait(50ms):
    next;

    wait(300ms);
    getslotitem(53,#id,#stack);
    wait(55ms);

    if(%#id%!=20);
    inc(#bau);
    endif();

    gui();

    until(%#bau%=4);
    loop;
    }$$
     
  3. _Casluu_

    _Casluu_ Lendário
    VIP

    Afiliado:
    3 Janeiro 2017
    Mensagens:
    9,243
    Curtidas Recebidas:
    5,842
    Curtiu:
    582
    Sexo:
    Masculino
    Ocupação:
    Técnico em...
    Localização:
    São Paulo -...
    Cubos:
    2,935.00
    Nick:
    _Casluu_
    Clan:
    CBR
    Meeu.. estou sem palavras, muito obrigado
     
  4. Hahns

    Hahns Excelente
    VIP

    Afiliado:
    1 Julho 2015
    Mensagens:
    1,881
    Curtidas Recebidas:
    449
    Curtiu:
    471
    Ocupação:
    i'll make ㅤㅤㅤ
    Localização:
    it rightㅤㅤ
    Cubos:
    2,822.00
    Nick:
    nobody ㅤㅤ
    Clan:
    Я
    Vou tentar desenvolver um só pela mágica!
     
  5. _Casluu_

    _Casluu_ Lendário
    VIP

    Afiliado:
    3 Janeiro 2017
    Mensagens:
    9,243
    Curtidas Recebidas:
    5,842
    Curtiu:
    582
    Sexo:
    Masculino
    Ocupação:
    Técnico em...
    Localização:
    São Paulo -...
    Cubos:
    2,935.00
    Nick:
    _Casluu_
    Clan:
    CBR
    Ebaa.. depois compartilha o resultado da macro com a gente
     
  6. Hahns

    Hahns Excelente
    VIP

    Afiliado:
    1 Julho 2015
    Mensagens:
    1,881
    Curtidas Recebidas:
    449
    Curtiu:
    471
    Ocupação:
    i'll make ㅤㅤㅤ
    Localização:
    it rightㅤㅤ
    Cubos:
    2,822.00
    Nick:
    nobody ㅤㅤ
    Clan:
    Я
    Pode deixar, vou começar a desenvolver-la agora
     
  7. RenanEx

    RenanEx Bom
    VIP

    Afiliado:
    10 Julho 2014
    Mensagens:
    400
    Curtidas Recebidas:
    149
    Curtiu:
    103
    Sexo:
    Masculino
    Localização:
    Joinville
    Cubos:
    690.00
    Nick:
    RenanEx
    Clan:
    EcT
    se precisar, to aq
     
    _Casluu_ curtiu isso.
  8. Thaleszinho

    Thaleszinho Neutro
    VIP Banido

    Afiliado:
    6 Julho 2018
    Mensagens:
    349
    Curtidas Recebidas:
    45
    Curtiu:
    41
    Sexo:
    Masculino
    Localização:
    Londrina - PR
    Cubos:
    667.05
    Nick:
    Shisuizera
    Clan:
    RMS
    Discord:
    Chinaa#4509
    Se conseguir uma top, compartilha com os amigos ai, uhdauhdauh.
     
    _Casluu_ curtiu isso.
  9. SclipBRs

    SclipBRs Craftlandiano
    VIP

    Afiliado:
    21 Maio 2017
    Mensagens:
    6,017
    Curtidas Recebidas:
    1,073
    Curtiu:
    8
    Sexo:
    Masculino
    Localização:
    Rio Grande...
    Cubos:
    19.00
    Nick:
    scliper1
    Clan:
    BRs
    Precisa de mais alguma?
     
  10. _Casluu_

    _Casluu_ Lendário
    VIP

    Afiliado:
    3 Janeiro 2017
    Mensagens:
    9,243
    Curtidas Recebidas:
    5,842
    Curtiu:
    582
    Sexo:
    Masculino
    Ocupação:
    Técnico em...
    Localização:
    São Paulo -...
    Cubos:
    2,935.00
    Nick:
    _Casluu_
    Clan:
    CBR
    Se você tiver alguma para compartilhar, porque a que o cara passou está bugada
     
  11. Jailson_Mendes

    Afiliado:
    20 Agosto 2017
    Mensagens:
    53
    Curtidas Recebidas:
    28
    Curtiu:
    25
    Cubos:
    78.00
    Nick:
    irei procura aqui.
     
  12. Cavalcanti

    Cavalcanti Lendário
    VIP

    Afiliado:
    21 Dezembro 2016
    Mensagens:
    11,059
    Curtidas Recebidas:
    4,350
    Curtiu:
    490
    Sexo:
    Masculino
    Localização:
    Seu Coração
    Cubos:
    1,808.00
    Nick:
    Cantiz
    Fala como sleep
     
  13. Paddleton

    Paddleton Excelente

    Afiliado:
    21 Outubro 2018
    Mensagens:
    2,612
    Curtidas Recebidas:
    459
    Curtiu:
    47
    Cubos:
    233.00
    Nick:
    Fleeur
    para ''desbugar'' vai no código e coloca o código do vidro invés de glass
     
Status do Tópico:
Não esta aberto para novas mensagens.