Im tryin to make a varrock yew cutter and banker but my problem is when I am near the castle there is a dirt road that i have to follow and
Doesn't work :sSCAR Code:Dirt := FindDirtRoadColor;
Can somebody help me??
Im tryin to make a varrock yew cutter and banker but my problem is when I am near the castle there is a dirt road that i have to follow and
Doesn't work :sSCAR Code:Dirt := FindDirtRoadColor;
Can somebody help me??
Mind giving some more info on how it doesn't work? Does it not find the color, doesn't click, etc.
If it's not finding the color, instead of doing
SCAR Code:Dirt:= FindDirtRoadColor;
RadialRoadWalk(Dirt, 180, 270, 60, 0, 0);
RadialRoadWalk(Dirt, 140, 190, 60, 0, 0);
RadialRoadWalk(Dirt, 250, 300, 60, 0, 0);
Try putting just
SCAR Code:RadialRoadWalk(FindDirtRoadColor, 180, 270, 60, 0, 0);
RadialRoadWalk(FindDirtRoadColor, 140, 190, 60, 0, 0);
RadialRoadWalk(FindDirtRoadColor, 250, 300, 60, 0, 0);
That way, it searches for the color everytime you radialroadwalk, and not just once when you declare the dirt variable.
I dunno, those asians are pretty difficult to out-auto, legend has it they don't need sleep or food...~tim0suprem0
Activity is on the decline - school's got me
Check out my tutorial[s] on Color Finding!||Procedures and Functions!
yes radialRoadwalk ftw
look in your SRL include folder if you want to know something, youcan find the most there
[22:20] <[-jesus-]> freddy, go uninstall yourself
well... i know the problem... the color has just changed too much... find the file where
road autocoloring is... and there is color, you need to increase tolerance or change color... also it needs be updated in rev, also find out does roadcolor dynamically changes on every map loading if it does, you need to make like this(someone above mentioned that)
radialroadwalk(getdirtroadcolor,270,400,70,0,0)
radialroadwalk(getdirtroadcolor,270,400,70,0,0)
radialroadwalk(getdirtroadcolor,270,400,70,0,0)
[CENTER][SIZE="4"]Inactive[/SIZE]I forgot my password[/CENTER]
That doesnt work, he means that dirt road that leads begind varrock palace.
The dirt colour is more like karajma's dirt.
Its not even close to the one in lumby which "FindDirtColor" is meant for.
You would have to make ur own autocolor. shouldnt be that hard.
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!
How do I make my own??
how you make you're owne there are tuts about that.
like: http://www.villavu.com/forum/showthread.php?t=9550
iam working on a karamja script. (sometimes)
this found the karamjaroad. (it doens't work 100%SCAR Code:program FindColor;
var
x, y: Integer;
{.include srl/srl.scar}
function FindKaramajaRoad: Integer;
var
i, TestColor : integer;
P:array of Tpoint;
begin
Flag;
//x:= 678; y:=71;
FindColorsSpiralTolerance(x, y, P, 1211286, MMX1, MMY1, MMX2, MMY2, 20);
for i := 0 to GetArrayLength(P) -1 do
begin
TestColor:= GetColor(P[i].x, P[i].y);
if ((TestColor/256) / 256) < 159 then
if ((TestColor/256) mod 256) < 139 then
if ((TestColor/256) mod 256) > 92 then
if (TestColor mod 256) < 159 then
if (TestColor mod 256) > 137 then
if GetColor(P[i].x + 3, P[i].y + 3) = TestColor then
if GetColor(P[i].x + 2, P[i].y + 2) = TestColor then
if GetColor(P[i].x, P[i].y + 3) = TestColor then
if GetColor(P[i].x + 3, P[i].y) = TestColor then
if GetColor(P[i].x, P[i].y + 2) = TestColor then
if GetColor(P[i].x + 2, P[i].y) = TestColor then
if GetColor(P[i].x + 2, P[i].y + 1) = TestColor then
if GetColor(P[i].x + 2, P[i].y + 2) = TestColor then
begin
MMouse(P[i].x, P[i].y, 0, 0);
Result := TestColor;
WriteLn('Karamja Road = ' + IntToStr(TestColor));
Exit;
end;
end;
WriteLn('Could not find Road Color!');
Result := 0;
end;
begin
ActivateClient;
SetUpSRl;
FindKaramajaRoad;
end.more like 60%
)
There are currently 1 users browsing this thread. (0 members and 1 guests)