SRL Archive - OSR Help

S.M.A.R.T Members wrld Login


Synikk

2011-12-19 08:42:38

Hi how do i make Smart log into a members world only when starting up a script?

Do i have to change something in the section below?

Const
SRLStats_Username = ''; // Your SRL Stats Username
SRLStats_Password = ''; // Your SRL Stats Password
BreakEvery = 120; // How many minutes you want to break after
BreakFor = 5; // How long to break for
Version= '1.00'; // Dont need to change
NumbOfPlayers= 1; // How many players you are botting
StartPlayer= 0; //Player to start autoing with (0 means 1st player)



procedure DeclarePlayers;
var i:integer;
begin
NumberOfPlayers(NumbOfPlayers);
CurrentPlayer := StartPlayer;
for i := 0 to NumbOfPlayers-1 do
Players[i].BoxRewards := ['oins', 'XP'];

with Players[0] do
begin
Name := ''; //Player username.
Pass := ''; //Player password.
Nick := ''; //Player nickname - 3-4 letters of Player username.
end;

end;

RISK

2011-12-19 08:44:16

Add these to your constants:
WORLD = 0;
MEMBERS = True;

Go to where you use "SetupSRL;" and before it, add this:
SMART_Server := WORLD;
SMART_Members := MEMBERS;

Synikk

2011-12-19 08:45:38

You really are a lifesaver mate (: thats twice you've helped, definitely giving you credit, ill release the script within 1-2 hours

RISK

2011-12-19 08:47:35

No credit needed. :) I just like helping people.
I look forward to seeing your script!