Results 1 to 3 of 3

Thread: Help with Banking

  1. #1
    Join Date
    Oct 2011
    Posts
    192
    Mentioned
    0 Post(s)
    Quoted
    17 Post(s)

    Default Help with Banking

    SOLVED


    Hey, I finally set a goal for 99 herblore(as well as purchased all supplies), and felt like getting a script to help me out. I decided to be a noob, and simply modify the PPot maker in the herblore section (since I've not really completely learned Simba/PascalScripting yet AND I was told this script is entirely color)

    Anyways, I'm having some trouble banking, and would really appreciate some help. When it tries to withdraw items from the bank, I get this error:

    Code:
    ** Warning in WithdrawItem: Could not Find dtm in Bank. [Uptext: omin]**
    [00.00.05]: Logged out because: Failed to bank
    I did some searching, and found THIS thread to be very similar, however it came to no real conclusions. And most of the stuff mentioned, I wasn't really certain on what to do anyways.

    Here's my code:
    Simba Code:
    function Bank: Boolean;
    begin
      FindNormalRandoms;
      if OpenBank(Players[0].Strings[0], True, False) then
      begin
        if not(InvEmpty) then
          DepositAll;
        if WithdrawItem(DTMs[Clean], 'dtm', 14, 'omin', []) then
          if WithdrawItem(DTMs[Vial], 'dtm', 14, 'ater', []) then
            Result := True;
      end;
      if BankScreen then
        CloseBank;
      FindNormalRandoms;
    end;

    I'm fairly clueless on what I'm doing wrong. I'm trying to withdraw 14 'Clean tarromin's and 14 'Vial of water's.

    Another question I felt inclined to ask, is what exactly is this:
    Simba Code:
    DTMFromString('mbQAAAHicY2VgYHBhYmDwAmJfIHYFYhMgfgIU/wTEz4D4NgOEzxNpASSZUDA/AyZgxILBAAAM4waY');
    I've modified the SetDTMName to my correct items, but should that string be editted as well? If so, what exactly is this value? And if it's unique to my item, how do I get it?


    Thanks! In the meantime, I'll search the forums for other Withdraw methods, and try them out :P
    Last edited by Aegis; 11-04-2011 at 03:05 AM.

  2. #2
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    That's the DTM. It's what's used to identify the item. Since you didn't know what it was, I'm assuming that's a DTM to identify a vial or something to make potions with. You need to create your own for the items you need to identify which I'm assuming is a Vial of Water and some sort of herb? Here's a good DTM tutorial. It's for SCAR, but it'll still work as it uses the same (or similar DTM editor). In Simba, first go to View > Extensions and enable the DTM Editor extension.

  3. #3
    Join Date
    Oct 2011
    Posts
    192
    Mentioned
    0 Post(s)
    Quoted
    17 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    That's the DTM. It's what's used to identify the item. Since you didn't know what it was, I'm assuming that's a DTM to identify a vial or something to make potions with. You need to create your own for the items you need to identify which I'm assuming is a Vial of Water and some sort of herb? Here's a good DTM tutorial. It's for SCAR, but it'll still work as it uses the same (or similar DTM editor). In Simba, first go to View > Extensions and enable the DTM Editor extension.
    Thanks! Yeah, found it just prior to you replying. I'll follow the tutorial, and hopefully get the script working. Again, thanks. I appreciate it

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
  •