Results 1 to 8 of 8

Thread: Object Mis-clicking Problem

  1. #1
    Join Date
    Jan 2012
    Location
    United Kingdom
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Object Mis-clicking Problem

    Hi,

    I am having problems with the script I am trying to fix clicking on the Nomad at Soul Wars when it is supposed to be clicking on the Soul Wars chest. How can I avoid this?

    The line that finds the SW Chest object:

    SCAR Code:
    FindObjCustom(x, y, ['Bank', 'nk ch', 'k che', 'est'], [2963780, 10790316, 10000542, 5921374], 3)

    Also, if it does click the Nomad, how can I detect that it is talking? And how would I go about clicking through the conversation? Would the AreTalking method work to detect if the character is in an NPC conversation?

  2. #2
    Join Date
    Nov 2011
    Posts
    1,532
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    On the reverse, can you try detecting whether you're in the bank screen and retry if bankscreen is not found after you clicked?

  3. #3
    Join Date
    Jan 2012
    Location
    United Kingdom
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by nosaj.421 View Post
    On the reverse, can you try detecting whether you're in the bank screen and retry if bankscreen is not found after you clicked?
    Sounds like a good idea. I've changed the colours and it seems to work better now. Thanks for the advice - I'll add this!

  4. #4
    Join Date
    Nov 2011
    Posts
    1,589
    Mentioned
    9 Post(s)
    Quoted
    17 Post(s)

    Default

    Easier uses
    Simba Code:
    OpenBankChest(SRL_Bank_SW);
    If BankScreen then
    that works much better its a pre made function



    ^^

  5. #5
    Join Date
    Nov 2011
    Posts
    1,532
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Mat View Post
    Easier uses
    Simba Code:
    OpenBankChest(SRL_Bank_SW);
    If BankScreen then
    that works much better its a pre made function
    To be even safer, you can even WaitFunc the bankscreen.

    Simba Code:
    OpenBankChest(SRL_Bank_SW);
    If WaitFunc(@BankScreen, 100, 2000) then

  6. #6
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default

    In my script I just rotate the compass south before I open sw bank.
    Quote Originally Posted by DeSnob View Post
    ETA's don't exist in SRL like they did in other communities. Want a faster update? Help out with updating, otherwise just gotta wait it out.

  7. #7
    Join Date
    Apr 2007
    Posts
    373
    Mentioned
    2 Post(s)
    Quoted
    24 Post(s)

    Default

    I don't know if this is happend to anyone else,
    but the function
    Code:
    Bankscreen
    is totally inaccurate for me.
    Instead I use
    Code:
    ExistsBankTab(1);
    ~Fre

  8. #8
    Join Date
    Oct 2007
    Location
    The deep web
    Posts
    2,496
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by weequ View Post
    In my script I just rotate the compass south before I open sw bank.
    I 'think' that Srl's SW bank chest procedure already has that built in!
    Did someone say GDK?

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
  •