Close
Showing results 1 to 6 of 6
  1. #1

    Default Mouseclick Repeater Region: Cursor Sticking

    I have been using Hotkeynet for some time now and have had very few problems with it. However, my 5-man team is now getting into some "heavy healing" instances and I've started having an issue with the repeater region I use with Grid to send mouse clicks to my healer's Grid unit frames.

    The problem: When I have to send a lot of clicks in succession the cursor sometimes does not move from the location which received the last mouse click. What I mean is that I send a mouse click to the unit frame for ToonA, then I try to send a click to the unit frame for ToonB and the cursor does not move and instead sends the click to ToonA. But when I click again it will finally move to ToonB.

    It appears to mostly happen when I'm sending a lot of clicks in a short time. But I have seen it happen a few times when not sending a lot of clicks. There is no rhyme or reason to it. Sometimes it works fine, other times it doesn't. It seems to fail at the worst possible moment though.

    Here are the relevant sections of my script:
    Code:
    //-----------------------------------------------------------
    // DEFINE LABELS.
    //-----------------------------------------------------------
    <Label w1 Local SendWinS WoW1>
    <Label w2 192.168.0.109 SendWinS WoW2>
    <Label w3 192.168.0.109 SendWinS WoW3>
    <Label w4 192.168.0.109 SendWinS WoW4>
    <Label w5 192.168.0.109 SendWinS WoW5>
    <Label Vent 192.168.0.109 SendFocusWin>
    
    
    //-----------------------------------------------------------
    // BROADCAST MOUSE CLICKS. (GRID)
    //-----------------------------------------------------------
    <Hotkey LButton, MButton, RButton, Button4, Button5>
        <PassThrough>
        <If MouseIsOverWindowRect WoW1 1084 719 333 150>
            <SendLabel w2>
            <ClickMouse %Trigger%>
    
    <Hotkey LShift LButton, MButton, RButton, Button4, Button5>
        <PassThrough>
        <If MouseIsOverWindowRect WoW1 1084 719 333 150>
            <SendLabel w2>
            <KeyDown LShift>
            <ClickMouse %TriggerMainKey%>
            <KeyUp LShift>
    
    <Hotkey LAlt LButton, MButton, RButton, Button4, Button5>
        <PassThrough>
        <If MouseIsOverWindowRect WoW1 1084 719 333 150>
            <SendLabel w2>
            <KeyDown LAlt>
            <ClickMouse %TriggerMainKey%>
            <KeyUp LAlt>
    
    <Hotkey LCtrl LButton, MButton, RButton, Button4, Button5>
        <PassThrough>
        <If MouseIsOverWindowRect WoW1 1084 719 333 150>
            <SendLabel w2>
            <KeyDown LCtrl>
            <ClickMouse %TriggerMainKey%>
            <KeyUp LCtrl>
    I'm boxing from 2 computers. WoW1 is the only window on my main pc. My healer is on WoW2 of my slave pc. My healer's window is also the foreground window on the slave pc, so it's not an issue with sending clicks to a background window. However, it works the same even if the window is in the background.

    Is there a setting I may need to adjust? Could it be related to network lag? Has anyone else had this issue and found a solution?

    EDIT: I suppose I should also mention that there is about a 2 second pause between the clicks since I have to wait for spells to be cast. So I'm not trying to send 5 clicks per second.
    Last edited by Nomahd : 03-31-2011 at 07:12 PM Reason: added info

  2. #2

    Default

    I send mouseovers, not clicks, but you many need to adjust your ClickMouse settings {Options > Settings > ClickMouse}.

    http://www.dual-boxing.com/archive/i...p/t-15497.html
    http://www.dual-boxing.com/showthread.php?t=26434
    Blog : Herding Khats
    Team : Kina - Çroaker - Messkit - Lìfetaker - Wìdowmaker
    Newbie Guides : Multiboxing Vol. 1 - Multiboxing Vol. 2 - HotKeyNet - Jamba
    The Almighty Lax made a liar out of me, apparently I DO get prizes for it.
    *Commences Wielding the Banhammer like there's piñatas up in here and I'm Lady Thor*

    _ Forum search letting you down? Use the custom Google search _

  3. #3

    Default

    Quote Originally Posted by Khatovar View Post
    I send mouseovers, not clicks, but you many need to adjust your ClickMouse settings {Options > Settings > ClickMouse}.

    http://www.dual-boxing.com/archive/i...p/t-15497.html
    http://www.dual-boxing.com/showthread.php?t=26434
    I'll try messing with the delays, but I don't think that's what it is. When I first started using HKN I just set them both to 50 (which is very slow) and left them there. My clicks register just fine each and every time without fail, it's the cursor position that doesn't move sometimes. It's like HKN is remembering the last position and clicking there again instead of the new position. But it only repeats it once. The next click will move to the new position.

    It also just recently started doing this. It never used to do it before. I haven't changed anything in my scripts, or with HKN in a long while. So this behavior seems... odd. I may try a complete OS restore from an image I have from before I ever installed HKN and see if the problem goes away.

  4. #4

    Default

    Quote Originally Posted by Nomahd View Post
    Is there a setting I may need to adjust?
    Try Increasing both ClickMouse delays in the Settings window. For diagnostic purposes, you could try setting both of them to 100.

    Quote Originally Posted by Nomahd View Post
    Could it be related to network lag?
    No, because when your remote PC receives instructions from your hotkey, all the instructions are received in a bundle before the remote PC begins to execute any of them. But if you're curious about this you can measure how long it takes HotkeyNet to send a command from one PC to another PC with HotkeyNet's <PingHotkeyNet> command.

    Quote Originally Posted by Nomahd View Post
    There is no rhyme or reason to it. Sometimes it works fine, other times it doesn't. It seems to fail at the worst possible moment though.
    My guess is that it's due to thread scheduling and how many threads are contending for CPU time at any given moment.
    �Author of HotkeyNet and Mojo

  5. #5

    Default

    If my guess about thread scheduling is correct, the problem is happening when more programs are running on the remote PC or when programs on that PC are doing more work.

    I notice you've got Vent running on the remote. Is there a relationship between the amount of Vent traffic and how often this problem occurs?

    Vent might be especially likely to contribute to this effect if it's set to Process Priority: High on its Setup: Misc tab.

    If this guess is correct, there are two things that may help.

    1. Shut off as many programs as possible on the remote PC.

    2, Try raising the process priority of the WoWs and HotkeyNet on the remote PC. Here's a hotkey that toggles that on and off:

    Code:
    <Hotkey Shift F6>
       <Toggle>
         <SendPC 192.168.0.109>
            <TargetWin WoW2>
               <SetPriority High>
            <TargetWin WoW3>
               <SetPriority High>
            <TargetWin WoW4>
               <SetPriority High>
            <TargetWin WoW5>
               <SetPriority High>
             <TargetWin HotkeyNet>
                <SetPriority High>
       <Toggle>
         <SendPC 192.168.0.109>
            <TargetWin WoW2>
               <SetPriority Normal>
            <TargetWin WoW3>
               <SetPriority Normal> 
            <TargetWin WoW4>
               <SetPriority Normal>
            <TargetWin WoW5>
               <SetPriority Normal> 
           <TargetWin HotkeyNet>
              <SetPriority Normal>
    Last edited by Freddie : 04-01-2011 at 03:05 PM
    �Author of HotkeyNet and Mojo

  6. #6

    Default

    I increased the click delays to 100 and so far it seems to be working. I'll need to log some more playing time before I know for sure. I'll post back after I find some more time to play.

Posting Rules

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