SRL Archive - S.M.A.R.T.

Smart Error


miley

2013-03-26 11:32:21

[ATTACH=CONFIG]20221[/ATTACH]

says this when I run a script

deathcrow

2013-03-26 11:42:49

Are you using {$DEFINE SMART8} and SetupSRL; ?

Also, did you follow these tutorials provided by YoHoJo?

http://www.youtube.com/watch?v=mho1ek92jgY&list=PLrlB0rf4A0jKh6SYfPzKg1SvKsqc2ADIi&index=1

http://www.youtube.com/watch?v=IqukGefbw48&list=PLrlB0rf4A0jKh6SYfPzKg1SvKsqc2ADIi&index=2

http://www.youtube.com/watch?v=Iox4LylEj40&list=PLrlB0rf4A0jKh6SYfPzKg1SvKsqc2ADIi&index=3

http://www.youtube.com/watch?v=0N-RWHwHHAY&list=PLrlB0rf4A0jKh6SYfPzKg1SvKsqc2ADIi&index=4

EDIT:

If you have everything setup correctly then the test program below should run and compile successfully.

Program testP07;
{$DEFINE SMART8}
{$I SRL/SRL.Simba}
{$I P07Include.Simba}

//LOGIN INFO STUFF
Procedure P07_DeclarePlayer;
Begin
P07_PlayerName:='username';
P07_PlayerPass:='password';
End;

Begin
SetupSRL;
P07_DeclarePlayer;
SetupP07Include;
ActivateClient;
Wait(2000);
If (Not P07_LoggedIn) Then
P07_LogInPlayer;
P07_MakeCameraAngleHigh;
P07_MakeCompassNorth;

Writeln(P07_GetUpText);

If P07_BankScreen Then
WriteLn('Bank is Open');
If P07_InvFull Then
WriteLn('Inventory is Full');

End.

The above program will simply open up SMART and attempt to login.

Pinigas

2013-03-27 15:37:33

From: miley
[ATTACH=CONFIG]20221[/ATTACH]

says this when I run a script


Update SRL, had same problem. I think it was because off update needed, and maybe operation systems fault.