Subir

Resultados 1 al 1 de 1

Tema: Macro de Hiding con una tecla

  1. #1
    Avatar de Lauda
    Fecha de ingreso
    November-2017
    Ubicación
    Cueva de Cove
    Clan
    Sin Clan
    Facción
    Neutral
    Nacimiento
    Haven
    Edad
    44
    Mensajes
    25
    Reputacion: 46
    Poder de reputación
    7

    Post Macro de Hiding con una tecla

    Pues eso, aquí va:

    Código:
    ;==================================
    ; Script Name: Hider
    ; Author: Sthil Lauda
    ; Version: 1.1
    ; Client Tested with: 2.0.3
    ; EUO version tested with: EasyUO 1.5 Version 243
    ; Shard: Ultima Alianza (¡Hasta la muerte!)
    ; Revision Date: 28-04-2019
    ; Public Release: 27-04-2019
    ; Global Variables Used: Ninguna.
    ; Purpose: Oculta el PJ automáticamente con una tecla.
    ;==================================
    set %version 1.1
    ;________________________________
    ;
    ; ///////////////////////////////
    ; ************** CONFIGURACIÓN **************
    ; ///////////////////////////////
    ;________________________________
    ;
    ;------------------------------
    ; ************ Tecla Rápida **************
    ;------------------------------
    ; A-Z, 0-9, F1-F12, ESC, BACK, TAB, ENTER, PAUSE, CAPSLOCK, SPACE, PGDN, PGUP,
    ; END, HOME, LEFT, RIGHT, UP, DOWN, PRNSCR, INSERT, DELETE, NUMLOCK, SCROLLLOCK.
    set %tecla F9 ; <~~ Escribe aquí la tecla que quieres usar para activar la macro.
    ;________________________________________________
    ;
    ; //////////////////////////////////////////////
    ; ************************* FIN CONFIGURACIÓN *************************
    ; //////////////////////////////////////////////
    ;________________________________________________
    ;
    set #SYSMSGCOL 88
    event sysmessage =========
    set #SYSMSGCOL 53
    event sysmessage Hider %version
    set #SYSMSGCOL 88
    event sysmessage =========
    wait 20
    
    ;========================================================
    ;
    ; ************************************* LOOP PRINCIPAL **************************************
    ;
    ;========================================================
    loop:
    onhotkey %tecla
           {
             gosub check_muerto
             if H in #CHARSTATUS || #TARGCURS = 1
                {
                  wait 1s
                  goto loop
                }
             _hidLoop:
             if H Notin #CHARSTATUS
                {
                  event macro 13 21 ; Use SKILL Hiding
                  gosub waitForSysVar CHARSTATUS = H 50
                  goto _hidLoop
                }
           }
    wait 1
    goto loop
    ;========================================================
    ;
    ; ******************************** FIN LOOP PRINCIPAL ************************************
    ;
    ;========================================================
    
    sub check_muerto ; <==============================>
    if #CHARGHOST = Yes
    {
       check_loop:
       wait 3s
       if #CHARGHOST = Yes
           goto check_loop
    }
    return
    
    ;-@ ============================== @-;
    ;-@ ############################## @-;
    ;-@ SUBS públicos del Foro EasyUO  @-;
    ;-@ ############################## @-;
    ;-@ ============================== @-;
    ;
    sub waitForSysVar ; <==============================>
    if %0 < 4 || %4 = N/A
    set %4 %_defaultWaitForTimeout
    if %0 < 5
    set %5 return
    set %4 #sCnt2 + %4
    _waitForSysVar:
    set % . %5 # . %1 %2 %3
    if ! % . %5 && #sCnt2 < %4
    {
    Wait 1
    goto _waitForSysVar
    }
    return
    Saludos!

    Última edición por Lauda; 28-Apr-2019 a las 08:05

Temas similares

  1. Duda para asignar tecla a una macro
    Por Abel.Noar en el foro Macros
    Respuestas: 3
    Último mensaje: 09-Apr-2017, 03:40
  2. build arco+hiding+stealth
    Por eltutty en el foro Dudas y Preguntas
    Respuestas: 19
    Último mensaje: 12-May-2012, 21:58
  3. Trainer de Hiding(Ocultarse)
    Por djzaks en el foro Dudas y Preguntas
    Respuestas: 1
    Último mensaje: 26-Jul-2008, 02:12
  4. set %tecla º ???
    Por DragXire en el foro Macros
    Respuestas: 2
    Último mensaje: 31-Jan-2008, 09:05
  5. hiding
    Por Novella en el foro Dudas y Preguntas
    Respuestas: 9
    Último mensaje: 09-Oct-2007, 22:07

Etiquetas para este tema

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