Results 1 to 4 of 4
  1. #1
    Matchews's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0

    Mouse Event Not Firing in Windows 10

    Greetings all,

    I've had my own personal triggerbot for some time now and it always worked fine in Windows 7 when I'd use it. After upgrading to Windows 10 I decided to pull out my ol' trusty triggerbot to have a little fun and it's not firing the mouse event.

    Code:
    // Written in cpp
    if (PosR(x, y) > 170 && PosG(x, y) < 50 && PosB(x, y) < 150)
    {
        cout << "Fire" << endl;
        mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
        randomTime = rand() % 30 + 1;
        Sleep(randomTime);
        mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
        randomTime = rand() % maxFireSpeed + minFireSpeed;
        Sleep(randomTime);
    }
    The console is outputting "Fire" so I know it is detecting the enemy but the mouse event doesn't fire the gun. Always worked fine in windows 7 but doesn't seem to be working in Win 10. Any ideas?

  2. #2
    emilio00007's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    how can i use this?

  3. #3
    Shmegory's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Aᴍsᴛᴇʀᴅᴀᴍ
    Posts
    302
    Reputation
    10
    Thanks
    1,833
    My Mood
    Innocent
    Quote Originally Posted by emilio00007 View Post
    how can i use this?
    You can't

    And it's probally because windows 10 hasn't updated all drivers yet. And it's using different .dll versions, not entirely sure if that's the answer to your problem.

  4. #4
    Matchews's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    Oh, this thread can be closed. For some reason the script now requires me to be in windowed mode whereas it didn't require windowed mode in Windows 7. I can probably make it not require windowed mode but I have to look into it. Not sure what was changed with Windows 10.

    Regardless, I'm not even trying to use any bots right now with this big ass ban wave going on. Gotta lay low until this jank blows over. They're straight up ban happy yesterday and today. Not worth the risk right now.
    Last edited by Matchews; 09-24-2015 at 02:59 PM.

Similar Threads

  1. [Help] WH Not Work in Windows 7
    By indra11tng in forum Point Blank Hacks
    Replies: 39
    Last Post: 08-03-2011, 06:17 AM
  2. Mouse events in C++
    By Kiruku in forum C++/C Programming
    Replies: 11
    Last Post: 04-02-2011, 08:51 AM
  3. Not working IN WINDOWS 7?
    By NotworkWindows7 in forum WarRock Philippines Hacks
    Replies: 3
    Last Post: 01-30-2011, 04:12 AM
  4. [Help] Perx not working for Windows XP
    By OMGITSU123 in forum CrossFire Hacks & Cheats
    Replies: 1
    Last Post: 12-18-2009, 03:33 PM
  5. NOt working in Windows Seven ?
    By Diegostreet in forum Alliance of Valiant Arms (AVA) Hacks & Cheats
    Replies: 8
    Last Post: 11-03-2009, 04:50 PM