SRL Archive - RS3 Script Requests

Help keep me logged in !


Gama-Bomb

2009-12-15 08:25:19

Ok, so currently I am afk training at bandits using guthans. I am searching for a script that will basically click the skills tab and hover over defence every 2 - 4 minutes in combination with other simple clicking procedures such as click on the friends list tab, inventory etc. I'm not looking the clicks to be too frequent, as mentioned before, every 2 - 4 minutes, enough to keep me logged in. Cup/weight on arrow keys/space bar/enter key will not work anymore. Anyone help me out ?

Floor66

2009-12-15 08:32:07

This is too easy to request ;p But hell… I'll post it:

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

Var
t : Integer;

Procedure AntiLogout;
Begin
If Not LoggedIn Then
Begin
WriteLn('Player has logged out!');
TerminateScript; //stops the script
End;
Case Random(20) Of //creates a random number from 0 to 19 (-NOT- 0 to 20!)
0: HoverSkill('defense', False); //if that random number was 0, do this
10: BoredHuman;
11: RandomMovement;
//Add more if you like. I advise you to look in SRL/SRL/Core/AntiBan.scar!
End;
MarkTime(t);
End;

Begin
SetupSRL;
MarkTime(t);
Repeat
If TimeFromMark(t) < RandomRange(2 * 60 * 1000, 4 * 60 * 1000) Then //does AntiLogout every 2~4mins!
AntiLogout;
Until(Not LoggedIn);
End.

Awkwardsaw

2009-12-15 08:34:37


begin
repeat
case random(7) of
0..3 : wait(1000 + random(2000));
4 : gametab(random(14));
5 : makecompass(randomrange(-360, 360));
6 : boredhuman;
7 : wait(5000 + random(2000));
end;
wait(5000 + random(10000));
until isfkeydown(12);
end;

;)

edit: ninja'd :(

Floor66

2009-12-15 08:38:43

Aha! Touché, mon frère. Mine looks better bwahahaha :p

Gama-Bomb

2009-12-15 08:52:58

Appreciated. Thanks very much.

Gama-Bomb

2009-12-15 09:25:43

Ok, apologies for my lack of knowedge. It has been over a year from I last used SCAR, anyway, that script, Floor, gives me the following error ;

Line 51: [Error] (330:11): Unknown identifier 'CreateTPAFromBMP' in script C:\Program Files\SCAR 3.22\includes\SRL\SRL\Core\Math.scar
I am pretty sure I know how to resolve this error, only problem is that that when I open the includes folder at the SCAR install directory there is no SRL folder, even though the error is opening a file from that directory. There is ony 1 file inside the includes folder, a text file named Placeholder. Has something changed in the past year I am not aware of ?

Gama-Bomb

2009-12-15 09:32:24

Located the folder sarching for it and moved plugins, still receiving that error, I thought moving plugins would resolve it .

Quickmarch

2009-12-15 10:11:36

Once you moved the plugins, did you restart SCAR?

Gama-Bomb

2009-12-15 10:30:33

I did restart SCAR, still receiving the error.

Steps Taken
- SRL cleared re-dloaded and installed
- Plugins re-dloaded and SRL plugins added
- SCAR restarted after above 2 steps taken

Still no resolve.

Gama-Bomb

2009-12-15 10:44:39

Problem resolved, and I feel like an idiot. This may help resolve other peoples problems, especially Vista users. SCAR was not set to run as administrator, therefore it was unable to function correctly. Thanks for the help.

Baked0420

2009-12-15 14:18:33

From: Floor66
This is too easy to request ;p But hell… I'll post it:

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

Var
t : Integer;

Procedure AntiLogout;
Begin
If Not LoggedIn Then
Begin
WriteLn('Player has logged out!');
TerminateScript; //stops the script
End;
Case Random(20) Of //creates a random number from 0 to 19 (-NOT- 0 to 20!)
0: HoverSkill('defense', False); //if that random number was 0, do this
10: BoredHuman;
11: RandomMovement;
//Add more if you like. I advise you to look in SRL/SRL/Core/AntiBan.scar!
End;
MarkTime(t);
End;

Begin
SetupSRL;
MarkTime(t);
Repeat
If TimeFromMark(t) < RandomRange(2 * 60 * 1000, 4 * 60 * 1000) Then //does AntiLogout every 2~4mins!
AntiLogout;
Until(Not LoggedIn);
End.


every 2-4 mins it does antilogout, but it's case random(20) of with 0, 10, 11, I bet it'd logout right away, cause it will wait the time, then do antilogout, do nothing, then logout since it's a 3 in 20 chance of doing something every 2-4 mins. He wants it to always doing something every 2-4 mins, not maybe do something, at least that's how it sounded to me.

Floor66

2009-12-15 14:57:50

Oh yeah crap :p
Better:

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

Var
t : Integer;

Procedure AntiLogout;
Begin
If Not LoggedIn Then
Begin
WriteLn('Player has logged out!');
TerminateScript; //stops the script
End;
Case Random(3) Of //creates a random number from 0 to 19 (-NOT- 0 to 20!)
0: HoverSkill('defense', False); //if that random number was 0, do this
1: BoredHuman;
2: RandomMovement;
//Add more if you like. I advise you to look in SRL/SRL/Core/AntiBan.scar!
End;
MarkTime(t);
End;

Begin
SetupSRL;
MarkTime(t);
Repeat
If TimeFromMark(t) >= RandomRange(2 * 60 * 1000, 4 * 60 * 1000) Then //does AntiLogout every 2~4mins!
AntiLogout;
Until(Not LoggedIn);
End.