Jump to content
Sign in to follow this  
Crome_BAD

For Diablo II

Recommended Posts

Crome_BAD

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
Insolence

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
Crome_BAD

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
pcdestroyer

Edit: brb :idiot:

Edited by pcdestroyer

Share this post


Link to post
Share on other sites
Insolence

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

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.