qwqwwqwdwd Posted January 22, 2007 Posted January 22, 2007 (edited) $coord = PixelSearch( 0, 0, 20, 300, 0x673D17 )While @error=0(movement/attack code)$coord = PixelSearch( 0, 0, 20, 300, 0x673D17 )Wendis this the right command?i want it to detect a pixel using Hex code and on the (movement/attack code) i want the mouse move to that pixel and left click on it. anyone know wat codes i need to put in as a replace in (movement/attack code)? please help Edited January 22, 2007 by qwqwwqwdwd
Valuater Posted January 22, 2007 Posted January 22, 2007 "qwqwwqwdwd" Man, that must of taken alot of time and thought 8)
_Kurt Posted January 22, 2007 Posted January 22, 2007 (edited) "qwqwwqwdwd"Man, that must of taken alot of time and thoughtLol, a well thought out name indeedis this the right command?i want it to detect a pixel using Hex code and on the (movement/attack code) i want the mouse move to that pixel and left click on it. anyone know wat codes i need to put in as a replace in (movement/attack code)? please helpPixelSearch returns 2 arrays containing the X and Y position, so change it to this:$coord = PixelSearch( 0, 0, 20, 300, 0x673D17 ) If Not @error Then MouseClick("left", $coord[0], $coord[1], 1, 0)Kurt Edited January 22, 2007 by _Kurt Awaiting Diablo III..
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