Thanks for the replies...
The function works... but only if I use the exact Road-Color(Picking it with scar ie...).
When i try to use the AutoColor Functions for the Road i get the message "Road Color not found".
Gotta try the RadialWalkex function =)... Whats aca :O ?
Thats what my walking function looks like .. yeah messy .. I dont watch standards sometimes o-o.. iguess D':.
It works fine, when i set the road color manually.
Code:
procedure gotoguild;
var
x,y,i,y1: integer;
changedroom:boolean;
changedroom2:boolean;
begin
WriteLn('Initializing');
SetRun(True);
wait(500);
MakeCompass('n');
wait(1000);
SetAngle(True);
wait(1000);
i :=0;
WriteLn('Initializing Completed');
WriteLn('First Section Walking');
repeat
i := i+1;
Radialwalk(Broad[i],270,360,60,2,2);
wait(2000);
until(i = 6);
WriteLn('Second Section .. walking');
RunTo('w', True);
wait(2000);
//first rad walk
i := 0;
WriteLn('Third Section Walking');
repeat
i := i+1;
Radialwalk(Broad[i],250,290,55,2,2);
wait(2000);
until(i = 6);
if(FindSymbol(x,y,'Cookery shop'))then
begin
WriteLn('Reached the Guild');
end else
begin
Runto('w',false);
end;
//Radialwalk(8225671,0,180,30,2,2);
wait(2000);
//Reached The Guild
WriteLn('Reached the Guild.. Trying to stand in front of the door');
wait(1000);
SendArrowSilentWait(1, 150);
if(findcolorTolerance(x,y,4739454,568,74,692,146,20))then
Mouse(x-25,y-10,0,0,true);
wait(1000);
Writeln('Hopefully standing in front of the door... Attempting to open the door');
//opening door