SRL Archive - First Scripts

First Script!


pacmanpwns

2007-03-21 19:50:22

So this script is my first, real, script, just a thing for a private server (I built it for practice).

What it does: Finds color, clicks it, waits 2.5-2.9 secs, clicks again, re-auto login if im disconnected and has a progress report.

Give feedback (Also, I know the functions I used are outdated and dectable and will be using SRL functions for my first runescape script.)

Program StrengthTraining;

const
TimesTo = 0; //Times To Train Strength, 0 is infinate.

var
x,y: Integer;
i: Integer;
Exp: Integer;

Procedure Login;
begin
Wait(1000);
MoveMouseSmooth(456,316);
Wait(500);
ClickMouse(456,316,true);
wait(500);
MoveMouseSmooth(286,352);
wait(200);
ClickMouse(286,352,true);
end;

Procedure Strength;
begin
FindColor(x,y,4764399,4,24,766,521);
wait(200);
MoveMouseSmooth(x,y);
wait(1250);
ClickMouse(x,y,true);
wait(2500+random(550));
If(not(FindColor(x,y,4764399,4,24,766,521)))then
Login;
end;

Procedure Progress;
begin
i:= i + 1;
Exp:= i * 420;
ClearDebug;
Writeln('++++++++++++++++++++++++++++++++++');
Writeln('+++++++++PROGRESS REPORT++++++++++');
Writeln('++Attacked '+ IntToStr(i)+' Times+');
Writeln('++Gained '+ IntToStr(Exp)+' Exp+++');
Writeln('++++++++++++++++++++++++++++++++++');
end;

begin
i:= 0;
repeat Strength; Progress;
i:= i + 1;
until (i >= TimesTo);
if (TimesTo=0) then repeat strength; Progress;
Until(False);
end.

Pwnt by Pwnt

2007-03-21 20:25:09

ok idk what for sure it does, all i can think it does is keep clicking on the strength button? and also it wont log in because there is no player array. add me on MSN if u want help :p my name is [email]pwnt_by_pwnt@hotmail.com[/email]

pacmanpwns

2007-03-21 21:53:42

Well like I said it's for private servers where you simply click-to-level. This one is accually used for the popular server PKIsle. The auto-logger will simply click play and then login because private servers automatically save player name/pass/ip so I have nothing to enter. Like I said, simple script. Although if you can help me with the SRL / SRL functions I do need help with that. Thanks for the input/feedback!!

Pwnt by Pwnt

2007-03-21 22:04:34

ok u can add me on MSN sorry i cant help with this script i have no idea about private servers o.O

the scar noob

2007-03-22 14:35:40

Clickmouse is very detectable… try using SRL…

holiday105

2007-03-22 15:58:19

click mouse is detectable but it IS just a private server :p

Pwnt by Pwnt

2007-03-22 19:16:18

:p lol i still dont get what it does but oh wellllll…… lol :O OMG 100th POST!!!(I think lol)

mobe7

2007-10-15 12:47:54

very dectetable…