Close
Page 4 of 5 FirstFirst ... 2 3 4 5 LastLast
Showing results 31 to 40 of 44
  1. #31

    Default

    Quote Originally Posted by Lax View Post
    Ummm... no. They have publicly defended multiboxers and multiboxing in general.

    Chances are they changed something trivial, and it just happened to affect the way you guys use HotkeyNet. Do note that it's just HKN users having trouble -- not any other software. If they wanted to take action against multiboxers, this would be one of the last -- and least effective -- changes they would consider
    The vultures are in
    Everything that is fun in life is either bad for your health, immoral or illegal!

  2. #32

    Default

    Armslave i made only changes to the launchand rename command, give it a try. It fired up on my machine.

    Code:
    // Scrolllock is the toggle for hotkeys
    //-----------------------------------------------------------
    // SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
    //-----------------------------------------------------------
    <Command LaunchAndRename>
       <SendPC %1%>
          <Run "C:\Program Files (x86)\World of Warcraft\Wow-64.exe">
        <wait 1500>
            <RenameWin "World of Warcraft" PreDummyBox>
            <RenameWin "World of Warcraft" %2%>
    
    
    
    
    //-----------------------------------------------------------
    // Initial window positions
    //-----------------------------------------------------------
    <Command SetF1Pos>
       <TargetWin WoW1>
          <SetWinPos 0 0>
          <SetWinSize 1920 1080>
            <SetForegroundWin>
            <UpdateWin>
      <TargetWin WoW2>
           <SetWinPos -1920 0>
           <SetWinSize 960 540>
      <TargetWin WoW3>
           <SetWinPos -960 0>
           <SetWinSize 960 540>
      <TargetWin WoW4>
           <SetWinPos -1920 540>
           <SetWinSize 960 540>
      <TargetWin WoW5>
           <SetWinPos -960 540>
           <SetWinSize 960 540>
    
    
    
    
    //-----------------------------------------------------------
    // Shift-alt-L launches all 5 instances and logs in
    //-----------------------------------------------------------
    <Hotkey Alt Ctrl L>
        <LaunchAndRename Local WoW1>
           <RemoveWinFrame>
           <sendpc local>
           <SendWin "WoW1">
           <wait 1000>
            <text email> 
            <Key Tab>
            <wait 100>
            <text Password>
            <wait 300>
            <Key Enter>
            <wait 3000>
            <Key Down>
            <Key Down>
            <Key Down>
            <Key Down>
            <Key Enter>
                  
        <LaunchAndRename Local WoW2>
          <RemoveWinFrame>
           <sendpc local>
             <SendWin "WoW2">
           <wait 1000>
            <text email>  
            <Key Tab>
            <wait 100>
            <text Password>
            <wait 300>
            <Key Enter> 
            <wait 3000>
            <Key Down>
            <Key Down>
            <Key Down>
            <Key Enter>
    
    
        <LaunchAndRename Local WoW3>
           <RemoveWinFrame>
           <sendpc local>
             <SendWin "WoW3">
           <wait 1000>
            <text email>  
            <Key Tab>
            <wait 100>
            <text Password>
            <wait 300>
            <Key Enter> 
            <wait 3000>
            <Key Down>
            <Key Down>
            <Key Enter>
    
    
        <LaunchAndRename Local WoW4>
           <RemoveWinFrame>
           <sendpc local>
             <SendWin "WoW4">
           <wait 1000>
            <text email>  
            <Key Tab>
            <wait 100>
            <text Password>
            <Key Enter>
            <wait 3000>
            <Key Down>
            <Key Enter>
    
    
        <LaunchAndRename Local WoW5>
          <RemoveWinFrame>
           <sendpc local>
             <SendWin "WoW5">
           <wait 1000>
            <text email> 
            <Key Tab>
            <wait 100>
            <text Password>
            <Key Enter>
            <wait 3000>
            <Key Enter>
    
    
    
    
    //-----------------------------------------------------------
    // 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 ALL WOWS. ADD MORE KEY COMBO'S IF YOU WANT.
        //-----------------------------------------------------------
        <KeyList MyList A-Z, 0-9, Plus, Minus, Period, Oem7, Oem4, Oem6, Oem3, Tab, Comma, Oem1, F1-F12, Backspace, Ctrl, Enter, Esc, Divide, Capslock, Oem2, Numpad0-Numpad9, except W, A, S, D, Q, E>
        <Hotkey ScrollLockOn MyList; ScrollLockOn Shift MyList, except F1-F12>
        <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 W, S, A, D, Q, E, Up, Down, Left, Right, Space>
        <SendLabel w1, w2, w3, w4, w5>
        <Key %Trigger%>
         
        //-----------------------------------------------------------
        // BROADCAST MOUSE CLICKS. HOLD DOWN OEM5 (ON U.S. KEYBOARDS,
        // THAT'S THE SQUIGGLE KEY IN UPPPER LEFT CORNER) WHEN YOU
        // WANT TO BROADCAST.
        //-----------------------------------------------------------
        <UseKeyAsModifier Oem5>
        <Hotkey ScrollLockOn Oem5 LButton, MButton, RButton, Button4, Button5>
           <SendLabel w1, w2, w3, w4, w5>
              <ClickMouse %TriggerMainKey%>
    
    
    
    
    //------------------------------------------------------------------------
    //Window Shifting
    //------------------------------------------------------------------------
    
    
    
    
    
    
    <Hotkey ScrollLockOn Shift F1>
      <If ActiveWinIs WoW1>
      <Else>
         <SetF1Pos>
    <Hotkey ScrollLockOn Shift F2>
      <If ActiveWinIs WoW2>
      <Else>
      <TargetWin WoW1>
           <SetWinPos -1920 0>
           <SetWinSize 960 540>
      <TargetWin WoW3>
           <SetWinPos -960 0>
           <SetWinSize 960 540>
      <TargetWin WoW4>
           <SetWinPos -1920 540>
           <SetWinSize 960 540>
      <TargetWin WoW5>
           <SetWinPos -960 540>
           <SetWinSize 960 540>
         <TargetWin WoW2>
          <SetWinPos 0 0>
          <SetWinSize 1920 1080>
            <SetForegroundWin>
            <UpdateWin>
    <Hotkey ScrollLockOn Shift F3>
      <If ActiveWinIs WoW3>
      <Else>
      <TargetWin WoW1>
           <SetWinPos -960 540>
           <SetWinSize 960 540>
      <TargetWin WoW2>
           <SetWinPos -1920 0>
           <SetWinSize 960 540>
      <TargetWin WoW4>
           <SetWinPos -960 0>
           <SetWinSize 960 540>
      <TargetWin WoW5>
           <SetWinPos -1920 540>
           <SetWinSize 960 540>
         <TargetWin WoW3>
          <SetWinPos 0 0>
          <SetWinSize 1920 1080>
            <SetForegroundWin>
            <UpdateWin>
    <Hotkey ScrollLockOn Shift F4>
      <If ActiveWinIs WoW4>
      <Else>
      <TargetWin WoW1>
           <SetWinPos -1920 540>
           <SetWinSize 960 540>
      <TargetWin WoW2>
           <SetWinPos -960 540>
           <SetWinSize 960 540>
      <TargetWin WoW3>
           <SetWinPos -1920 0>
           <SetWinSize 960 540>
      <TargetWin WoW5>
           <SetWinPos -960 0>
           <SetWinSize 960 540>
         <TargetWin WoW4>
          <SetWinPos 0 0>
          <SetWinSize 1920 1080>
            <SetForegroundWin>
            <UpdateWin>
    <Hotkey ScrollLockOn Shift F5>
      <If ActiveWinIs WoW5>
      <Else>
      <TargetWin WoW1>
           <SetWinPos -960 0>
           <SetWinSize 960 540>
      <TargetWin WoW2>
           <SetWinPos -1920 540>
           <SetWinSize 960 540>
      <TargetWin WoW3>
           <SetWinPos -960 540>
           <SetWinSize 960 540>
      <TargetWin WoW4>
           <SetWinPos -1920 0>
           <SetWinSize 960 540>
         <TargetWin WoW5>
          <SetWinPos 0 0>
          <SetWinSize 1920 1080>
            <SetForegroundWin>
            <UpdateWin>

  3. #33

    Default

    Quote Originally Posted by Rafipi View Post
    My solution that works every time is:

    Define a key that renames your windows back to their original name.

    Press the key to rename your windows twice. Then press the key to rename back to their original name once.

    Here is the code I use for 2 WoWs:

    Code:
    <Hotkey ScrollLockOn Ctrl R>
        <SendPC local>
            <RenameWin "World of Warcraft" WoW1>
            <RenameWin "World of Warcraft" WoW2>
    
    
    <Hotkey ScrollLockOn Ctrl T>
        <SendPC local>
            <RenameWin WoW1 "World of Warcraft">
            <RenameWin WoW2 "World of Warcraft">
    Nice fix. Most of the times works, only failed once here with 2 wows too. But doing this makes wow really slow to shut down. Dunno why.

  4. #34

    Default

    Quote Originally Posted by muldorante View Post
    Hello guys, im here again, with some investigation why HotKeyNet stopped working and some solution(kind of) I did a little test, i oppened 4 wows and instead of running my usual script for 4 wows, i loaded one script for 8 wows

    http://imgur.com/mjB3rnp

    And when i press my key to rename the wows something strange happens, look:

    http://imgur.com/pavOtEj

    My HKN says Completed: Windows found for 8 wows, but i only oppened 4 wows.. what is happening? I'm suspecting that this has to do with the World of Warcraft performing initial setup window that appear before wow is launched.

    http://imgur.com/UE6TCWH

    Somehow this window its not closed but hidden when the game is launched, and its causing the renaming/commands to not work using HKN

    Using the HKN > Actions > Identify window handle, i searched the hex code to see what class they're using:

    http://imgur.com/Oprqysu

    As you can see in the image above, the class input text appear #32770 for the WoW1 hex code...
    When we search this class on the internet, we can found this:

    http://imgur.com/xqKJSJ5
    Font: https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx

    "The class for a dialog box", so the HKN is renaming World of Warcraft initial setup window like was the game client...

    So i did another test, again with HKN > Identify window handle, i searched the hex code for the WoW5 to see what class they're using:

    http://imgur.com/9D83nmo

    And here its the normal class GxWindowsClass for a wow game.
    Wich its the one who will received the commands from KNH for the multiboxing.

    Conclusion
    The World of Warcraft initial setup its causing the problem, after the setup this windows is hidden and not closed

    Solution:
    For each client of wow you're oppening for multibox, add 2 rename line, like a i did in the first image
    And I apologize for my english and my simplified post, but i hope i could clarify or help someone.
    Nice work, Muldorante!

    Indeed, upon listing all windows I found two for each visible WoW window with a title of "World of Warcraft". One with window class "GxWindowClass" and the other with window class "#32770" (documented by Microsoft as a system dialog box window class).

    So I put in a ticket asking that a request be forwarded to the development team to rename the title of the extra window. Not sure what'll come of it; quite possibly nothing. But it seemed worthwhile to ask.

    TDW

  5. #35

    Default

    Quote Originally Posted by TheDesertWind View Post
    Nice work, Muldorante!

    Indeed, upon listing all windows I found two for each visible WoW window with a title of "World of Warcraft". One with window class "GxWindowClass" and the other with window class "#32770" (documented by Microsoft as a system dialog box window class).

    So I put in a ticket asking that a request be forwarded to the development team to rename the title of the extra window. Not sure what'll come of it; quite possibly nothing. But it seemed worthwhile to ask.

    TDW
    Nice. I hope They rename This windows To some dummy name. Keep us updaTed.

  6. #36

    Default

    its not a script issue, i can tell you exactly whats happening..

    if you manually name each window, it works 100% fine
    theres a hidden window somewhere.
    its also not a dummy window, or it would be in the process list.
    i tested this with C++

    further more, you dont see 2 windows of the game in the system processes.
    for some reason, wow is creating a hidden window to throw off HKN
    but if you look in the HKN log window, it will show "found #"
    where # is total number of games running +1.

    Launch a SINGLE copy of the game. and then do the auto rename.
    it finds two.

    close your game, it finds none.

    launch again (1 copy of the game)
    it finds two

    launch 5, it finds 6, and so on.

    thats why it sometimes works and sometimes does not.

    but if you manually rename each window, you can still use HKN.
    thats fine i guess if you play, 2, 3, or maybe 5 at once... as thats what i do
    but if you had to rename 15. id probably stop.

    edit: i want to point out youll have this issue if you manually launch each game and auto-name
    or if you let HKN launch-rename, its going to happen. just manually name each window.

    edit 2: oh yea 1 more thing, this issue occured on all 3 of my computers, and each one has a different OS
    windows10, windows8 and windows7.
    Last edited by samljer : 04-10-2017 at 05:29 PM

  7. #37

    Default

    This code renames the windows using one keypress and works fine for me. Haven't tested the 5 WoW version as I only have 2 accounts but it should work.

    2 WoWs:

    Code:
    <Hotkey ScrollLockOn Ctrl R>    
        <SendPC local>
            <RenameWin "World of Warcraft" HiddenDialog>
            <RenameWin "World of Warcraft" HiddenDialog>
            <RenameWin "World of Warcraft" WoW1>
            <RenameWin "World of Warcraft" WoW2>
    5 WoWs:

    Code:
    <Hotkey ScrollLockOn Ctrl R>
        <SendPC local>
            <RenameWin "World of Warcraft" HiddenDialog>
            <RenameWin "World of Warcraft" HiddenDialog>
            <RenameWin "World of Warcraft" HiddenDialog>
            <RenameWin "World of Warcraft" HiddenDialog>
            <RenameWin "World of Warcraft" HiddenDialog>
    
            <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>
    It may be beneficial to split it into separate keypresses as well in case you need to open a new WoW after a crash or something.

  8. #38

    Default

    Quote Originally Posted by Rafipi View Post
    This code renames the windows using one keypress and works fine for me. Haven't tested the 5 WoW version as I only have 2 accounts but it should work.

    2 WoWs:

    Code:
    <Hotkey ScrollLockOn Ctrl R>    
        <SendPC local>
            <RenameWin "World of Warcraft" HiddenDialog>
            <RenameWin "World of Warcraft" HiddenDialog>
            <RenameWin "World of Warcraft" WoW1>
            <RenameWin "World of Warcraft" WoW2>
    5 WoWs:

    Code:
    <Hotkey ScrollLockOn Ctrl R>
        <SendPC local>
            <RenameWin "World of Warcraft" HiddenDialog>
            <RenameWin "World of Warcraft" HiddenDialog>
            <RenameWin "World of Warcraft" HiddenDialog>
            <RenameWin "World of Warcraft" HiddenDialog>
            <RenameWin "World of Warcraft" HiddenDialog>
    
            <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>
    It may be beneficial to split it into separate keypresses as well in case you need to open a new WoW after a crash or something.
    I'm using AHK for rename, AHK can rename by he windows chosen.
    Code:
    ~1:: 
    IfWinActive, World of Warcraft 
    {
    if not GetKeyState("Scrolllock", "T")
    	Return
    WinSetTitle, WoW1
    Return 
    }

  9. #39

    Default

    I managed to get my HKN script setup again that will Launch and setup all my wow's again with a single key press. Below is the relevant code for reference.

    I added in the Rename for the Hidden Dialog box and I added in 2 Renames for "World of Warcraft". Not sure why I had to add it twice but I noticed that when I tried without it would launch and rename an instance to WoW# then rename back to World of Warcraft. I had to add the 3rd Rename to make sure the instance had the correct label. Hope this helps.

    Code:
    <Template LaunchAndRename>
        <If WinDoesNotExist WoW%1%>
            <Run %2%>
            
        <RenameWin "World of Warcraft" HiddenDialog>
        <wait 1000>
        <RenameWin "World of Warcraft" WoW%1%>
        <wait 1000>
        <RenameWin "World of Warcraft" WoW%1%>
        
        <RemoveWinFrame>
            <SetAffinity %4%>
    
            <SendWin WoW%1%>
            <wait 1000>
            <Text %3%>
            <Key Enter>
    
            <ResizeAndPosition 1 2 3 4 5>
    
        <EndIf>
    <EndTemplate>
    
    <Command ResizeAndPosition>
        <SendWinM WoW%1%>
            <SetWinRect 0 0 1920 1050>
        <SendWinM WoW%2%>
            <SetWinRect 1920 0 840 525>
            <SendWinM WoW%3%>
            <SetWinRect 2760 0 840 525>
            <SendWinM WoW%4%>
            <SetWinRect 1920 525 840 525>
        <SendWinM WoW%5%>
            <SetWinRect 2760 525 840 525>
    
    <Hotkey ScrollLockOn Alt Ctrl L>
        <ApplyTemplate LaunchAndRename 1 D:\Games\WorldofWarcraft\Wow-64.exe password 0>
        <ApplyTemplate LaunchAndRename 2 D:\Games\WorldofWarcraft2\Wow-64.exe password 1>
        <ApplyTemplate LaunchAndRename 3 D:\Games\WorldofWarcraft3\Wow-64.exe password 2>
        <ApplyTemplate LaunchAndRename 4 D:\Games\WorldofWarcraft4\Wow-64.exe password 3>
        <ApplyTemplate LaunchAndRename 5 D:\Games\WorldofWarcraft5\Wow-64.exe password 3>

  10. #40

    Default

    ...
    Last edited by Rathik : 05-24-2017 at 08:45 AM

Posting Rules

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