Wanted
2009-11-21 19:12:35
Ok so I've been working on this for a long time, I am approaching varrock west bank from the west. I am trying to land in the most south west bank booth:

Can anyone help me?

Can anyone help me?
2009-11-21 19:12:35

2009-11-21 19:22:30
2009-11-21 19:24:01
2009-11-21 19:25:53
From: Blumblebee
well lets see. There is the dungeon symbol that doesnt move very much, a door with the color 255 is right by the area you want to walk too. The NPC by the door is static (doesnt move) so you could use the distance between the two to differentiate between other area's for security.
Btw are you making an aircrafter?
From: NCDS
My first 2 suggestions would be to either make a DTM of the Bankers and adjust your Clicking coord appropriately. Or, Search a box around the ladder to get the ladder color, then adjust your clicking coord appropriately. There are a few different options. Just test out which ones work best.
2009-11-21 19:27:36
From: IceFire908
Eh I've already considered all those, it's a matter of getting them to work properly and scalable enough where it can walk pretty close to that booth within half or more the distance of the minimap.
Yea it's an aircrafter, the walking is what needed the most work, all of the walking is done except this part.
2009-11-21 19:37:29
From: Blumblebee
I just used a DTM to walk to the middle of the bank itself. I dont see why you need to walk to the bottom booth (imo). I personally would use the Dungeon symbol, its what I use in my script to get a good distance check.
2009-11-21 19:42:28
program New;
{.Include SRL/SRL.Scar}
Var x, y : Integer;
Procedure ToBank;
Var TPA : TPointArray;
ATPA : T2DPointArray;
I : Integer;
Begin
FindColors(TPA, FindLadderColor, MMX1, MMY1, MMX2, MMY2);
ATPA := SplitTPA(TPA, 6);
For I := 0 To High(ATPA) Do
If PointInBox(MiddleTPA(ATPA[I]), IntToBox(MMX1, MMY1, MMCX + 76, MMCY)) Then
Begin
Mouse(MiddleTPA(ATPA[I]).X, MiddleTPA(ATPA[I]).Y + 44, 5, 5, True);
FFlag(0);
Exit;
End;
End;
Begin
SetupSRL;
ToBank;
End.
2009-11-21 19:55:17
From: IceFire908
Well the important thing is it gets on the west side of the bank, otherwise the walkto function won't work right because the dtm point will be off the map for the first roadto.
That and any legit player would use that side of the bank, preferably the southern western slots.
Btw: Zoro kicks Itchogos ass :)
begin
if FindColors(TPA, BankColor, MMx1, MMy1, MMx2, MMy2) then
if Length(TPA) > 0 then
begin
for i := 0 to High(TPA) do
begin
if FindColor(x, y, 1511, TPA[i].x-10, TPA[i].y-10, TPA[i].x+10, TPA[i].y+10) then
begin
WriteLn('Red Door Color found.');
Mouse(x+8, y, 3, 3, True);
Result := True;
FFlag(10);
Exit;
end;
end;
end;
end;
begin
SetUpSRL;
BankColor := 195836;
end.2009-11-21 20:34:22
function WalkInBank: Boolean;
var
TPA: TPointArray;
TB: Tpoint;
begin
if (FindColors(TPA, FindLadderColor, MMX1, MMCY, 640, MMY2)) then
if (Length(TPA) > 0) then
begin
TB := MiddleTPA(TPA);
if (InCircle(TB.X, TB.Y, MMCX, MMCY, 75)) then
begin
Result := True;
Mouse(TB.X + 32, TB.Y - 62, 0, 0, True);
FFlag(0);
Exit;
end;
end;
end;



2009-11-21 20:37:29
2009-11-21 20:56:27
function findMMbank:boolean;
var
i,x2,bankers, x, y:integer;
begin
if not loggedin then exit;
bankers:=DTMFromString('78DA635CCDC4C0B096010C182114C39F3F4C7' +
'0FE7F206004A9598A5B0D9806A9D98A5F0D0073770E02');
for i:=1 to 8 do
begin
x2:=mmx1+round((mmx2-mmx1)*(i/8));
if DTMrotated(bankers,x,y,mmx1,mmy1,x2,mmy2) then
begin
if mfnf(x+8,y,1,1) then
begin
fflag(0);
result:=true;
break;
end;
end;
end;
freeDTM(bankers);
end;2009-11-22 05:00:21
2009-11-22 09:59:31
From: Sabzi
I have made a DTM that I can use to always arrive to the bank booth above yours(on the pic). Yeah, I can't use it from farther away to the west so I had to go to the bottom of the bank. Although other parts of the walking fails. Using two western banker and two eastern(the bottom ones so we won't glide on the y axis).
Oh, and Alucard FTW. Or Lelouch(omg, had to google the spelling :S). Then comes Ichigo :D.
2009-11-22 10:28:54
From: IceFire908
Alucard isn't a swordsman -.-, Lelouch's powers suck balls compared to eneru, brahm, ohm (monks who can read moves across an entire 40 mile island that got their ass kicked by zoro) and I'm pretty sure bullets make zoro and ichigo laugh.
Btw, I used a dtm of the bottom two west bankers and the red door.