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

    Default HKN my fly button dont work?

    Hi there

    First sorry for my poor grammar og writing skills.
    I know I probably sounds like Yoda.

    Iam pretty new on the dualboxing side. I found the program hotkeynet and so fare its been ok.
    My problem is I cant use my spacebar for flying and its very annoying.
    If i could get someone to look at my script I would be greatfull.

    // 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 "D:\Diablo 3\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, Plus, Minus, F1-F12 except W, A, S, D; 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 space, up, down, left, right>
    <SendLabel w1, w2>
    <Key %Trigger%>


    <Label w1 Local SendWinM WoW1>
    <Label w2 Local SendWinM WoW2>
    /////////////////////////////////////////////////
    //The Important part here is "MovementHotkey"
    /////////////////////////////////////////////////


    MovementHotkey space, up, down, left, right>
    <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 Oem5>

    <Hotkey ScrollLockOn Oem5 LButton, MButton, RButton, Button4, Button5>
    <SendLabel w1, w2>
    <ClickMouse %TriggerMainKey%>
    <RestoreMousePos>

  2. #2

    Default

    Quote Originally Posted by Poofieball View Post
    //-----------------------------------------------------------
    // DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW'S.
    // ADD MORE KEYS IF YOU WANT.
    //-----------------------------------------------------------
    MovementHotkey space, up, down, left, right>
    <SendLabel w1, w2>
    <Key %Trigger%>



    <Label w1 Local SendWinM WoW1>
    <Label w2 Local SendWinM WoW2>
    /////////////////////////////////////////////////
    //The Important part here is "MovementHotkey"
    /////////////////////////////////////////////////


    MovementHotkey space, up, down, left, right>
    <SendLabel w1, w2>
    <Key %Trigger%>
    The MovementHotkey line is missing a < symbol at the start. I would assume this is the problem. You also have duplicates of your movement keys defined in the script (bolded for clarity). Not sure if this will cause any issues really, but it's of course redundant.

    While I have not used HKN in a long while, I would also assume the Label part in-between is also pointless as it's defined earlier in your script.

    Furthermore you also have Space defined in your normal broadcasted hotkeys:
    Quote Originally Posted by Poofieball View Post
    <Hotkey ScrollLockOn A-Z, 0-9, Numpad0-Numpad9, Tab, Esc, LShift, Space, Plus, Minus, F1-F12 except W, A, S, D; ScrollLockOn Shift A-Z; ScrollLockOn Shift 0-9>
    I would remove it there if you intend to use it as a "fly up" button, as it needs to be in MovementHotkeys for the keystroke to be held until the key is released. And finally I don't think you need the ScrollLockOn multiple times in the same definition for hotkeys.
    Last edited by Wubsie : 07-19-2016 at 01:38 AM

  3. #3

Posting Rules

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