Sign in to follow this  
Followers 0
Ultratech

Pixel Color Help

2 posts in this topic

I need help with a pixel color. I believe there was another post about using it for Diablo II as an auto heal, what I need help with is how would i assign that to a button, and create another button to disable autoheal? So button would enable it, button 2 would disable it, but I don't know how to use pixel color, can someone give me an example?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

This is a simplelfyed version of how I use to do it:

Global $Paused
Hotkeyset("{INSERT}", "autopotion")
$Paused = NOT $Paused
    While $Paused
Func autopotion()
$x = 76
$y = 462

While 1
    Sleep(100)
If PixelGetColor($x, $y) = 0x8C7D52 Then Send("1")
WEnd
Endfunc
Edited by lolp1

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