Log in

View Full Version : Adding a banking option



Awildfaz
03-26-2012, 06:47 PM
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
03-26-2012, 06:51 PM
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
03-26-2012, 06:54 PM
Its a deposit in the actual mines, how does that work?

Abu
03-26-2012, 07:01 PM
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
03-26-2012, 07:13 PM
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
03-26-2012, 07:20 PM
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
03-26-2012, 07:24 PM
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
03-26-2012, 07:41 PM
Look for bank with findobj or TPA if you know how. And then deposit all.
I can help via skype if u want

Wyn
03-26-2012, 07:59 PM
I 100% vouch he is talking about Harry's Lrc Miner.

Awildfaz
03-26-2012, 08:23 PM
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
03-26-2012, 09:43 PM
rinorgashi < my skype