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

    Default Need help With FTL =.=

    Ok so here it goes.... it has been few days now that i decided to give a shot to Multiboxing... and guess what... i loved the idea(we leave behind the fact that since that day i havent played and i am trying to optimally tweak all those great posts(thanks to all btw for all the hard work!!!)to my needs and likes).So.. i used a simple 5 wow with 2 screen setup... moved to a Pip modification..... and now i want to add FTL / head about to explode. i found a nice Code out there without the name of the creator the has some great swapping techniques like Mouseover swap windows, Hotkey swap windows, rearrange windows... buttons showing if HKN and AWT are on etc. It is supposed to have FTL in(or so the name of the post said so) but i cant seem to figure it out since it seems different from what i read here in the forum. tried to erase the Templates and use the ones i found here in the forums but swapping stopped working :/ . So i post the Code i found and my humble wish is that someone tells me hot to keep all the Visuall tweaks of this code BUT also add FTL use to it...

    Thanks in advance and sorry for the long post

    Part 1:

    Code:
    // Tab - Toggles hot keys on or off
    // Ctrl Alt A - Toggle active window tracking
    // Ctrl Alt L - Launch 5 instances of world of warcraft
    // Ctrl Alt X - Make the active window the main window
    // Ctrl Alt F1 - Make WoW1 the main window
    // Ctrl Alt F2 - Make WoW2 the main window
    // Ctrl Alt F3 - Make WoW3 the main window
    // Ctrl Alt F4 - Make WoW4 the main window
    // Ctrl Alt F5 - Make WoW5 the main window
    // Ctrl Alt D Arrange the windows in the default layout
    // Ctrl Alt 1 - relaunch WoW1
    // Ctrl Alt 2 - relaunch WoW2
    // Ctrl Alt 3 - relaunch WoW3
    // Ctrl Alt 4 - relaunch WoW4
    // Ctrl Alt 5 - relaunch WoW5
    // Keys 1 - 0 and the minus key are sent to all windows
    
    
    //-----------------------------------------------------------
    // Launch and rename world of warcraft
    //-----------------------------------------------------------
    <Command LaunchAndRename>
       <SendPC local> 
          <Run "C:\Users\Public\Games\World of Warcraft\WoW.exe">
            <RenameTargetWin %1%>
    
    
    //-----------------------------------------------------------
    // Template: SetPos Command
    //
    // %1% - Window number. (1, 2, 3, 4 or 5)
    // %2% - Window name. Passed as a parameter value by callers.
    // %3% - Window X coordinate
    // %4% - Window Y coordinate
    // %5% - Window Width
    // %6% - Window Height
    //-----------------------------------------------------------
    <Template SetPos>
        <Command SetPos%1%>
            <SetVar Win%1% %2%>
            <TargetWin %2%>
                <SetWinPos %3% %4%>
                <SetWinSize %5% %6%>
                <UpdateWin>
    <EndTemplate>
    
    
    //-----------------------------------------------------------
    // ApplyTemplate: SetPos1 Command
    //-----------------------------------------------------------
    <ApplyTemplate SetPos 1 "%1%" "0" "0" "965" "795">
    
    
    //-----------------------------------------------------------
    // ApplyTemplate: SetPos2 Command
    //-----------------------------------------------------------
    <ApplyTemplate SetPos 2 "%1%" "0" "795" "965" "795">
    
    
    //-----------------------------------------------------------
    // ApplyTemplate: SetPos3 Command
    //-----------------------------------------------------------
    <ApplyTemplate SetPos 3 "%1%" "965" "0" "795" "660">
    
    
    //-----------------------------------------------------------
    // ApplyTemplate: SetPos4 Command
    //-----------------------------------------------------------
    <ApplyTemplate SetPos 4 "%1%" "1760" "0" "795" "660">
    
    
    //-----------------------------------------------------------
    // ApplyTemplate: SetPos5 Command
    //-----------------------------------------------------------
    <ApplyTemplate SetPos 5 "%1%" "965" "660" "1135" "930">
    
    
    //-----------------------------------------------------------
    // Default Window Layout
    //-----------------------------------------------------------
    <Command DefaultWindowLayout>
        // Win1 position
        <SetPos1 WoW1>
    
    
        // Win2 position
        <SetPos2 WoW3>
    
    
        // Win3 position
        <SetPos3 WoW5>
    
    
        // Win4 position
        <SetPos4 WoW4>
    
    
        // Win5 position
        <SetPos5 WoW2>
    
    
    //-----------------------------------------------------------
    // Template: Swap Command
    //
    // There are five window positions. Each window position has
    // a number assigned to it. This command swaps the positions
    // of two windows with one another.
    //
    // %1% - Window Position Number for window A
    // %2% - Window Position Number for window B
    // %3% - Window name of the window to be placed at position A
    // %4% - Window name of the window to be placed at position B
    //-----------------------------------------------------------
    <Template Swap>
        <Command Swap%1%And%2%>
            // Win%1% position
            <SetPos%1% %3%>
    
    
            // Win%2% position
            <SetPos%2% %4%>
    <EndTemplate>
    
    
    //-----------------------------------------------------------
    // ApplyTemplate: Swap1and5 Command
    //-----------------------------------------------------------
    <ApplyTemplate Swap 1 5 "%2%" "%1%">
    
    
    //-----------------------------------------------------------
    // ApplyTemplate: Swap2and5 Command
    //-----------------------------------------------------------
    <ApplyTemplate Swap 2 5 "%2%" "%1%">
    
    
    //-----------------------------------------------------------
    // ApplyTemplate: Swap3and5 Command
    //-----------------------------------------------------------
    <ApplyTemplate Swap 3 5 "%2%" "%1%">
    
    
    //-----------------------------------------------------------
    // ApplyTemplate: Swap4and5 Command
    //-----------------------------------------------------------
    <ApplyTemplate Swap 4 5 "%2%" "%1%">
    
    
    //---------------------------------------------
    // Display green HKN if HotkeyNet is forwarding keys
    // Display green AWT if active window tracking is enabled
    // Default to off
    //----------------------------------------------    
    <Command AutoExec>
        // Initialise the HKN indicator
        <DoHotKey Hotkey NumLockOn Alt Ctrl Shift H>
        // Initialise the AWT indicator
        <DoHotKey Hotkey NumLockOn Alt Ctrl Shift A>
        // turn hotkeys off
        <DoHotKey Hotkey NumLockOn Alt Ctrl Shift T>
        <SetActiveWindowTracking Off> 
        <SetVar ActOff true>
        <DefaultWindowLayout>
    
    
    
    
    //-----------------------------------------------------------
    // Initialise HKN window - NumLockOn Alt Ctrl Shift H
    //-----------------------------------------------------------
    <Hotkey NumLockOn Alt Ctrl Shift H>
        <If WinDoesNotExist HKN>
            <CreatePanel HKN 2500 1535 30 30>
            <TargetWin HKN>
            <CreateColoredButton ON 0 0 30 30 0x00FF00 0x0F0F0F ???>
            <AddButtonToPanel ON HKN>
            <SetButtonText ON HKN>
            <TargetWin HKN>      
            <AlwaysOnTop on>
            <RemoveWinFrame>
            <UpdateWin>
        <EndIf>
        <SetButtonColors ON 0xfF0000 0xffFFff >
        <SetButtonText ON off>
    
    
    //-----------------------------------------------------------
    // Initialise AWT window - NumLockOn Alt Ctrl Shift A
    //-----------------------------------------------------------
    <Hotkey NumLockOn Alt Ctrl Shift A>
        <If WinDoesNotExist AWT>
            <CreatePanel AWT 2400 1535 30 30>
            <TargetWin AWT>
            <CreateColoredButton ACT 0 0 30 30 0x0000FF 0xFFFFFF ???>
            <AddButtonToPanel ACT AWT>
            <SetButtonText ACT AWT>
            <TargetWin AWT>      
            <AlwaysOnTop on>
            <RemoveWinFrame>
            <UpdateWin>
        <endif>
        <SetButtonColors ACT 0xfF0000 0xffFFff >
        <SetButtonText ACT off>
    
    
    //-----------------------------------------------------------
    // Hot keys off - NumLockOn Alt Ctrl Shift T
    //-----------------------------------------------------------
    <Hotkey NumLockOn Alt Ctrl Shift T>
        <If HotkeysAreOn>
            <TurnHotkeysOff>
        <EndIf>

  2. #2

    Default

    Part 2:

    Code:
     //-----------------------------------------------------------// Template: Conditional1
    //
    // %1% - Alt Ctrl Shift %1% identifier for the conditions
    // %2% - Window name at position 5 in first condition
    // %3% - Window position number of window to swap with %2%
    // %4% - Window name at position %3%
    // %5% - Window name at position 5 in second condition
    //-----------------------------------------------------------
    <Template Conditional1>
        <Hotkey Alt Ctrl Shift %1%>
            <If Win5 Is WoW%2%>
                <Swap%3%And5 WoW%4% WoW%2%>
            <Else If Win5 Is WoW%5%>
                <Swap%3%And5 WoW%4% WoW%5%>
            <EndIf>
    <EndTemplate>
    
    
    //-----------------------------------------------------------
    // Template: Conditional2
    //
    // %1% - Alt Ctrl Shift %1% identifier for the conditions
    // %2% - Window name at position 5 in first condition
    // %3% - Window position number of window to swap with %2%
    // %4% - Window name at position %3%
    // %5% - Window name at position 5 in second condition
    // %6% - Hotkey to call if the other two conditions fail
    //-----------------------------------------------------------
    <Template Conditional2>
        <Hotkey Alt Ctrl Shift %1%>
            <If Win5 Is WoW%2%>
                <Swap%3%And5 WoW%4% WoW%2%>
            <Else If Win5 Is WoW%5%>
                <Swap%3%And5 WoW%4% WoW%5%>
            <Else>
                <DoHotkey Hotkey Alt Ctrl Shift %6%>
            <EndIf>
    <EndTemplate>
    
    
    //-----------------------------------------------------------
    // Template: Conditional3
    //
    // %1% - Alt Ctrl Shift %1% identifier for the conditions
    // %2% - Window name at position 3 or 4 in the conditional
    // %3% - Hotkey to call if first condition succeeds 
    // %4% - Hotkey to call if second condition succeeds
    //-----------------------------------------------------------
    <Template Conditional3>
        <Hotkey Alt Ctrl Shift %1%>
            <If Win3 Is WoW%2%>
                <DoHotkey Hotkey Alt Ctrl Shift %3%>
            <Else If Win4 Is WoW%2%>
                <DoHotkey Hotkey Alt Ctrl Shift %4%>    
            <EndIf>
    <EndTemplate>
    
    
    //-----------------------------------------------------------
    // Template: Conditional4
    //
    // %1% - Alt Ctrl Shift %1% identifier for the conditions
    // %2% - Window position to check in the condition statement
    // %3% - Window name at position %2% in the condition statement
    // %4% - Hotkey to call if the condition succeeds 
    // %5% - Hotkey to call if the condition fails
    //-----------------------------------------------------------
    <Template Conditional4>
        <Hotkey Alt Ctrl Shift %1%>
            <If Win%2% Is WoW%3%>
                <DoHotkey Hotkey Alt Ctrl Shift %4%>
            <Else>
                <DoHotkey Hotkey Alt Ctrl Shift %5%>
            <EndIf>
    <EndTemplate>
    
    
    //----------------------------------------------- Win4 - WoW1
    // Alt Ctrl X
    // If MouseIsOverWindow WoW1
    // If Win4 Is WoW1 (caller: Alt Ctrl Shift .)
    //
    // ----------------------------------------- Alt Ctrl Shift /
    //
    //-----------------------------------------------------------
    <ApplyTemplate Conditional1 Oem2 4 4 1 5>
    
    
    //----------------------------------------------- Win4 - WoW1
    // Alt Ctrl X
    // If MouseIsOverWindow WoW1
    // If Win4 Is WoW1 (caller: Alt Ctrl Shift N)
    //
    // ----------------------------------------- Alt Ctrl Shift .
    //
    //-----------------------------------------------------------
    <ApplyTemplate Conditional2 Period 2 4 1 3 Oem2>
    
    
    //----------------------------------------------- Win3 - WoW1
    // Alt Ctrl X
    // If MouseIsOverWindow WoW1
    // If Win3 Is WoW1 (caller: Alt Ctrl Shift M)
    //
    // ----------------------------------------- Alt Ctrl Shift ,
    //
    //-----------------------------------------------------------
    <ApplyTemplate Conditional1 Comma 4 3 1 5>
    
    
    //----------------------------------------------- Win3 - WoW1
    // Alt Ctrl X
    // If MouseIsOverWindow WoW1
    // If Win3 Is WoW1 (Alt Ctrl Shift N)
    //
    // ----------------------------------------- Alt Ctrl Shift M
    //
    //-----------------------------------------------------------
    <ApplyTemplate Conditional2 M 2 3 1 3 Comma>
    
    
    //------------------------------------------------------ WoW1
    // Alt Ctrl X
    // If MouseIsOverWindow WoW1 (caller: Alt Ctrl Shift C)
    //
    // ----------------------------------------- Alt Ctrl Shift N
    //
    //-----------------------------------------------------------
    <ApplyTemplate Conditional3 N 1 M Period>
    
    
    //----------------------------------------------- Win2 - WoW1
    // Alt Ctrl X
    // If MouseIsOverWindow WoW1
    // If Win2 Is WoW1 (caller: Alt Ctrl Shift V)
    //
    // ----------------------------------------- Alt Ctrl Shift B
    //
    //-----------------------------------------------------------
    <ApplyTemplate Conditional1 B 4 2 1 5>
    
    
    //----------------------------------------------- Win2 - WoW1
    // Alt Ctrl X
    // If MouseIsOverWindow WoW1
    // If Win2 Is WoW1 (caller: Alt Ctrl Shift C)
    //
    // ----------------------------------------- Alt Ctrl Shift V
    //
    //-----------------------------------------------------------
    <ApplyTemplate Conditional2 V 2 2 1 3 B>
    
    
    //------------------------------------------------------ WoW1
    // Alt Ctrl X
    // If MouseIsOverWindow WoW1 (caller: Alt Ctrl Shift Oem5)
    //
    // ----------------------------------------- Alt Ctrl Shift C
    //
    //-----------------------------------------------------------
    <ApplyTemplate Conditional4 C 2 1 V N>
    
    
    //----------------------------------------------- Win1 - WoW1
    // Alt Ctrl X
    // If MouseIsOverWindow WoW1
    // If Win1 Is WoW1 (caller: Alt Ctrl Shift Z)
    //
    // ----------------------------------------- Alt Ctrl Shift X
    //
    //-----------------------------------------------------------
    <ApplyTemplate Conditional1 X 4 1 1 5>
    
    
    //----------------------------------------------- Win1 - WoW1
    // Alt Ctrl X
    // If MouseIsOverWindow WoW1
    // If Win1 Is WoW1 (caller: Alt Ctrl Shift Oem5)
    //
    // ----------------------------------------- Alt Ctrl Shift Z
    //
    //-----------------------------------------------------------
    <ApplyTemplate Conditional2 Z 2 1 1 3 X>
    
    
    //------------------------------------------------------ WoW1
    // Set WoW1 Main Window
    //------------------------------------------------------ WoW1
    // Alt Ctrl X
    // If MouseIsOverWindow WoW1 (caller: Alt Ctrl F6)
    //
    // ----------------------------------------- Alt Ctrl Shift \
    //
    //-----------------------------------------------------------
    <ApplyTemplate Conditional4 "Oem5; Alt Ctrl F1" 1 1 Z C>
    
    
    //----------------------------------------------- Win4 - WoW2
    // Alt Ctrl X
    // If MouseIsOverWindow WoW2
    // If Win4 Is WoW2 (caller: Alt Ctrl Shift ;)
    //
    // ----------------------------------------- Alt Ctrl Shift '
    //
    //-----------------------------------------------------------
    <ApplyTemplate Conditional1 Oem3 4 4 2 5>
    
    
    //----------------------------------------------- Win4 - WoW2
    // Alt Ctrl X
    // If MouseIsOverWindow WoW2
    // If Win4 Is WoW2 (caller: Alt Ctrl Shift J)
    //
    // ----------------------------------------- Alt Ctrl Shift ;
    //
    //-----------------------------------------------------------
    <ApplyTemplate Conditional2 Oem1 1 4 2 3 Oem3>
    
    
    //----------------------------------------------- Win3 - WoW2
    // Alt Ctrl X
    // If MouseIsOverWindow WoW2
    // If Win3 Is WoW2 (caller: Alt Ctrl Shift K)
    //
    // ----------------------------------------- Alt Ctrl Shift L
    //
    //-----------------------------------------------------------
    <ApplyTemplate Conditional1 L 4 3 2 5>

  3. #3

    Default

    And goes on like that.... its too damn long to post it all... hope u get the main idea of it cause to me is letters letters numbers numbers

    Hope someone can help

  4. #4

    Default

    Hello Nitemaru,

    As far as I can tell (I'm no expert, just curious), all the code that you post here are about windows positioning and swapping. Maybe you should post the entire code to get some help.

    You could try to send the full script attached.

    Peace!

    K.

  5. #5

    Default

    Thanks for the reply Kowalski yes indeed the answer was in the rest of the code but i had to understand it and giving the hours i spent to set my multiboxing up it burned my brains

    Code:
    // send the key list to all windows<Hotkey TheKeyList>
        <If ActiveWinIs WoW1>
            <SendLabel w2, w3, w4, w5>
            <Key rctrl %Trigger%>
            <SendLabel w1>
            <Key %Trigger%>
        <Else If ActiveWinIs WoW2>
            <SendLabel w1, w3, w4, w5>
            <Key ralt %Trigger%>
            <SendLabel w2>
            <Key %Trigger%>
        <Else>
            <DoHotKey Hotkey NumLockOn RAlt RCtrl RShift %Trigger%>
        <EndIf>
    <Hotkey NumLockOn RAlt RCtrl RShift TheKeyList>
        <If ActiveWinIs WoW3>
            <SendLabel w1, w2, w4, w5>
            <Key rshift %TriggerMainKey%>
            <SendLabel w3>
            <Key %TriggerMainKey%>
        <Else If ActiveWinIs WoW4>
            <SendLabel w1, w2, w3, w5>
            <Key rctrl ralt %TriggerMainKey%>
            <SendLabel w4>
            <Key %TriggerMainKey%>
        <Else>
            <SendLabel w1, w2, w3, w4>
            <Key rctrl rshift %TriggerMainKey%>
            <SendLabel w5>
            <Key %TriggerMainKey%>
        <EndIf>

    But as i also figured... multiboxing problems never stop... so... since this FTL + Swapping system uses mostly all the keys i couldnt send simple keystrokes like F1, F2, A-Z etc... so i created a second Hotkey List/ trigger inorder to skip the mods being send. the problem is tho that keystrokes are being sent to my slave windows BUT no actual key is pressed there. If someone can explain the reason

    Code:
    //-----------------------------------------------------// Normal Hotkeys
    //-----------------------------------------------------
    <KeyList NormalList F2-F12>
    
    
    <Hotkey NormalList; LShift NormalList; LAlt NormalList; LCtrl NormalList>
    <SendLabel w1, w2, w3, w4, w5>
    <Key %Trigger%>

Posting Rules

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