Results 1 to 5 of 5

Thread: Color Remembering

  1. #1
    Join Date
    Apr 2007
    Posts
    379
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Color Remembering

    Well I am working on a Woodcutter, that will run 2 scars and communicate using InterScarMessage and so on, but I need a way for it to record the coords of the exact color it finds, and then once the color is gone, it will restart the procedure.

    Is there a function that will end a loop if it does not find the color at the coords.

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    2,984
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Code:
    repeat
      Wait(100);
    until not(SimilarColors(GetColor(x, y), OldColor, 0));
    Like this ?
    Administrator's Warning:


  3. #3
    Join Date
    Apr 2007
    Posts
    379
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well i think that will work, and VYC works amazing!! I have had it run for a good amount of time!

    Anyways I think that is what I am looking for.

    AHAHA it works, i have 2 Runescapes running and it is chopping on both, but it doesn't drop or bank yet, but it works =)

    More ScarMessaging to come =/ for the dropping/banking procedure, first I gotta make a dropping procedure -.-

  4. #4
    Join Date
    Aug 2007
    Location
    England
    Posts
    734
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You making one start chopping while the other waits? this is risky as if they both get randoms at the same time etc... then itll go wrong
    The truth finally came out...


  5. #5
    Join Date
    Apr 2007
    Posts
    379
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok Well it was working then i did something and it doesn't work =/... I need it to "see" once the color on those exact coordinates has changed, the SimilarColors thing wasnt working. What would be a good way to capture the colors coords?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 07-31-2007, 07:23 PM
  2. Useing grass color as road color??????
    By ronny.m.p in forum OSR Help
    Replies: 7
    Last Post: 04-28-2007, 09:42 PM
  3. its not looking for a color.....
    By acevampire in forum OSR Help
    Replies: 7
    Last Post: 03-19-2007, 09:43 PM
  4. [COLOR="Red"]UPDATE![/COLOR] [2|14|07]
    By StK Squenc in forum RS has been updated.
    Replies: 4
    Last Post: 03-05-2007, 10:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •