Close
Page 2 of 6 FirstFirst 1 2 3 4 ... LastLast
Showing results 11 to 20 of 60
  1. #11

    Default

    Hi,

    the difference is basicly in the 'concept' of an ftl, and as a conclusion of that both in the macros and in HKN.

    The general concept of an FTL is, that the 'leader' is not specifiyed by 'focus' or 'target', but implicit simply by which window you actualy play in. So if one char is dead, you simply can switch over to another window an play from there, without the need of setting a new focus..

    This is achieved by the following:

    1. Each window is associated with a modifier-combination, which identifiys it.
    2. When you press an FTL-Key (lets say 2), the active window simply recieves the '2' but for all other widows, the modifier-combination for the active window (like f.ex. 'rshift + ralt') is also transmitted (so all 'slave'-windows get 'rshift + ralt + 2') (This is the part you set up in HKN with the above Templates)

    To get all Toons in WoW to 'assist' (or follow) you current master (which is allways the one which window is active) you create a 'assist' and 'follow' macro like this:

    lets say your Toons are idetifyed with the following modifiers:

    rCtrl + rShift = ToonA is leader
    rCtrl + rAlt = ToonB is leader
    rAlt + rShift = ToonC is leader
    rCtrl + rAlt + rShift = ToonD is leader
    rCtrl = ToonE is leader

    So you would use this macro for follow:
    Code:
    /stopmacro [nomod]
    /target [mod:rctrl,mod:rshift,nomod:ralt,target=ToonA][mod:rctrl,mod:ralt,nomod:rshift,target=ToonB][mod:ralt,mod:rshift,nomod:rctrl,target=ToonC][mod:rctrl,mod:ralt,mod:rshift,target=ToonD][mod:rctrl,nomod:ralt,nomod:rshift,target=ToonE] 
    /follow 
    /targetlasttarget
    and this macro for assist:
    Code:
    /stopmacro [nomod]
    /assist [mod:rctrl,mod:rshift,nomod:ralt]ToonA;[mod:rctrl,mod:ralt,nomod:rshift]ToonB;[mod:ralt,mod:rshift,nomod:rctrl]ToonC;[mod:rctrl,mod:ralt,mod:rshift]ToonD;[mod:rctrl,nomod:ralt,nomod:rshift]ToonE
    You see, in both macros the individual modifier combinations for the Toons (like rctrl for ToonE) are 'questioned' and if present, the corresponding toon is assited or followed.

    To make this work in WoW you bind the follow and assist macro to a specific key (lets say 1= follow, 2=assist) and you need to make sure, that all shift/alt/ctrl-combinations are unbound in the wow interface. For simplification you need to remember which Button you draged the 'assist'-macro to (for the example I will assume that you used the secondposition on the normal 'main'-bar of wow (ActionButton2)).

    In HKN, you use the Templates above, and simply define a new FTL-Key like

    <ApplyTemplate FTL "1" "1">
    <ApplyTemplate FTL "2" "2">
    (and customize the Windownames, labels etc, if you use other tahn me).

    Now what you do for all your ftl-casts is the following:
    1. define them as an FTL-Key in HKN
    2. Create A macro for your cast like you would normaly, and add a '/click ActionButton2' at the beginning and a '/targetlasttarget' at the end
    3. Drag the Macro to the button you want to bind it to
    4. make sure, that alt/ctrl/shift is unbound for that button.

    Example: Lets say we want to cast Lightning Bolt with pressing '3':

    Step 1: We add <ApplyTemplate FTL "3" "3"> in the HKN-File
    Step2 : We create the following macro:
    Code:
    /click ActionButton2
    /cast Lightning Bolt
    /targetlasttarget
    Step3: We drag the macro to the 3rd button of the actionbar
    Step4: We go to the keybindings menu and check that alt/ctrl/shift + 3 are unbound...

    I hope the main functionaloty of an ftl gets a little bit clearer, for more information on this you could also read the wiki/sticky about it.
    OLIPCS - ordinary life is pretty complex stuff
    ----------------------------------------------------------------
    Pala, Priest, Druid, Hunter, Mage
    Focusless Targetless Leaderless - Wiki
    HotKeyNet - Guide

  2. #12

    Default

    Answering Alcatells PM here:
    I can see I will need alot of schooling on this. Shall I continue here, move to HKN.com or little of both...
    Yeah, the FTL can be a little bit overwhelming ...

    To get the ftl working I would try to simply first get only the follow and assist key to work, and then proceed with the other keys...
    ..some infos for helping you out better would be:

    - The HKN-Script you are using now
    - The keys you want to use for follow and assist

    ..with this infos I think I can 'walk you through' this....

    another hkn/ftl-specific read I might suggest is this one:
    changing leaders macro

    Khatovar Edit - Since the old forum move, link no longer works. Believe the updated link is

    http://www.dual-boxing.com/threads/1...-leaders-macro
    Last edited by Khatovar : 02-23-2013 at 07:36 AM
    OLIPCS - ordinary life is pretty complex stuff
    ----------------------------------------------------------------
    Pala, Priest, Druid, Hunter, Mage
    Focusless Targetless Leaderless - Wiki
    HotKeyNet - Guide

  3. #13

    Default

    //================================================== ==============
    // FIVE WOW'S ON ONE PC
    // by Alcattle
    //
    // Instructions: Copy this entire script (all the blue writing
    // on gray background including comments). Save it in a file.
    // Load it into HotkeyNet.
    //
    // Toggle the scroll lock key to turn hotkeys off and on. (You
    // can change this if you want, just like you can change
    // everything else with HotkeyNet.)
    //
    // Requires HotkeyNet build 148 or higher.
    //
    // For more info, go to www.hotkeynet.com
    //================================================== ==============

    //-----------------------------------------------------------
    // PRESS CTRL R TO RENAME WOW'S IF YOU LAUNCH THEM MANUALLY.
    //-----------------------------------------------------------
    <Hotkey ScrollLockOn Ctrl R>
    <SendPC Local>
    <RenameWin "World of Warcraft" WoW1>
    <RenameWin "World of Warcraft" WoW2>
    <RenameWin "World of Warcraft" WoW3>
    <RenameWin "World of Warcraft" WoW4>
    <RenameWin "World of Warcraft" WoW5>

    //-----------------------------------------------------------
    // SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
    //-----------------------------------------------------------
    <Command LaunchAndRename>
    <SendPC %1%>
    <Run "c:\Program Files\World of Warcraft\WoW.exe">
    <RenameTargetWin %2%>
    <wait 1000>
    <text %3%>
    <Key tab>
    <text %4%>
    <wait 100>
    <Key Enter>

    <SetAffinity All>
    //-----------------------------------------------------------
    // HOTKEY TO LAUNCH AND RENAME YOUR WOW WINDOWS
    //-----------------------------------------------------------
    <Hotkey ScrollLockOn Alt Ctrl L>
    <LaunchAndRename Local WoW1 "toon" "password">
    <LaunchAndRename Local WoW2 "toon" "password">
    <LaunchAndRename Local WoW3 "toon" "password">
    <LaunchAndRename Local WoW4 "toon" "password">
    <LaunchAndRename Local WoW5 "toon" "password">

    //-----------------------------------------------------------
    // SUBROUTINE TO Position Windows for 5 boxing.
    //-----------------------------------------------------------
    <Command ResizeAndPosition>
    <SendPC Local>
    <SendWin %1%>
    <SetWinRect 0 0 1280 990>
    <SendWinM %2%>
    <SetWinRect 1280 0 640 512>
    <SendWinM %3%>
    <SetWinRect 1280 512 640 512>
    <SendWinM %4%>
    <SetWinRect 1920 0 640 512>
    <SendWinM %5%>
    <SetWinRect 1920 512 640 512>

    //-----------------------------------------------------------
    // 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>
    <Label w5 Local SendWinM WoW5>

    //----------------------------------------------------------------
    //Window Switching
    //----------------------------------------------------------------
    <Hotkey F1>
    <ResizeAndPosition WoW1 WoW2 WoW3 WoW4 WoW5>
    <SendLabel w1, w2, w3, w4, w5>
    <Key %Trigger%>
    <Hotkey F2>
    <ResizeAndPosition WoW2 WoW1 WoW3 WoW4 WoW5>
    <SendLabel w1, w2, w3, w4, w5>
    <Key %Trigger%>
    <Hotkey F3>
    <ResizeAndPosition WoW3 WoW2 WoW1 WoW4 WoW5>
    <SendLabel w1, w2, w3, w4, w5>
    <Key %Trigger%>
    <Hotkey F4>
    <ResizeAndPosition WoW4 WoW2 WoW3 WoW1 WoW5>
    <SendLabel w1, w2, w3, w4, w5>
    <Key %Trigger%>
    <Hotkey F5>
    <ResizeAndPosition WoW5 WoW2 WoW3 WoW4 WoW1>
    <SendLabel w1, w2, w3, w4, w5>
    <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, 0-9, F1-F12 except W, A, S, D, Q, E>

    <Hotkey ScrollLockOn MyList except F1-F5; ScrollLockOn Alt MyList; ScrollLockOn shift MyList; ScrollLockOn ctrl MyList except r>
    <SendLabel w1, w2, w3, w4, w5>
    <Key %Trigger%>
    //-----------------------------------------------------------
    // DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW'S.
    // ADD MORE KEYS IF YOU WANT.
    //-----------------------------------------------------------
    <MovementHotkey ScrollLockOn space, up, down, left, right>
    <SendLabel w1, w2, w3, w4, w5>
    <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 Oem3>

    <Hotkey ScrollLockOn Oem3 LButton, MButton, RButton, Button4, Button5>
    <SendLabel w1, w2, w3, w4, w5>
    <ClickMouse %TriggerMainKey%>

    I use /follow focus, and /assist focus on each /cast macro . I think T for target/assist anf F for follow works and are used by many for that purpose.

    what else? oh yes this won't load WoW as I took out names and password, but it is a good start if you need 5 accounts, one PC on 2 monitors
    RAF Tour Guide files are obsolete, I went to Zygor
    MultiBoxers play with themselves

  4. #14

    Default

    Anyone got a bone they could throw me. I will even type in 5 lines of code 10 times to get this working
    RAF Tour Guide files are obsolete, I went to Zygor
    MultiBoxers play with themselves

  5. #15

    Default

    Sorry, I forgot a little bit about the thread :(

    For the following I will try to explain the ftl on the following example:

    '1' will be used as a follow key
    '0' will be used for assisting
    '2' will be used for a dps cast

    First the HKN-Script:

    Code:
    //================================================================
    // FIVE WOW'S ON ONE PC
    // by Alcattle
    //
    // Instructions: Copy this entire script (all the blue writing
    // on gray background including comments). Save it in a file.
    // Load it into HotkeyNet.
    //
    // Toggle the scroll lock key to turn hotkeys off and on. (You
    // can change this if you want, just like you can change
    // everything else with HotkeyNet.)
    //
    // Requires HotkeyNet build 148 or higher.
    //
    // For more info, go to www.hotkeynet.com
    //================================================================
    
    //-----------------------------------------------------------
    // PRESS CTRL R TO RENAME WOW'S IF YOU LAUNCH THEM MANUALLY.
    //-----------------------------------------------------------
    <Hotkey ScrollLockOn Ctrl R>
    <SendPC Local>
    <RenameWin "World of Warcraft" WoW1>
    <RenameWin "World of Warcraft" WoW2>
    <RenameWin "World of Warcraft" WoW3>
    <RenameWin "World of Warcraft" WoW4>
    <RenameWin "World of Warcraft" WoW5>
    
    //-----------------------------------------------------------
    // SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
    //-----------------------------------------------------------
    <Command LaunchAndRename>
    <SendPC %1%>
    <Run "c:\Program Files\World of Warcraft\WoW.exe">
    <RenameTargetWin %2%>
    <wait 1000>
    <text %3%>
    <Key tab>
    <text %4%>
    <wait 100>
    <Key Enter>
    
    <SetAffinity All>
    //-----------------------------------------------------------
    // HOTKEY TO LAUNCH AND RENAME YOUR WOW WINDOWS
    //-----------------------------------------------------------
    <Hotkey ScrollLockOn Alt Ctrl L>
    <LaunchAndRename Local WoW1 "toon" "password">
    <LaunchAndRename Local WoW2 "toon" "password">
    <LaunchAndRename Local WoW3 "toon" "password">
    <LaunchAndRename Local WoW4 "toon" "password">
    <LaunchAndRename Local WoW5 "toon" "password">
    
    //-----------------------------------------------------------
    // SUBROUTINE TO Position Windows for 5 boxing.
    //-----------------------------------------------------------
    <Command ResizeAndPosition>
    <SendPC Local>
    <SendWin %1%>
    <SetWinRect 0 0 1280 990>
    <SendWinM %2%>
    <SetWinRect 1280 0 640 512>
    <SendWinM %3%>
    <SetWinRect 1280 512 640 512>
    <SendWinM %4%>
    <SetWinRect 1920 0 640 512>
    <SendWinM %5%>
    <SetWinRect 1920 512 640 512>
    
    //-----------------------------------------------------------
    // 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>
    <Label w5 Local SendWinM WoW5>
    
    //----------------------------------------------------------------
    //Window Switching
    //----------------------------------------------------------------
    <Hotkey F1>
    <ResizeAndPosition WoW1 WoW2 WoW3 WoW4 WoW5>
    <SendLabel w1, w2, w3, w4, w5>
    <Key %Trigger%>
    <Hotkey F2>
    <ResizeAndPosition WoW2 WoW1 WoW3 WoW4 WoW5>
    <SendLabel w1, w2, w3, w4, w5>
    <Key %Trigger%>
    <Hotkey F3>
    <ResizeAndPosition WoW3 WoW2 WoW1 WoW4 WoW5>
    <SendLabel w1, w2, w3, w4, w5>
    <Key %Trigger%>
    <Hotkey F4>
    <ResizeAndPosition WoW4 WoW2 WoW3 WoW1 WoW5>
    <SendLabel w1, w2, w3, w4, w5>
    <Key %Trigger%>
    <Hotkey F5>
    <ResizeAndPosition WoW5 WoW2 WoW3 WoW4 WoW1>
    <SendLabel w1, w2, w3, w4, w5>
    <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, 3-9, F1-F12 except W, A, S, D, Q, E>
    
    <Hotkey ScrollLockOn MyList except F1-F5; ScrollLockOn Alt MyList; ScrollLockOn shift MyList; ScrollLockOn ctrl MyList except r>
    <SendLabel w1, w2, w3, w4, w5>
    <Key %Trigger%>
    //-----------------------------------------------------------
    // DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW'S.
    // ADD MORE KEYS IF YOU WANT.
    //-----------------------------------------------------------
    <MovementHotkey ScrollLockOn space, up, down, left, right>
    <SendLabel w1, w2, w3, w4, w5>
    <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 Oem3>
    
    <Hotkey ScrollLockOn Oem3 LButton, MButton, RButton, Button4, Button5>
    <SendLabel w1, w2, w3, w4, w5>
    <ClickMouse %TriggerMainKey%>
    
    //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%" "rctrl rshift" WoW1 "w2,w3,w4,w5">
                   	<ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl ralt" WoW2 "w1,w3,w4,w5">
                   	<ApplyTemplate SendLeaderless "%1%" "%2%" "ralt rshift" WoW3 "w1,w2,w4,w5">
                   	<ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl ralt rshift" WoW4 "w1,w2,w3,w5">
                   	<ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl" WoW5 "w1,w2,w3,w4">      	
    <EndTemplate>
    
    //Definition of FTL keys (here 1,2,oem5 (left of 1))
    // I will use for example purpose:
    // 1 = follow
    // 0 = assist
    // 2 = dps-cast
    // (to make this work 0,1,2 has to be erased from the normal keylist!)
    <ApplyTemplate FTL 0 0>
    <ApplyTemplate FTL 1 1>
    <ApplyTemplate FTL 2 2>
    ..here I simply added the FTL-Templates, and created the 3 FTL-Key (and removed them from the normal list), so no big magic...
    from here on, all you have to do is setup WoW, which is basicly described here: changing leaders macro (from point 4. on).

    Khatovar Edit - Since the old forum move, link no longer works. Believe the corrected link is

    http://www.dual-boxing.com/threads/1...-leaders-macro
    Last edited by Khatovar : 02-23-2013 at 07:35 AM
    OLIPCS - ordinary life is pretty complex stuff
    ----------------------------------------------------------------
    Pala, Priest, Druid, Hunter, Mage
    Focusless Targetless Leaderless - Wiki
    HotKeyNet - Guide

  6. #16

    Default Hotkeynet FTL Formations

    Thanks Olipcs, I just switched over to HKN, and this script made it too easy.

    HKN FTL Formations
    Heavily inspired by the OP, here is how I adapted it for FTL formations. It is not necessary for formations to be FTL based, but I quite like it when my focused window stays in the centre of the cross / middle of the line / etc.

    First bit (assumes you already have labels w1-5 set up using windows named WoW1-5):
    Code:
    //-----------------------------------------------------------
    // FTL FORMATIONS
    //-----------------------------------------------------------
    <Template SendFormation>
        <If ActiveWinIs %1%>
            <SendLabel w1>
                <Key %2%>
            <SendLabel w2>
                <Key %3%>
            <SendLabel w3>
                <Key %4%>
            <SendLabel w4>
                <Key %5%>
            <SendLabel w5>
                <Key %6%>
    <EndTemplate>
    
    <Template Formation>
        <MovementHotkey %1%>     
            <ApplyTemplate SendFormation WoW1 "%2%" "%3%" "%4%" "%5%" "%6%">
            <ApplyTemplate SendFormation WoW2 "%3%" "%2%" "%4%" "%5%" "%6%">
            <ApplyTemplate SendFormation WoW3 "%3%" "%4%" "%2%" "%5%" "%6%">
            <ApplyTemplate SendFormation WoW4 "%3%" "%4%" "%5%" "%2%" "%6%">
            <ApplyTemplate SendFormation WoW5 "%3%" "%4%" "%5%" "%6%" "%2%">          
    <EndTemplate>
    Then for second bit, you put in your own variables, in the format:
    Code:
    <ApplyTemplate Formation "Var1" "Var2" "Var3" "Var4" "Var5" "Var6">
    Where Var1 = key pressed, Var2 = sent to current window, Var3-6 = sent to each of the other windows in sequential order

    For example:
    Code:
    // <ApplyTemplate Formation "Var1" "Var2" "Var3" "Var4" "Var5" "Var6">
    // Where Var1 = key pressed, Var2 = sent to current window, Var3-6 = sent to each of the other windows
    <ApplyTemplate Formation "Left" "Up" "W" "D" "A" "S">        // Diamond // or Pentagram part 1
    <ApplyTemplate Formation "Shift Left" "Up" "S" "A" "D" "W">    // Reverse Diamond
    <ApplyTemplate Formation "Up" "Up" "A" "D" "A" "D">            // Line part 1
    <ApplyTemplate Formation "Down" "Up" "D" "A" "A" "D">        // Line part 2
    <ApplyTemplate Formation "Shift Up" "Up" "D" "A" "D" "A">    // Reverse Line part 1
    <ApplyTemplate Formation "Shift Down" "Up" "A" "D" "D" "A">    // Reverse Line part 2
    <ApplyTemplate Formation "Right" "W" "D" "S" "W" "A">        // Pentagram part 2
    <ApplyTemplate Formation "Right" "S" "A" "W" "S" "D">        // Reverse Pentagram part 2
    With these examples, I have the up key unbound in all 5 WoWs (I haven't worked out how to give it a variable that means send nothing), so when up is sent it means: that char don't move!
    So with the above, press first up, then down, to get a straight line (sequentially, not together). I prefer this method to the walk/run method because I often forgot to untoggle walk at the end, and also it looks kinda cool when they rush around looking a bit random, but finish in a perfect line.
    Hold left & right down together to get a pentagram.
    Press left to get a diamond.
    Hold shift and any of these to do the opposite (eg to adjust/backtrack).
    Last edited by Flekkie : 11-05-2009 at 07:38 PM
    Coming out of nowhere drivin' like rain, Stormbringer dance on the thunder again
    Dark cloud gathering breaking the day, no point running cause its coming your way

    Rainbow shaker on a stallion twister, bareback rider on the eye of the sky
    Stormbringer coming down meaning to stay, thunder and lightning heading your way

    Ride the rainbow crack the sky, Stormbringer coming time to die

    ~ Deep Purple, Stormbringer

  7. #17

    Default

    Whoa this totally blows away my pathetic formation macros!
    Once I get home I will steal your formation key and use them to dominate my world bwahaha.


    In other words, thanks for posting this! Much appreciated!

  8. #18

    Default

    Hi there, first thank you all so much for this great tool and all the work put into it.

    I'm trying real hard to wrap my head around FTL.

    Unfortunately all the links you keep putting in your forum posts to other threads and the "FTL Wiki" are either:
    1) Dead links
    2) The wiki is empty, there is no info on that page

    So I still cant find an actual walkthrough and explanation of FTL.
    So my understanding is like this:

    1) Using your templates, of course...

    2) Using your setup of "modifiers" ie:
    rCtrl + rShift = ToonA is leader
    rCtrl + rAlt = ToonB is leader
    rAlt + rShift = ToonC is leader
    rCtrl + rAlt + rShift = ToonD is leader
    rCtrl = ToonE is leader
    3) Create an FTL key in HKN Script, ie:
    <ApplyTemplate FTL "Q" "Q">
    4) Create macro in-game, ie:
    /stopmacro [nomod]/target [mod:rctrl,mod:rshift,nomod:ralt,target=ToonA][mod:rctrl,mod:ralt,nomod:rshift,target=ToonB][mod:ralt,mod:rshift,nomod:rctrl,target=ToonC][mod:rctrl,mod:ralt,mod:rshift,target=ToonD][mod:rctrl,nomod:ralt,nomod:rshift,target=ToonE] [/B]
    /follow
    /targetlasttarget
    5) Link the macro in-game to a button that is linked to "Q", lets say ActionButton1.

    6) Then lets say we are in window of ToonE, and we press Q -- what happens exactly??? This is where I am getting lost.

    I am assuming that one of 2 things happens:
    1) All other windows (ToonA through ToonD) receive the keypress "Q" + the corresponding "modifier" (eg: rCtrl + rAlt + Q for ToonB, rCtrl + rAlt + rShift + Q for ToonD)
    2) All other windows simply get the keypress "Q" -- which means there is no difference than normal key forwarding.

    Now - I'm guessing the first option is happening, but now this is where I am really confused.
    If each other window is getting a specific modifier, lets take ToonB for example, it gets "rCtrl + rAlt + Q". Well what the heck do I setup for hotkeys in ToonB's window??!?! I have to setup explicit hotkey that triggers on "rCtrl + rAlt + Q"??? But you just said to remove all ctrl/alt/shift hotkeys???
    So how in the world does that key ever get pressed???

    The other way of this possibly working that I am thinking is if we insert another step between #5 and #6 above:
    5) Link the macro in-game to a button that is linked to Q.
    5b) Switch to Window ToonB - and hit the corresponding modifiers to inform HKN that we switched to ToonB: "rCtrl + rAlt"
    5c) HKN switched the master to ToonB and slaves to ToonA/C/D/E
    6) Now when we hit Q, HKN knows that we are in ToonB's window, so it passes Q - but all the other windows are already following ToonB

    If it works this way, it seems like a step is missing: variable storage -- so I dont exactly know how this is possible either.
    So - I have one more question -- if it does indeed work this way, then we can effectively use whatever we want as the "modifiers" to inform HKN of the new master, correct?
    So this would work as well:
    [/COLOR]
    /stopmacro [nomod]
    /target [mod:rctrl,nomod:rshift,nomod:ralt,F8,target=ToonA][mod:rctrl,nomod:rshift,nomod:ralt,F9,target=ToonB][mod:rctrl,nomod:rshift,nomod:ralt,F10,target=ToonC][mod:rctrl,nomod:rshift,nomod:ralt,F11,target=ToonD][mod:rctrl,nomod:rshift,nomod:ralt,F12,target=ToonE]
    /follow
    /targetlasttarget
    Or not?
    I currently use F8-F12 to swap my windows.
    I have one main window -- and 4 "sidepanel" windows along the right side of my screen in 400x250 res.

    What I would really like to see is a script that "smartly" figures out which window is the master...I was hoping that is how FTL works.
    So that whenever you swap windows, the script is generic and swaps master to whatever window you are focused on.

    The above CTRL+F8 through CTRL+F12 modifiers would work real nice in that case if I simply had to let HKN know which was the master - I could swap to F10 and then hit CTRL+F10. No problem. I swap windows, and let HKN know the new window is the master.

    It seems there is a step missing there for that to be possible though.

    So - please for the love of logic and followable walkthroughs, step us through what EXACTLY is sent to each window, from each action...

    Thanks again!
    Last edited by Khatovar : 11-29-2012 at 11:41 PM

  9. #19

    Default

    I tried answering this question by question, but that soooo wasn't working.

    Keeping in mind I don't use FTL and never have, I'm going to try and explain what's going on.

    First - FTL means "Focusless, Targetless, Leaderless". This is a detailed explanation.

    Very simply, depending on what window you are in, you are automatically sending a different modifier. That modifier is telling all your toons who to "assist" by targeting a toon based off those modifiers.

    At this point, let's completely disregard all the snippets you quoted, because I don't think they're doing what you think they are and that's only making things more complicated and confusing.


    I kind of find it easier to work backwards, so bear with me as I try and explain.

    1. From post 1 we need to create the templates. I'll explain them later, just add them to your script.

    2. Create the macro in WoW that establishes the modifiers for who is leader. This is the FTL macro.

    Code:
    /stopmacro [nomod]
    /assist [mod:rctrl,mod:rshift,nomod:ralt]ToonA;[mod:rctrl,mod:ralt,nomod:rshift]ToonB;[mod:ralt,mod:rshift,nomod:rctrl]ToonC;[mod:rctrl,mod:ralt,mod:rshift]ToonD;[mod:rctrl,nomod:ralt,nomod:rshift]ToonE
    You will need to change ToonA-E to the names of your toons.

    3. Put that macro on the same key for everyone. Make note that the macro I'm using is NOT the same as the one you were trying to use. Mine is for assisting. The one you had was a target and follow macro, which we'll do later. For this part we'll put the macro on the = key.

    4. Now we need a spell, so we'll use the LB macro -

    Code:
    /click ActionButton12
    /cast Lightning Bolt
    /targetlasttarget
    Place the macro on button 1 of your actionbars. The /click is what will call your FTL macro which will tell your toons who to assist. The default placement of = in game is ActionButton12.

    5. Now we need to delete the modifiers in game. The modifiers need to be removed from button use because they are being defined in the FTL macro that's on =. If you don't remove the modified versions of the keybinding then you will run into conflicts when HKN sends the modifiers because the game will think you're trying to call an entirely different key. For example, the default binding for Ctrl+1 in game is your pet bar. If you left it bound, then when you pressed 1 while trying to use FTL, the game would try and trigger the pet bar instead of the FTL.


    Now we have all the basics set up, we'll go back to the HotKeyNet file.

    At this point we want to be able to cast Lightning Bolt, which we put on Key 1. We also want this to use the FTL setup instead of straight broadcasting. So we need to define that in the HotKeyNet file. We do this with the ApplyTemplate to call the FTL template

    Code:
    <ApplyTemplate FTL "1" "1">
    So, what does that mean? We go back into the original code from post 1 where we set up the FTL template

    Code:
    // %1% : master-key
    // %2% : slave-key
    <Template FTL>
              <Hotkey %1%>     
                       <ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl rshift" WoW1 "w2,w3,w4,w5">
                       <ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl ralt" WoW2 "w1,w3,w4,w5">
                       <ApplyTemplate SendLeaderless "%1%" "%2%" "ralt rshift" WoW3 "w1,w2,w4,w5">
                       <ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl ralt rshift" WoW4 "w1,w2,w3,w5">
                       <ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl" WoW5 "w1,w2,w3,w4">          
    <EndTemplate>
    Now we need to understand Arguments. An argument is a variable that is defined in our commands. The first word, term or string following our command is argument 1, referenced in our subroutine as %1%. The second is argument 2, or %2% in our subroutine. So in the code for ApplyTemplate FTL, we established that the first two arguments for variables %1% and %2% are 1 and 1 {IE, the actual key we pressed and want sent}.

    Ok, we've pressed 1. HotKeyNet pulls the arguments from the ApplyTemplate FTL and plugs them into Template FTL wherever it sees %1% and %2%. But, Template FTL is also calling the command to ApplyTemplate SendLeaderless and supplying a bunch of arguments of its own {carrying over the arguments from ApplyTemplate FTL}.

    So let's look at Template SendLeaderless.

    Code:
    // %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>
    The comments give you a little cheat-sheet for knowing what all these arguments will be. %1% and %2% are the master and slave keys from ApplyTemplate FTL {1 and 1}. Next is the modifier that we want sent, which we find in Template FTL. As I explained back there, argument 3 {%3%} would be the third thing following the command "ApplyTemplate SendLeaderless", which for us is the modifiers. %4% define which window is the Active, and thus the "Master" window. And %5% defines which windows are the slaves.

    As you can see, the information for %3%, %4% and %5% are all different. This section looks for the currently active window {%4%} and then calls ApplyTemplate SendMasterAndSlave and sends it the arguments it finds associated with that Active Window.

    So if the currently active window is called WoW1, as seen in Template FTL, then it pulls argument 3 from that line {"rctrl rshift"} and inputs it into %3% to determine the modifiers to send, and pulls argument 5 {"w2,w3,w4,w5"} and inputs it into %5% to determine which windows are slaves.

    If WoW4 were the active, then it would input the information in that line from Template FTL { "rctrl ralt rshift" and "w1,w2,w3,w5"}.

    This will drop us back down to 4 arguments that are forwarded on to the last piece of the puzzle, Template SendMasterAndSlave.

    Code:
    //%1% : Master Key
    // %2% : Slave Key
    // %3% : Modifier
    // %4% : SlavesToSend
    <Template SendMasterAndSlave>
             <SendFocusWin>
                      <Key %1%>
             <Sendlabel %4%>
                      <Key %3% %2%>
    <EndTemplate>
    Again, our comments say %1% is our master key and %2% is our slave key{1 from <ApplyTemplate FTL "1" "1">}. %3% is the modifier and %4% is the slaves as established in Template SendLeaderless.

    So, the Master window is sent the key 1 {%1%}. Everyone else is labeled as a slave window {%4%} and those slave windows get sent the modifier keys {%3%} and the slave key 1{%2%}. This means if WoW1 is active, then "w2,w3,w4,w5" are slave windows, so WoW1 gets 1 and the slaves get rctrl rshift 1. According to the macro in game

    Code:
    /stopmacro [nomod]
    /assist [mod:rctrl,mod:rshift,nomod:ralt]ToonA;[mod:rctrl,mod:ralt,nomod:rshift]ToonB;[mod:ralt,mod:rshift,nomod:rctrl]ToonC;[mod:rctrl,mod:ralt,mod:rshift]ToonD;[mod:rctrl,nomod:ralt,nomod:rshift]ToonE
    rctrl rshift means the slaves should assist ToonA and cast Lightning Bolt.

    If WoW2 is active, then "w1,w3,w4,w5" are slaves and the modifier would be "rctrl ralt", and the slaves would assist ToonB. And so on.


    Now, back to the follow macro. You would create the macro in game

    Code:
    /stopmacro [nomod]
    /target [mod:rctrl,mod:rshift,nomod:ralt,target=ToonA][mod:rctrl,mod:ralt,nomod:rshift,target=ToonB][mod:ralt,mod:rshift,nomod:rctrl,target=ToonC][mod:rctrl,mod:ralt,mod:rshift,target=ToonD][mod:rctrl,nomod:ralt,nomod:rshift,target=ToonE]
    /follow 
    /targetlasttarget
    Again, change the ToonA-E to your Toon names. Place it on Q.

    Add the code to HotKeyNet

    Code:
    <ApplyTemplate FTL "Q" "Q">
    Here you ask

    ...we are in window of ToonE, and we press Q -- what happens exactly?
    If you are in the window for ToonE, which is WoW5, HotKeyNet will go through all that code above and determine that WoW5 is active, thus "w1,w2,w3,w4" are the slaves. So it will send Q to the master {ToonE}. Since ToonE gets an unmodified Q and you have /stopmacro [nomod], nothing happens to ToonE, which is exactly what you want in this case.

    But, all the other toons are slaves, so they get a modified Q. WoW5 being master means the modifier HotKeyNet sends from SendLeaderless is rctrl, and rctrl Q and the macro says that mod:rctrl,nomod:ralt,nomod:rshift,target=ToonE, and they will target ToonE and follow him.


    What I would really like to see is a script that "smartly" figures out which window is the master...I was hoping that is how FTL works.
    So that whenever you swap windows, the script is generic and swaps master to whatever window you are focused on.
    This is exactly what FTL does based on active window, the arguments and variables in the script.

    You keep talking about "hit the corresponding modifiers to inform HKN that we switched to ToonB: "rCtrl + rAlt"...there are no modifiers to physically press. The modifiers being sent are "automatically input" based on what window is your active window, which HotKeyNet doesn't need you to define, it already sees it because it's the window that currently has the OS's focus.
    Last edited by Khatovar : 05-31-2013 at 01:14 AM
    Blog : Herding Khats
    Team : Kina - Çroaker - Messkit - Lìfetaker - Wìdowmaker
    Newbie Guides : Multiboxing Vol. 1 - Multiboxing Vol. 2 - HotKeyNet - Jamba
    The Almighty Lax made a liar out of me, apparently I DO get prizes for it.
    *Commences Wielding the Banhammer like there's piñatas up in here and I'm Lady Thor*

    _ Forum search letting you down? Use the custom Google search _

  10. #20

    Default

    Quote Originally Posted by Khatovar View Post
    I tried answering this question by question, but that soooo wasn't working.

    Keeping in mind I don't use FTL and never have, I'm going to try and explain what's going on.

    First - FTL means "Focusless, Targetless, Leaderless". This is a detailed explanation.
    You my friend - kick ass and chew bubble gum...
    Here, have some more gum...

    Thank you very much.
    Clearly understood now and your post should be stickied.

    I really have to note that linking to many other threads however is what makes alot of these posts become irrelevant.
    If the full explanation and walkthrough isnt in one single thread - then what happens (what has already happened) is the links you put in your post become dead, outdated, or moved and then the full explanation is no longer possible to get.
    Basically every thread olipcs had written - although absolutely wonderful - fell into this hole. He didnt explain a big chunk of the process and instead inserted a link to a post that did - a link that is currently dead or removed - so there were gaping holes in all the explanations.
    Perhaps you can even improve your post by removing all external links and simply making one post with all the actual info in it?
    That would be a monument worth stickying at the very top and I'm sure also save many other people the same aggravation.

    Anyway thank you so much for taking your time to help.

Similar Threads

  1. A simple request.
    By noob123 in forum New Multi-Boxers & Support
    Replies: 5
    Last Post: 11-02-2008, 12:04 AM
  2. Just a simple question?
    By Hellsceammulti in forum New Multi-Boxers & Support
    Replies: 1
    Last Post: 10-08-2008, 04:34 PM
  3. Templates
    By Djarid in forum Off-Topic
    Replies: 2
    Last Post: 03-08-2008, 12:26 PM
  4. Class templates
    By Djarid in forum Off-Topic
    Replies: 3
    Last Post: 03-06-2008, 04:05 PM
  5. Simple Question
    By Moon in forum New Multi-Boxers & Support
    Replies: 10
    Last Post: 11-25-2007, 10:24 PM

Posting Rules

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