Results 1 to 3 of 3

Thread: FindRoadColor

  1. #1
    Join Date
    Apr 2007
    Location
    Colchester, UK
    Posts
    1,220
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    FindRoadColor

    well FindRoadColor function aint working so i made this easy procedure to help while it gets fixed.

    instead of using

    SCAR Code:
    RadialRoadWalk(FindRoadColor, 84, 100, 55, 0, 0)
    if you use that at all in you script or any other procedures where you need road color just add the next procedure into the script

    SCAR Code:
    procedure RoadColor2;
    begin
      road := BitmapFromString(8, 5, 'beNorSqgrGggEAGeMNIE=');
      r:=AutoColorThis(road, 60, 542, 8, 710, 161);
      FreeBitmap(road);
    end;

    now with this procedure in your script.

    all that you have to do is call RoadColor2 before you need to use it so that it can get the correct color for walking

    SCAR Code:
    RadialRoadWalk(r, 84, 100, 55, 0, 0)

    this will allow you to continue autoing untill the autocolor is fixed.

    please tell me if this works for you

  2. #2
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    60, 542, 8, 710, 161);
    Use MMX1, MMY1, MMX2, MMY2.


  3. #3
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Tolerance needs to be abit lower around 40 ish.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. FindRoadColor; problem
    By cocodog13 in forum OSR Help
    Replies: 7
    Last Post: 03-28-2008, 03:35 AM
  2. FindRoadColor Problem
    By jackkat in forum OSR Help
    Replies: 4
    Last Post: 06-02-2007, 09:14 PM
  3. FindRoadColor?
    By 3Garrett3 in forum OSR Help
    Replies: 7
    Last Post: 05-08-2007, 09:27 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
  •