SRL Archive - Help and Support

RadialRoadWalk/MFNF


FrÕzÑ_§ÕµL

2008-02-13 04:38:48

Hi,
I would just like to know if you have any idea why I keep getting
[Runtime Error] : Exception: Access violation at address 00521EEF in module 'scar.exe'. Write of address 15EB7C80 in line [b]196[/b] in script C:\Program Files\SCAR 3.14\includes\SRL/SRL/Core/[B]FlagChat.scar[/B]
So you get taken to the MFNF, which is
if FindColor(x, y, 255, MMx1, MMy1, MMx2, MMy2) then
begin
Result := True
Exit;
end;
The Exit; specifically, I thought it might be due to exiting a for i := 0 to and repeat loop with exit, but I created a basic test and found that to be false. In my script I am using:
if Not(RadialRoadWalk(FindRoadColor, 30, 70, 64, -1, 0)) then
Begin
MakeCompass('N');
RadialRoadWalk(FindRoadColor, 30, 70, 64, -1, 0);
end;
Wait(1500);
FFlag(0);
if FindSymbolIn(x, y, 'tree', MMCX - 10, MMY1, MMX2, MMY2) then...
That is about all that is important. Error is a once in 3-7 hour sort of thing… I mean it doesn't happen really often but its a hell of a pain when you get home still have 4/4 players left and find script stopped cause of an access violation!

Wizzup? basically told me there was nothing wrong with his function. Yea thats real true, since mine is posted, it is definitely there that it happens and the SRL include comes up…

Thank you ever so much,
Fr0zen.