Results 1 to 9 of 9

Thread: auto color picker

  1. #1
    Join Date
    Jan 2008
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default auto color picker

    hi i have searched the subject but reterned nothing of any use.
    i want to make a script that walks along a path to the bank but the path color
    keeps changeing so i was wondering is there a procedure that picks the color before it starts searching for the road and changes the color in the script so when it goes to walk along the road it searches for the color it just picked.
    because at the moment after like 1 bank trip the path color changes and then it dont click anywere?? please help me?

  2. #2
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    FindRoadColor for most roads, FindVarrockRoadColor for Varrock roads, FindFallyRoadColor for Falador roads, and FindLumbyRoadColor for Lumbridge roads.

  3. #3
    Join Date
    Jan 2007
    Location
    Tennessee
    Posts
    642
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    If you are using FindColorTolerance, instead of putting a number in the color spot you can do 1 of 2 easier things.
    SCAR Code:
    FindColorTolerance(x, y, FindRoadColor, x1, y1, x2, y2, Tol);
    Or you can use a variable like "RoadColor"
    SCAR Code:
    RoadColor:= FindRoadColor;
    FindColorTolerance(x, y, RoadColor, x1, y1, x2, y2, Tol);

  4. #4
    Join Date
    Oct 2007
    Location
    england
    Posts
    200
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    or radial walk:
    SCAR Code:
    RadialWalk( FindRoadColor , 40, 75, 70, 2,2);
    ftwait(4);
    flag;
    Quote Originally Posted by ham? View Post
    i didnt merder the fukin english language it im just talkin gangsta!!
    which none of u would no coz ur all fukin nerds

  5. #5
    Join Date
    Dec 2008
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    hey some times findroadcolor dosnt find road color it says it cant detect it???

  6. #6
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    Quote Originally Posted by ham? View Post
    hey some times findroadcolor dosnt find road color it says it cant detect it???
    Ok, at first I thought you were being helpful, but now I can see that you're just spamming. But anyway, don't you have to be standing on the road for FindRoadColor? Try standing on it and see what happens.

    ~Camo
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    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
    Join Date
    Dec 2008
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Camo Kyle View Post
    Ok, at first I thought you were being helpful, but now I can see that you're just spamming. But anyway, don't you have to be standing on the road for FindRoadColor? Try standing on it and see what happens.

    ~Camo
    what do u mean i was spaming i was just asking for help aswell

    any way i stand on the road and it dosnt find it and then other times it dose the findfallyroadcolor allways works when i get into faldore

  8. #8
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    Quote Originally Posted by almost View Post
    If you are using FindColorTolerance, instead of putting a number in the color spot you can do 1 of 2 easier things.
    SCAR Code:
    FindColorTolerance(x, y, FindRoadColor, x1, y1, x2, y2, Tol);
    Or you can use a variable like "RoadColor"
    SCAR Code:
    RoadColor:= FindRoadColor;
    FindColorTolerance(x, y, RoadColor, x1, y1, x2, y2, Tol);
    doesn't the findroadcolor function have findcolortolerance in it?... i know when i make custom ones with the autocolor helper they always do.

  9. #9
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Quote Originally Posted by Camo Kyle View Post
    Ok, at first I thought you were being helpful, but now I can see that you're just spamming. But anyway, don't you have to be standing on the road for FindRoadColor? Try standing on it and see what happens.

    ~Camo
    You don't. However, it will only find "normal" roads. The roads around Lumby, Fally, and a few others have their own special functions for a reason.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Grr, Color Picker not working?
    By Sandstorm in forum OSR Help
    Replies: 6
    Last Post: 01-05-2009, 02:17 AM
  2. auto color picker
    By i 69 ur nan in forum News and General
    Replies: 3
    Last Post: 11-30-2008, 06:04 PM
  3. color picker button in forms?
    By RudeBoiAlex in forum OSR Help
    Replies: 4
    Last Post: 10-25-2007, 07:39 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
  •