Results 1 to 4 of 4

Thread: Banking

  1. #1
    Join Date
    Apr 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Banking

    Alright so, Im brand new to this and I really dont know much but anyway..

    I had banking working last time I was testing things and now when ever I try to run/test something the mouse goes to the left ish side of the screen and stops, and thats all it does when I try to make it find the bank booth, any help?

    Simba Code:
    program BankTesting;
    {$i srl/srl.simba}
    {$i sps/sps.simba}


    Procedure BankAndWithdraw;
    Var
      x, y: integer;
    Begin
      SetUpSRL;
             if FindObj(x, y, 'ank', 3625827, 15) then
                Mouse(x, y, 2, 2, true);
                Wait(3000);
                withdrawex(1, 0, 25, ['essence', 'pure']);

    end;


    begin
      SetupSRL;
      ActivateClient;
      BankAndWithdraw;
    end.

  2. #2
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Have you tried simply using some of SRL's pre-made banking functions? You can explore and see what's available in Includes > SRL > srl > core > bank.simba.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  3. #3
    Join Date
    Apr 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    Have you tried simply using some of SRL's pre-made banking functions? You can explore and see what's available in Includes > SRL > srl > core > bank.simba.
    Yeah, its at lunar bank, I dont think any of them worked but I could be doing something wrong.

  4. #4
    Join Date
    Dec 2011
    Posts
    392
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by AideniRS View Post
    Yeah, its at lunar bank, I dont think any of them worked but I could be doing something wrong.

    Well there is no preset functions for moon bank but you could try openbanknpc. I think the method you are using works just fine though but I would use FindObjEx() so you can use a string of colors and set a window to look in. When banking at moon bank I have about 6 colors it can look for.

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
  •