Crome_BAD Posted December 31, 2004 Posted December 31, 2004 Well, for the peeps that play d2, is there anyway to turn off the hand pointer in game to get the actual pixel?
Insolence Posted December 31, 2004 Posted December 31, 2004 No, but you can make a script that simply gets the mouse possition, moves it 5 to the right (or something) and THEN gets the pixel. Pretty simple. "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.
Crome_BAD Posted December 31, 2004 Author Posted December 31, 2004 Sorry im tired, i dont understand it all to well, so i can go..... $mousep = MouseGetPos() $x = $mousep[0] $y = $mousep[1] $pixel = PixelGetColor( $x + 3, $y) MsgBox( 0, "Pixel", $pixel) ?
pcdestroyer Posted December 31, 2004 Posted December 31, 2004 (edited) Edit: brb Edited December 31, 2004 by pcdestroyer
Insolence Posted December 31, 2004 Posted December 31, 2004 Heh, what I MEANT was: 1) Get mouse coords, save them 2) Move the mouse away from the current area 3) Get the pixel where you previously saved mouse coordinates 4) Move mouse back to where it was 5) Output found pixel "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.
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