i keep getting this [Runtime Error] : Exception: Access violation at address 007290FF in module 'scar.exe'. Read of address 00000000 in line 73 in script C:\Program Files\SCAR 3.14\includes\SRL/SRL/Core/Color.scar
it opens up color and gives my that.this is what i have
SCAR Code:
program Scriptidge;
{.include SRL/SRL.scar}
var
LadderDTM, x, y: Integer;
procedure AssembleDDTM;
var
LadderDDTM: TDTM;
MPoint: TDTMPointDef;
SPoint: Array[0..3]of TDTMPointDef;
begin
MPoint.x := 593
MPoint.y := 88
MPoint.areasize := 1;
MPoint.areashape := 0;
MPoint.Color := 5066068;
MPoint.tolerance := 255;
SPoint[0].x := 596;
SPoint[0].y := 86;
SPoint[0].areasize := 3;
SPoint[0].areashape := 0;
SPoint[0].Color := 15464165;
SPoint[0].tolerance := 25;
SPoint[1].x := 592;
SPoint[1].y := 91;
SPoint[1].areasize := 3;
SPoint[1].areashape := 0;
SPoint[1].Color := 15464165;
SPoint[1].tolerance := 25;
SPoint[2].x := 593;
SPoint[2].y := 99;
SPoint[2].areasize := 3;
SPoint[2].areashape := 0;
SPoint[2].Color := 15464165;
SPoint[2].tolerance := 25;
SPoint[3].x := 607;
SPoint[3].y := 91;
SPoint[3].areasize := 3;
SPoint[3].areashape := 0;
SPoint[3].Color := 15464165;
SPoint[3].tolerance := 25;
LadderDDTM.MainPoint := MPoint;
LadderDDTM.SubPoints := SPoint;
LadderDTM := AddDTM(LadderDDTM);
end;
begin
SetupSRL;
if(DTMRotated(LadderDTM, x, y, MMX1, MMY1, MMX2, MMY2))then
Mouse(x, y + 4, 4, 2, true);
end.