SRL Archive - Research & Development Lounge

SRL Template


WT-Fakawi

2007-08-10 08:49:53

When working on a script, on the of the most boring things about runescape it, it constantly logs you out. Whenever you look up from your code, you are faced with the Welcome Screen. To avoids this I always use this small template. Whenever you run this script, your Player will autologin.


program LoginSRLPlayer;
{.include SRL.scar}

Procedure MyPlayer;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

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

begin

SetupSRL;
MyPlayer;
LoginPlayer;

end.

bullzeye95

2007-08-10 08:51:50

Thank you, saved. I hate having to keep retyping that for everything I attempt :p

But I've gotten so fast at typing my tester account's name, I don't really care. I'm still lazy though…

GoF

2007-08-10 08:54:03

Yea, really annoying that if you do anything else for a while without checking rs you get logged out and then I need to retype everything :p

Hugolord

2007-08-10 08:56:11

Thanks for this Fakawi its gets really annoying always logging you out.

Santa_Clause

2007-08-10 09:03:41

Lol. Nice. But isn't there already something in SRL called SRL Template?

Tails111

2007-08-10 11:47:48

Once again he has some simple but magnifigant code to give. I do use this sometimes.

Hugolord

2007-08-10 11:50:16

From: Tails111
Once again he has some simple but magnifigant code to give. I do use this sometimes.


lol?

once again?

i doubt Fakawi writes 'simple' code regularly lo…

Infantry001

2007-08-11 01:14:18

Why not a repeat loop that automatically detects when ur logged out so that it logs right back in? Or make the user press an Fkey? :D

Tails111

2007-08-11 10:57:54

Silent Mouse? Or else it would just move the mouse on you when you don't want it.

Bobarkinator

2007-08-11 22:09:41

From: Infintry001
Why not a repeat loop that automatically detects when ur logged out so that it logs right back in? Or make the user press an Fkey? :D


I was gonna suggest that. Just make it run off of F12. I don't know if I can *looks around* :p

bullzeye95

2007-08-11 22:51:59

Heh I did that about 5 seconds after I saved it :p

Here it is:
program LoginSRLPlayer;
{.include SRL.scar}

Procedure MyPlayer;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

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

begin
SetupSRL;
MyPlayer;
repeat
repeat
wait(100);
until(IsFKeyDown(12))
LoginPlayer;
while IsFKeyDown(12) do
wait(1000);
until(false)
end.
Well it SHOULD work. I haven't actually used it yet.

Nitro

2007-08-12 06:27:24

Thanks Fakawi,

I'll be sure to use this :) Also bullzeye that's cool hehe, I'll try it out sometime :p.

-Nitro

hardman

2007-08-12 08:05:04

this is going to help me with my power fisher

lordsaturn

2007-08-12 20:55:32

@Bullzeye…Works Great. =]