I use the SVN, I have SRL 10...
I keep getting an error in Login.scar near theplace...And, no script will work! It basically says [Runtime Error] Out of Range In Line 90 of : ///Login.scarSCAR Code:if Players[CurrentPlayer].Active = false then
I use the SVN, I have SRL 10...
I keep getting an error in Login.scar near theplace...And, no script will work! It basically says [Runtime Error] Out of Range In Line 90 of : ///Login.scarSCAR Code:if Players[CurrentPlayer].Active = false then
Successfully compiled
SRL Compiled in 250 msec
[Runtime Error] : Out Of Range in line 78 in script C:\Documents and Settings\DOWNLOADS\[SRL4] QuickPowerMiner1.7.scar
procedure SetupScript;
begin
if (Players[CurrentPlayer].Booleans[1])then
begin
That's the line...
Here's my login setup:
SCAR Code:Procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 1;
Players[0].Name :='***_*****';
Players[0].Pass :='************';
Players[0].Nick :=****'; //3-4 letters from name
Players[0].Active:= True;
Players[0].Booleans[1]:= False; // True if new rocks. False if old.
Players[0].Booleans[2]:= True; // Pick equipped?
Players[0].Strings[1]:= 'Copper'; // type of ore
Players[0].Integers[1]:= 5; // # of loads
End;
SCAR Code:CurrentPlayer := 1;
change that to:
SCAR Code:CurrentPlayer := 0;
![]()
Ok, lol...That's the ONE thing I forgot to change...I even thought about it when I deleted teh other player setups...Thanks guys
There are currently 1 users browsing this thread. (0 members and 1 guests)