When setting up Simba for OSRS, the following test script:
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.
Yields the following results, without actually doing anything to the client:
New window: 1508226
Compiled successfully in 687 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Successfully executed.
Compiled successfully in 765 ms.
SRL Compiled in 0 msec
Loading SMART: http://oldschool33.runescape.com/j1
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
I need help in setting it up so that it does actually do something within the client, rather than just starting the script and saying that the compiling is successful.


Reply With Quote






