TheGuyWhoGotOn
2007-11-20 21:37:20
This works 99% of the time…It's very fast too:
So what do you think? You have to include PH to use it…
//Created by: TheGuyWhoGotOn
//Description: Opens the bank of your choice. Returns true if it was done
//succesfully.
{ Working Locations ]
[Varrok East Bank: veb ]
[Varrok West Bank: vwb ]
[Lumby Bank: lb ]
[Draynor Bank: db ]
[Fally West Bank: fwb ]
[Fally East Bank: feb ]
[Edgeville Bank: eb ]
[Al-Kharid Bank: akb ]
[-----------------------}
//Used Like: FastOpenBank('veb', 2);
Function FastOpenBank(location: string; attempts: integer): Boolean;
begin
result:= false
location:= lowercase(location);
if location = 'veb' then if FindSomethingEx(6650497, 6915726, attempts, true, false, 'Use Ba', false, true, true) then result:= ClickOption1('e-q');
if location = 'vwb' then if FindSomethingEx(4144964, 4671309, attempts, true, false, 'Use Ba', false, false, true) then result:= ClickOption1('e-q');
if location = 'lb' then if FindSomethingEx(6391187, 6714235, attempts, true, false, 'Use Ba', true, false, true) then result:= ClickOption1('e-q');
if location = 'db' then if FindSomethingEx(5927552, 5862274, attempts, true, false, 'Use Ba', true, false, true) then result:= ClickOption1('e-q');
if location = 'fwb' then if FindSomethingEx(8032675, 7769247, attempts, true, false, 'Use Ba', false, true, true) then result:= ClickOption1('e-q');
if location = 'feb' then if FindSomethingEx(8032675, 7769247, attempts, true, false, 'Use Ba', false, true, true) then result:= ClickOption1('e-q');
if location = 'eb' then if FindSomethingEx(8096918, 7438988, attempts, true, false, 'Use Ba', true, true, true) then result:= ClickOption1('e-q');
if location = 'akb' then if FindSomethingEx(3618619, 3421240, attempts, true, false, 'Use Ba', true, true, true) then result:= ClickOption1('e-q');
if result = false then writeln('Bank Not Found');
end;
So what do you think? You have to include PH to use it…