Subir

Resultados 1 al 7 de 7

Tema: Problema con la macro de herreria

  1. #1

    Fecha de ingreso
    April-2008
    Mensajes
    144
    Reputacion: 10
    Poder de reputación
    15

    Problema con la macro de herreria

    Buenas! ya he leido este problema en otro post pero no vi la solucion.He usado todas las macros, la de Alex, la de Sir Rasel y Glacius, pero nada.

    Llego abro el client 203 y el easyuo 1.5 . abro la macro y le doy al play. Comienza diciendome que abra el cofre donde se encuentran los lingotes (los cuales se encuentran todos amontonados). Le doy a ESC. Seguidamente me dice que haga click en la mochila del paperdol y lo hago y vuelvo a pulsar ESC. Es entonces cuando comienza la macro. Coge los lingotes, los pone en la mochila, se pone el martillo, hace click sobre las armas, sobre las espadas y llega donde las dagas. Entonces no le da click y empieza de nuevo; se pone el martillo, va a las armas,... y asi continuamente.

    He usado todas las macros. Pense que era porque usaba la version antigua del easyuo pero con la 1.5 tampoco. Pensé en las locations pero como no sabia muy bien como cambiarlas un amigo me ayudó y me dijo que las cambiara, y asi lo hice, pero seguia sin funcionar.

    Mi pregunta es: A alguien le ha pasado esto y sabe como solucionarlo o alguien sin que le pasara lo sabe? Me ayudaria mucho...

    Un saludo, gracias
    Agur
    http://ultima-alianza.com/foro/image.php?type=sigpic&userid=8742&dateline=1238869  090

  2. #2
    Avatar de Yesus
    Fecha de ingreso
    July-2007
    Mensajes
    341
    Reputacion: 10
    Poder de reputación
    15

    Respuesta: Problema con la macro de herreria

    Tienes el mismo fallo que yo angy haber si nos dan una macro decente xd

  3. #3
    Avatar de Escawen
    Fecha de ingreso
    May-2007
    Edad
    35
    Mensajes
    1.000
    Reputacion: 10
    Poder de reputación
    15

    Respuesta: Problema con la macro de herreria

    Con esta subi a herrero yo hace poco, espero que os sirva.

    ; Macro by Alex (Ultima Alianza)
    ; Para hacer dagas, hacerlas un lote y después guardarlo o hacerlo tiquets.
    ; Necesitamos un cofre/bolsa/contenedor donde tengamos los lingotes y martillos y en ese mismo donde dejar los lotes en caso de no querer tiquets,
    ; Debemos estar al lado de: una yunke, el cofre/bolsa/contenedor, y en el caso que queramos, al lado de una papelera de reciclage.
    ; Primero tenemos que poner cuantos lingotes queremos coger cada vez,
    ; No es recomndable poner muchos por si tenemos sobrepeso.
    ; Al empezar deberemos configurar el Cofre/bolsa/contenedor y un punto de nuestra mochila.
    ; Los pasos se explican en el UO al darle a empezar, fijaros en la barra superior del UO.
    ; Una vez configurado la macro empezará sola a separar, fundir y guardar.
    ; Macro de herrero para funcionar en Ultima Alianza
    ; Poner aquí la cantidad de hierro que deberá coger cada vez que tenga poco.
    ;--------------------------
    set %cantidad 50
    ;--------------------------
    ; Quieres hacer tiquets el lote de dagas? escribe aquí si o no.
    ;--------------------------
    set %tiquets no
    :--------------------------
    initevents
    set %confp 1
    set %lingote RMK
    chooseskill blac real
    set %skillini #skill
    set %lotex 113
    set %lotey 62
    set %idlote CKF
    set %movx 268
    set %movy 64
    set %dagax1 271
    set %dagay1 67
    set %dagax2 250
    set %dagay2 67
    set %dagax3 66
    set %dagay3 63
    ; Con menos de 50 de Skill poner aquí 100, en cuanto haga otra cosa que no sean dagas, poner 135.
    set %dagax4 135
    set %dagay4 64
    set %pap BKF
    set %gumpx1 94
    set %gumpy1 172
    set %gumpx2 305
    set %gumpy2 343
    set %martillo TLH_GBG

    configurar:
    if %confp = 1
    {
    Event sysmessage Abre el cofre en el que tienes los lingotes de hierro, manten el cursor sobre el.
    event sysmessage Y presiona la tecla ESC
    setuotitle Abre el contenedor que contiene los lingotes y luego manten el cursor en el y presiona ESC
    set %conf 1
    set %confp 2
    goto TESC
    }
    if %confp = 2
    {
    setuotitle Pon el cursor encima de la mochila del paperdoll y presiona ESC
    event sysmessage Pon el cursor encima de la mochila del Paperdoll, recuerda no mover el paperdoll.
    event sysmessage Y presiona la tecla ESC
    set %conf 2
    goto TESC
    }

    TESC:
    onHotKey ESC
    {
    if %conf = 1
    {
    set %cofre #LOBJECTID
    set %cofrex #CURSORX
    set %cofrey #CURSORY
    goto configurar
    }
    if %conf = 2
    {
    set %dejarx #CURSORX
    set %dejary #CURSORY
    set %tot 0
    set %vez 0
    set %fin 0
    set %totlot 0
    goto empezar
    }
    }
    goto TESC

    empezar:
    findItem %martillo C_ , #BACKPACKID
    if #FINDSTACK = 0
    {
    gosub martillos
    }
    set #LOBJECTID #FINDID
    event macro 17
    wait 20
    KEY ESC
    findItem %lingote C_ , #BACKPACKID
    if #FINDSTACK > 12 || #FINDCNT > 3
    {
    goto hacerdagas
    }
    findItem %lingote C_ , %cofre
    if #FINDSTACK < 10
    {
    set %fin 1
    gosub finalizar
    }
    event drag #FINDID
    wait 10
    msg %cantidad
    msg $
    click %dejarx %dejary p
    set %tothierro %tothierro + %cantidad
    wait 10


    hacerdagas:
    set %skillinc #SKILL - %skillini
    findItem %martillo C_ , #BACKPACKID
    if #FINDSTACK = 0
    {
    gosub martillos
    }
    set #LOBJECTID #FINDID
    event macro 17
    wait 10
    KEY ESC
    findItem TSF C_ , #BACKPACKID
    set %totdagas #FINDCNT
    if #FINDCNT > 14
    {
    goto hacerlote
    }
    findItem %lingote C_ , #BACKPACKID
    if #FINDSTACK < 12
    {
    if #FINDCNT < 2 || %prueba > 5
    {
    set %prueba 0
    goto empezar
    }
    else
    {
    if #FINDCNT < 3
    {
    set %prueba %prueba + 1
    }
    }
    }
    set #LOBJECTID #FINDID
    event macro 17
    wait 20
    click %dagax1 %dagay1 f
    wait 20
    click %dagax2 %dagay2 d
    wait 20
    click %dagax3 %dagay3 d
    wait 20
    click %dagax4 %dagay4 d
    wait 20
    setuotitle Macro de Herrero | S.Inicial: %skillini | S. Actual: #SKILL | S. Inc: %skillinc | Dagas: %totdagas | Hierro cogido: %tothierro | Lotes: %totlot
    goto hacerdagas


    hacerlote:
    findItem %martillo C_ , #BACKPACKID
    if #FINDSTACK = 0
    {
    gosub martillos
    }
    findItem %lingote C_ , #BACKPACKID
    if #FINDSTACK = 0
    {
    findItem %lingote C_ , %cofre
    if #FINDSTACK <> 0
    {
    event drag #FINDID
    wait 10
    msg 2 $
    click %dejarx %dejary p
    wait 10
    setuotitle Macro de Herrero | S.Inicial: %skillini | S. Actual: #SKILL | S. Inc: %skillinc | Dagas: %totdagas | Hierro cogido: %tothierro | Lotes: %totlot
    }
    else
    {
    set %fin 1
    gosub finalizar
    }
    }
    set #LOBJECTID #FINDID
    event macro 17
    click %lotex %lotey d
    wait 10

    guardarlote:
    findItem %martillo C_ , #BACKPACKID
    if #FINDSTACK = 0
    {
    gosub martillos
    }
    if %tiquets = no
    {
    findItem %idlote C_ , #BACKPACKID
    if #FINDSTACK > 0
    {
    event drag #FINDID
    wait 10
    click %cofrex %cofrey p
    set %totlot %totlot + 1
    goto guardarlote
    }
    goto empezar
    }
    if %tiquets = si
    {
    findItem %idlote C_ , #BACKPACKID
    if #FINDCNT > 0
    {
    findItem %pap G_3
    if #FINDSTACK = 0
    {
    set %fin 3
    goto finalizar
    }
    else
    {
    set #LOBJECTID #FINDID
    event macro 17
    wait 20
    click %gumpx1 %gumpy1 f
    wait 20
    click %gumpx2 %gumpy2 f
    findItem %idlote C_ , #BACKPACKID
    set #LTARGETID #FINDID
    event macro 25
    set #lTargetKind 1
    event macro 22
    event macro 22
    set #lTargetKind 1
    wait 10
    click %gumpx2 %gumpx2 r
    set %totlot %totlot + 1
    setuotitle Macro de Herrero | S.Inicial: %skillini | S. Actual: #SKILL | S. Inc: %skillinc | Dagas: %totdagas | Hierro cogido: %tothierro | Lotes: %totlot
    goto guardarlote
    }
    }
    goto empezar
    }

    sub martillos
    {
    findItem %martillo C_ , %cofre
    if #FINDSTACK = 0
    {
    set %fin 2
    gosub finalizar
    }
    event drag #FINDID
    wait 10
    set %dejar2x %dejarx + 15
    set %dejar2y %dejary + 15
    click %dejar2x %dejar2y p
    set #LOBJECTID #FINDID
    wait 20
    event macro 17
    wait 10
    KEY ESC
    findItem %martillo C_ , #BACKPACKID
    if #FINDSTACK = 0
    {
    gosub martillos
    }
    return
    }

    sub finalizar
    {
    if %fin = 1 || %fin = N/A
    {
    display OK Macro terminada!$No se han encontrado los lingotes de hierro necesarios!
    }
    if %fin = 2
    {
    display OK Macro terminada!$No tienes martillo!
    }
    if %fin = 3
    {
    display OK Macro terminada!$Has puesto que quieres hacer tiquets los lotes, pero no estas suficientemente cerca$de una papelera de reciclage!
    }
    halt
    return
    }

  4. #4

    Fecha de ingreso
    October-2008
    Edad
    34
    Mensajes
    71
    Reputacion: 10
    Poder de reputación
    15

    Respuesta: Problema con la macro de herreria

    No es por la macro, es por las coordenadas de la macro, un 99,9% seguro.

    Agreguenme al msn

    [email protected]

  5. #5
    Avatar de Yesus
    Fecha de ingreso
    July-2007
    Mensajes
    341
    Reputacion: 10
    Poder de reputación
    15

    Respuesta: Problema con la macro de herreria

    Asi es ami no me iva por las coordenadas pero me las puse y yata no lo intentaba porque no me guataban mucho hacer macros pero una vez que lo ves es muy sencillo hacerte tus propias macroa asi me eh hecho una de herreria y me va dpm
    Te agrego de igual manera jejej
    Un saludo

  6. #6

    Fecha de ingreso
    September-2008
    Edad
    40
    Mensajes
    63
    Reputacion: 10
    Poder de reputación
    15

    Respuesta: Problema con la macro de herreria

    aki te dejo la mia me va muy bien ayer mismo la use el de herreria





    Macro crafted by SirRasel & Glacius [BdK]
    ; Retocada por Alex y BoXeR (BoXeR añadió un contador
    ; de lingotes del cofre un contador de dagas en la mochila
    ; y que dependiendo del nivel de herrería
    ; usara una coordenada para la daga u otra automáticamente)
    ; Macro de Herrero que fabrica martillos.
    ;------------------------------------------
    ; Quieres hacer tiquets el lote de dagas? escribe aquí si o no.
    ;--------------------------
    set %tiquets no
    :--------------------------

    init events
    ;================================================= ================================================== ===========
    ;=========== VARIABLES ================================================== ======================================
    ;================================================= ================================================== ===========
    chooseskill blac real
    set %skillini #skill
    set %martillo TLH
    set %daga TSF
    set %lingotes RMK
    set %lotex 113
    set %lotey 62
    set %idlote CKF
    set %pap BKF
    set %gumpx1 94
    set %gumpy1 172
    set %gumpx2 305
    set %gumpy2 343
    set %dagax1 271
    set %dagay1 67
    set %dagax2 250
    set %dagay2 67
    set %dagax3 66
    set %dagay3 67
    set %martillox1 271
    set %martilloy1 67
    set %martillox2 250
    set %martilloy2 67
    set %martillox3 150
    set %martilloy3 67
    ;================================================= ================================================== ===========
    ;================================================= ================================================== ===========
    ;=========== OPCIONES PREVIAS ================================================== ===============================
    display Ok abre el cofre donde esten los materiales
    wait 3s
    set %cofre #lobjectid
    set %cofrex #cursorx
    set %cofrey #cursory
    display Ok pon el cursor en la mochila de la foto del personaje
    wait 3s
    set %backpackx #cursorx
    set %backpacky #cursory
    ;================================================= ================================================== ===========
    ;=========== INICIO DE LA MACRO ================================================== =============================
    ;================================================= ================================================== ===========
    finditem %martillo c_ , #BACKPACKID
    if #findKind = -1
    {
    HALT
    }
    set #LOBJECTID #FINDID
    event macro 17 0
    target
    key ESC

    inicio:
    finditem %martillo c_ , #BACKPACKID
    if #findcnt <= 1
    {
    GoSub FabricarMartillo
    }
    finditem %lingotes c_ , #BACKPACKID
    if #findStack <= 20
    {
    goSub CojerLingotes
    finditem %lingotes c_ , #BACKPACKID
    }
    set #LOBJECTID #FINDID
    event macro 17 0
    wait 40
    click %dagax1 %dagay1 f
    wait 20
    click %dagax2 %dagay2 d
    wait 20
    click %dagax3 %dagay3 d
    wait 20
    if #SKILL <= 500
    {
    set %dagax4 100
    set %dagay4 67
    click %dagax4 %dagay4 d
    }
    if #SKILL > 500
    {
    set %dagax4b 135
    set %dagay4b 67
    click %dagax4b %dagay4b d
    }
    wait 3s
    set %skillinc #SKILL - %skillini
    finditem %lingotes C_ , %cofre
    set %lingotescofre #FINDSTACK
    finditem %daga c_ , #BACKPACKID
    set %dagamochila #findCnt
    {
    setuotitle ------------< | Macro de Herrero | S.Inicial: %skillini | S. Actual: #SKILL | S. Inc: %skillinc | Lingotes que te quedan: %lingotescofre | Dagas mochila: %dagamochila | >------------
    }
    finditem %daga c_ , #BACKPACKID
    if #findCnt >= 15
    {
    goSub PackDagas
    gosub Guardarlote
    }
    goto inicio:

    ;================================================= ================================================== ===========
    ;=========== SUB COJER LINGOTES========================================== ======================================
    ;================================================= ================================================== ===========
    Sub CojerLingotes
    finditem %lingotes c_ , %cofre
    if #findkind = -1
    {
    ignoreitem reset
    HALT
    }

    set %carga #maxweight - #weight
    set %carga %carga / 2
    set %carga %carga + 1

    if %carga <= 1
    {
    if %carga < 0
    {
    return
    }
    else
    {
    set %carga 2
    }
    }
    event drag #findid
    wait 10
    msg %carga
    msg $
    wait 10
    click %backpackx %backpacky p
    return
    ;================================================= ================================================== ===========
    ;=========== SUB FABRICAR MARTILLO ================================================== ==========================
    ;================================================= ================================================== ===========
    Sub FabricarMartillo
    martillo:

    finditem %lingotes c_ , #BACKPACKID
    if #findStack <= 20
    {
    goSub CojerLingotes
    finditem %lingotes c_ , #BACKPACKID
    }
    set #LOBJECTID #FINDID
    event macro 17 0
    wait 40
    click %martillox1 %martilloy1 f
    wait 30
    click %martillox2 %martilloy2 d
    wait 30
    click %martillox3 %martilloy3 d
    wait 30
    if #SKILL <= 500
    {
    set %martillox4 100
    set %martilloy4 67
    click %martillox4 %martillo4 d
    }
    if #SKILL > 500
    {
    set %martillox4b 135
    set %martilloy4b 67
    click %martillox4b %martilloy4b d
    }
    wait 4s
    finditem %martillo c_ , #BACKPACKID
    if #findCnt >= 3
    {
    return
    }
    goto martillo
    ;================================================= ================================================== ===========
    ;=========== SUB PACK DE DAGAS ================================================== ==============================
    ;================================================= ================================================== ===========
    Sub PackDagas

    findItem %martillo C_ , #BACKPACKID
    if #findCnt <= 3
    {
    gosub FabricarMartillo
    findItem %martillo C_ , #BACKPACKID
    }
    set #LOBJECTID #FINDID
    event macro 17 0
    target
    key ESC
    finditem %lingotes c_ , #BACKPACKID
    if #findStack <= 20
    {
    goSub CojerLingotes
    finditem %lingotes c_ , #BACKPACKID
    }
    set #LOBJECTID #FINDID
    event macro 17 0
    click %lotex %lotey d
    wait 10
    return
    ;================================================= ================================================== ===========
    ;=========== SUB DEJAR PACK DE DAGAS ================================================== ========================
    ;================================================= ================================================== ===========
    sub Guardarlote

    if %tiquets = no
    {
    dejar:
    findItem %idlote C_ , #BACKPACKID
    if #findkind <> -1
    {
    event drag #FINDID
    wait 10
    click %cofrex %cofrey p
    gosub Guardarlote
    }
    return
    }
    if %tiquets = si
    {
    lote:

    findItem %idlote C_ , #BACKPACKID
    if #FINDCNT > 0
    {
    findItem %pap G_3
    if #FINDSTACK = 0
    {
    goto dejar
    }
    else
    {
    set #LOBJECTID #FINDID
    event macro 17
    wait 20
    click %gumpx1 %gumpy1 1
    wait 20
    click %gumpx2 %gumpy2 1
    target
    findItem %idlote C_ , #BACKPACKID
    set #LTARGETID #FINDID
    wait 20
    event macro 22 0
    wait 20
    goto guardarlote
    wait 10
    key ESC
    click %gumpx2 %gumpx2 r
    goto lote
    }
    }
    return
    }
    return
    ;================================================= ================================================== ===========
    ;======================================== FIN ================================================== ===============
    ;================================================= ================================================== ===========

    salu2

  7. #7

    Fecha de ingreso
    April-2008
    Mensajes
    144
    Reputacion: 10
    Poder de reputación
    15

    Respuesta: Problema con la macro de herreria

    Gracias pero ya lo habia solucionado.

    Un saludo,
    agur
    http://ultima-alianza.com/foro/image.php?type=sigpic&userid=8742&dateline=1238869  090

Temas similares

  1. Macro herreria
    Por Yesus en el foro Macros
    Respuestas: 0
    Último mensaje: 14-Dec-2008, 18:15
  2. Ayuda co la Macro de HErreria please
    Por FireRules en el foro Macros
    Respuestas: 13
    Último mensaje: 13-May-2008, 15:20
  3. Macro herreria...
    Por SatanBendito en el foro Macros
    Respuestas: 3
    Último mensaje: 23-Mar-2008, 18:43
  4. Macro de herreria by Kata
    Por SkuzKabel en el foro Macros
    Respuestas: 5
    Último mensaje: 09-Feb-2008, 01:19
  5. Macro Herrería by Alex
    Por Raiden en el foro Macros
    Respuestas: 4
    Último mensaje: 04-Feb-2008, 19:47

Permisos de publicación

  • No puedes crear nuevos temas
  • No puedes responder temas
  • No puedes subir archivos adjuntos
  • No puedes editar tus mensajes
  •  
YoutubeFbChat IRCTwit