mat_de_b
2007-10-16 12:57:14
If you find you have a ScapeRune account please just run this before completing it and tell me if it worked…
Its above, worth including in an anti random reel? I think so :D give me feedback like if it worked etc…
Mat
EDIT: Fixed! Rikjess showed me my stupidity :D so i fixed it
{*******************************************************************************
function FindScapeRune: Boolean;
by: mat_de_b
Description: Checks for ScapeRune colors and the balloon animal.
if found switches player and sets the other to false.
*******************************************************************************}
function FindScapeRune: Boolean;
var Sx,Sy : integer;
begin
if(CountColorTolerance(8663688,MSX1,MSY1,MSX2,MSY2,25) > 200)then
begin
if(CountColorTolerance(4211524,594,27,688,125,25) > 3000 )then
begin
if(FindObjCustom(Sx,Sy,['Pop','alloon','nimal'],[8663688],25))then
begin
WriteLn('******** FOUND SCAPERUNE ********');
TakeScreen('ScapeRune');
Players[CurrentPlayer].Rand := 'ScapeRune';
Result := True;
LogOut;
end;
end;
end;
end;Its above, worth including in an anti random reel? I think so :D give me feedback like if it worked etc…
Mat
EDIT: Fixed! Rikjess showed me my stupidity :D so i fixed it