PDA

View Full Version : Hotkeynet Problem with the command "LaunchandRename"



RagnarIshere133
03-16-2020, 07:29 PM
Hey,

im multiboxing 9 wow accounts everything is working fine, but i went into some problem in hotkeynet,
everytime i'm openning the game I'm using the command "LaunchandRename"with auto login
(entering Username+password automatically)
so the problem is that its stopped to enter my username and my password when im using the command,its happened to me before two days,Still don't know how to fix it,That's what it means:

https://www.dual-boxing.com/attachment.php?attachmentid=2313&stc=1This is where the command begins:
https://www.dual-boxing.com/attachment.php?attachmentid=2314&stc=1











If there is anyone who has encountered this and knows how to fix I would greatly appreciate the help, thank you for all the helpers

Wubsie
03-18-2020, 04:48 PM
Well, it is telling you that no window is targetted when it gets to those actions. While I don't use Hotkeynet anymore myself, I am guessing you'd need to preface those lines with defining a target. Try adding a <SendLabel w1> after the first pause and see if it helps. If you use different labels, then of course change it to match your script.

RagnarIshere133
03-20-2020, 11:50 PM
Well, it is telling you that no window is targetted when it gets to those actions. While I don't use Hotkeynet anymore myself, I am guessing you'd need to preface those lines with defining a target. Try adding a <SendLabel w1> after the first pause and see if it helps. If you use different labels, then of course change it to match your script.


Yeah i tried what you said,Didn't work,When its worked for me before, its just rename automatically.i don't think the problem is in my script maybe in the program or maybe I need to do some command to auto rename the windows,i tried to reinstall hotkeynet but didn't help :(. i don't know if its matter but its happened to me when i changed the location of the game ,then this problem started.

Wubsie
03-21-2020, 02:06 AM
Could you post your script or the relevant parts atleast (ofc remove any real passwords, account names, etc)? It might be easier to troubleshoot that way. It's weird that just the renaming would break after moving the game but launching works fine.

RagnarIshere133
03-22-2020, 01:25 AM
Alright.


//-----------------------------------------------------------
// 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>
<RenameWin "World of Warcraft" WoW6>
<RenameWin "World of Warcraft" WoW7>
<RenameWin "World of Warcraft" WoW8>
<RenameWin "World of Warcraft" WoW9>


//-----------------------------------------------------------
// SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
//-----------------------------------------------------------
<Command LaunchAndRename>
<SendPC %1%>
<Run "C:\Users\Matan\Downloads\Wrath of the Lich King 3.3.5a (wod models)\wow.exe">
<RenameTargetWin %2%>


//-----------------------------------------------------------
// HOTKEY TO LAUNCH AND RENAME YOUR WOW WINDOWS
//-----------------------------------------------------------
<Hotkey ScrollLockOn Ctrl F1>
<LaunchAndRename Local WoW1>
<wait 1000>
<text matannadavone1>
<wait 500>
<key Tab>
<text ******>
<wait 500>
<key enter>
<wait 500>
<LaunchAndRename Local WoW2>
<wait 1000>
<text matannadavtwo2>
<wait 500>
<key Tab>
<text ******>
<wait 500>
<key enter>
<wait 500>
<LaunchAndRename Local WoW3>
<wait 1000>
<text matannadav88>
<wait 500>
<key Tab>
<text ******>
<wait 500>
<key enter>
<wait 500>
<LaunchAndRename Local WoW4>
<wait 1000>
<text matannadav44>
<wait 500>
<key Tab>
<text ******>
<wait 500>
<key enter>
<wait 500>
<LaunchAndRename Local WoW5>
<wait 1000>
<text matannadav55>
<wait 500>
<key Tab>
<text ******>
<wait 500>
<key enter>
<wait 500>
<LaunchAndRename Local WoW6>
<wait 1000>
<text matannadav66>
<wait 500>
<key Tab>
<text ******>
<wait 500>
<key enter>
<wait 500>
<LaunchAndRename Local WoW7>
<wait 1000>
<text matannadav99>
<wait 500>
<key Tab>
<text ******>
<wait 500>
<key enter>
<wait 500>
<LaunchAndRename Local WoW8>
<wait 1000>
<text matannadav10>
<wait 500>
<key Tab>
<text ******>
<wait 500>
<key enter>
<wait 500>
<LaunchAndRename Local WoW9>
<wait 1000>
<text matannadav11>
<wait 500>
<key Tab>
<text ******>
<wait 500>
<key enter>
<wait 500>


//-----------------------------------------------------------
// 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>
<Label w6 Local SendWinM WoW6>
<Label w7 Local SendWinM WoW7>
<Label w8 Local SendWinM WoW8>
<Label w9 Local SendWinM WoW9>
//-----------------------------------------------------------
// 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, Minus, F4-F9 except W, A, S, D, Q, E, L, X, Esc, F, Y>
<SendLabel w1, w2, w3, w4, w5, w6, w7, w8, w9>
<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, x, F, Y>
<SendLabel w1, w2, w3, w4, w5, w6, w7, w8, w9>
<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, Button5>
<SendLabel w1, w2, w3, w4, w5, w6, w7, w8, w9>
<ClickMouse %TriggerMainKey%>


//-----------------------------------------------------------
//Size And Position Of WoW Windows
//-----------------------------------------------------------
<Command ResizeAndPosition>
<SendPC Local>
<SendWin %1%>
<SetWinRect 280 0 1075 622>
<SendWinM %2%>
<SetWinRect 1120 625 275 184>
<SendWinM %3%>
<SetWinRect 840 625 275 184>
<SendWinM %4%>
<SetWinRect 560 625 275 184>
<SendWin %5%>
<SetWinRect 280 625 275 184>
<SendWinM %6%>
<SetWinRect 0 625 275 184>
<SendWinM %7%>
<SetWinRect 0 435 275 184>
<SendWinM %8%>
<SetWinRect 0 245 275 184>
<SendWinM %9%>
<SetWinRect 0 61 275 184>


//----------------------------------------------------------------
//Window Switching
//----------------------------------------------------------------
<Hotkey F1>
<ResizeAndPosition WoW1 WoW2 WoW3 WoW4 WoW5 WoW6 WoW7 WoW8 WoW9>
<SendLabel w1, w2, w3, w4, w5, w7, w8, w9>
<Key %Trigger%>
<Hotkey F2>
<ResizeAndPosition WoW2 WoW1 WoW3 WoW4 WoW5 WoW6 WoW7 WoW8 WoW9>
<SendLabel w1, w2, w3, w4, w5, w7, w8, w9>
<Key %Trigger%>
<Hotkey F3>
<ResizeAndPosition WoW3 WoW2 WoW1 WoW4 WoW5 WoW6 WoW7 WoW8 WoW9>
<SendLabel w1, w2, w3, w4, w5, w7, w8, w9>
<Key %Trigger%>
<Hotkey F4>
<ResizeAndPosition WoW4 WoW2 WoW3 WoW1 WoW5 WoW6 WoW7 WoW8 WoW9>
<SendLabel w1, w2, w3, w4, w5, w7, w8, w9>
<Key %Trigger%>
<Hotkey F5>
<ResizeAndPosition WoW5 WoW2 WoW3 WoW4 WoW1 WoW6 WoW7 WoW8 WoW9>
<SendLabel w1, w2, w3, w4, w5, w7, w8, w9>
<Key %Trigger%>
<Hotkey F6>
<ResizeAndPosition WoW6 WoW2 WoW3 WoW4 WoW5 WoW1 WoW7 WoW8 WoW9>
<SendLabel w1, w2, w3, w4, w5, w7, w8, w9>
<Key %Trigger%>
<Hotkey F7>
<ResizeAndPosition WoW7 WoW2 WoW3 WoW4 WoW5 WoW6 WoW1 WoW8 WoW9>
<SendLabel w1, w2, w3, w4, w5, w7, w8, w9>
<Key %Trigger%>
<Hotkey F8>
<ResizeAndPosition WoW8 WoW2 WoW3 WoW4 WoW5 WoW6 WoW7 WoW1 WoW9>
<SendLabel w1, w2, w3, w4, w5, w7, w8, w9>
<Key %Trigger%>
<Hotkey F9>
<ResizeAndPosition WoW9 WoW2 WoW3 WoW4 WoW5 WoW6 WoW7 WoW8 WoW1 >
<SendLabel w1, w2, w3, w4, w5, w7, w8, w9>
<Key %Trigger%>


//---------------------------------------------------------------
//Round Robin Key For SPELL SHAMANS INTTERPUT
//---------------------------------------------------------------
<Hotkey ScrollLockOn F11>
<Toggle>
<SendLabel w1>
<Key Ctrl 1>
<Toggle>
<SendLabel w2>
<Key Ctrl 1>
<Toggle>
<SendLabel w3>
<Key Ctrl 1>
<Toggle>
<SendLabel w4>
<Key Ctrl 1>
<Toggle>
<SendLabel w5>
<Key Ctrl 1>
<Toggle>
<SendLabel w6>
<Key Ctrl 1>
<Toggle>
<SendLabel w7>
<Key Ctrl 1>
<Toggle>
<SendLabel w8>
<Key Ctrl 1>
//---------------------------------------------------------------
//Round Robin Key For SPELL THUNDERSTORM SHAMANS
//---------------------------------------------------------------
<Hotkey ScrollLockOn F12>
<Toggle>
<SendLabel w1>
<Key 6>
<Toggle>
<SendLabel w2>
<Key 6>
<Toggle>
<SendLabel w3>
<Key 6>
<Toggle>
<SendLabel w4>
<Key 6>
<Toggle>
<SendLabel w5>
<Key 6>
<Toggle>
<SendLabel w6>
<Key 6>
<Toggle>
<SendLabel w7>
<Key 6>
<Toggle>
<SendLabel w8>
<Key 6>
<Toggle>
<SendLabel w9>
<Key 6>


//-----------------------------------------------------------------
//MORE KEYS/BINDS
//-----------------------------------------------------------------
<hotkey ScrollLockOn L, End, Esc, Oem4, Home, Button4>
<SendLabel w1, w2, w3, w4, w5, w6, w7, w8, w9>
<Key %Trigger%>


<Hotkey NumLockOn A-Z, Enter, Oem2, Backspace, Period>
<SendLabel w1, w2, w3, w4, w5, w6, w7, w8, w9>
<Key %Trigger%>


<hotkey ScrollLockOn LCtrl 1-7>
<SendLabel w1, w2, w3, w4, w5, w6, w7, w8, w9>
<Key %Trigger%>


<Hotkey ScrollLockOn Shift 1-6>
<SendLabel w1, w2, w3, w4, w5, w6, w7, w8, w9>
<Key %Trigger%>


<hotkey ScrollLockOn LShift K>
<SendLabel w1, w2, w3, w4, w5, w6, w7, w8, w9>
<Key %Trigger%>


<hotkey ScrollLockOn Alt A-S>
<SendLabel w1, w2, w3, w4, w5, w6, w7, w8, w9>
<Key %Trigger%>




<Hotkey ScrollLockOn LAlt 1-5>
<SendLabel w1, w2, w3, w4, w5, w6, w7, w8, w9>
<Key %Trigger%>
<Hotkey ScrollLockOn Shift A>
<SendLabel w1, w2, w3, w4, w5, w6, w7, w8, w9>
<Key %Trigger%>




//-----------------------------------------------------------------------
//REMOVE WINDOW FRAME
//-----------------------------------------------------------------------


<hotkey ScrollLockOn LShift R>
<sendpc local>
<TargetWin "WoW1">
<RemoveWinFrame>
<TargetWin "WoW2">
<RemoveWinFrame>
<TargetWin "WoW3">
<RemoveWinFrame>
<TargetWin "WoW4">
<RemoveWinFrame>
<TargetWin "WoW5">
<RemoveWinFrame>
<TargetWin "WoW6">
<RemoveWinFrame>
<TargetWin "WoW7">
<RemoveWinFrame>
<TargetWin "WoW8">
<RemoveWinFrame>
<TargetWin "WoW9">
<RemoveWinFrame>
//------------------------------------------------------
//BROADCAST MOUSE CLICKS FOR HEALERS(DRUIDS)
//------------------------------------------------------
<UseKeyAsModifier CapsLockOn>
<Hotkey ScrollLockOn CapsLockOn LButton, MButton, RButton, Button5>
<SendLabel w7, w8, w9>
<ClickMouse %TriggerMainKey%>
//------------------------------------------------------
//BROADCAST MOUSE CLICKS Shamans
//------------------------------------------------------


<UseKeyAsModifier Button4>


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




<hotkey ScrollLockOn LCtrl J>
<SendLabel w7, w8, w9>
<Key %Trigger%>

Wubsie
03-22-2020, 08:32 AM
Well... This is odd. I literally just pasted your script (apart from removing the line with Enter key being sent since I don't want to spam Blizz with a bunch of invalid logins from my IP) and changed the game path to match an installation for classic and it is working fine.
https://www.dual-boxing.com/attachment.php?attachmentid=2316&stc=1

So... I'm not sure what to tell you... I guess personally I might just separate the auto-login from the launching process and have it under a separate hotkey that I use after all the clients are a launched, renamed, rearranged, etc.

RagnarIshere133
03-23-2020, 01:36 PM
Well... This is odd. I literally just pasted your script (apart from removing the line with Enter key being sent since I don't want to spam Blizz with a bunch of invalid logins from my IP) and changed the game path to match an installation for classic and it is working fine.
So... I'm not sure what to tell you... I guess personally I might just separate the auto-login from the launching process and have it under a separate hotkey that I use after all the clients are a launched, renamed, rearranged, etc.

Well Don't know what to say, I tried to change again the location of the game And still not working.Im playing on private server,Do you think if im changing the client of the game its may work?

Wubsie
03-24-2020, 03:27 PM
I can't give an accurate answer to that. Could it work then? Maybe. Could it be the same? Maybe.

I suppose I would first try and see whether I can pass the same actions through a hotkey to the clients so it's not all one automated sequence. Break it down to parts and see if any individual parts fails. Whether that will reveal anything that'll allow you to go back having it in one sequence, I can not predict either. But atleast you'd either find what is not working, or perhaps find a suitable workaround.

RagnarIshere133
03-24-2020, 08:35 PM
I can't give an accurate answer to that. Could it work then? Maybe. Could it be the same? Maybe.

I suppose I would first try and see whether I can pass the same actions through a hotkey to the clients so it's not all one automated sequence. Break it down to parts and see if any individual parts fails. Whether that will reveal anything that'll allow you to go back having it in one sequence, I can not predict either. But atleast you'd either find what is not working, or perhaps find a suitable workaround.

Well,I think i made something,When i saw its working well for you i tried to find another way,Don't know if its still calling "launchandrename"
But its working Fine for me

//-----------------------------------------------------------
// HOTKEY TO LAUNCH AND RENAME YOUR WOW WINDOWS
//-----------------------------------------------------------
<Hotkey ScrollLockOn Ctrl F1>
<LaunchAndRename Local WoW1>
<Hotkey ScrollLockOn Shift F1>
<SendWinM WoW1>
<wait 1000>
<text matannadavone1>
<wait 500>
<key Tab>
<text ****>
<wait 500>
<key enter>
<wait 500>
<Hotkey ScrollLockOn Ctrl F2>
<LaunchAndRename Local WoW2>
<Hotkey ScrollLockOn Shift F2>
<SendWinM WoW2>
<wait 1000>
<text matannadavtwo2>
<wait 500>
<key Tab>
<text ****>
<wait 500>
<key enter>
<wait 500>
<Hotkey ScrollLockOn Ctrl F3>
<LaunchAndRename Local WoW3>
<Hotkey ScrollLockOn Shift F3>
<SendWinM WoW3>
<wait 1000>
<text matannadav88>
<wait 500>
<key Tab>
<text ****>
<wait 500>
<key enter>
<wait 500>
<Hotkey ScrollLockOn Ctrl F4>
<LaunchAndRename Local WoW4>
<Hotkey ScrollLockOn Shift F4>
<SendWinM WoW4>
<wait 1000>
<text matannadav44>
<wait 500>
<key Tab>
<text ****>
<wait 500>
<key enter>
<wait 500>
<Hotkey ScrollLockOn Ctrl F5>
<LaunchAndRename Local WoW5>
<Hotkey ScrollLockOn Shift F5>
<SendWinM WoW5>
<wait 1000>
<text matannadav55>
<wait 500>
<key Tab>
<text ****>
<wait 500>
<key enter>
<wait 500>
<Hotkey ScrollLockOn Ctrl F6>
<LaunchAndRename Local WoW6>
<Hotkey ScrollLockOn Shift F6>
<SendWinM WoW6>
<wait 1000>
<text matannadav66>
<wait 500>
<key Tab>
<text ****>
<wait 500>
<key enter>
<wait 500>
<Hotkey ScrollLockOn Ctrl F7>
<LaunchAndRename Local WoW7>
<Hotkey ScrollLockOn Shift F7>
<SendWinM WoW7>
<wait 1000>
<text matannadav99>
<wait 500>
<key Tab>
<text ****>
<wait 500>
<key enter>
<wait 500>
<Hotkey ScrollLockOn Ctrl F8>
<LaunchAndRename Local WoW8>
<Hotkey ScrollLockOn Shift F8>
<SendWinM WoW8>
<wait 1000>
<text matannadav10>
<wait 500>
<key Tab>
<text ****>
<wait 500>
<key enter>
<wait 500>
<Hotkey ScrollLockOn Ctrl F9>
<LaunchAndRename Local WoW9>
<Hotkey ScrollLockOn Shift F9>
<SendWinM WoW9>
<wait 1000>
<text matannadav11>
<wait 500>
<key Tab>
<text ****>
<wait 500>
<key enter>
<wait 500>


Each time im clicking Ctrl F1-F9 its Openning the game.
The Hotkey with the Shift F1-F9 typing The account+password


But Of course i'll still try to find a better way to fix it,and I'm very appreciate your help Big Thanks!!man.