Results 1 to 4 of 4
  1. #1
    asqapro's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    228
    Reputation
    18
    Thanks
    1,686
    My Mood
    Tired

    Code to move the aiming reticle

    I'm working on a personal aimbot that doesn't inject to avoid being detected/ patched/ banned. I'm having trouble moving the aiming reticle when in a game. I can move the cursor, but it doesn't affect the reticle.

    Is there any way to move the reticle using code that does not need to be injected? If not, I'm just going to drop it.

    I'm working in C++.

  2. #2
    tainos's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    178
    Reputation
    10
    Thanks
    8
    My Mood
    Devilish
    Best thing to do there actually, is to just use google..

  3. #3
    asqapro's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    228
    Reputation
    18
    Thanks
    1,686
    My Mood
    Tired
    Google did provide me an answer, but it was a hell of a dig.

    This is the code I managed to get working:

    #include <windows.h>
    #include <tlhelp32.h>
    #include <stdio.h>
    #include <winable.h>

    void mouseMove(int x_coord, int y_coord)
    {
    INPUT mouse;
    memset(&mouse, 0, sizeof(INPUT));
    mouse.type = INPUT_MOUSE;
    // flag for the mouse hook to tell that it's a synthetic event. <--I believe this is what is most important
    mouse.mi.dwExtraInfo = 0x200;
    mouse.mi.dx = static_cast<int>(x_coord);
    mouse.mi.dy = static_cast<int>(y_coord);
    mouse.mi.dwFlags = mouse.mi.dwFlags | MOUSEEVENTF_MOVE;
    SendInput(1, &mouse, sizeof(mouse));
    }

    This is written in C++, compiled using GCC provided by CodeBlocks. I can't post the link of where I got it, but it is from stackoverflow. I plan to combine this with a pixel-reader, made by me, to make an aimbot.

  4. #4
    Ameer's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    MPGH
    Posts
    14,663
    Reputation
    2240
    Thanks
    6,257
    Not sure why you need help at something pretty much you don't understand , and not yours.
    Anyways this isn't AvA related .
    Thread closed.

    League of Legends Minion - 08/25/16


Similar Threads

  1. [Help] moving the login area
    By Rdawg55 in forum CrossFire Mods & Rez Modding
    Replies: 3
    Last Post: 06-20-2010, 02:09 PM
  2. [help] there do i find the aiming.
    By Ducky123 in forum CrossFire Hacks & Cheats
    Replies: 11
    Last Post: 09-06-2009, 07:32 AM
  3. this one is for the guy who leeched the aim bot cum here
    By bigboss3 in forum CrossFire Hacks & Cheats
    Replies: 18
    Last Post: 07-26-2009, 11:04 PM
  4. Wtf i cant move or aim
    By grimmmz in forum Combat Arms Hacks & Cheats
    Replies: 4
    Last Post: 09-12-2008, 11:47 AM
  5. Replies: 10
    Last Post: 03-06-2007, 05:52 PM