No one appears to be using it right!
Use the darn TAutoColor and use the freaking tolerances!
Printable View
No one appears to be using it right!
Use the darn TAutoColor and use the freaking tolerances!
RadialWalkAutoColor isn't using it right then.
Also, SRL's autocolor without tol:
http://i.imgur.com/aI7Ec.png
Yep, no colors
My add-on to SRL's autocolor without tol:
http://i.imgur.com/zSAtx.png
I was really curious about this so I quickly made this:
SCAR Code:program new;
{$i srl/srl.scar}
{$i srl/srl/misc/debug.scar}
procedure Test;
var
TPA: TPointArray;
TACI: TAutoColorInfo;
x, y: Integer;
begin
TACI := AutoColorEx(srl_VarrockRoadColor);
x := MMCX;
y := MMCY;
SetColorToleranceSpeed(2);
SetColorspeed2Modifiers(TACI.HueMod, TACI.SatMod);
FindColorsSpiralTolerance(x, y, TPA, TACI.Color, MMX1, MMY1, MMX2, MMY2, TACI.LumTol);
DebugTPA(TPA, '');
end;
begin
SetupSRL;
ActivateClient;
Test;
FreeSRL;
end.
Not sure if I'm using it right or not but it gave nice results(a bit too much tho).
Until I tried it with rock. It highlighted everything. When I used a lower tolerance it highlighted everything, except the rock :S. And the color wasn't even near the actual rock color.
Display mode is safe mode, right? And how should we exactly use the new AutoColoring? (I have read the Newly Added thread)
You are using a tolerance though. You're using a tolerance of 15 to get the points of the colour found from SRL's autocolor function.
I noticed that a few days after I initially released the new system. I have absolutely no idea what would cause it to highlight the whole minimap, and I haven't had the time to check. It doesn't make much sense because when you open all the rock colours in ACA, it highlights just the rocks. When I originally tested these, the rock colour was working perfect. I also tested it south of Lumbridge (although that shouldn't make a difference).
Oh, and yeah you're using it right. That's actually one of the ways I tested everything. :)
Abzi, you are the first I've seen to use the system to it's full capability :)
Also, the Rick colour iirc, is really really dynamic and rather than being related to a colour the colours are all related to each other in their own ways.
There isn't really that big of a reason to autocolor a rock though (although I found that FindRockColor() actually still works in most cases). A simple FindColorSpiral with tolerance works just fine too. I have a weird way of autocoloring that hasn't failed me yet, it simply just looks for the closest matching color on the screen to the color given (which is relatively easy to make to be honest). If you want it or you want to base something better off it let me know.
I was only testing the new system.
But in the future I will remember your offer if I will need it ;).