Close
Page 1 of 2 1 2 LastLast
Showing results 1 to 10 of 15

Thread: Key Modifiers?

  1. #1

    Default Key Modifiers?

    Hello all!

    I'm posting here for a few reasons, chief among them being that I'm entirely new to multiboxing. In addition, the HotKeyNet forums seem to be dead, so I figured here would be the best place to ask my question.

    I'm having a slight problem; all my number keys are being sent to both wow1 and wow2, however when I hold a modifier key, like Shift, it still activates the skill in that slot on my wow1, even though the game's hotkeys are not set to do such. I presume there's something I need to add in the script I'm using, which is the starter WoW script from HKN's site.

    I've tried implementing a few commands in various places but as I'm not the most code-savvy person out there, I can't seem to identify the problem.

    Any help is greatly appreciated!

    -Ravyn

  2. #2

    Default

    Use a keylist and make sure "Clear Modifiers Before Executing a Hotkey" is unchecked in the settings

    http://www.dual-boxing.com/wiki/inde...ng_your_script

    Code:
    <KeyList MyList 0-9, Numpad0-Numpad9, Divide, Multiply, NumpadMinus, Tab, NumpadPlus, Backspace, Insert, Home, PgUp, PgDn, Delete, F1-F12, Esc, Oem1-Oem7, except OEM2, w, a, s, d, q, e, x>
    <Keylist All 0-9, A-Z, Space, Esc, Enter, Tab, Oem1-Oem7>
    
    <Hotkey CapsLockOff MyList; CapsLockoff Shift MyList; CapsLockOff Alt MyList; CapsLockOff Ctrl MyList>
    	  	 <SendLabel w1, w2, w3, w4, w5>
       	<Key %Trigger%>
    <Hotkey CapsLockOn All>
    	  	 <SendLabel w1, w2, w3, w4, w5>
       	<Key %Trigger%>
    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 _

  3. #3

    Default

    I've substituted the code you gave me, but perhaps in the wrong place? I'm still having the same problem. And I have indeed unchecked the option you suggested. Here's the script I'm running, in its entirety.

    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:\users\ravyn\desktop\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. 
    //-----------------------------------------------------------
    <KeyList WoW 0-9, Numpad0-Numpad9, Divide, Multiply, NumpadMinus, Tab, NumpadPlus, Backspace, Insert, Home, PgUp, PgDn, Delete, F1-F12, Esc, Oem1-Oem7, except OEM2, w, a, s, d, q, e, x>
    <Keylist All 0-9, A-Z, Space, Esc, Enter, Tab, Oem1-Oem7>
    
    <Hotkey ScrollLockOff MyList; CapsLockoff Shift MyList; CapsLockOff Alt MyList; CapsLockOff Ctrl MyList>
    	  	 <SendLabel w1, w2, w3, w4, w5>
       	<Key %Trigger%>
    <Hotkey ScrollLockOn All>
    	  	 <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 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 Oem3>
    
    <Hotkey ScrollLockOn Oem3 LButton, MButton, RButton, Button4, Button5>
       <SendLabel w1, w2> 
          <ClickMouse %TriggerMainKey%>]

  4. #4

    Default

    One thing I see offhand with your script is using <SendLabel w1, w2, w3, w4, w5> in 2 spots when you only have 2 wow windows open. w1 - w5 is used when you have 5 wows open. Try changing them both to <SendLabel w1, w2> and see if that helps.

    Edit: To add, I see you have two key lists, All and WoW, but in the first hotkey command you are using MyList. I assume the MyList part should be the WoW key list. So try changing <KeyList WoW 0-9 ... to <KeyList MyList 0-9... ect

    I'm far from an expert on HKN, but those are what stand out to me. Are you trying to make it so when you hold Shift it only does an action in the second wow window?
    Last edited by flux1 : 10-14-2011 at 08:31 PM

  5. #5

    Default

    I've fixed those... still no luck. :/

    And yes, in a sense. I've got two Druids, one feral and one restoration. I'm trying to make it so that 0-9, - and = only trigger the feral's abilities ( in the wow1 window ) and ALT- or Shift-0 through 9, - and = only trigger the resto's abilities.

  6. #6

    Default

    Edit: I realized shortly after I posted that the code mod I made would actually send Shift + Whatever Key to WoW2 instead of the key itself as you wanted. You'll have to adapt the key lists and modifiers from above to get them working that way. I'll let someone more competent look over things and give you some better advice :P

    All of my keys I've done to send to specific windows I coded each single key like <Hotkey Shift ScrollLockOn 1> <SendLabel w1> <Key 1> There are ways to do it without having to do each one manually, its just above my scripting abilities. If it might be of any use I'll leave what I came up with below.


    Code:
    //-----------------------------------------------------------
    // 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, F1-F12 except W, A, S, D, Q, E>
    <SendLabel w1, w2>
    <Key %Trigger%> 
    
    <Hotkey ScrollLockOn 0-9, Plus, Minus>
    <SendLabel w1>
    <Key %Trigger%> 
    
    <Hotkey Shift ScrollLockOn Plus, Minus, 0-9>
    <SendLabel w2>
    <Key %Trigger%>
    Last edited by flux1 : 10-15-2011 at 12:50 AM Reason: Realized the code I made will send Shift + Key to WoW 2 instead of just plain Key

  7. #7

    Default

    Quote Originally Posted by xRavyn View Post
    In addition, the HotKeyNet forums seem to be dead...
    The HotkeyNet forum is not dead. I read everything posted there and usually (not always) give user support.
    �Author of HotkeyNet and Mojo

  8. #8

    Default

    Adjust the script to use ScrollLock, not CapsLock.

    Code:
    <Hotkey ScrollLockOff MyList; CapsLockoff Shift MyList; CapsLockOff Alt MyList; CapsLockOff Ctrl MyList>
    You can also check the output in the HotKeyNet window to see what's happening when you press the various keys.
    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 _

  9. #9

    Default

    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:\users\ravyn\desktop\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. 
    //-----------------------------------------------------------
    <KeyList MyList 0-9, Numpad0-Numpad9, Divide, Multiply, NumpadMinus, Tab, NumpadPlus, Backspace, Insert, Home, PgUp, PgDn, Delete, F1-F12, Esc, Oem1-Oem7, except OEM2, w, a, s, d, q, e, x>
    <Keylist All 0-9, A-Z, Space, Esc, Enter, Tab, Oem1-Oem7>
    
    <Hotkey ScrollLockOff MyList; CapsLockoff Shift MyList; CapsLockOff Alt MyList; CapsLockOff Ctrl MyList>
        <SendLabel w1, w2>
           <Key %Trigger%>
    <Hotkey ScrollLockOn All>
        <SendLabel w1, w2>
         <Key %Trigger%>
    //-----------------------------------------------------------
    // DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW'S.
    // ADD MORE KEYS IF YOU WANT. 
    //-----------------------------------------------------------
    <MovementHotkey ScrollLockOn 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 Oem3>
    
    <Hotkey ScrollLockOn Oem3 LButton, MButton, RButton, Button4, Button5>
       <SendLabel w1, w2> 
          <ClickMouse %TriggerMainKey%>
    You have to make sure you don't try to send to undefined labels. You can define them and not load a window which will create a short error on every hotkey press, but you can not try to send to an undefined label. If you look on HKN below the actions window there is a button labelled "show loaded hotkeys," had you clicked on this during testing you would have seen only 16 keys from your original code were loading and the rest were resulting in an error.

    It helps to simplify your code in order to troubleshoot as well.

    If you still have trouble with the code I posted above it is likely a setting in WoW. As all of the keys you have defined are outputting as they should.

  10. #10

    Default

    Quote Originally Posted by Bettysue View Post
    If you look on HKN below the actions window there is a button labelled "show loaded hotkeys," had you clicked on this during testing you would have seen only 16 keys from your original code were loading and the rest were resulting in an error.

    It helps to simplify your code in order to troubleshoot as well.
    Excellent advice.
    �Author of HotkeyNet and Mojo

Posting Rules

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