Log in

View Full Version : help me with out of range error?



superredrs
07-24-2007, 01:15 PM
alright,so in this ess miner script im usin this is wut it says:


Procedure DeclarePlayers;

Begin
HowManyPlayers:= 0;
47. NumberOfPlayers( 0 );
48. CurrentPlayer := StartPlayer;
49. Players[0].Name :='superredrs';
50. Players[0].Pass :='mypasswouldbhere';
51. Players[0].Nick :='wcg';
... Players[0].Loc :='';
... Players[0].Active:=True;
... Players[0].Boolean1 := True; // Is The Pick Equipped?
Players[0].Boolean2 := True; // False for brightness Check Once.
Players[0].String1 := ''; // Bank PIN, If any.

Players[1].Name :='';
Players[1].Pass :='';
Players[1].Nick :='';
Players[1].Loc :='Bank';
Players[1].Active:=False;
Players[1].Boolean1 := True; // Is The Pick Equipped?
Players[1].Boolean2 := True; // False for brightness Check Once.
Players[1].String1 := ''; // Bank PIN, If any.



then error was

SRL compiled in 94msec
out of range in line 49 of script




if u can help that would b lovely!:bart:

Harry
07-24-2007, 01:28 PM
Read some tuts on setting up your players.

Special Ed
07-24-2007, 03:10 PM
If you would post the entire script I could help but from what you have posted it works, just StartPlayer isn't declared anywhere. So if you add an end and Declare StartPlayer as an Integer, the procedure will work, just have SRL included.