Page 1 of 1

[Solved]Macro to close popup chat box?

Posted: 20 Jul 2017, 19:59
by zexeta
During the knight job change you get ported to a room filled with monsters and once you kill them all an NPC conversation box pops up where you have to click close twice which then ports you to the next map. This happens twice then the 3rd room requires close 3 times. I can't seem to get the bot to close this window though.

automacro knightquizafterkilling {
console /[Sir Windsor]/
location job_knt
call {
do talk no
do talk no
do talk no
}
timeout 10
}

This typically works when talking to NPCs but the bot doesn't even seem to detect a conversation is the problem. Here is the console log of the last room.

[Jul 20 18:46:32 2017.52] You have gained 301/190 (0.21%/0.32%) Exp
[Jul 20 18:46:32 2017.52] Unknown #50016: [Sir Windsor]
[Jul 20 18:46:32 2017.52] Unknown #50016: ...
[Jul 20 18:46:34 2017.93] Unknown #50016: [Sir Windsor]
[Jul 20 18:46:34 2017.97] Unknown #50016: ...Very good.
[Jul 20 18:46:35 2017.66] Unknown #50016: [Sir Windsor]
[Jul 20 18:46:35 2017.66] Unknown #50016: ...Go talk to
[Jul 20 18:46:35 2017.66] Unknown #50016: Amy Beatrice now.

Re: Macro to close popup chat box?

Posted: 20 Jul 2017, 22:09
by hakore
reactOnNPC plugin should fare better when dealing with NPC conversations since it can detect the correct timing when to respond to the conversation.

http://forums.openkore.com/viewtopic.ph ... &start=370