Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved Dismiss NPC!

Joined
Jan 7, 2017
Messages
12
When there appears an NPC to Dismiss and the bot banks (what a timing), the bot tries to dismiss by moving the mouse in my bank and does nothing.
 
Joined
Jan 7, 2017
Messages
12
I think it would be nice if it close the bank and dismiss the npc, that is how a human reaction will be. Instead of moving the cursor in my bank to an item what I'm not botting and trying to dismiss.
 
Last edited:
Mod Automation
Joined
Jul 26, 2013
Messages
3,044
In your personal opinion, should it close the bank or just ignore the Npc?
@Party tagging you for discussion
Ignore. The NPC does not affect what the user is trying to do and is likely not even visible to the user. It would be bot-like for us to react to something a user wouldn't even know.
 
Client Developer
Joined
Oct 12, 2015
Messages
3,760
In your personal opinion, should it close the bank or just ignore the Npc?
@Party tagging you for discussion

Should either:
A. Close bank and dismiss
B. Ignore NPC completely and continue with bot logic.

B is preferable, legitimate players do not close their bank just to dismiss an NPC and the handler should really be considering this, because waiting for the bot to logout isn't really acceptable. Checking for Bank.isOpen() after checking for the NPC would add no unnecessary overhead.
 
Joined
Jan 7, 2017
Messages
12
Should either:
A. Close bank and dismiss
B. Ignore NPC completely and continue with bot logic.

B is preferable, legitimate players do not close their bank just to dismiss an NPC and the handler should really be considering this, because waiting for the bot to logout isn't really acceptable. Checking for Bank.isOpen() after checking for the NPC would add no unnecessary overhead.

Yes, B is the most sensible.
I saw the NPC it didn't dismiss it just banked and stuck tries to dismiss. So it would be better if it banks, takes the item that is need and then tries to dismiss npc.
If this is possible to write, it would be awesome.
 
Joined
Dec 10, 2014
Messages
3,255
Should either:
A. Close bank and dismiss
B. Ignore NPC completely and continue with bot logic.

B is preferable, legitimate players do not close their bank just to dismiss an NPC and the handler should really be considering this, because waiting for the bot to logout isn't really acceptable. Checking for Bank.isOpen() after checking for the NPC would add no unnecessary overhead.
After or before? I think Bank.isOpen() is more lightweight than an Npc query.
 
Client Developer
Joined
Oct 12, 2015
Messages
3,760
After or before? I think Bank.isOpen() is more lightweight than an Npc query.

If the query is before we'd be making both calls every iteration other than when the bank is open, which can't be more than 5% of the time.

Having it after means we'd only be making the one call every iteration until the NPC was found.
 
Joined
Dec 10, 2014
Messages
3,255
If the query is before we'd be making both calls every iteration other than when the bank is open, which can't be more than 5% of the time.

Having it after means we'd only be making the one call every iteration until the NPC was found.
Hmmm, frequency vs expensiveness, didn't think of it that way xD
 
Top