Results 1 to 4 of 4

Thread: After logout continue script?

  1. #1
    Join Date
    Nov 2011
    Location
    Netherlands
    Posts
    156
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default After logout continue script?

    Hello,
    I made a battleScape Thieving script.
    But i have 1 problem, somethimes battlescape gives a anti random.
    This mean you can't use your inventory before you logout once.
    I fixed this with simple FindColor then ....
    But when it log out and logs back in, it just stand there at the bank! (most of the time @ bank..)

    How can i let the script search the bank again after the login? and if not found bank then continue script? eg, walking back

    Thanks

  2. #2
    Join Date
    Feb 2012
    Location
    SRL Jail
    Posts
    1,319
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What do you mean by search the bank
    do you mean search your bank inventory or or just sit in the bank standing in the middle. Never played battlescape, but wouldn't that be a DTM of a unique part of the bank and if not found do a radial walk or SPS walk back?

  3. #3
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    You'll need to fix your mainloop.

    When it logs back in, it will carry on where it left off unless if you implement a failsafe.

    Maybe define the area of the bank, then say 'if IsAtBank then', that way if you are at the bank, it will use the banking procedure

  4. #4
    Join Date
    Nov 2011
    Location
    Netherlands
    Posts
    156
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by JOEbot View Post
    What do you mean by search the bank
    do you mean search your bank inventory or or just sit in the bank standing in the middle. Never played battlescape, but wouldn't that be a DTM of a unique part of the bank and if not found do a radial walk or SPS walk back?
    Its more like, when its doing a procedure, and finally gets to the bank chest, it want to open it but cant, so it will relog and then it stands by the bank chest :S i want it to continue like:

    Open bank chest
    If random > relog
    Get stuff from bank
    Walk back to the place and repeat everything (Instead of the random, only when it see it)

    Sorry broken english .. :P

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
  •