Hey all, I am using Radial Walk at the falador east bank it goes up to activateing run and finding the road color but i then get this error
[Runtime Error] : Exception: Canvas does not allow drawing in line 562 in script C:\Program Files\SCAR 3.13\includes\SRL/SRL/Core/Mapwalk.scar
Heres the script
SCAR Code:
program Project1
procedure DeclarePlayers;
begin
HowManyPlayers := 2;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := 'xxxxxxx';
Players[0].Pass := 'xxxx';
Players[0].Nick := 'xxxx';
Players[0].Active := True;
Players[1].Name := 'UserName';
Players[1].Pass := 'Password';
Players[1].Nick := '3-4 letters of UserName';
Players[1].Active := False;
end;
Var x, y :Integer;
Var FaladorRoad : Integer;
Procedure WalkToLoc;
Begin
If(Not(LoggedIn)) Then Exit;
HighestAngle;
MakeCompass('N');
wait(25);
FaladorRoad := FindFallyRoadColor;
wait(50);
SetRun(True);
RadialWalk(FaladorRoad, 190, 67, 185, 1, 1);
Flag;
End;
Procedure SetUp;
Begin
SetupSRL;
ActivateClient;
If(Not(LoggedIn))Then
DeclarePlayers;
LoginPlayer;
SetScreenName(Players[CurrentPlayer].Nick);
End;
SetUp;
Repeat
WalkToLoc;
If Not LoggedIn Then NextPlayer(False);
Until (False);
End.
Im not sure what is wrong with it, So i thought id post here cause i need help