Well, I'm beginning work on my new project, and I wanted to get the plane. However, it seems that the script doesn't call any procedure after SetupReflectionEx.
Simba Code:
program scriptskele;
{$DEFINE SMART}
{$i srl\srl.scar}
{$i reflection\reflection.simba}
const
WORLD = 32;
MEMBERS = false;
SIGNED = true;
var
plane: Integer;
procedure DeclarePlayers;
begin
HowManyPlayers := 1; //How many players in the script.
CurrentPlayer := 0; //Current player in the Players array.
NumberOfPlayers(HowManyPlayers); //Don't change.
with Players[0] do
begin
Name := ''; {Username}
Pass := ''; {Password}
Active := True; {Use This Player?}
Integers[0] := 40; //How long until you sleep in minutes?
Strings[0] := '';
Booleans[0] := False;
end;
end;
begin
AddOnTerminate('Proggy');
Smart_Members := MEMBERS;
Smart_Server := WORLD;
Smart_Signed := SIGNED;
SetupSRL;
SetupReflectionEx(true);
DeclarePlayers;
Writeln('logging in :D');
LoginPlayer;
Writeln('logged');
SetAngle(True);
plane := GetPlaneIndex;
Writeln(IntToStr(plane));
end.
I understand that I do not require the login; however, since there is an issue, I want it to be solved before I even decide to continue. Here's the output, 5 minutes after sitting at the login screen:
Progress Report:
SRL Compiled in 15 msec
SMART Initialized.
Loaded: Server 32, Members: False, Signed: True, Super Detail: False.
Successfully executed.
As you can see, There is no debug line, which says 'logging in
' or 'logged.' I'm clueless as to what is happening! Can someone help me out?
-DeSnob