Sign in to follow this  
Followers 0
Sihno

PixelSearch Question

4 posts in this topic

I am wondering if anyone can help me make a script were it searches for the color 0x35585C and if it doesnt find it it exits the function, but if it does find it it right clicks at the coord of it.

this is what i have so far

$coord = PixelSearch( 0, 0, 20, 300, 0x35585C, 10 )
If Not @error Then
    K(@Teleport)
    S(@Key_Push)
    RC($coord[0],$coord[1])
ElseIf @error Then
    EXIT
EndIf

it doesnt seem to work though, anyone know why

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

because RC is right click right? you have to

MouseClick("Right", $coord[0], $coord[1])

And same for the rest u have define the teleport key.. this looks like mm.bot sequence for diablo2...

Edited by lopolop

Share this post


Link to post
Share on other sites

because RC is right click right? you have to

MouseClick("Right", $coord[0], $coord[1])

And same for the rest u have define the teleport key.. this looks like mm.bot sequence for diablo2...

yup im make a bot that runs mephisto using mm.Bot and easyplay together but when i re-colored the dc6 files they came out as a different color than the other monsters in mm.Bot because mephisto changes color in normal nightmare and hell mode, so i need to make a function like CMDEAD but uses the color i said in the first post, and i do have @Teleport defined, i just posted the part of the script i needed help with B)

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

well id goto a forum that uses mm.bot becuase the sequences have differnt commands then autoit

Edited by lopolop

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