Results 1 to 7 of 7

Thread: Please Help!!!!!!!! ITS URGANT!!!!!!!!

  1. #1
    ronny.m.p Guest

    Please Help!!!!!!!! ITS URGANT!!!!!!!!

    Ok so im just scripting away until i turn around and test one of my scripts. It was going perfect until it came to a simple findcolortolerance procedure. I will post errors below. Anyways i then tried a few other scripts and even if they used to work they won't now!!! I haven't changed anything. It seems to go to the xs,ys coords. No matter what i set them to it just goes to em. If anyone has an explination please post ASAP!!!!

    ERROR:

    if(Findcolortolerance(x,y,StairColor,0,0,560,784)= true)then
    mouse(x,y,0,0,true);

  2. #2
    Join Date
    Oct 2006
    Posts
    517
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    That can't be the error, its part of the script. Post what it says in the debug box.

  3. #3
    Join Date
    Mar 2006
    Posts
    3,051
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    That FindColorTolerance procedure is missing a value. You need a number for the tolerance at the end.

    Code:
    Findcolortolerance(x,y,StairColor,0,0,560,784)
    would change to something like
    Code:
    Findcolortolerance(x,y,StairColor,0,0,560,784,10)

  4. #4
    ronny.m.p Guest

    Default

    Sorry i didn't post it right...it has tollerance...500 of it lol...Anyways when i run this it happens...

    SCAR Code:
    program New;
    {.include SRL/SRL.scar}
    const
    StairColor=76387;


    begin
    SetupSRL;
    ActivateClient;
    MakeCompass('E');
    if(findcolortolerance(x,y,StairColor,0,0,75,495,500)=true)then
    Mouse(x,y,0,0,true);
    end.

  5. #5
    Join Date
    Mar 2006
    Posts
    3,051
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    works fine for me

  6. #6
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    6,136
    Mentioned
    28 Post(s)
    Quoted
    17 Post(s)

    Default

    Tolerance is a Byte. Values above 255 are useless. Tolerance 255 is ANY color.
    SRL is a Library of routines made by the SRL community written for the Program Simba.
    We produce Scripts for the game Runescape.

  7. #7
    ronny.m.p Guest

    Default

    Ok this is just weird...all my color procedures had over 255 but they still wored...but thanks wakawi that did the trick!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Please help!!! ITS URGANT!!!
    By ronny.m.p in forum OSR Help
    Replies: 1
    Last Post: 02-04-2007, 05:50 AM

Posting Permissions

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