Results 1 to 3 of 3

Thread: MM Auto Color Help

  1. #1
    Join Date
    Feb 2011
    Location
    London
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default MM Auto Color Help

    I'm trying to make an AutoColor function for Lumbridge Castle as the FindRoadColor functions ect are not working and It's something I should really learn anyway although my function does not work very well (probably because it is crap) but yeah some help would be appreciated.

    SCAR Code:
    function LumbridgeFloorColor: Boolean;
    var
      x, y : Integer;
    begin
      if not LoggedIn then Exit;
      x := MMCX;
      y := MMCY;
      ColorToleranceSpeed(2);
      SetColorSpeed2Modifiers(0.30, 0.12);
      if FindColorSpiralTolerance(x, y, 7963015, MMX1, MMY1, MMX2, MMY2, 4) then
      begin
        MMouse(x, y, 4, 4);
        Writeln('Found Color');
        Result := True;
      end else
        Writeln('Cant find the color');
        Result := False;
        SetColorSpeed2Modifiers(0.2, 0.2);
        ColorToleranceSpeed(1);
    end;

    This is the current code, at the moment I am just trying to make it find a color for now, although eventually I will need to store that color as a variable using something like GetColor although I am not really sure

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Auto Color Aid.

    Log into rs.
    Open ACA.
    Press F2.
    Click on the road a few times to gather different colors.
    Use different servers to get a good amount of different colors.
    Go to the AutoColor Function, or any other tap, and click the create function button.
    All done for you.

    http://up.ht/hnvrTN

    Ask for more help if you need it. This tool comes in the SRL SVN.

  3. #3
    Join Date
    Feb 2011
    Location
    London
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks for this

    Although i couldn't get it to find the colour i needed i did manage to get this working for different colours so i guess i just need to do some experimenting with this so it don't mess my radial walking up.

    Rep+ for the help

Thread Information

Users Browsing this Thread

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

Posting Permissions

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