Results 1 to 4 of 4

Thread: New guy needs help with this script. Deposits Pickaxe

  1. #1
    Join Date
    Mar 2012
    Posts
    47
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default New guy needs help with this script. Deposits Pickaxe

    Hey I have been running a script and for some reason it keeps on depositing my pick axe.. The bank code is here

    Code:
    procedure BankEssence;
    var
      CTS, I, x, y: Integer;
      TPA: TPointArray;
      ATPA: array of TPointArray;
    begin
      if P07_BankScreen then
      begin
        P07_Deposit(randomrange(5,20), 28, TRUE);
        exit;
      end;
      P07_MakeCompassNorth;
      P07_MakeCameraAngleHigh;
      begin
        CTS := GetColorToleranceSpeed;
        ColorToleranceSpeed(2);
        SetColorSpeed2Modifiers(0.06, 0.91);
        FindColorsSpiralTolerance(MSCX, MSCY, TPA, 6188918, MSX1, MSY1, MSX2, MSY2, 5);
        ColorToleranceSpeed(CTS);
        wait(100);
        SMART_DrawDotsEx(false, TPA, clred);
        ATPA := SplitTPA(TPA, 3);
        for I := 0 to High(ATPA) do
        begin
          MiddleTPAEx(ATPA[i], x, y);
          SMART_DrawBoxEx(false, false, getTPABounds(ATPA[i]), clBlue);
          MMouse(x, y, 2, 2);
          wait(50);
          if (P07_IsUpTextMultiCustom(['sence'])) then
          begin
            MouseBox(7, 350, 500, 470, mouse_left);
            exit;
          end;
          if (P07_IsUpTextMultiCustom(['se', 'ooth'])) then
          begin
            clickMouse2(MOUSE_LEFT);
            wait(700);
            if P07_ChooseOptionMulti(['ank']) then
            begin
              wait(1000);
              P07_Deposit(randomrange(5,20), 28, TRUE);
              if P07_invCount-PicInInvent=0 then begin
              banked := banked + 28 - PicInInvent;
              Stats_IncVariable('Iron Ore(Mined)', 28 - PicInInvent);
              debugstr('  [INFO] updated banked ore log');
              end;
            end;
            Break;
          end;
          wait(100);
        end;
        Mouse(P07_MMCX, P07_MMCY + 10, 2, 2, mouse_left);
        wait(300);
      end;
    end;

  2. #2
    Join Date
    Jun 2007
    Posts
    532
    Mentioned
    1 Post(s)
    Quoted
    68 Post(s)

    Default

    Why not just make a dtm of the ess, check the uptext and then right click and deposit all?
    Finished B.S. Program in Radiology!!

    Projects: A big one! Total secret! hehe

  3. #3
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Quote Originally Posted by Element17 View Post
    Why not just make a dtm of the ess, check the uptext and then right click and deposit all?
    Yeah I suggested the exam same thing to him over Skype

  4. #4
    Join Date
    Dec 2007
    Posts
    174
    Mentioned
    0 Post(s)
    Quoted
    43 Post(s)

    Default

    Simba Code:
    procedure DepositOre;
    begin
      if BankScreen then
      begin
        Deposit(2, 28, true);
        wait(300);
        CloseBank;
      end;
    end;

    this is what i use to deposit everything but my pickaxe, this way if pickaxe is in first inv slot then it will deposit everything else and even if you have pickaxe equipped it will still deposit the first ore if it is an ore and not a gem or something.

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
  •