Log in

View Full Version : Help please



Drake430
05-05-2007, 04:42 AM
I cant figure out why it's give me this error

Players[0].Name :='************';
Players[0].Pass :='********';
Players[0].Nick :='****';
Players[0].Active:=True;
Players[0].String1 := 'Coal'; // Primairy Ore Color
Players[0].String2 := 'Iron'; // Secondairy Ore Color wont be mined as much as 1.
Players[0].String3 := 'Iron'; // Third Ore Color, won't be mined as much as 1 and 2.
Players[0].Boolean1 := True; // Is The Pick Equipped?
Players[0].Boolean2 := True; // False for brightness Check Once.

[Runtime Error] : Out Of Range in line 39 in script C:\Documents and Settings\Drake\Start Menu\Programs\SCAR 3.03\Scripts\Scripts\Powerminer.scar

whats going on with it?

me_ntal
05-05-2007, 04:53 AM
Have you changed the amount of players in the script?

Drake430
05-05-2007, 04:56 AM
lol ya, I just got that error fixed, but now I have another one...I did a search and couldn't find anything on it:

Result := FindBitmapMaskTolerance(S, x, y, 9, 348, 523, 471, 50, 10);

Line 227: [Error] (227:38): Unknown identifier 'X' in script C:\Documents and Settings\Drake\Start Menu\Programs\SCAR 3.03\includes\srl\srl\core\Text.scar

me_ntal
05-05-2007, 05:02 AM
try this

Result := FindBitmapMaskTolerance(x, y, 9, 348, 523, 471, 50, 10);