Sign in to follow this  
Followers 0
Crome_BAD

For Diablo II

6 posts in this topic

Well, for the peeps that play d2, is there anyway to turn off the hand pointer in game to get the actual pixel?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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)

?

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Edit: brb :idiot:

Edited by pcdestroyer

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

I get it now, hehe ty.

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  
Followers 0