PDA

View Full Version : SRL Template



WT-Fakawi
08-10-2007, 12:49 PM
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
08-10-2007, 12:51 PM
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
08-10-2007, 12:54 PM
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
08-10-2007, 12:56 PM
Thanks for this Fakawi its gets really annoying always logging you out.

Santa_Clause
08-10-2007, 01:03 PM
Lol. Nice. But isn't there already something in SRL called SRL Template?

Tails111
08-10-2007, 03:47 PM
Once again he has some simple but magnifigant code to give. I do use this sometimes.

Hugolord
08-10-2007, 03:50 PM
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
08-11-2007, 05:14 AM
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
08-11-2007, 02:57 PM
Silent Mouse? Or else it would just move the mouse on you when you don't want it.

Bobarkinator
08-12-2007, 02:09 AM
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
08-12-2007, 02:51 AM
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
08-12-2007, 10:27 AM
Thanks Fakawi,

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

-Nitro

hardman
08-12-2007, 12:05 PM
this is going to help me with my power fisher

lordsaturn
08-13-2007, 12:55 AM
@Bullzeye...Works Great. =]