SRL Archive - First Scripts

Keepalive


sk8rjess

2007-05-31 02:05:36

basically i wrote this not too long ago and i use it all the time if i need to maybe run downstairs for a minute our something.

since its actually useful, maybe others can use it. This isn't my very first script, but it is my first released script for scar and srl.

if you don't know what a keep alive is, basically it keeps you connected. in our case, it keeps you logged in. be sure to comment on it. shouldn't be any bugs at all.

ZephyrsFury

2007-06-20 05:43:43

lol thats funny.

i've got a few suggestions.

firstly, do you even need SetupSRL if your are just click tabs and waiting?

secondly, you could make the script click random tabs instead of tab 5 and 10. you do this:


procedure keepalive;
begin
Writeln('Keeping you logged in.');
GameTab(Random(13)+1);
Wait(10000+random(2000));
end;

thirdly, you should add random waits instead of exactly 10000ms each time (see above).

also, you should learn the standards of scripting such as indenting and setting out. this will make your script easier to follow and easier for someone to understand what you are doing.

Macho Man67

2007-06-24 21:53:14

Pretty creative! Here are some suggestions and I am not going to list the ones that Zephry already wrote.

Depending on where the character is standing, you might get a random or something. Anti ban and Anti randoms would help.

Maybe an autoresponder with random messages( i dont know how to make it random srry)

crossback7

2007-06-24 22:39:47

Handy little thing.

I could probably help you out with the autoresponder if you feel like adding it. PM me if you want a bit of help. . .

alach11

2007-06-24 23:57:18

We need to find a way to make this work with ghostmouse. I'll think about this.

Santa_Clause

2007-06-25 03:22:18

Why the hell would you need an autoresponder if you're trying to stay logged in for a few minutes?

The devil

2007-06-25 03:28:05

Lol if you need to go toilet keep this on.

But still its no difference cause typing your pass & user.

Takes around 30 seconds???

ZephyrsFury

2007-06-25 07:07:25

lol hes just learning to script. but i agree, opening scar, setting up the script and everything will probably take longer than typing your pass and username in again…

alach11

2007-06-25 10:49:51

If you could make it work with ghostmouse it would be nice to stay logged in while fishing while doing stuff in other tabs without having to check as often.