Results 1 to 8 of 8

Thread: Banking Issue (Soul Wars Related?)

  1. #1
    Join Date
    Mar 2010
    Posts
    119
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Banking Issue (Soul Wars Related?)

    I'm trying again on making a script which uses the soul wars bank chest. A few past attempts using different methods have caused similar errors. Today I finally figured out why. The spot I get stuck in is roughly where you go from the bank chest if you try to click the first bank spot when the bank screen is not actually open. This happens extremely rarely and I do not know why, since I've already checked that the bank screen is indeed open. Any help would be appreciated.
    Wow. I've been gone a very long time indeed. So much has changed.

  2. #2
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    So the bank screen open detection fails? Try adding Wait(400+Random(200)); before the click, that should do it.
    There used to be something meaningful here.

  3. #3
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    Or use WaitFunc();

    Example:
    SCAR Code:
    WaitFunc(@BankScreen, 30, 3000);

    That will wait 30ms between searching for bankscreen while waiting a total of 3000 ms before returning false.

  4. #4
    Join Date
    Mar 2010
    Posts
    119
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I don't know. I'm using the normal Withdraw() procedure from Bank.scar. I haven't actually seen this miss happen, but given that it's the same spot every time, this is the only theory I have.
    Wow. I've been gone a very long time indeed. So much has changed.

  5. #5
    Join Date
    Dec 2009
    Location
    Next to my PC
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I am also using a script which is using the soulwars bank. I don't have this problem.
    Using something like this:
    Code:
        repeat
          FindSWChest();
          Wait(RandomRange(800, 1500));
        until (BankScreen) or (PinScreen);
    ^this has never failed since I'm using these scripts.

    Hope this helped
    ~Aron

  6. #6
    Join Date
    Mar 2010
    Posts
    119
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'm working on implementing a walk back to bank icon routine when it can't find the bank. Just temporarily ignoring why it happens and duct taping the gap.
    Wow. I've been gone a very long time indeed. So much has changed.

  7. #7
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Quote Originally Posted by swisspking View Post
    I am also using a script which is using the soulwars bank. I don't have this problem.
    Using something like this:
    Code:
        repeat
          FindSWChest();
          Wait(RandomRange(800, 1500));
        until (BankScreen) or (PinScreen);
    ^this has never failed since I'm using these scripts.

    Hope this helped
    ~Aron
    Kinda Offtopic, but remember failsafes

    ~Home

  8. #8
    Join Date
    Dec 2009
    Location
    Next to my PC
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Home, I'm always watching when I'm autoing. My scripts are very short and don't work for more than 3h.
    But they work, and I can do other stuff on my computer. Goal reached

    ~Swiss

    ONTOPIC: Why don't you post that part of the script? I can't imagine why it shouldn't be working tbh :S

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
  •