SRL Archive - Help

Help please


jkrules22

2012-04-17 18:27:01

Ok so Im trying to climb up to the lummy bank. Ive tried dtms, that wasnt working, and I realy seem not to be able to find a way to climb up the stairs, any help would be appreciated.

PatDuffy

2012-04-17 18:28:35

TPA's!!!!

You can find their tutorials in the Intermediate/Advanced sections(They aren't too hard to learn).

jkrules22

2012-04-18 01:10:19

ok so i made a tpa for the stairs and it just keeps searching for them, ANd it executes without clicking them after it finaly does


Procedure StairClimber;
Var
x, y:Integer;
StairColor : Array [0..1] of Integer;
i :Integer;
Begin
StairColor[0]:=11186354;
StairColor[1]:=3095366;
//StairColor[2]:=6777708;
//StairColor[3]:=3885913;
//StairColor[4]:=9804700;
//StairColor[5]:=6514536;
Begin
If (not (Loggedin)) then
Exit;
Begin;
For i:= 0 to 1 do
If FindObjCustom(x,y,['Climb, up'],[StairColor[i]],1) then
GetMousePos(x, y);
Begin
If IsUpText('Clim, sta,air, ase') then
Begin
Mouse(x, y, 5, 5, False);
WaitOption('Climb, up');
end;
end;
End;
End;
End;

x[Warrior]x3500

2012-04-18 01:52:10

From: jkrules22
ok so i made a tpa for the stairs and it just keeps searching for them, ANd it executes without clicking them after it finaly does


Procedure StairClimber;
Var
x, y:Integer;
StairColor : Array [0..1] of Integer;
i :Integer;
Begin
StairColor[0]:=11186354;
StairColor[1]:=3095366;
//StairColor[2]:=6777708;
//StairColor[3]:=3885913;
//StairColor[4]:=9804700;
//StairColor[5]:=6514536;
Begin
If (not (Loggedin)) then
Exit;
Begin;
For i:= 0 to 1 do
If FindObjCustom(x,y,['Climb, up'],[StairColor[i]],1) then
GetMousePos(x, y);
Begin
If IsUpText('Clim, sta,air, ase') then
Begin
Mouse(x, y, 5, 5, False);
WaitOption('Climb, up');
end;
end;
End;
End;
End;


yes u did use something with a tpa in it (findObjCustom) but technically, u never actually used TPAs. if i were you, i would learn how to use ATPAs with Autocolors. that would be the easiest and most accurate way.

jkrules22

2012-04-18 03:37:49

oh ok.. will do lol.

Caotom

2012-04-18 05:14:58

YoHoJo recently made a video tutorial about using ACA for more advanced colour finding methods, you may want to have a look at it.

http://www.youtube.com/watch?v=98wVrr6GwyU&feature=plcp&context=C4538bdcVDvjVQa1PpcFM5uOco5gU7FD6rmUltnlYn07Mm809Bbqg=

~Caotom

jkrules22

2012-04-18 14:19:35

Thats awsum lol, I love his tuts..watching now…thanks

jkrules22

2012-04-18 15:45:04

WOW lol, that was one of the easiest things ive learned, Ill be climbing stairs in no time!