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

    Default Can't get MovementHotkey to work in WoW

    What I'm using currently:

    Code:
    //-----------------------------------------------------------
    // DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
    // SENT TO BOTH WOWS. ADD MORE KEY COMBO'S IF YOU WANT.
    //-----------------------------------------------------------
    <Hotkey A-Z, 0-9, Plus, Minus, F1-F12 except W, A, S, D, Q, E>
    <SendLabel w1, w2>
    <Key %Trigger%>
    
    //-----------------------------------------------------------
    // DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW'S.
    // ADD MORE KEYS IF YOU WANT.
    //-----------------------------------------------------------
    <MovementHotkey W, A, S, D>
    <SendLabel w1, w2>
    <Key %Trigger%>
    The hotkeys in the first section (regular, non-movement) work fine. I can't get MovementHotkey to work at all, WASD won't even move either character whatsoever. I can move them with WASD if I take out that section.

  2. #2

    Default

    Sadly support for HKN is not as readily available as it previously has been. I'll take a stab at this though.

    Quote Originally Posted by Aziriel View Post
    What I'm using currently:

    Code:
    //-----------------------------------------------------------
    // DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
    // SENT TO BOTH WOWS. ADD MORE KEY COMBO'S IF YOU WANT.
    //-----------------------------------------------------------
    <Hotkey A-Z, 0-9, Plus, Minus, F1-F12 except W, A, S, D, Q, E>
    <SendLabel w1, w2>
    <Key %Trigger%>
    
    //-----------------------------------------------------------
    // DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW'S.
    // ADD MORE KEYS IF YOU WANT.
    //-----------------------------------------------------------
    <MovementHotkey W, A, S, D>
    <SendLabel w1, w2>
    <Key %Trigger%>

    The hotkeys in the first section (regular, non-movement) work fine. I can't get MovementHotkey to work at all, WASD won't even move either character whatsoever. I can move them with WASD if I take out that section.
    Umm... I can't seem to spot anything obviously wrong with that portion of the script. Which Sendmode are you using with those keys? According to the hotkeynet site, you should be using SendWinM for movement keys. Also, is HKN giving you any errors when you load the script? Do the movement keys show up as Loaded Hotkeys?

    On a side note: Can I ask why you're setting your movement keys to always be sent to all clients? This is generall not how you move around while multiboxing WoW. In most cases you would have your toons /following your lead, which you control normally with WASD. Always sending your movement keys makes utilizing /follow basically impossible unless you move with your mouse. Not trying to nitpick if this is the case, just making sure I understand how you're trying to set this up.

    Also, you've removed the ScrollLockOn from both definitions. While this is fine in itself as far as I understand, it does mean that you have no way of toggling the hotkeys on/off, if you wish to, for example, type in chat or search for something on the AH. Both toons will be receiving each keystroke, most likely opening a bunch of ingame menu windows, casting spells and shuffling about while you type.

  3. #3

    Default

    Okay, so I went ahead and got HKN again so I could actually test this out.

    Here is the exact script I am using. Just an example script for 2 WoWs, with WASD moved to movement keys. Should be near identical to yours, apart from having the ScrollLockOn toggle added and my game directory:

    Code:
    //================================================================
    // SAMPLE SCRIPT FOR TWO WOW'S ON ONE PC
    //
    // 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 147 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>
    
    //-----------------------------------------------------------
    // SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
    //-----------------------------------------------------------
    <Command LaunchAndRename>
       <SendPC %1%>
          <Run "c:\Games\World of Warcraft\WoW.exe">
            <RenameTargetWin %2%>
    // My game directory, just so it actually works...
    //-----------------------------------------------------------
    // HOTKEY TO LAUNCH AND RENAME BOTH WOW'S.
    //-----------------------------------------------------------
    <Hotkey ScrollLockOn Alt Ctrl L>
        <LaunchAndRename Local WoW1>
        <LaunchAndRename Local WoW2>
    
    //-----------------------------------------------------------
    // DEFINE MAIL LABELS FOR SENDING KEY STROKES
    //-----------------------------------------------------------
    <Label w1 Local SendWinM WoW1>
    <Label w2 Local SendWinM WoW2>
    
    //-----------------------------------------------------------
    // DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
    // SENT TO BOTH WOWS. ADD MORE KEY COMBO'S IF YOU WANT.
    //-----------------------------------------------------------
    <Hotkey ScrollLockOn A-Z, 0-9, Plus, Minus, F1-F12 except W, A, S, D>
    <SendLabel w1, w2>
    <Key %Trigger%>
    
    //-----------------------------------------------------------
    // DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW'S.
    // ADD MORE KEYS IF YOU WANT.
    //-----------------------------------------------------------
    <MovementHotkey ScrollLockOn W, A, S, D>
    <SendLabel w1, w2>
    <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>
          <ClickMouse %TriggerMainKey%>
    This is functioning just fine for me. Both characters respond to WASD while Scroll Lock is on as seen here. I even replaced my definitions with the ones from your post and it was still functional (apart from not being able to turn the keys off naturally).

    This does leave me wondering what is wrong then. Perhaps try copying my script and see if that functions for you? That way we'll atleast know whether it's a problem in your script or somewhere else.
    Last edited by Wubsie : 07-27-2016 at 09:50 AM

  4. #4

    Default

    Try this to see if this works? It works for me just fine.

    Code:
    // Requires HotkeyNet build 147 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>
    //-----------------------------------------------------------
    // SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
    //-----------------------------------------------------------
    <Command LaunchAndRename>
       <SendPC %1%>
          <Run "C:\Games\World of Warcraft\WoW.exe">
            <RenameTargetWin %2%>
     
    //-----------------------------------------------------------
    // HOTKEY TO LAUNCH AND RENAME BOTH WOW'S.
    //-----------------------------------------------------------
    <Hotkey ScrollLockOn Alt Ctrl L>
        <LaunchAndRename Local WoW1>
        <LaunchAndRename Local WoW2>
    //-----------------------------------------------------------
    // DEFINE MAIL LABELS FOR SENDING KEY STROKES
    //-----------------------------------------------------------
    <Label w1 Local SendWinM WoW1>
    <Label w2 Local SendWinM WoW2> 
    //-----------------------------------------------------------
    // DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
    // SENT TO BOTH WOWS. ADD MORE KEY COMBO'S IF YOU WANT.
    //-----------------------------------------------------------
    <Hotkey ScrollLockOn A-Z, 0-9, Numpad0-Numpad9, Tab, Esc, LShift, Space, Button4, Plus, Minus, Button4, F1-F12 except W, A, S, D, E, Q; ScrollLockOn Shift A-Z; ScrollLockOn Shift 0-9>
    <SendLabel w1, w2>
    <Key %Trigger%>
     
    //-----------------------------------------------------------
    // DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW'S.
    // ADD MORE KEYS IF YOU WANT.
    //-----------------------------------------------------------
    <MovementHotkey ScrollLockOn W, A, S, D, E, Q>
    <SendLabel w1, w2>
    <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>
          <ClickMouse %TriggerMainKey%>
                    <RestoreMousePos>

Posting Rules

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