Log in

View Full Version : [HotKeyNet] Shift+Mouse OK but Mouse+Shift KO !



BobLaFrite
11-10-2012, 08:50 AM
Hello fellow multiboxers ! ;)

I have a problem with HotKeyNet when i dualbox.
When I use "Shift + Mouse Left Button" combinaison it works perfectly in both games.
But when I use "Mouse Left Button + Shift" (I hold the Mouse first and then hold Shift) the script doesn't do anything in the 2nd game (1st is OK).
FYI it's for shooting while standing still in Diablo 3.

Here's my script:



//-----------
// PRESS CTRL R TO RENAME WOW'S IF YOU LAUNCH THEM MANUALLY
//---------------
<Hotkey ScrollLockOn Ctrl U>
<SendPC local>
<RenameFromPath "D:\Jeux\Diablo III" Diablo1>
<RenameFromPath "Q:\Diablo III" Diablo2>

//----------------
// DEFINE MAIL LABELS FOR SENDING KEY STROKES
//-----------------
<Label w1 Local SendFocusWin >
<Label w2 Local SendWinM Diablo2>


//------------- PROBLEMATIC CODE -------------

<Hotkey ScrollLockOn LShift LButton>
<SendLabel w1, w2>
<KeyDown LShift>
<ClickMouse Down LButton NoRestore>

<HotkeyUp ScrollLockOn LShift LButton>
<SendLabel w1, w2>
<ClickMouse up LButton NoRestore>
<KeyUp LShift>


Thanks you very much for your reading and help ! :)

Khatovar
11-10-2012, 10:52 AM
Under Options > Send Mode Settings, try unchecking "Clear Modifiers Before Executing Hotkey"

BobLaFrite
11-10-2012, 12:19 PM
Thanks you for your response Khatovar.
I tried it but it doesn't work :(

Khatovar
11-10-2012, 04:41 PM
Well I'm afraid I don't have multiple D3s to test with so I haven't really got the ability to test how things work with that game in particular. Offhand however, I'd try to limit the places where things can get glitchy. In this case, because we're talking about a sustained action, I would probably skip the whole keydown/keyup separation and modifier action and simplify the actions into a seperate toggled action. That is to say alter the entire key being sent on one key action rather than combined key actions.


<Hotkey ScrollLockOn CapsLockOn LButton>
<SendLabel w1, w2>
<Key Shift>
<ClickMouse LButton>

This way you can use capslock as a sort of automatically held modifier. You might needto further refine it as you may actually need the keydown/up distinguished in the game but that should overcome the whole "this order only"issue you are having.