Results 1 to 5 of 5

Thread: Help with banking and an antiban

  1. #1
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    1,199
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default Help with banking and an antiban

    Okay, so the script I have been editing and changing may look quite shabby to most of you, but whatever, has gotten me almost 99 crafting . But if I ever release it I want to fix the banking and one of the antibans

    Simba Code:
    8:begin
      GameTab(TAB_QUEST);
      wait(RandomRange(100,1000));
      GameTab(TAB_INV);
      end;

    I want it to scroll through the quest list, and maybe hover on one, is that possible with less than basic scripting knowledge?

    and also the bank ALWAYS returns to face west to find the bank, is there a way I could change this to make it always find the bank at any angle?

    Simba Code:
    procedure WithdrawDhide;
    var
    x,y:integer;
    begin
    SetAngle(SRL_ANGLE_HIGH);
    OpenBankChestEdge(SRL_BANK_SW);
    repeat
      wait(500);
    until(PinScreen or BankScreen);
    if PinScreen then
      begin
        InPin(Players[CurrentPlayer].Pin);
        wait(RandomRange(900,1100));
      end;
    if BankScreen then
      begin
        wait(RandomRange(400,600));
        MouseItem(RandomRange(1,9),mouse_Right);
        wait(RandomRange(400,600));
        ChooseOption('27');
        if FindDTM(dhideDTM2,x,y,MSX1,MSY1,MSX2,MSY2) then
            begin
              Mouse(RandomRange(440,460), RandomRange(230,250),0,0,False);
              wait(RandomRange(800,1000));
              ChooseOption('27');
              wait(RandomRange(800,1000));
              CloseBank;
            end;
      end;
    end;

    Could I assign a DTM value somehow and use the "if FindDtmRotated then".

    I have a very very basic knowledge and have borrowed most of this script, hence why I haven't released it.
    Last edited by Hazzah; 03-11-2012 at 04:35 PM.

  2. #2
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    1,199
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    79 views and zero responses. :/

  3. #3
    Join Date
    Dec 2011
    Location
    Kosovo
    Posts
    831
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    What's your problem. You cannot get items form bank or what
    Goals:
    Understanding TPAs
    Making Proggy for fighting
    Getting on SRL members
    Get 500 posts

  4. #4
    Join Date
    Oct 2011
    Posts
    805
    Mentioned
    21 Post(s)
    Quoted
    152 Post(s)

    Default

    I want it to scroll through the quest list, and maybe hover on one, is that possible with less than basic scripting knowledge?
    If think there is no SRL function to do this ,you must create your own.

    and also the bank ALWAYS returns to face west to find the bank, is there a way I could change this to make it always find the bank at any angle?
    You can delete line

    MakeCompass(Info[10]);

    in your OpenBankChestEdge function ,or create your own banking function.

    Could I assign a DTM value somehow and use the "if FindDtmRotated then".
    Don't rely upon DTMs for object finding on mainscreen ,they are good for minimap and inventory ,but for mainscreen much more accurate are TPAs:
    http://villavu.com/forum/showthread.php?t=49067

  5. #5
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    1,199
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    Thank you both. I have been reading about TPA's but I really just don't have time at the moment, too much other reading to do and I guess I will need to create my own procedure for scrolling through the quest list.

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
  •