evilelf Posted September 18, 2006 Share Posted September 18, 2006 (edited) Sorry. I cant Change the Name now. Friend made this post but i needed it so here. ---------------------------------------------------------- Hello I am going to try and make a little Scrip that will move and click on this color or that color. But here is the thing. The Colors are random. They Move around. Spawns at new places. What would i do for this one. A pixel Search thats what i thought. But i Hear if u have a none stop Pixel search it can and will Eat up your "CPU" Edited September 18, 2006 by evilelf Link to comment Share on other sites More sharing options...
evilelf Posted September 18, 2006 Author Share Posted September 18, 2006 (edited) Ok well this what i got after i thought about it. One bad thing about this. I have to update it tell i get all of the colors for Level one then same for level 2. O well here is a Hole lets Dig are way out. This was for a Flash game on Neopets. Here is the Scrip. expandcollapse popupfor $i = 1 to 30 ; can change 30 $coord = PixelSearch(85, 337, 538, 565, 0x99CC00, 9) If Not @error Then MouseClick("left", $coord[0], $coord[1], 4) EndIf $coord = PixelSearch(85, 337, 538, 565, 0xFFCC00, 9) If Not @error Then MouseClick("left", $coord[0], $coord[1], 4) EndIf $coord = PixelSearch(85, 337, 538, 565, 0x999900, 9) If Not @error Then MouseClick("left", $coord[0], $coord[1], 4) EndIf $coord = PixelSearch(85, 337, 538, 565, 0xFF3333, 9) If Not @error Then MouseClick("left", $coord[0], $coord[1], 4) EndIf $coord = PixelSearch(85, 337, 538, 565, 0xFFFF4A, 9) If Not @error Then MouseClick("left", $coord[0], $coord[1], 4) EndIf $coord = PixelSearch(85, 337, 538, 565, 0xFFA040, 9) If Not @error Then MouseClick("left", $coord[0], $coord[1], 4) EndIf Next Sleep(6000) MouseMove(419,540) MouseClick("left") Sleep(2000) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;; Leavel 2 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; for $i = 1 to 30 ; can change 30 $coord = PixelSearch(92, 117, 586, 610, 0x0000D9, 2) Sleep(200) If Not @error Then MouseClickDrag("left", $coord[0], $coord[1], 586, 610, 5) EndIf $coord = PixelSearch(85, 337, 538, 565, 0x99CC00, 9) If Not @error Then MouseClick("left", $coord[0], $coord[1], 4) EndIf $coord = PixelSearch(92, 117, 586, 610, 0x0000D9, 2) Sleep(200) If Not @error Then MouseClickDrag("left", $coord[0], $coord[1], 586, 610, 5) EndIf $coord = PixelSearch(85, 337, 538, 565, 0xFFCC00, 9) If Not @error Then MouseClick("left", $coord[0], $coord[1], 4) EndIf $coord = PixelSearch(92, 117, 586, 610, 0x0000D9, 2) Sleep(200) If Not @error Then MouseClickDrag("left", $coord[0], $coord[1], 586, 610, 5) EndIf $coord = PixelSearch(85, 337, 538, 565, 0x999900, 9) If Not @error Then MouseClick("left", $coord[0], $coord[1], 4) EndIf $coord = PixelSearch(92, 117, 586, 610, 0x0000D9, 2) Sleep(200) If Not @error Then MouseClickDrag("left", $coord[0], $coord[1], 586, 610, 5) EndIf $coord = PixelSearch(85, 337, 538, 565, 0xFF3333, 9) If Not @error Then MouseClick("left", $coord[0], $coord[1], 4) EndIf Next Not done but hey if u like to know what i asked help on here what it was. Edited September 18, 2006 by evilelf Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now