SRL Archive - First Scripts

Auto Login! First Script!


S T Ole N

2008-04-15 15:38:46

I just recently made this, I registered with srl stats and set the script upto use it but it doesnt seem to report the logged in variable as rising, if anyone could help it would be appreciated, but other than that, here it is! If you have any suggestions please post them here!

Credits To:
Hy71194 for his AngleDegrees Changer!
NaumanAklahQ for his AutoLogin Tutorial!


PLEASE SOMEONE REPLY!

Enjoy!

Lancelot074

2008-04-16 22:04:26

To send the SRL stats, after reportvars[0] := Report[0] + 1;

you must put SendSRLReport;

Oh and you should read a tutorial on standards, otherwise its a start.

Iron Man

2008-04-16 22:49:21

This also works ;)

program New;
{.include SRL/SRL.scar}

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '';
Players[0].Active := True;
end;

begin
SetupSRL;
DeclarePlayers;
LoginPlayer;
end.

You should work on your standards. Looks okay though, good luck with future scripts. Maybe you could add a couple failsafes?

S T Ole N

2008-04-17 11:31:36

From: lancelot074
To send the SRL stats, after reportvars[0] := Report[0] + 1;

you must put SendSRLReport;

Oh and you should read a tutorial on standards, otherwise its a start.


Ok thanks about the SRL Stats reporting I never knew you had to add that part.

IronMan, my login does have failsafes like if it does FindColor of the 2nd login screen login text then it retrys again. But I understand what you say about the standards, thanks for this. This was just a test script as I didn't know what first script to base it on.

Thanks for Replies.

Naum

2008-04-17 11:36:56

Well Done and you used my tutorial :).
Looks good Good Job!!!

S T Ole N

2008-04-17 13:37:49

Thanks :D I found your tutorial awesome, is the failsafe for the 2nd login screen any good? as I didnt really have any help on that part.

Gone Fishing

2008-04-18 17:47:51

Looks pretty good.

phy

2008-05-08 19:06:34

i use it thanx!