SRL Archive - Help

Adding a banking option


Awildfaz

2012-03-26 14:47:09

So basically I found an LRC gold miner but does not bank the ores. I want to know how you modify the script to bank/deposit.

Abu

2012-03-26 14:51:53

Use this to Open the bank:
(*
OpenBankFast
~~~~~~~~~~~~

.. code-block:: pascal

function OpenBankFast(Location: String): Boolean;

Opens the bank.
Valid arguments are:
'feb', 'falador east bank'
'fwb', 'falador west bank'
'veb', 'varrock east bank'
'vwb', 'varrock west bank'
'db' , 'draynor bank'
'akb', 'al-kharid bank'
'eb' (Edgeville Bank)
'ctb', 'catherby bank'
'clt', 'camelot bank'
'nab', 'north ardougne bank'
'sab', 'south ardougne bank'
'ynb', 'yanille bank'
'ngb', 'north gnome bank'
'sgb', 'south gnome bank'
'wgb', 'warrior guild bank'
'fgb', 'fishing guild bank'
'tavb', 'taverly bank'

.. note::

Author: Wizzup? and Nielsie95
Last Modified: Unknown

Example:

.. code-block:: pascal

if OpenBankFast('feb') then
Withdraw(...);
*)

Then use:
DepositAll;
to deposit your inventory

Awildfaz

2012-03-26 14:54:08

Its a deposit in the actual mines, how does that work?

Abu

2012-03-26 15:01:30

Open up simba, then under the functions tab type in Deposit.


There you will get a list of all the functions you will need.

Imagine

2012-03-26 15:13:13

From: abu_jwka
Use this to Open the bank:
(*
OpenBankFast
~~~~~~~~~~~~

.. code-block:: pascal

function OpenBankFast(Location: String): Boolean;

Opens the bank.
Valid arguments are:
'feb', 'falador east bank'
'fwb', 'falador west bank'
'veb', 'varrock east bank'
'vwb', 'varrock west bank'
'db' , 'draynor bank'
'akb', 'al-kharid bank'
'eb' (Edgeville Bank)
'ctb', 'catherby bank'
'clt', 'camelot bank'
'nab', 'north ardougne bank'
'sab', 'south ardougne bank'
'ynb', 'yanille bank'
'ngb', 'north gnome bank'
'sgb', 'south gnome bank'
'wgb', 'warrior guild bank'
'fgb', 'fishing guild bank'
'tavb', 'taverly bank'

.. note::

Author: Wizzup? and Nielsie95
Last Modified: Unknown

Example:

.. code-block:: pascal

if OpenBankFast('feb') then
Withdraw(...);
*)

Then use:
DepositAll;
to deposit your inventory


If you check the valid arguments, that doesn't quite work for the LRC bank.

Anyways, I haven't been to the LRC in forever, but I'd suggest
1: Walking to the bank using SPS (It's a small space, should work well technically).
2: Finding a defining color on the bank, don't quite remember what that color would be, and using ACA to find values to write an AutoColor function with. (Use HSL/Speed 2, it's more accurate than the others).
3: Either use Deposit all or use a MouseBox, (After a certain wait, try to write your own "waitoption" function but "waitBank", it shouldn't be too hard.

Abu

2012-03-26 15:20:26

Imagine, I posted that BEFORE he told me he wanted to access the DepositBox.

For that you simply use built-in simba functions, no need to find the colors…

Imagine

2012-03-26 15:24:13

Even so, he was asking for a bank in the LRC, so I assumed you knew it was a deposit box…
and as far as I can tell, there's no preset function to find the pulley system in the LRC.

begginer

2012-03-26 15:41:01

Look for bank with findobj or TPA if you know how. And then deposit all.
I can help via skype if u want

Wyn

2012-03-26 15:59:50

I 100% vouch he is talking about Harry's Lrc Miner.

Awildfaz

2012-03-26 16:23:15

From: begginer
Look for bank with findobj or TPA if you know how. And then deposit all.
I can help via skype if u want


Sure give me your skype name

begginer

2012-03-26 17:43:36

rinorgashi < my skype