Dragon Shard - Ultima Online Shard

Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

Fórum do melhor servidor de Ultima Online atualmente.


    1 - Macros simples em geral para UOS

    avatar
    dionsaraiva


    Mensagens : 3
    Data de inscrição : 01/03/2017

    1 - Macros simples em geral para UOS Empty 1 - Macros simples em geral para UOS

    Mensagem por dionsaraiva Sáb Abr 22, 2017 12:14 pm

    Posto aqui alguns macros para fazer itens em geral. São macros simples, com estruturas bem parecidas sempre. Fica aí pra quem quiser aprimorá-los, pois tem como deixá-los mais eficientes (mas estou sem tempo pra gastar com isso ^^).
    Geralmente você vai precisar mudar algumas coisas básicas como:
    1 - o Id do baú onde estão os materiais;
    2 - o type dos materiais (e a cor, se tiver);
    3 - o type da ferramenta
    4 - o Id do baú para depositar o produto.
    5 - Se quiser você pode alterar alguns pauses ou weight e a quantidade de material que ele pega e deposita.

    Acho que isso já é um começo.

    Lesser Poison

    if not @counttype '0xf0e' '0' 'backpack' > 10
     @movetype '0xf0e' 0x40982d57 'backpack' 65535 65535 0 0 200
    endif
    pause 100
    if not @counttype '0xf88' '0' 'backpack' > 10
     @movetype '0xf88' 0x40982d57 'backpack' 65535 65535 0 0 200
    endif
    pause 100
    usetype '0xe9b' '0' 'backpack'
    pause 100
    automenu 'Selecione' 'Lesser'
    pause 6600
    if weight > 50
     @movetype '0xf0e' 'backpack' 0x40982d57 65535 65535 0 68
     pause 100
    endif

    ------------------------------------------------------------------------------------

    Blank Scrolls

    if not @counttype '0x1bdd' '0' 'backpack' > 10
     @movetype '0x1bdd' 0x40982c8a 'backpack' 65535 65535 0 0 20
    endif
    pause 500
    if not @counttype '0x1078' '0' 'backpack' > 10
     @movetype '0x1078' 0x40982c8a 'backpack' 65535 65535 0 0 20
    endif
    pause 500
    usetype '0x1028'
    pause 500
    automenu 'hammock' 'Miscellaneous' 'Miscellaneous' 'blank'
    pause 3000
    if weight > 100
     @movetype '0xe34' 'backpack' 0x40982d57 65535 65535 0
     pause 500
    endif

    --------------------------------------------------------------------------------------------
    Cooking

    if not @counttype '0x97a' '0' 'backpack' > 10
     @movetype '0x97a' 0x407886ac 'backpack' 65535 65535 0 0 200
    endif
    pause 500
    useobject 0x4091c0f5
    pause 500
    automenu 'Cooking' 'Carnes' 'Menu' 'Carnes Simples' 'Carnes Simples' 'Peixe Frito'
    pause 3000
    if weight > 50
     @movetype '0x97b' 'backpack' 0x407886ac 65535 65535 0
     pause 500
    endif

    ----------------------------------------------------------------------------------------------
    FS Scroll

    if not @counttype '0xe34' '0' 'backpack' > 10
     @movetype '0xe34' 0x40982d57 'backpack' 65535 65535 0 0 100
    endif
    pause 100
    if not @counttype '0xf8c' '0' 'backpack' > 10
     @movetype '0xf8c' 0x40982d57 'backpack' 65535 65535 0 0 100
    endif
    pause 100
    if not @counttype '0xf8d' '0' 'backpack' > 10
     @movetype '0xf8d' 0x40982d57 'backpack' 65535 65535 0 0 100
    endif
    pause 100
    usetype '0xe34' '0' 'backpack'
    pause 100
    automenu 'summon' 'seventh circle' 'Spell' 'flamestrike'
    pause 4600
    if weight > 350
     @movetype '0x1f5f' 'backpack' 0x40982d57 65535 65535 0
     pause 100
    endif

    -----------------------------------------------------------------------------------------------
    Inscription

    if not @counttype '0xf8c' '0' 'backpack' > 10
     @movetype '0xf8c' 0x40982d57 'backpack' 65535 65535 0 0 200
    endif
    pause 100
    if not @counttype '0xe34' '0' 'backpack' > 10
     @movetype '0xe34' 0x40982d57 'backpack' 65535 65535 0 0 200
    endif
    pause 100
    usetype '0xe34' '0' 'backpack'
    pause 100
    automenu 'Spell' 'magic arrow'
    pause 4600
    if weight > 350
     @movetype '0x1f32' 'backpack' 0x40786adf 65535 65535 0
     pause 100
    endif


    --------------------------------------------------------------------------------------------
    Smeltar de 2 em 2

    if not @counttype '0x19b9'  'backpack' > 2
     @movetype '0x19b9' 0x40982c54 'backpack' 65535 65535 0 10
    endif
    pause 500
    @usetype '0x19ba'
    pause 500
    @usetype '0x19b9'
    pause 500
    if weight > 50
     @movetype '0x1bef' 'backpack' 0x4097fe82 65535 65535 0
     pause 500
     @movetype '0x1be9' 'backpack' 0x4097fe82 65535 65535 0
     pause 500
    endif


    ----------------------------------------------------------------------------------------
    Tailor 1 - Fazer Cloth Box

    if not @counttype '0x175d' '0' 'backpack' > 8
     @movetype '0x175d' '0x40786dcc' 'backpack' 65535 65535 0 0 200
    endif
    usetype '0xf9d' '0' 'backpack'
    waitfortarget 15000
    targettype '0x175d'
    @automenu 'body' 'CLoth Box'
    pause 4500
    if weight > 30
     movetype '0x1422' 'backpack' '0x40786dcc' 65535 65535 0 389
    endif
    pause 1000

    ------------------------------------------------------------------------------------------
    Tailor 2 - Fazer linhas

    if not @counttype '0xdf9' '0' 'backpack' > 10
     @movetype '0xdf9' 0x40786dcc 'backpack' 65535 65535 0 0 20
    endif
    pause 100
    usetype '0xdf9' '0' 'backpack'
    waitfortarget 15000
    target! 0x40b74d17
    pause 2000
    if weight > 350
     @movetype '0xfa0' 'backpack' 0x40786dcc  65535 65535 0 0
     pause 100
    endif

    -------------------------------------------------------------------------------------------
    Tailor 3 - Fazer Tecido

    if not @counttype '0xfa0' '0' 'backpack' > 10
     @movetype '0xfa0' 0x40786dcc 'backpack' 65535 65535 0 0 50
    endif
    pause 100
    usetype '0xfa0' '0' 'backpack'
    waitfortarget 15000
    target! 0x40b74203
    pause 2000
    if weight > 50
     @movetype '0xf95' 'backpack' 0x40786dcc  65535 65535 0 0
     pause 100
    endif

    --------------------------------------------------------------------------------------------
    Jogar algum item no chão

    if findtype 0x1f32 'backpack'
     movetypeoffset 0x1f32 'Backpack' 'ground' 0 1 0
    endif
    pause 1000

      Data/hora atual: Qui Mar 28, 2024 8:24 am