SRL Archive - Research & Development Lounge

Help with banking


frazboyz101

2012-01-14 02:22:24

hey guys im a bit of a noob. Im using the method "Openbank('vwb', false, false)" And what the script does is right click the banker and then moves the mouse away from the banker so kinda opens the menu then closes the menu.

YoHoJo

2012-01-14 02:39:25

go to c\simba\includes\srl\srl\core
and open bank.simba
I think 'BankScreen' is a function in there?
If BankScreen Then

frazboyz101

2012-01-14 02:56:03

yea that works but not im having issues opening the bank :(

YoHoJo

2012-01-14 02:57:51

In bank.simba there are also a bunch of bank opening procedures too you can use one of those, or write your own.

Watch my runescape scripting tutoral (Tutorial #2 parts 1 and 2) and use the method I use to find trees, but instead apply it to bankers. Also watch the AutoColorAid tutorial.

Those two together should enable you to make your own.

frazboyz101

2012-01-14 03:30:40

Could you tell me whats wrong with this
if not (IsMoving) then
begin
if FindObj(x, y, 'ooth', 1457483, 35) then
begin
repeat
KeyDown(VK_UP);
wait(100 + Random(500));
OpenBankNPC;
until BankScreen;
repeat
Wait(1000 + Random(1000));
WriteLn('custom banking');
DepoAllfraz;
Wait(250 + Random(500));
until not InvFull;
CloseBank();
Wait(500 + Random(1000));
Banked := True

end;

WriteLn('Done Banking.');
Inc(Loads);
Progress;
end;
until (Banked)
end;

YoHoJo

2012-01-14 03:36:37

Would be best if you put entire script, and what are you trying to do in that peice of code? What exactly is going wrong?

frazboyz101

2012-01-14 04:07:29

Well it right clicks on the banker then stops and does that again and again. In that peice of code. Open the change the cam angle up and then open the bank then deposit all then close the bank.