Blacky122 Posted June 14, 2009 Share Posted June 14, 2009 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 Link to comment Share on other sites More sharing options...
oMBRa Posted June 14, 2009 Share Posted June 14, 2009 use screen's coordinates instead Link to comment Share on other sites More sharing options...
Blacky122 Posted June 14, 2009 Author Share Posted June 14, 2009 (edited) I dont understand you sry ^^ use screen coordinates ? Edited June 14, 2009 by Blacky122 Link to comment Share on other sites More sharing options...
oMBRa Posted June 14, 2009 Share Posted June 14, 2009 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 Link to comment Share on other sites More sharing options...
Blacky122 Posted June 15, 2009 Author Share Posted June 15, 2009 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now