Subir

Resultados 1 al 5 de 5

Tema: Busco macro envenenar

  1. #1

    Fecha de ingreso
    June-2011
    Mensajes
    3
    Reputacion: 10
    Poder de reputación
    0

    Busco macro envenenar

    Hola necesitaria una amcro de envenenar que cogiera pots del keg y aplicara veneno al arma. Gracias de antemano

  2. #2
    Avatar de xmurdocx
    Fecha de ingreso
    February-2008
    Facción
    Neutral
    Nacimiento
    Haven
    Edad
    41
    Mensajes
    1.060
    Reputacion: 10
    Poder de reputación
    15

    Respuesta: Busco macro envenenar

    Antes de empezar la macros deves de estar rodeado de kegs de veneno menor bloqueados al piso y un cofre frente a ti con frascos vacios y listo dale play y te dira lo demas


    Cita Iniciado por kazerkun1 Ver mensaje
    LinesPerCycle 40
    set %BoteType WUF
    set %Color 368
    set %KegType YBK
    set %PX 678
    set %PY 483
    set #LTARGETKIND 1
    display ok Seleciona el Baul de los items.
    event macro 13 48
    waitForTargetIdentifi2:
    if #TARGCURS <> 1
    {
    goto waitForTargetIdentifi2
    }
    set #LTARGETID A
    WaitForselectTarget:
    if #TARGCURS = 1
    {
    goto WaitForselectTarget
    }
    if #LTARGETID = A || #LTARGETID = YC
    {
    display ok Target invalido.
    stop
    }
    set %Baul #LTARGETID

    waitForOpenBaul:
    set #LOBJECTID %Baul
    if #TARGCURS = 1
    {
    set #TARGCURS 0
    }
    event macro 17
    if #CONTID <> %Baul
    {
    Goto waitForOpenBaul
    }
    contpos 584 0
    display ok Seleciona el arma a envenenar.
    event macro 13 48
    waitForTargetIdentifi:
    if #TARGCURS <> 1
    {
    goto waitForTargetIdentifi
    }
    set #LTARGETID A
    WaitForselectTarget2:
    if #TARGCURS = 1
    {
    goto WaitForselectTarget2
    }
    if #LTARGETID = A || #LTARGETID = YC
    {
    display ok Target invalido.
    stop
    }
    set %Arma #LTARGETID
    WaitForOpenPaperdoll:
    event macro 8 1
    if #CONTNAME <> paperdoll_gump
    {
    goto WaitForOpenPaperdoll
    }
    contpos 528 265
    RepFindForColorErr:
    finditem %BoteType C_ , #BACKPACKID
    if #FINDCOL <> 0
    {
    ignoreitem #FINDID
    goto RepFindForColorErr
    }
    if #FINDID = -1 || #FINDSTACK < 199
    {
    set %B 200 - #FINDSTACK
    RepFindForCol:
    finditem %BoteType C_ , %Baul
    if #FINDCOL <> 0
    {
    ignoreitem #FINDID
    goto RepFindForCol
    }
    if #FINDKIND = -1
    {
    Display ok No hay frascos en la "despensa" o.O
    stop
    }
    RepEventDrag:
    set %TM #SYSTIME
    event drag #FINDID
    WaitForOPenDrag:
    if #CONTNAME <> stack_gump
    {
    if ( #SYSTIME - %TM ) > 3000
    {
    Goto RepEventDrag
    }
    Goto WaitForOPenDrag
    }
    msg %b $
    WaitForOk:
    if #LLIFTEDKIND <> 1
    {
    Goto WaitForOk
    }
    RepClickDown:
    set %TM #SYSTIME
    click %PX %PY f
    WaitForDropClick:
    if #LLIFTEDKIND = 1
    {
    if ( #SYSTIME - %TM ) > 3000
    {
    Goto RepClickDown
    }
    Goto WaitForDropClick
    }
    set %LID #FINDID
    WaitForFind:
    finditem %LID
    if #FINDID <> %LID
    {
    Goto WaitForFind
    }
    }
    KegPoti:
    finditem %KegType G_5
    if #FINDKIND = -1
    {
    Display ok No quedan kegs.
    stop
    }
    if #FINDCOL <> %Color
    {
    ignoreitem #FINDID
    goto KegPoti
    }

    set #LOBJECTID #FINDID
    RepKegClick
    Set %TM #SYSTIME
    if #TARGCURS = 1
    {
    set #TARGCURS 0
    }
    event macro 17
    WaitKegForTarget:
    if #TARGCURS <> 1
    {
    if ( #SYSTIME - %TM ) > 3000
    {
    Goto RepKegClick
    }
    Goto WaitKegForTarget
    }
    ignoreitem reset
    RepFindForColorErr2:
    finditem %BoteType C_ , #BACKPACKID
    if #FINDCOL <> 0
    {
    ignoreitem #FINDID
    goto RepFindForColorErr2
    }
    if #FINDSTACK < 20
    {
    ignoreitem reset
    goto RepFindForColorErr
    }
    set #LTARGETID #FINDID
    event macro 22
    wait 1s
    ignoreitem reset
    RepFindForColorErr3:
    finditem %BoteType C_ , #BACKPACKID
    if #FINDKIND = -1
    {
    goto KegPoti
    }
    if #FINDCOL <> %Color
    {
    ignoreitem #FINDID
    goto RepFindForColorErr3
    }
    RepPoisong:
    set %TM #SYSTIME
    if #TARGCURS = 1
    {
    set #TARGCURS 0
    }
    event macro 13 30
    wait 5
    WaitForTargetPoisong:
    if #TARGCURS <> 1
    {
    if ( #SYSTIME - %TM ) > 3000
    {
    goto RepPoisong
    }
    Goto WaitForTargetPoisong
    }
    set %TM #SYSTIME
    set #LTARGETID %Arma
    event macro 22
    wait 10
    WaitForTargetPoisong2:
    if #TARGCURS <> 1
    {
    if ( #SYSTIME - %TM ) > 3000
    {
    goto RepPoisong
    }
    Goto WaitForTargetPoisong2
    }
    set #LTARGETID #FINDID
    event macro 22
    wait 145
    Goto KegPoti

  3. #3

    Fecha de ingreso
    May-2011
    Edad
    45
    Mensajes
    174
    Reputacion: 22
    Poder de reputación
    15

    Respuesta: Busco macro envenenar

    te recomiendo añadas a la linea

    set %KegType YBK


    los kegs que uses tu ya que pueden haber varios tipos.

  4. #4

    Fecha de ingreso
    December-2010
    Mensajes
    81
    Reputacion: 10
    Poder de reputación
    15

    Respuesta: Busco macro envenenar

    como se saben las letras de cada tipo de kegs, o de cada arma? hay varias respuesta en otros post que dice que tiense que poner el tipo de arma que tengas, pero no se donde averiguar las letras correspondientes.

    Alguna ayuda?

  5. #5

    Fecha de ingreso
    May-2011
    Edad
    45
    Mensajes
    174
    Reputacion: 22
    Poder de reputación
    15

    Respuesta: Busco macro envenenar

    en el easyuo a la derecha, por ejemplo los kegs salen en last action / LobjectType

Temas similares

  1. Macro envenenar
    Por Angello en el foro Macros
    Respuestas: 2
    Último mensaje: 18-Jan-2011, 09:57
  2. Busco macro de envenenar
    Por Triton en el foro Macros
    Respuestas: 1
    Último mensaje: 23-Nov-2010, 18:38
  3. Busco macro envenenar
    Por Trafalgar Law en el foro Macros
    Respuestas: 0
    Último mensaje: 31-Dec-2009, 18:50
  4. Macro de envenenar
    Por Azaret en el foro Macros
    Respuestas: 6
    Último mensaje: 30-Jul-2009, 10:32
  5. Macro de envenenar
    Por Pere en el foro Macros
    Respuestas: 0
    Último mensaje: 21-Mar-2008, 19:02

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