Well yea both of those auto color functions are iffy. Sometimes they work and sometimes they dont. Any ideas why? And for alkharid, which is best to use, findroadcolor; or finddirtcolor;?
Well yea both of those auto color functions are iffy. Sometimes they work and sometimes they dont. Any ideas why? And for alkharid, which is best to use, findroadcolor; or finddirtcolor;?
Faith is an oasis in the heart which will never be reached by the caravan of thinking.
Water works 100% of times. im sure. i think.
About road, really depends where you try to use it. it works near lumbridge, north of falador etc.
[CENTER][SIZE="4"]Inactive[/SIZE]I forgot my password[/CENTER]
When I made a script for Al-Kharid neither FindRoadColor; nor FindDirtRoadColor; worked for me, so just use AutoColorThis.
yea i've noticed that running my script that sometimes it would log because it couldn't find the fally road color, and the only way to make it find it again is to totally close out SCAR and restart it
Originally Posted by That guy that wrote forefeathers
This works aswell. it's nielsie's and Sumilion's ACA
SCAR Code:function FindAlKharidRoadColor: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
R, G, B: Integer;
X, Y, Z: Extended;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.43, 0.29);
FindColorsSpiralTolerance(MMCX, MMCY, arP, 5668226, MMX1, MMY1, MMX2, MMY2, 7);
if (Length(arP) = 0) then
begin
Writeln('Failed to find the color, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;
arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);
for i := 0 to arL do
begin
if (rs_OnMinimap(arP[i].x, arP[i].y)) then
begin
ColorToRGB(arC[i], R, G, B);
if (R >= 112) and (R <= 147) and (G >= 106) and (G <= 145) and (B >= 71) and (B <= 101) then
begin
ColorToXYZ(arC[i], X, Y, Z);
if (X >= 13.75) and (X <= 23.85) and (Y >= 14.94) and (Y <= 26.49) and (Z >= 8.39) and (Z <= 15.91) then
begin
Result := arC[i];
Writeln('AutoColor = ' + IntToStr(arC[i]));
Break;
end;
end;
end;
end;
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
if (i = arL + 1) then
Writeln('AutoColor failed in finding the color.');
end;
[CENTER][SIZE="4"]Inactive[/SIZE]I forgot my password[/CENTER]
i no theres a temp fix in members section, idk about free??
"For it is not what goes into your mouth that will defile you; rather, it is what comes out of your mouth that defiles you." - Jesus of Nazareth
the thing is... Im 60% sure that jagex has looked at our code. There was once it was +1 too much, in the RGB checking, to make it fail. Jagex has somebody to look at our code and edit their game to make our autocolors fail. I have encountered this twice. Once with fally road color and once with water.
Code:
- Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
- Solarwind: Dude, you are like... t3h s3x.
- Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
- benjaa: woah.... Jukka is the man Guildminer pwns all
- NaumanAkhlaQ: And JuKKa Is my Her0!
I know FindRoadColor doesn't work for squat in Edgeville - Only FindVarrockRoadColor does.
Scripts that are EVVVILLLLLLL
Chicken Sweeper by Tarajunky ~ Draynor Netter by Wizzup? ~ Edgeville Fly Fisher by Wizzup? ~ Forefeathers by Munk
There are currently 1 users browsing this thread. (0 members and 1 guests)