SRL Archive - First Scripts

Simple Auto Login


quiescent_87

2008-04-04 12:03:36

Yeah i decided to start learning some stuff… So here's my first script, it's set up for multiple users because I will be using in future scripts


Richard

2008-04-04 13:02:55

Well, it works, but whats the point in the SRL Id and Pass, you aren't using stats so they are pretty useless.

But its a good start, are you planning on making a miner then? Because of the pick equipped thing.

Just to let you know, you can make a login script that has multiplayer just like this:

Program Login;
{.include SRL/SRL.scar}

Begin
SetupSRL;
SRLPlayerForm(True, [], [], [], []);
LoginPlayer;
end.

See how simple that was, and that gives you a nice little form as well, so no-one needs to edit at all.

quiescent_87

2008-04-04 13:25:47

I tried using that, whenever i try to run or compile it i get an error… "Unknown identifier 'SRLPlayerForm' in script.

Richard

2008-04-04 13:31:53

Are you sure you put the {.include SRL/SRL/Misc/users.scar}

I forgot to put that in, you'll need it.

quiescent_87

2008-04-04 14:17:39

Yep, that's what it was. Thanks buddy, I will probably use this more often. :(h):