Results 1 to 11 of 11

Thread: How Do I Use Tolerances?

  1. #1
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How Do I Use Tolerances?

    For My Mining Script How Do I Use Tolerances So People Don't Have To Re - Set The Ore Colors Every Time It Logges in? PLease Help...

  2. #2
    Join Date
    Jul 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i would use findobj it has tolerance
    "your always where you supposed to be"

  3. #3
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Can you give me an example please? and thanks for the info but i dont under stand...

  4. #4
    Join Date
    May 2007
    Posts
    468
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    umm, do this


    If FindObjMulti(ine, col1, col2, col3) then
    begin;
    GetMousPos(x, y)
    MMouse (x, y, 3, 3)
    If (IsUpText'ine') then Mouse(x, y, 4, 4,True)


    col1 2 and 3 are the colors 1, 2, and 3
    Originally Posted by YoHoJo
    I like hentai.

  5. #5
    Join Date
    Jul 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    findobj(x2,y2,'/ 1 more',1121681,5)

    x2,y2:=where obj is located
    '/ 1 more':=the text it shows in top left corner
    1121681:=color to find
    5:= tolerance
    "your always where you supposed to be"

  6. #6
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Buh... thanks but i still don't get it.. im stupid when it comes to Tolerances...

  7. #7
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    findcolortolerance lol tolerance is how much the color could differ from the specified color so 10 is usually the highest you would set it.

  8. #8
    Join Date
    Jul 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    get driggers tut it was made for people with little to no experience
    "your always where you supposed to be"

  9. #9
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Procedure Mine_Coal;
    begin
    if
    findcolor(x,y,Coal1,201,113,327,220)
    or
    findcolor(x,y,Coal3,201,113,327,220)
    or
    findcolor(x,y,Coal4,201,113,327,220)
    then
    wait(random(50)+500)
    MMouse(x,y,1,1)
    wait(random(50)+100)
    Mouse(x,y,1,1,true)
    wait(time_it_takes_to_mine_coal)
    end;
    So Like This?

    Procedure Mine_Coal;
    begin
    if
    findcolorTolerance(x,y,Coal1,10,201,113,327,220)
    or
    findcolorTolerance(x,y,Coal3,10,201,113,327,220)
    or
    findcolorTolerance(x,y,Coal4,10,201,113,327,220)
    then
    wait(random(50)+500)
    MMouse(x,y,1,1)
    wait(random(50)+100)
    Mouse(x,y,1,1,true)
    wait(time_it_takes_to_mine_coal)
    end;



    ..?

  10. #10
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    yes perfect.

  11. #11
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok thanks..

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [Advanced] Color Tolerances
    By Seroko in forum OSR Help
    Replies: 6
    Last Post: 10-12-2008, 08:47 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
  •