saqwed3
2013-04-27 20:53:29
Basically I am watching a tutorial online and u was told to use code from another [Unofficial] thread here at SRL. This is the code I have used:
Program testP07;
{$I SRL/SRL.Simba}
{$I P07Include.Simba}
//LOGIN INFO STUFF
Procedure P07_DeclarePlayer;
Begin
P07_PlayerName:='username';
P07_PlayerPass:='password';
End;
Begin
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.
This is the error i get when I try to run the script, any ideas on what is going on?
Exception in Script: Unable to find file 'P07Include.Simba' used from ''
Program testP07;
{$I SRL/SRL.Simba}
{$I P07Include.Simba}
//LOGIN INFO STUFF
Procedure P07_DeclarePlayer;
Begin
P07_PlayerName:='username';
P07_PlayerPass:='password';
End;
Begin
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.
This is the error i get when I try to run the script, any ideas on what is going on?
Exception in Script: Unable to find file 'P07Include.Simba' used from ''