From your description, it sounds like
1. you put spells on your hotbar in slots 1-4
2. you then bound those spells to your mouse buttons
3. You're now trying to call those spells via the mouse buttons as if they are normal 1-4 keys
That's not what your code is doing. You're calling clickmouse, which is the same thing as literally clicking your mouse within the game environment. What it does in HKN is looks at where your mouse is located within the game, then in rapid succession, clicks your mouse in that location in each window.
If all you want to do is use mousebuttons just like regular hotkeys
1. Put the spells on the hotbar
2. change the keybindings in game to use the proper mouse button
3. add the mouse buttons to your hotkey definitions
Code:
//-----------------------------------------------------------
// DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
// SENT TO BOTH WOWS. ADD MORE KEY COMBO'S IF YOU WANT.
//-----------------------------------------------------------
<Hotkey NumLockOn A-Z, 0-9, Multiply, Minus, Backspace, Enter, Oem2, Oem5, Oem6, NumpadEnter, F1-F12, Esc, Button4, Button5, except W, A, S, D, Q, E>
<SendLabel w1, w2>
<Key %Trigger%>
I would probably take it a step further and use a keylist and add modified lists
Code:
//-----------------------------------------------------------
// 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, 0-9, Multiply, Minus, Backspace, Enter, Oem2, Oem5, Oem6, NumpadEnter, F1-F12, Esc, Button4, Button5, except W, A, S, D, Q, E>
<Hotkey NumLockOn MyList; NumLockOn Shift MyList; NumLockOn Alt MyList; NumLockOn Ctrl MyList>
<SendLabel w1, w2>
<Key %Trigger%>
Then delete all this -
Code:
//-----------------------------------------------------------
// BROADCAST MOUSE CLICKS. HOLD DOWN OEM3 (ON U.S. KEYBOARDS,
// THAT'S THE SQUIGGLE KEY IN UPPPER LEFT CORNER) WHEN YOU
// WANT TO BROADCAST.
//-----------------------------------------------------------
<Hotkey NumLockOn Button4, Button5>
<SendLabel w1, w2>
<ClickMouse %TriggerMainKey%>
<Hotkey NumLockOn Shift Button4, Button5>
<SendLabel w1, w2>
<KeyDown Shift>
<ClickMouse %TriggerMainKey%>
<KeyUp Shift>
Finally, try going into HotKeyNet > Options > Send Mode Settings
1. Uncheck "Clear modifiers before executing hotkey"
2. Under "delays between modifiers and main keys", select "Delays (milliseconds)" and try 1 1. Increase if you need to.
I've got images of my HKN settings at the below links.
http://genus-industri.us/images/mb/random/hkn1.jpg
http://genus-industri.us/images/mb/random/hkn2.jpg
If, however, you are trying to actually click things on your action bar to multibox, I would highly advise against it. Multiboxing is much more effective if you use hotkeys to play and reserve click actions for things like healing using Healbot/Grid/whatever, portal use, ground targeting and quest items. Because clickmouse actually moves between windows while you use it, you will likely run into issues with the mouse getting stuck on your slave window, which can make things extremely clunky.
Connect With Us