Jump to content
Sign in to follow this  
Blacky122

Autoit Color Bot

Recommended Posts

Blacky122

Hey

I need help with an Color Aimbot i made for Quake3 i used _MouseMoveRelative but the prob is its still moving to far so when it sees the color its not rly aiming

Global $searchcolor = 0xFF0000

Opt("MouseCoordMode", 0)
Opt("PixelCoordMode", 0)
Opt("MouseClickDelay", 0)
Opt("MouseClickDownDelay", 0)

While 1
    $coord = PixelSearch(10, 10, 800, 600, $searchcolor)
            If IsArray($coord) = 1 Then
                _MouseMoveRelative($coord[0] - MouseGetPos(0), $coord[1] - MouseGetPos(1))
WEnd

Share this post


Link to post
Share on other sites
oMBRa

use screen's coordinates instead

Share this post


Link to post
Share on other sites
Blacky122

I dont understand you sry ^^

use screen coordinates ?

Edited by Blacky122

Share this post


Link to post
Share on other sites
oMBRa

try this:

Global $searchcolor = 0xFF0000

Opt("MouseCoordMode", 1)
Opt("PixelCoordMode", 1)
Opt("MouseClickDelay", 0)
Opt("MouseClickDownDelay", 0)

While 1
    $coord = PixelSearch(10, 10, 800, 600, $searchcolor)
            If IsArray($coord) = 1 Then
               MouseMove($coord[0], $coord[1])
            EndIf
WEnd

Share this post


Link to post
Share on other sites
Blacky122

Well the MouseMove isnt working on Quake 3 Enginge cause when the whole contex moves with moving mouse it isnt aiming it shut aims everywhere but not at the (red) pixel :S

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.