SRL Archive - OSR Help

Help Understanding SMART. Won't login.


chineseman1992

2013-03-05 00:39:26

This is the code I used and for some reason I keep getting a compiler error at Smart_Server and the next four lines after that. Also if I take those four lines off SMART loads but won't log in my player. It says

Unknown identifier 'Smart' at line 19
Compiling failed.

This is the code.

program Login;
{$DEFINE SMART}
{$i srl/srl.simba}
{$i sps/sps.simba}


procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := '';
Players[0].Pass := '';
Players[0].Active := True;
Players[0].Pin := '';
end;

begin
Smart_Server := 72;
Smart_Members := False;
Smart_Signed := True;
Smart_SuperDetail := False;
SRL_SixHourFix := True;
Smart_FixSpeed := True;

ClearDebug;
SetupSRL;
DeclarePlayers;
LoginPlayer;
end.

Justin

2013-03-05 23:47:35

Smart_Server := 72;
Smart_Members := False;
Smart_Signed := True;
Smart_SuperDetail := False;

They are un-used. Try removing them and try again.