SRL Archive - OSR Help

define smart


mriddler

2012-02-29 10:37:50

I have already created a simple script but i dont know how to make it pop up in another window like running in msi. I have this but for some reason its not working


{$DEFINE SMART}
{$i srl/srl.simba}
{$i sps/sps.simba}






procedure DeclarePlayers;
begin

HowManyPlayers := 1;
NumberOfPlayers(howmanyplayers);
CurrentPlayer := 0;

Players[0].Name := ''; // Username
Players[0].Pass := ''; // Password
Players[0].Nick := ''; // 3-4 lowercase letters from ingame username;
Players[0].Active := True; // Set to true if you want to use Player 0
Players[0].Pin := ''; // Bank Pin
end;

yes i filled it out too.

I ven tried puting it in the loop but its not working, help would be appreciated.

Nebula

2012-03-01 16:48:21

Here's what I open to begin making any script. This should work for you.


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

Procedure DeclarePlayers;
begin
HowManyPlayers := 1; // Don't touch this
NumberOfPlayers(HowManyPlayers);// Don't touch this
CurrentPlayer := 0; // Don't touch this
Players[0].Name := 'username'; // Username
Players[0].Pass := 'password'; // Password
Players[0].Active := True; // Don't touch this
Players[0].Pin := ' '; // Bank Pin, Leave blank if you don't have one
end;

begin
smart_server := 91;
smart_members := false;
smart_signed := true;
smart_superDetail := false;
ClearDebug;
SetupSRL;
DeclarePlayers;
LoginPlayer;
end.

topcl

2012-05-10 02:16:15

Thanks for sharing the coding.Its very necessary information.

classified php script