SRL Archive - SRL Archives

Simple Idle*'s.


The Un-Named

2006-04-17 11:34:42

Here are some simple Idle*'s forr people to use.

procedure IdleMouse(Howlong : integer);
begin
SleepAndMoveMouse(HowLong);
end;

procedure IdleCamera(Arrow, Wait : Integer);
begin
SendArrowSilentWait(Arrow, Wait);
end;

I know there so simple but they really can make your script less detectable(good thing!).

How to use them:

program WhatEver;
{.include SRL\SRL.scar} // SRL for the cool functions :)
procedure IdleMouse(Howlong : integer); // It's a procedure or as I like to call them a tool
begin
SleepAndMoveMouse(HowLong);
end;

procedure IdleCamera(Arrow, Wait : Integer); // ^^
begin
SendArrowSilentWait(Arrow, Wait);
end;

procedure DoWhatEver;
begin
if(Bla = true)then
begin
Spam;
IdleMouse(Random(5000)); // How long to make the mouse move about, sleep for
IdleCamera(Random(4)+1, Random(324)+213); // What arrow and how long to hold down for.
end;
end;

begin
DoWhatEver;
end.

This is really for new people making there first scripts for runescape or people that aren't good with SCAR but all helps. :)

phantombmx

2006-04-18 00:43:30

good for the simple "folk".. but i think it would be easier if you would do something like this
procedure IdleCamera(Arrow : String; Wait : Integer);
begin
case LowerCase(Arrow) of
up : SendArrowSilentWait(0, Wait);
down : SendArrowSilentWait(1, Wait);
left : SendArrowSilentWait(2, Wait);
right : SendArrowSilentWait(3, Wait);
end;
end;

somethin like that.. im not sure if the numbers for the arrows are right.. but for me it makes it easier just typing up instead of memorizing which number is which arrow..

Sdcit

2006-04-18 00:49:06


procedure IdleCamera(Arrow : String; Wait : Integer);
begin
case LowerCase(Arrow[1]) of
'u' : SendArrowSilentWait(0, Wait);
'd' : SendArrowSilentWait(1, Wait);
'l' : SendArrowSilentWait(2, Wait);
'r' : SendArrowSilentWait(3, Wait);
end;
end;
ghehe nothin…


Great job :)

phantombmx

2006-04-18 01:08:42

From: Sdcit

procedure IdleCamera(Arrow : String; Wait : Integer);
begin
case LowerCase(Arrow[1]) of
'u' : SendArrowSilentWait(0, Wait);
'd' : SendArrowSilentWait(1, Wait);
'l' : SendArrowSilentWait(2, Wait);
'r' : SendArrowSilentWait(3, Wait);
end;
end;
ghehe nothin…


Great job :)


ok whatever :p i like to type things out :rolleyes:

Pwnd

2006-04-18 02:19:31


procedure IdleCamera(Wait : Integer);
var
Arrow: integer;
begin
Arrow:= 1 + random(3);
case(Arrow)of
1 : SendArrowSilentWait(0, Wait);
2 : SendArrowSilentWait(1, Wait);
3 : SendArrowSilentWait(2, Wait);
4 : SendArrowSilentWait(3, Wait);
end;
end;
Leet hax yo

phantombmx

2006-04-18 02:30:19

lol nice pwnd..

XxKanexX

2006-04-18 03:09:24

From: Pwnd

procedure IdleCamera(Wait : Integer);
var
Arrow: integer;
begin
Arrow:= 1 + random(3);
case(Arrow)of
1 : SendArrowSilentWait(0, Wait);
2 : SendArrowSilentWait(1, Wait);
3 : SendArrowSilentWait(2, Wait);
4 : SendArrowSilentWait(3, Wait);
end;
end;
Leet hax yo

.. It's suppose to be random(4)+1 ;)

phantombmx

2006-04-18 03:59:32

From: XxKanexX
.. It's suppose to be random(4)+1 ;)


nah he got it right..

1+0 = 1
1+1 = 2
1+2 = 3
1+3 = 4

learn simple math kane :p

XxKanexX

2006-04-18 04:13:01

From: phantombmx
nah he got it right..

1+0 = 1
1+1 = 2
1+2 = 3
1+3 = 4

learn simple math kane :p

Nah, he got it wrong:

Random(3) = 0 - 2
0 + 1 = 1
1 + 1 = 2
2 + 1 = 3

Max = 3..
Needed = 4..

Random(4) = 0 - 3
0 + 1 = 1
1 + 1 = 2
2 + 1 = 3
3 + 1 = 4

:)

Learn simpler math, Phantom.

phantombmx

2006-04-18 06:23:28

ouch, just realized.. i was pwnd :eek: lol i forgot my little rule on the random..
[quote=phantom's rule fairy]to make a random number = n to blah, make sure it is random(blah) + n[/quote]

Pwnd

2006-04-18 06:34:36

Wow, why is Random() so homosexual? Oh well, you got the point none the less.

XxKanexX

2006-04-18 06:38:55

Make a new one?


function RRandom(Max: integer): integer;
begin
result:= Random(Max)+1;
end;

:p Saves like 4 seconds everytime you have to write random =O!

Pwnd

2006-04-18 06:46:50

From: XxKanexX
Make a new one?


function RRandom(Max: integer): integer;
begin
result:= Random(Max)+1;
end;

:p Saves like 4 seconds everytime you have to write random =O!

*Steals and goes to the New SRL Fuctions section*

XxKanexX

2006-04-18 06:48:37

From: Pwnd
*Steals and goes to the New SRL Fuctions section*

Please do ;) I'm in need of a good laugh.

Pwnd

2006-04-18 06:50:45

From: XxKanexX
Please do ;) I'm in need of a good laugh.
Lmao, there's a bunch of little things that I want to put into SRL, but I'd be to embarassed, so I just put it into iSexSey.scar ;)

{//////////////////////////////////////////////////////////////////////
Function RRandom(Max: integer): integer;
A less gayer way to use Random().
Param: Max - How high you wish the random to be.
Author: XxKanexX
//////////////////////////////////////////////////////////////////////}
function RRandom(Max: integer): integer;
begin
Result:= Random(Max) + 1;
end;