Jump to content

Tuvok

Members
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Tuvok's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. As I have not mentioned it being for a game, this was a simple example. Not related to what im using it for. I could have made a simple red dot yellow dot green dot example the same way. If you prefer I could do it that way. That way you dont misunderstand my intentions.
  2. I will just use this as an example of what I want.... So from this image.... This only applies to pix2 and pix3.... pix2 being the green pix3 being the gray Pix2 is active Now, what if pix2 disappears or turns another color? I want the script to look for pix3 the gray one and drag it to the coordinates of the green one. I want it to search anywhere for the gray one. Left Click, move to location of where the green one was and left click again.. This is the general concept of what I want. P.S. no need to be rude, i simply overlooked what was asked.
  3. ; Is pix1 active? $pix1 = PixelSearch(9,28,1021,780,0x8B0E45,0) If (@error) Then MouseClick("left", 918, 742, 1, 10) Sleep(5000) EndIf ; Is pix2 active? $pix2 = PixelSearch(9,28,1021,780,0x04B466,2) If (@error) Then $pix3 = PixelSearch(574,567,591,583,0x960B07,0) MouseClick (Here is where I run into issues, because pix3 can be located ANYWHERE within the coordinates. I need this to be able to click on that pixel and left click it and move it to 516,402). I just have no clue how to get MouseClick to search everywhere for that pixel rather than specific coordinates. There will be multiple locations with that pixel, Its just when pix2 is no longer active i need it to search for pix3 and once again move it to the specified location. Sleep(5000) EndIf
  4. Greetings all, I have run into a bit of a stump here. Basically, what I am trying to do is have my script search for anything via PixelSearch of a specific color and move it to a specific coordinates. So what I want to accomplish here is this I want AutoIT to search a specific coordinates for a color: $pix1 = PixelSearch(9,28,1021,780,0x04B466,2) If (@error) Then I want it to start searching everything for $pix2 = PixelSearch(9,28,1027,780,0xFFFFFF,0) And move that color to a specified set of coordinates. Now I want it to start searching for a different color and if it finds it to mouseclick left and move to that specified coordinates and mouse click again. My issue is I dont know how to make "mouseclick" search the entire area for a specific color (regardless of its coordinates). I just need it to be able to select that pixel and move it to the specified coordinates. Once it moves to that location it will turn into $pix1. But as soon as it disappears, I want the script to research anywhere on screen to find $pix2 and mouseclick it to the specified coordinates again, and allow it to repeat it self until there are no more $pix2 colors left, in which case it would End
  5. Hello Everyone, I am unsure where I need to post this, but I am looking for someone who can assist with custom scripts for me and my team. The scripts are pretty basic, but none of us are very proficient with coding. Compensation avail as well. If you are free to assist, please PM me. I can provide more details to you then. This will be for a MMORPG however. If this was posted in the wrong area please excuse my error and move it to the correct location.
×
×
  • Create New...