Log in

View Full Version : [HotKeyNet] WoW - PIP Client Freeze



GGPS90
03-07-2014, 05:12 AM
Hi, Im fairly new to multiboxing and hotkeynet. I've got my script working fine for 5 wow client on 1 pc, but recently I tried picture in picture script and every time i'm in the game pressing keys and attacking stuff, only one of my wow client freezes randomly. But each time its WoW4 that freezes. I tried without PIP code and everything runs fine. Here is my code, can someone please check what could be the issue. Thanks for any help.


//================================================== ==============// SAMPLE SCRIPT FOR FOUR 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 148 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>
<RenameWin "World of Warcraft" WoW3>
<RenameWin "World of Warcraft" WoW4>
<RenameWin "World of Warcraft" WoW5>




<Command SetPip>
<TargetWin %5%>
<SetWinSize 288 162>
<SetWinPos 1600 875>
<TargetWin %4%>
<SetWinSize 288 162>
<SetWinPos 1600 713>
<TargetWin %3%>
<SetWinSize 288 162>
<SetWinPos 1600 551>
<TargetWin %2%>
<SetWinSize 288 162>
<SetWinPos 1600 389>
<TargetWin %1%>
<SetWinSize 1920 1080>
<SetWinPos 0 0>
<TargetWin %5%>
<SetForegroundWin>
<UpdateWin>
<TargetWin %4%>
<SetForegroundWin>
<UpdateWin>
<TargetWin %3%>
<SetForegroundWin>
<UpdateWin>
<TargetWin %2%>
<SetForegroundWin>
<UpdateWin>
<TargetWin %1%>
<SetWinRegion 1600 389 288 648>
<SetForegroundWin>


//----------------------------------------------------------------
// TOGGLE PIP CONFIG WITH HOTKEY
//----------------------------------------------------------------


<Hotkey ScrollLockOn F5>
<SetPip WoW1 WoW2 WoW3 WoW4 WoW5>
<Hotkey ScrollLockOn F6>
<SetPip WoW2 WoW1 WoW3 WoW4 WoW5>
<Hotkey ScrollLockOn F7>
<SetPip WoW3 WoW2 WoW1 WoW4 WoW5>
<Hotkey ScrollLockOn F8>
<SetPip WoW4 WoW2 WoW3 WoW1 WoW5>
<Hotkey ScrollLockOn F9>
<SetPip WoW5 WoW2 WoW3 WoW4 WoW1>


//-----------------------------------------------------------
// SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
//-----------------------------------------------------------
<Command LaunchAndRename>
<SendPC %1%>
<Run "F:\Program Files\WoW\Wow.exe">
<RenameTargetWin %2%>


//-----------------------------------------------------------
// HOTKEY TO LAUNCH AND RENAME YOUR WOW WINDOWS
//-----------------------------------------------------------
<Hotkey ScrollLockOn Alt Ctrl L>
<LaunchAndRename Local WoW1>
<LaunchAndRename Local WoW2>
<LaunchAndRename Local WoW3>
<LaunchAndRename Local WoW4>
<LaunchAndRename Local WoW5>




//-----------------------------------------------------------
// DEFINE MAIL LABELS FOR SENDING KEY STROKES.
//-----------------------------------------------------------
<Label w1 Local SendWinM WoW1>
<Label w2 Local SendWinM WoW2>
<Label w3 Local SendWinM WoW3>
<Label w4 Local SendWinM WoW4>
<Label w5 Local SendWinM WoW5>


//-----------------------------------------------------------
// 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, CapsLock, Oem3, MButton, Minus, F1-F4 except W, A, S, D>
<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, Space>
<SendLabel w1, w2, w3, w4, w5>
<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 LCtrl>


<Hotkey ScrollLockOn LCtrl LButton, RButton, Button4, Button5>
<SendLabel w1, w2, w3, w4, w5>
<ClickMouse %TriggerMainKey%>


<UseKeyAsModifier LAlt>


<Hotkey ScrollLockOn LAlt 1, 2, 3>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>


<UseKeyAsModifier LShift>


<Hotkey ScrollLockOn LShift F, W, S, A, E, D, Space>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>

Khatovar
03-07-2014, 05:39 AM
I loaded up your script and didn't see any issues other than redefining modifier keys. You don't need to list LAlt, LCtrl LShift as modifiers, they are inherently modifier keys to HKN.

I spammed a bunch of keys on the loading screens and none of my games froze up, which points to an issue with the game install itself, an addon or possibly your system. There's nothing in the script that actually does anything different to that window over any other.

GGPS90
03-07-2014, 06:28 AM
I loaded up your script and didn't see any issues other than redefining modifier keys. You don't need to list LAlt, LCtrl LShift as modifiers, they are inherently modifier keys to HKN.

I spammed a bunch of keys on the loading screens and none of my games froze up, which points to an issue with the game install itself, an addon or possibly your system. There's nothing in the script that actually does anything different to that window over any other.


Ok, thanks for testing the script. I should watch out for errors that pop up to find out what's going on.


For the modifier, if I remove this from the script for example:

<UseKeyAsModifier LAlt>


<Hotkey ScrollLockOn LAlt 1, 2, 3>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>

Then LAlt 1, LAlt 2, LAlt 3 does not trigger on my slaves window, it only works on master.

That's why I originally added them. instead of Lctrl, there used to be Tilde in the original script to broadcast, I use LCtrl to broadcast mouse clicks. But everything works fine for me as it is, unless it would cause issues.

Thanks

Khatovar
03-07-2014, 06:52 AM
You don't need to remove the Hotkey definition, just the modifier part.


<UseKeyAsModifier LAlt>

You've already got the modifier listed in the Hotkey itself


<Hotkey ScrollLockOn LAlt 1, 2, 3>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>

GGPS90
03-07-2014, 09:39 AM
You don't need to remove the Hotkey definition, just the modifier part.


<UseKeyAsModifier LAlt>

You've already got the modifier listed in the Hotkey itself


<Hotkey ScrollLockOn LAlt 1, 2, 3>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>


Ok, got it. Thanks