SRL Archive - RS3 Outdated / Broken Scripts

log-out script


staar2

2006-06-26 13:02:41

My first one

program New;
{.include SRL/SRL.scar}
begin
setupSRL;
DisguiseScar('xXx - new nude girls!!!');
writeln('Tab ' + IntToStr(GetCurrentTab()));

GameTab(10);
writeln('we changed tab to log out');
if(FindColorTolerance(x, y, 16777215, MIX1 + 20, MIY1 +20, MIX2 +20, MIY2 +20, 3) = true) then
begin
MoveMouseSmoothEx(x, y, 10, 20, 45, 20, 20);
wait(random(200) +20);
ClickMouse(x + 3, y + 3, true);
Writeln('Login out');
end;
end.

WhiteShadow

2006-06-26 13:53:51

or you can just do.

program New;
{.include SRL/SRL.Scar}

begin
SetUpSRL;
if(LoggedIn)then
LogOut;
end.

But, yea pretty good for a first script. At least you understand not to use stuff like MoveMouse.

Try using Mouse. This mouse moves to coords with random pixles off and clicks left or right.

procedure Mouse(mousex, mousey, ranx, rany : Integer; left : Boolean);

Mousex, Mousey = the coord
Ranx, Rany = random pixels off x and y
Left = True for left click, False for right.

staar2

2006-06-26 15:44:25

oh ty for freeback, i thinked that MoveMouseEx() is better :P

edit: what i should but in ranX and in ranY, what is default ?

Sumilion

2006-06-26 16:39:31

well, depends on the size that it can click on. For instance, when you want to click on a furnace, you could use Mouse(x, y, 20, 20, true); (or whatever mouse sort you want). But if it is a small button, lets say a magic attack, then 5, 5 should do it… But normally by clicking on the Minimap i use 10, 10

WhiteShadow

2006-06-26 21:52:36

From: Sub Zero
well, depends on the size that it can click on. For instance, when you want to click on a furnace, you could use Mouse(x, y, 20, 20, true); (or whatever mouse sort you want). But if it is a small button, lets say a magic attack, then 5, 5 should do it… But normally by clicking on the Minimap i use 10, 10


For Minimap, I recommend as least as possible. To much random may result in inaccurate clicking.

0, 0 = Perfect Click.

Try doing some move mouse stuff, then you'll know, how much a pixel is etc. Distance measuring can be very important.

staar2

2006-06-27 08:43:00

kk ty !! Firstime i used i buted like 100, 100 lol :D

TravisV10

2007-08-12 16:21:50

i hate grave digging. *awaits snipers* ;)

Sp0rky

2007-08-12 17:07:14

Well, he did start the topic…

A year ago.

TravisV10

2007-08-12 17:10:19

Dude, dont grave dig! Mod, please close! ;)

Naum

2007-09-27 13:40:57

Good script. And B2C just *SHUT UP!* keep quiet. Good Script. Your on your way(1st step of 250) to becoming an srl member. You could have just used
if (LoggedIn)then(logout);
Lol anyways Amazing script (66% sarcasm there)
->{Nauman}<-

camdo2

2007-11-03 00:15:36

Nice job! I'm looking to learn more SRL and SCAR so very good!

-Camdo Clark

Harry

2007-11-03 08:34:28

06-26-2006

STOP BUMPING please!