Subir

Resultados 1 al 3 de 3

Tema: ayuda macro poisong

  1. #1

    Fecha de ingreso
    January-2012
    Edad
    35
    Mensajes
    147
    Reputacion: 10
    Poder de reputación
    15

    ayuda macro poisong

    Esque encontre enta mcaro en el foro me coje los botes del baul pero el kegs no me lo encuentra dejo aqui la macro por si me podeis decir que tengo que modificar y como lo ago para que me lo localice gracias:

    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

  2. #2
    Avatar de Aramil
    Fecha de ingreso
    July-2007
    Facción
    Neutral
    Nacimiento
    Haven
    Edad
    37
    Mensajes
    1.640
    Reputacion: 68
    Poder de reputación
    15

    Respuesta: ayuda macro poisong

    Mira si el type del keg stá bien. Si no ya sería mirar la macro y yo no entiendo de eso xD

  3. #3
    Avatar de el danone
    Fecha de ingreso
    February-2012
    Mensajes
    172
    Reputacion: 10
    Poder de reputación
    15

    Respuesta: ayuda macro poisong

    uff le tirita el pulso a escribir mcaco xD jajaja
    en las macros de joseth ai una k funciona a la perfeccion

Temas similares

  1. poisong o talar
    Por vivi en el foro Dudas y Preguntas
    Respuestas: 7
    Último mensaje: 06-May-2012, 14:33
  2. *Subasta Controlada* 12p de poisong
    Por Lirico en el foro Subastas
    Respuestas: 0
    Último mensaje: 16-Apr-2012, 14:16
  3. *COMPRO* ps de poisong
    Por caniman en el foro Mercadillo
    Respuestas: 6
    Último mensaje: 10-Jul-2011, 13:28
  4. Ayuda con el macro de poisong plis
    Por Pere en el foro Macros
    Respuestas: 0
    Último mensaje: 14-Jul-2009, 22:55
  5. Mas dudas de poisong
    Por gharic en el foro Dudas y Preguntas
    Respuestas: 5
    Último mensaje: 20-Mar-2007, 16:53

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