Log in

View Full Version : [HotKeyNet] Hot net Key FTL setup basic follow macro not working



Pavavion
04-25-2013, 12:20 PM
Hi all I have setup HNK and for the life of me I cannot get the wowbasic FTL /f macro working :( I have gone through the keybindings on wow made sure there are no other binds of 0,1,2 (shift,ctrl etc)
I can get movement passes on all toons no issues from HNK but when i try to use the below, it wont do anything at all when i press 1.

If i mouse broadcast click I have all 4 toons /saying :

[mod:rctrl,mod:ralt,nomod:rshift,target=lint]
[mod:ralt,mod:rshift,nomod:rctrl,target=limb]
[mod:rctrl,mod:ralt,mod:rshift,target=lids] [/B]

Wow macro being used:

/stopmacro [nomod]/target
[mod:rctrl,mod:ralt,nomod:rshift,target=lint]
[mod:ralt,mod:rshift,nomod:rctrl,target=limb]
[mod:rctrl,mod:ralt,mod:rshift,target=lids] [/B]
/follow
/targetlasttarget


And I copy pasted the FTL template/script from the forums here.



//================================================== ==============// 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 (http://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>




//-----------------------------------------------------------
// SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
//-----------------------------------------------------------
<Command LaunchAndRename>
<SendPC %1%>
<Run "c:\Program Files\Box World Of Warcraft Classic\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 "xxxxx" "xxxxx">
<LaunchAndRename Local WoW2 "xxxxx" "xxxx">
<LaunchAndRename Local WoW3 "xxxxxx" "xxxxxx">
<LaunchAndRename Local WoW4 "xxxxxx" "xxxxxx">




//-----------------------------------------------------------
// SUBROUTINE TO Position Windows for 4 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>




//-----------------------------------------------------------
// 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, 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>
<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>
<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>
<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">
<ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl ralt" WoW2


"w1,w3,w4">
<ApplyTemplate SendLeaderless "%1%" "%2%" "ralt rshift" WoW3


"w1,w2,w4">
<ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl ralt rshift"


WoW4 "w1,w2,w3">
<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>


//================================================== ==============
// SAMPLE SCRIPT FOR SPREADING FOUR TOONS OUT AROUND
// THEIR LEADER
//
// Instructions: Copy this entire script (all the blue writing
// on gray background including comments). Save it in a file.
// Load it into HotkeyNet.
//
// Requires HotkeyNet build 148 or higher.
//
// For more info, go to www.hotkeynet.com (http://www.hotkeynet.com)
//================================================== ==============




//----------------------------------------------------------------
// DEFINE A MOVEMENT HOTKEY FOR FORMATION
//----------------------------------------------------------------


<MovementHotkey R>


<If ActiveWinIs wow1>
<SendLabel w2> <Key Left>
<SendLabel w3> <Key Right>
<SendLabel w4> <Key Up>



<Else If ActiveWinIs wow2>
<SendLabel w1> <Key Left>
<SendLabel w3> <Key Right>
<SendLabel w4> <Key Up>



<Else If ActiveWinIs wow3>
<SendLabel w1> <Key Left>
<SendLabel w2> <Key Right>
<SendLabel w4> <Key Up>



<Else If ActiveWinIs wow4>
<SendLabel w1> <Key Left>
<SendLabel w2> <Key Right>
<SendLabel w3> <Key Up>

MiRai
04-25-2013, 03:06 PM
If i mouse broadcast click I have all 4 toons /saying :

[mod:rctrl,mod:ralt,nomod:rshift,target=lint]
[mod:ralt,mod:rshift,nomod:rctrl,target=limb]
[mod:rctrl,mod:ralt,mod:rshift,target=lids] [/B]

Wow macro being used:

/stopmacro [nomod]/target
[mod:rctrl,mod:ralt,nomod:rshift,target=lint]
[mod:ralt,mod:rshift,nomod:rctrl,target=limb]
[mod:rctrl,mod:ralt,mod:rshift,target=lids] [/B]
/follow
/targetlasttarget

I know nothing about HKN, but that WoW macro is not going to work as it's written.

1) You've got your /target command on the same line as the /stopmacro command so it's being ignored and that's why your characters are putting straight text into /say.

2) Macros are written as:

/command [conditional] item/target/ability

So...


/target [mod:rctrl,mod:ralt,nomod:rshift,target=lint]

...only meets two of the three requirements. You do have your character target listed there, but you've listed it within the conditional.

3) I don't know what [/B] is but it isn't WoW macro syntax.

Here's what you probably want:

/stopmacro [nomod]
/target [mod:rctrl,mod:ralt,nomod:rshift]lint;[mod:ralt,mod:rshift,nomod:rctrl]limb;[mod:rctrl,mod:ralt,mod:rshift]lids
/follow
/targetlasttarget


http://www.wowpedia.org/Making_a_macro
http://www.macroexplain.com/

Pavavion
04-25-2013, 07:49 PM
Cheers for the help I have adjusted the in game wow macro to what u have suggested. When I use this macro in game however I get:

"you have no target"
"unknown target"

Type '/help' for a listing of a few commands.
Type '/help' for a listing of a few commands.

:(

Khatovar
04-25-2013, 11:58 PM
Do you use Jamba? It has an FTL-Helper module that - from what I recall - was written specifically with the HotKeyNet FTL in mind. I'd suggest using that to write the macro.