Jump to content

Recommended Posts

Posted

In a program or on the screen in general?

<{POST_SNAPBACK}>

Well in the program i can return a value for each coloured pixel with the cursor on it.

But i need the mouse to follow the certain colored pixel :whistle:

Posted

While 1
$coord = PixelSearch( 0, 0, 20, 300, 0xFF0000 )
If Not @error Then
    MouseMove($coord[0], $coord[1])
EndIf
Sleep(250)

Finds a red pixel, and moves the mouse to it.

This could load the CPU usage maybe...

FootbaG
Posted

While 1
$coord = PixelSearch( 0, 0, 20, 300, 0xFF0000 )
If Not @error Then
    MouseMove($coord[0], $coord[1])
EndIf
Sleep(250)

Finds a red pixel, and moves the mouse to it.

This could load the CPU usage maybe...

<{POST_SNAPBACK}>

Line 18

Sleep250

Error: "While" statement has no matching "WEnd" statement.

I tried putting in WEnd in at the end and it still did nothing...

Posted

Line 18

Sleep250

Error: "While" statement has no matching "WEnd" statement.

I tried putting in WEnd in at the end and it still did nothing...

<{POST_SNAPBACK}>

While 1

$coord = PixelSearch( 0, 0, 20, 300, 0xFF0000 )

If Not @error Then

MouseMove($coord[0], $coord[1])

EndIf

Sleep(250)

WEnd

Visit http://www.blizzedout.com/forums/register....referrerid=8306 for the top blizzard hacks. WoW, TfT, D2/LOD, CS. You name it we got it!

Posted

Line 18

Sleep250

Error: "While" statement has no matching "WEnd" statement.

I tried putting in WEnd in at the end and it still did nothing...

<{POST_SNAPBACK}>

If the script didn't do anything (after putting WEnd at the end of the script) then it obviously did not find the color in the space specified by the script. Either change the color it is looking for and/or change the coordinates it is looking within.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...