Results 1 to 3 of 3

Thread: Banking Help

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

    Default Banking Help

    I have the script set up to input the number of food the person set to withdraw from the bank but I'm unsure on how to make it select that number since
    Simba Code:
    WaitOption('Withdraw-' + IntToStr(FoodAmount));
    doesn't work.
    The code snippet is here:

    Simba Code:
    procedure WithdrawFood;
     var
        F,X,Y: Integer;
    begin
     if not LoggedIn then Exit;

        Case lowercase(Food) of
          'trout'   : F := DTMFromString('mlwAAAHicY2dgYCgD4kIgzgbiAiCuAOJaIG4EYhUgVgRiTSDWBWJtqJg8EGfERAJJJqxYDkjiwox4MBQAALdhBks=');
          'tuna'    : F := DTMFromString('mlwAAAHicY2dgYFAAYikgFgFiCShfHYh1gFgFiOWBWA2I9YBYFyonC8QpEWFAkgkrFoGahw0z4sFQAABkyQOa');
          'lobster' : F := DTMFromString('mbQAAAHicY2VgYOgB4g4g7gPiyUA8FYjPA/F1IL4CxHeA+DQQrw+TAJJMKJiLARMwYsFgAACaUQgl');
          'swordfish' : F := DTMFromString('mlwAAAHicY2dgYGhmZGDoBuKJQNwHxJ2MELFyIJZhgGAFIFYCYmUglofSzTFdQJIJK+YCknI4MCMeDAUA/+8G2A==');
          'monkfish': F := DTMFromString('mggAAAHicY2NgYJjEyMAwEYgXQPE8IJ4GxB+Bct+A+A0DhP0diH8AsbejJcP8miogiwkFcwFJEEYHjDgwBAAAZ90L0w==');
          'shark'   : F := DTMFromString('mggAAAHicY2NgYLBjZGAwB2JHIHYHYg8g1gfiEqBcAxBXA3EzEJcCcQsQd+RHAUkmDMzFgB0w4sAQAAAltwXX');
        end;


        if (BankScreen) then
        if FindDTM(F, X, Y, MSX1, MSY1, MSX2, MSY2) then
        begin
          HumanMMouse(X, Y, 5, 5);
          ClickMouse2(mouse_right);
          WaitOption('Withdraw-X', 300);
          TypeSend(IntToStr(FoodAmount));
          wait(randomrange(200,300));
          HumanMMouse(X, Y, 5, 5);
          ClickMouse2(mouse_right);
          WaitOption('Withdraw-' + IntToStr(FoodAmount)); //What even is...?

    end;
    FreeDTM(DTM);
    end;
    <3

  2. #2
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    You would have to do something like this:

    Simba Code:
    WaitOption(('Withdraw-' + IntToStr(FoodAmount)), 400);

  3. #3
    Join Date
    Oct 2011
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Nebula View Post
    You would have to do something like this:

    Simba Code:
    WaitOption(('Withdraw-' + IntToStr(FoodAmount)), 400);
    Thank you very much
    <3

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
  •