what is the best way to find the bank in varrock west bank? a dtm, bitmap or color? all i need is a something that will walk my player next to the bank booth or find the chords of a bank booth. thanks
what is the best way to find the bank in varrock west bank? a dtm, bitmap or color? all i need is a something that will walk my player next to the bank booth or find the chords of a bank booth. thanks
To be honest I find this to be the best procedure.
It's color based :P
SCAR Code:Procedure OpenMyBank;
begin
if not (BankScreen) then
Lowestangle;
repeat
if (FindColorTolerance(x,y,13222597,2,70,515,178,5) or
FindColorTolerance(x,y,4481644,2,70,515,178,5))then
Wait(250);
MMouse(x,y,2,2);
Wait(250);
if (IsUpText('Bank booth')=true) then
Wait(250);
Mouse(x,y,2,2,false);
if (ChooseOption(x,y,'quickly')) then
begin
wait(250);
//InPin(''); //put your pin between ''
repeat
Wait(100);
until (BankScreen);
end;
until (BankScreen);
end;
Here's an example of what I use. Getting the bank icon color may be hard though since it's always crowded in that neighborhood...
SCAR Code:program Bank;
{.include SRL\SRL.scar}
var BnkCol: integer;
Function ToBank: Boolean;
begin
Wait(2500);
{ may have a hard time with the auto coloring cuz of the people }
FindSymbolColorIfNeeded('bank', true, BnkCol); //auto colors the symbol
ToBankers(BnkCol, 4 + random(1), 1 + random(1));//clicks near a yellow dot
FTWait(10); // waits so the kid can make it to the booth
OpenBank3; // opens the booth
If(BankScreen)then //checks if the bank booth is open...
Result:= True;
Writeln('Banking Process Working');
end;
begin
setupSRL;
ActivateClient;
MouseSpeed:= 15;
ToBank;
end.
Basically the thing that clicks near a banker using the mm is the SRL function ToBankers...
But for this you need the bank icon color somehow autocolored..
My way is better than SporksCode:{******************************************************************************* procedure ToBankers(var BankColor: Integer; MouseAdjustX, MouseAdjustY: Integer); By: Description: Find the specified bank color and clicks the nearest yellow dots to get closer to the bankers. *******************************************************************************} procedure ToBankers(var BankColor: Integer; MouseAdjustX, MouseAdjustY: Integer); var c, ax, ay, x, y: Integer; begin if (FindMMColor(x, y, BankColor)) then begin while c < 30 do begin c := c + 5; if (FindMMColor(x, y, BankColor)) then begin if (FindColorSpiralTolerance(ax, ay, 195836, x - c, y - c, x + c, y + c, 10)) then begin x := ax; y := ay; break; end; end; end; MouseFindFlag(x, y, MouseAdjustX, MouseAdjustY); Flag; Wait(1000 + Random(100)); end; end;![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)