Page 1 of 2 12 LastLast
Results 1 to 25 of 50

Thread: Varrock Autocolor broke

  1. #1
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default Varrock Autocolor broke

    Varrock autocolor doesn't work for me or ReadySteadyGo

  2. #2
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by MylesMadness View Post
    Varrock autocolor doesn't work for me or ReadySteadyGo
    Works fine for me?
    SCAR Code:
    program new;
    {$i SRL/SRL.scar}

    begin
      SetupSRL;

      Wait(RandomRange(200, 500));
      RadialWalkAutoColor(srl_VarrockRoadColor, 0, 45, 70, 3, 3);
    end.
    ** Warning in LoadAutoColor: Function Successful: Found Color = 8424071 **

  3. #3
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    But is that the right color? It gave me a color that wasn't right

  4. #4
    Join Date
    Feb 2007
    Location
    Alberta,Canada
    Posts
    2,358
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    make your own simple autocolor if that ones not working. Autocoloring is pretty simple to do
    “Ignorance, the root and the stem of every evil.”

  5. #5
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Blumblebee View Post
    make your own simple autocolor if that ones not working. Autocoloring is pretty simple to do
    I know its not, but it should still be fixed in srl...

  6. #6
    Join Date
    Aug 2008
    Location
    London, UK
    Posts
    456
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    It's working for me on this login, but the last two logins it didn't find it. Weird.

  7. #7
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by ReadySteadyGo View Post
    It's working for me on this login, but the last two logins it didn't find it. Weird.
    Are you using a tolerance? If so, maybe it's not hight enough? I always use 10 and I've never had it fail.

  8. #8
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    ** Warning in LoadAutoColor: Function Successful: Found Color = 8554636 ** but the color is 9014929. A tolerance wouldn't help if the autocolor itself was giving wrong colors

  9. #9
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by MylesMadness View Post
    ** Warning in LoadAutoColor: Function Successful: Found Color = 8554636 ** but the color is 9014929. A tolerance wouldn't help if the autocolor itself was giving wrong colors
    Where did you get 9014929 from? Look at the arrays in AutoColors.scar. Those are all the colours I picked for each road. There are 100s of possibilities.

    And how wouldn't a tolerance help? The autocolour returns the colour 8554636, then when you use RadialWalkTolerance, it puts the tolerance on that colour.

  10. #10
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    9014929 is the real road color.

    And wouldn't a tolerance not work if the color without tolerance is on the minimap?

  11. #11
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by MylesMadness View Post
    9014929 is the real road color.

    And wouldn't a tolerance not work if the color without tolerance is on the minimap?
    There is no real road colour... The roads are multiple colours.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  12. #12
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    By real I meant actual at the time.

  13. #13
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by MylesMadness View Post
    9014929 is the real road color.

    And wouldn't a tolerance not work if the color without tolerance is on the minimap?
    What noidea said, and no, if a colour is on the minimap, adding a tolerance on it would still work...

    The thing about autocolouring is that it may find a certain colour (without tolerance) on the minimap, but it may not be in the specific location you're looking for, that's why you should always use a tolerance.

    E: @Myles: There is a lot more than one colour at one time. Just pick a different spot on the road and chances are it won't be the same as one ~5 pixels away.

  14. #14
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    I'll screenshot it tommorow, it's not finding a color on the road. And isn't the point of autocolor to not tolerance

  15. #15
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by MylesMadness View Post
    I'll screenshot it tommorow, it's not finding a color on the road. And isn't the point of autocolor to not tolerance
    That simply is not possible any more with many of the roads with runetek5.
    There was debate about returning an int array for auto colouring, but it looks like that was thrown away.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  16. #16
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    noidea, thats what we do now xD

    Check out the new AutoColor.scar, Coh3n and I rewrote it to use a massive int array of colours, it will then find the best colour.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  17. #17
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default


    And thats with 10 tolerance.

  18. #18
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    ^ Hmm.. That does seem to be a problem.. Try it with 15-20 tolerance?

  19. #19
    Join Date
    Aug 2008
    Location
    London, UK
    Posts
    456
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Why is

    SCAR Code:
    program new;
    {$i SRL/SRL.scar}
    var
      x, y: Integer;

    begin
      SetupSRL;
      ActivateClient;
      Wait(RandomRange(200, 500));
      x:=MMCX;
      y:=MMCY;
      FindColorSpiralTolerance(x, y, AutoColor(srl_RockColor), MMX1, MMY1, MMX2, MMY2, 0);
      MMouse(x, y, 0, 0);
    end.

    It returns
    ** Warning in LoadAutoColor: Function Successful: Found Color = 3625809 **
    Which is the white dot of my player.

    Autocolor seriously needs changing.

  20. #20
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by MylesMadness View Post

    And thats with 10 tolerance.
    That image of the minimap looks very simple. It looks like the minimap before the RunTek5 update. It actually looks like the road is a constant colour. Either way, it looks like I didn't pick all the colours for the Varrock road. Read the last point in the first post of this thread.

    Quote Originally Posted by ReadySteadyGo View Post
    ** Warning in LoadAutoColor: Function Successful: Found Color = 3625809 **
    Which is the white dot of my player.

    Autocolor seriously needs changing.
    I'm almost positive that the square white dot (your player) in the middle of the minimap is a constant colour (16777215, which is white).

    Autocolor doesn't need changing, it was just rewritten and it's never failed for me. The only thing that should never need updating are the colours in the initial arrays, which wouldn't surprise me as Jagex changes around colours all the time.

  21. #21
    Join Date
    Aug 2008
    Location
    London, UK
    Posts
    456
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    You're right about the white dot, sorry I thought I could input scar colour into the colour picker history. It just isn't finding the rock color though Coh3n no matter what tolerances I've tried.

  22. #22
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    SRL's autocolour use TAutoColorRecords which no one seems to grasp! Use the tolerances that the autocolour finds. As well, you need to setup your CTS speed vars to be correct.

    Perhaps there needs to be more documentation on this, but the system that I developed ensures the uttmost accuracy in autocolouring. Please, check out how the new Autocolor should be used. The tutorials of old are NOT current and colours can't be used the same way.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  23. #23
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by ReadySteadyGo View Post
    You're right about the white dot, sorry I thought I could input scar colour into the colour picker history. It just isn't finding the rock color though Coh3n no matter what tolerances I've tried.
    What Nava said, and what I said above. I thought I had picked all the colours, but I easily could have missed some. Try opening some ACA files and seeing if the colours on your minimap are in the array. If not, add them and post the new list.

    E: Have you tried RadialWalkAutoColour? Because it uses the proper tolerances and CTS. If that works, then you just aren't using it properly. >.<

  24. #24
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    E: Have you tried RadialWalkAutoColour? Because it uses the proper tolerances and CTS. If that works, then you just aren't using it properly. >.<
    Just a heads up, RadialWalkAutoColor isnt at the top of MapWalk.scar along with all the other functions. When I first looked I didnt think it was in there, so I had to ctrl F and find it.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  25. #25
    Join Date
    Aug 2008
    Location
    London, UK
    Posts
    456
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    What Nava said, and what I said above. I thought I had picked all the colours, but I easily could have missed some. Try opening some ACA files and seeing if the colours on your minimap are in the array. If not, add them and post the new list.

    E: Have you tried RadialWalkAutoColour? Because it uses the proper tolerances and CTS. If that works, then you just aren't using it properly. >.<


    Ok, this is the rock I'm looking for. I've checked the ACA files (srl_RockColor and srl_MineRockColor) and picked over 10 new colours. None of them have matched up with the entries already there. RadialWalkAutoColor isn't working for me so it's not something I'm doing wrong. Is this a different kind of rock or something? It's at an altar... If not I will make a new ACA file, because it seems like there is a hell of a lot more than what's in there.
    Last edited by ReadySteadyGo; 06-30-2010 at 04:31 PM.

Page 1 of 2 12 LastLast

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
  •