Results 1 to 3 of 3

Thread: Making my script to bank?

  1. #1
    Join Date
    Apr 2012
    Location
    Florida!
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default Making my script to bank?

    So, if i wanted to make a script to bank.. could i use the following tutorial:
    http://villavu.com/forum/showthread.php?t=80378

    In order to get a skeleton?

    Meaning that i can use this tutorial to bank in varrock west, obviously, but could i use the same method and provided code to bank in ardougne/draynor village, etc, etc?

    And can someone link me to a tutorial that shows how to implement walking into a script?

    I'm pretty new at this, but i catch on quick and am dying to make my own custom scripts

    Edit: have read a couple tutorials, and understand the basics of function,procedure, etc, etc, because i've done some scripting before.. just not recently or in this language >.>

  2. #2
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    My advice when it comes to banking - utilise the SRL Include
    Simba Code:
    (*
    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(...);
    *)
    Simba Code:
    (*
    OpenBankNPC
    ~~~~~~~~~~~

    .. code-block:: pascal

        function OpenBankNPC: Boolean;

    Opens the bank by using Banker.

    .. note::

        Author: Home
        Last Modified: December 28 by Narcle

    Example:

    .. code-block:: pascal

      if OpenBankNPC then
        Withdraw(...);
    *)

    When it comes to walking, read the tutorial in my signature

  3. #3
    Join Date
    Apr 2012
    Location
    Florida!
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    thanks for the bank part, but when i go to use the ObjectDTM, my java says

    -.-" Pisses me off, because i had the program working earlier, completely... i just didn't have time to finish my work i was doing, so i closed it.

    Now i come back and its like this..

    # A fatal error has been detected by the Java Runtime Environment:
    #
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d80a5b4, pid=4388, tid=5248
    #
    # JRE version: 6.0_31-b05
    # Java VM: Java HotSpot(TM) Client VM (20.6-b01 mixed mode, sharing windows-x86 )
    # Problematic frame:
    # V [jvm.dll+0x1a5b4]
    #
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug


    EDIT:
    nvm, idk why but its working now >.>
    my comp was probably just being gay last night.
    Last edited by Keasbey; 05-09-2012 at 01:00 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •