View Full Version : Error
Gedia
07-21-2007, 12:28 AM
What is [Runtime Error] : Out Of Range in line 84 in script C:\Documents and
Settings\Owner\Desktop\unused\Scar\Scar Files\ChArM's Willow Raper v2.1.scar? I press play and compiled everything but when it finishes that error comes up. I know its a noob question but can you help? Much thanks :)
stupedspam
07-21-2007, 12:32 AM
What line and what script?
To help you, you need to help yourself by telling us as much as possible about your problem.
~Stupedspam
Gedia
07-21-2007, 12:41 AM
Ok. Thanks a lot for helping :)
stupedspam
07-21-2007, 12:49 AM
You need to set up you players correctly...
Ex:If you have 3 accounts using this script then it would look like this...
Procedure DeclarePlayers;
Begin
HowManyPlayers := 4; //Total player...
CurrentPlayer:= 0; //Player to star with...
NumberOfPlayers(HowManyPlayers);
Players[0].Name := 'Name'; //# 1
Players[0].Pass := 'a;lksj';
Players[0].Nick := 'ame';
Players[0].Integer1 := 35;
Players[0].Boolean1 := False;
Players[0].Active := True;
Players[1].Name := 'another'; //# 2
Players[1].Pass := 'ghjk';
Players[1].Nick := 'noth';
Players[1].Integer1 := 35;
Players[1].Boolean1 := True;
Players[1].Active := True;
Players[2].Name := 'whatisthis'; //# 3
Players[2].Pass := 'erty';
Players[2].Nick := 'isth';
Players[2].Integer1 := 35;
Players[2].Boolean1 := False;
Players[2].Active := True;
Players[3].Name := ''; //leave these blank
Players[3].Pass := ''; //# 4
Players[3].Nick := '';
Players[3].Integer1 := 35;
Players[3].Boolean1 := False;
Players[3].Active := False; //just set active False
End;
Hope this helps,
~Stupedspam
Gedia
07-21-2007, 01:02 AM
What if i only want to use one player?
stupedspam
07-21-2007, 01:14 AM
Then you make player 1-last number Active:= False;
Procedure DeclarePlayers;
Begin
HowManyPlayers := 4; //Total player...
CurrentPlayer:= 0; //Player to star with...
NumberOfPlayers(HowManyPlayers);
Players[0].Name := 'Name'; //# 1
Players[0].Pass := 'a;lksj';
Players[0].Nick := 'ame';
Players[0].Integer1 := 35;
Players[0].Boolean1 := False;
Players[0].Active := True;
Players[1].Name := 'another'; //# 2
Players[1].Pass := 'ghjk';
Players[1].Nick := 'noth';
Players[1].Integer1 := 35;
Players[1].Boolean1 := True;
Players[1].Active := False;//changed to false
Players[2].Name := 'whatisthis'; //# 3
Players[2].Pass := 'erty';
Players[2].Nick := 'isth';
Players[2].Integer1 := 35;
Players[2].Boolean1 := False;
Players[2].Active := False;//changed to false
Players[3].Name := ''; //leave these blank
Players[3].Pass := ''; //# 4
Players[3].Nick := '';
Players[3].Integer1 := 35;
Players[3].Boolean1 := False;
Players[3].Active := False; //just set active False
End;
~Stupedspam
Gedia
07-21-2007, 01:19 AM
thanks :)
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.