spin3x
2012-05-27 16:12:23
Guys I'm watching every single video tutorial and I just cant get it :@:@:@
I've wasted around 5 hours now trying to do something and I have accomplished NOTHING! I'm really pissed off atm.
I just cant understand it. Sometimes its basic things. I do "ClickMouse…." and I get an error….
Can someone trusted like add me on skype, msn or tv me.
Thank you.
Code:
function Thiev: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
X, Y, Z: Extended;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.03, 0.32);
FindColorsSpiralTolerance(MSCX, MSCY, arP, 10066600, MSX1, MSY1, MSX2, MSY2, 3);
if (Length(arP) = 0) then
begin
Writeln('Failed to find the color, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;
arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);
for i := 0 to arL do
begin
ColorToXYZ(arC, X, Y, Z);
if (X >= 30.97) and (X <= 35.82) and (Y >= 31.29) and (Y <= 36.17) and (Z >= 32.40) and (Z <= 37.45) then
begin
Result := arC;
//Writeln('AutoColor = ' + IntToStr(arC));
Break;
end;
end;
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
if (i = arL + 1) then
//Writeln('AutoColor failed in finding the color.');
end;program new;
begin
end.
I get over 10 errors, 1st error is :
[Error] (9:13): Unknown identifier 'GetColorToleranceSpeed' at line 8
Compiling failed.
I've wasted around 5 hours now trying to do something and I have accomplished NOTHING! I'm really pissed off atm.
I just cant understand it. Sometimes its basic things. I do "ClickMouse…." and I get an error….
Can someone trusted like add me on skype, msn or tv me.
Thank you.
Code:
function Thiev: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
X, Y, Z: Extended;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.03, 0.32);
FindColorsSpiralTolerance(MSCX, MSCY, arP, 10066600, MSX1, MSY1, MSX2, MSY2, 3);
if (Length(arP) = 0) then
begin
Writeln('Failed to find the color, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;
arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);
for i := 0 to arL do
begin
ColorToXYZ(arC, X, Y, Z);
if (X >= 30.97) and (X <= 35.82) and (Y >= 31.29) and (Y <= 36.17) and (Z >= 32.40) and (Z <= 37.45) then
begin
Result := arC;
//Writeln('AutoColor = ' + IntToStr(arC));
Break;
end;
end;
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
if (i = arL + 1) then
//Writeln('AutoColor failed in finding the color.');
end;program new;
begin
end.
I get over 10 errors, 1st error is :
[Error] (9:13): Unknown identifier 'GetColorToleranceSpeed' at line 8
Compiling failed.