SRL Archive - FAQ

Help with RS07 Script setup :/


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 ''

saqwed3

2013-04-27 21:00:52

Okay so i restarted simba, thinking this might be the problem. But that just gave me more information

Exception in Script: Unable to find file 'P07Include.Simba' used from 'C:\Simba\Scripts\07Test.simba'

this is now the error, any advances on whats wrong?

Chris!

2013-04-27 21:01:07

Have you installed the P07Include from here: http://villavu.com/forum/showthread.php?t=102299?

saqwed3

2013-04-27 21:04:31

Never mind, figured it out myself :) thanks anyway guys