Results 1 to 6 of 6

Thread: Find player location and move to another location

  1. #1
    Join Date
    Feb 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Find player location and move to another location

    Hi. I'm having some trouble on how to find what the current player location is.

    Sometimes my script accidentally (I think accidentally :P) clicks away from where it is supposed to click and therefore makes the player move from the bank chest spot in soul wars. If this occurs, sometimes it goes so far that it can't see the bank chest on the screen, so just stands there.

    How can I find out where the player is and how to move to the bank spot?

    Thanks.

  2. #2
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Alright, what?
    What do you want it to do, Click the chest, or just move to where the chest is?

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

    Default

    Just try to make the path as accurate as possible.


    Unfortunately I'm not a member so I can't give you exact details

  4. #4
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Depends on what the script does.. if it's an alching script you can add something like:

    Code:
    While IsMoving do
      wait(1);
    fflag(0);
    OpenBankChest(SRL_BANK_SW);
    That way it waits until it's done doing whatever first.. then it'll open the bank. Or just use FindSymbol to find the bank symbol.. there's actually many ways to determine if near the bank.
    I am Ggzz..
    Hackintosher

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

    Default

    Quote Originally Posted by ggzz View Post
    Depends on what the script does.. if it's an alching script you can add something like:

    Code:
    While IsMoving do
      wait(1);
    fflag(0);
    OpenBankChest(SRL_BANK_SW);
    That way it waits until it's done doing whatever first.. then it'll open the bank. Or just use FindSymbol to find the bank symbol.. there's actually many ways to determine if near the bank.
    You should first do FFlag(0) then while IsMoving do Wait(100);

    Because if the flag is not there, it will wait for 10 secs to flag appear.


    ~Home

  6. #6
    Join Date
    Feb 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks for the replies. I did it with FindSymbol. Was very easy.

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
  •