Close
Showing results 1 to 3 of 3
  1. #1

    Default HotKeyNet - Macro FTL Follow Problem

    Hello everyone,

    i have 4 toons

    wiiky - wiikii - wiikkii - wikii

    Code:
    #####################wiikkii
    /stopmacro [nomod]
    /targetexact [mod:ctrl,mod:shift]Wikii;[mod:ctrl,mod:alt]Wiiky;[mod:alt,mod:shift]Wiikii;[nomod]Wiikkii;
    /follow
    /targetlasttarget
    
    #####################wiikii
    /stopmacro [nomod]
    /targetexact [mod:ctrl,mod:shift]Wikii;[mod:ctrl,mod:alt]Wiiky;[mod:ctrl,mod:alt,mod:shift]Wiikkii;[nomod]Wiikii;
    /follow
    /targetlasttarget
    
    #####################wiiky   
    
    /stopmacro [nomod]
    /targetexact [mod:ctrl,mod:shift]Wikii;[mod:alt,mod:shift]Wiikii;[mod:ctrl,mod:alt,mod:shift]Wiikkii;[nomod]Wiiky;
    /follow
    /targetlasttarget
    
    #####################wikii
    
    /stopmacro [nomod]
    /targetexact [mod:ctrl,mod:alt]Wiiky;[mod:alt,mod:shift]Wiikii;[mod:ctrl,mod:alt,mod:shift]Wiikkii;[nomod]Wikii;
    /follow
    /targetlasttarget

    Here is my HKN Script:

    Code:
    <Command ResizeAndPosition>
       <SendPC Local>
          <SendWin %1%>
                    <SetWinSize 1440 810>
                   <SetWinPos 240 0>
               
          <SendWinM %2%>
                   <SetWinSize 640 270>
                   <SetWinPos 0 810>  
            <SendWinM %3%>
                  <SetWinSize 640 270>
                  <SetWinPos 640 810>     
            <SendWinM %4%>
                  <SetWinSize 640 270>
                  <SetWinPos 1280 810>     
    
    
    
    <Command LaunchAndRename>
      <SendPC %1%>
      <Run %2%>
      <RenameTargetWin %3%>
      <RemoveWinFrame>
      <SetAffinity %4%>
    
    //-----------------------------------------------------------
    // HOTKEY TO LAUNCH AND RENAME YOUR WOW WINDOWS while 5 boxing
    // Please configure the Path and processor afinitys correctly
    //-----------------------------------------------------------
    <Hotkey Alt Ctrl L>
    <LaunchAndRename Local "D:\Games\BoXing\wo1\wow.exe" WoW1 1>
    <LaunchAndRename Local "D:\Games\BoXing\wo2\wow.exe" WoW2 1>
    <LaunchAndRename Local "D:\Games\BoXing\wo3\wow.exe" WoW3 2>
    <LaunchAndRename Local "D:\Games\BoXing\wo4\wow.exe" WoW4 2>
    <ResizeAndPosition WoW1 WoW2 WoW3 WoW4>
    //-----------------------------------------------------------
    // DEFINE MAIL LABELS FOR SENDING KEY STROKES.
    //-----------------------------------------------------------
    <Label w1 Local SendWinM WoW1>
    <Label w2 Local SendWinM WoW2>
    <Label w3 Local SendWinM WoW3>
    <Label w4 Local SendWinM WoW4>
    
    
    //----------------------------------------------------------------
    //Window Switching
    //----------------------------------------------------------------
    <Hotkey F1>
    <ResizeAndPosition WoW1 WoW2 WoW3 WoW4>
    <SendLabel w1, w2, w3, w4>
    <Key %Trigger%>
    <Hotkey F2>
    <ResizeAndPosition WoW2 WoW1 WoW3 WoW4>
    <SendLabel w1, w2, w3, w4>
    <Key %Trigger%>
    <Hotkey F3>
    <ResizeAndPosition WoW3 WoW2 WoW1 WoW4>
    <SendLabel w1, w2, w3, w4>
    <Key %Trigger%>
    <Hotkey F4>
    <ResizeAndPosition WoW4 WoW2 WoW3 WoW1>
    <SendLabel w1, w2, w3, w4>
    <Key %Trigger%>
    
    
    //-----------------------------------------------------------
    // DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
    // SENT TO BOTH WOWS. ADD MORE KEY COMBO'S IF YOU WANT. 
    //-----------------------------------------------------------
    <KeyList MyList A-Z, 1-9, Numpad1, Numpad2, Numpad3, Numpad4, Numpad5, Numpad6, Numpad7, Numpad8, Numpad9, Enter, Tab,Space, Comma except E, F, S, D, Q, M, j, R, t, w, g, h, 1, 6, 7>
    
    <Hotkey MyList; Shift MyList; Alt MyList; Ctrl MyList>
           <SendLabel w1, w2, w3, w4>
           <Key %Trigger%>
    
    //-----------------------------------------------------------
    // DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW'S.
    // ADD MORE KEYS IF YOU WANT. 
    //-----------------------------------------------------------
    <MovementHotkey up, down, left, right>
    <SendLabel w1, w2, w3, w4> 
    <Key %Trigger%>
    
    //-----------------------------------------------------------
    // BROADCAST MOUSE CLICKS. HOLD DOWN OEM3 (ON U.S. KEYBOARDS,
    // THAT'S THE SQUIGGLE KEY IN UPPPER LEFT CORNER) WHEN YOU
    // WANT TO BROADCAST.
    //-----------------------------------------------------------
    <UseKeyAsModifier Oem5>
    
    <Hotkey Oem5 LButton, MButton, RButton>
    <SendLabel w1, w2, w3, w4>
    <ClickMouse %TriggerMainKey%>
    
    <hotkey end>
        <sendpc local>
    <ToggleHotkeys>
    
    
    
    
    //-----------------------------
    //Added FTL Templates
    //%1% : Master Key
    // %2% : Slave Key
    // %3% : Modifier
    // %4% : SlavesToSend
    //-------------------------------
    <Template SendMasterAndSlave>
             <SendFocusWin>
                      <Key %1%>
             <Sendlabel %4%>
                      <Key %3% %2%>
    <EndTemplate>
    
    // %1% : master key
    // %2% : slave key
    // %3% : modifier
    // %4% : Active window
    // %5% : Slave Windows
    <Template SendLeaderless>
            <If ActiveWinIs %4%>
                <ApplyTemplate SendMasterAndSlave "%1%" "%2%" "%3%" "%5%">
    <EndTemplate>
    
    // %1% : master-key
    // %2% : slave-key
    <Template FTL>
              <Hotkey %1%>     
                       <ApplyTemplate SendLeaderless "%1%" "%2%" "ctrl shift" WoW1 "w2,w3,w4">
                       <ApplyTemplate SendLeaderless "%1%" "%2%" "ctrl alt" WoW2 "w1,w3,w4">
                       <ApplyTemplate SendLeaderless "%1%" "%2%" "alt shift" WoW3 "w1,w2,w4">
                       <ApplyTemplate SendLeaderless "%1%" "%2%" "ctrl alt shift" WoW4 "w1,w2,w3">        
    <EndTemplate>
    
    // I will use for example purpose:
    
    // 1 assist
    // z follow
    // r dmg
    
    <ApplyTemplate FTL 1 1>
    <ApplyTemplate FTL j j>
    <ApplyTemplate FTL r r>
    <ApplyTemplate FTL t t>

    wow1 - is wikii
    wow2 - is wiiky
    wow3 - is wiikii
    wow4 - is wiikkii

    everything works fine for wikii and wiiky ...

    but it seems to be messed up for wiikii and wiikkii.

    i would be glad if someone have an idea.

    sincery spud

  2. #2

    Default

    [QUOTE=spudstar99;305637
    everything works fine for wikii and wiiky ...
    but it seems to be messed up for wiikii and wiikkii.
    i would be glad if someone have an idea.
    sincery spud[/QUOTE]

    Be great if you could unpack / explain "messed up", is this falling through to targetlasttarget or doing nothing from the multiplexer there are no issues in the logging of hkn right?

    What happens if you manually (minus the multiplexer) issue these keys?

  3. #3

    Default

    hello, it seems like there is happingning nothing ...

    or they take other chars as leader ...

    but mostly it seems to find no target @ all

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •