Send packet to close chat window macro

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

Message
Author
zexeta
Plain Yogurt
Plain Yogurt
Posts: 54
Joined: 11 Jul 2017, 00:49
Noob?: No

Send packet to close chat window macro

#1 Post by zexeta »

I am having trouble getting the chat windows to close during the knight job change quest. I tried the reactonnpc plugin and it doesn't seem to close the window properly for some reason. I ran debug and did the quest with xkore open(me manually clicking to close the chat boxes) and this is what i got from it:

Code: Select all

[Aug 9 04:23:46 2017.14] An unexpected npc conversation has started, auto-creating a TalkNPC Task
[Aug 9 04:23:46 2017.67] Task::TalkNPC::new has been called with sequence ''.
[Aug 9 04:23:46 2017.12] Unknown #50020: [Sir Windsor]
[Aug 9 04:23:46 2017.19] Unknown #50020: ...
[Aug 9 04:23:46 2017.26] We received an strange 'npc_talk_done', ignoring it.
[Aug 9 04:23:46 2017.32] [reactOnNPC] Reacting to NPC. Executing command "talk no".
[Aug 9 04:23:46 2017.38] Task::TalkNPC::addSteps has been called with value 'n'.
[Aug 9 04:23:46 2017.43] Talking was initiated by the other side and finished instantly
[Aug 9 04:23:46 2017.99] : Sending talk cancel after NPC has done talking
[Aug 9 04:23:47 2017.51] Sent packet    : 0146    [ 6 bytes]  [Talk Cancel]
[Aug 9 04:23:47 2017.50] Task::TalkNPC::conversation_end called at ai npc_talk 'close'.
[Aug 9 04:23:47 2017.56] Done talking with .
[Aug 9 04:23:47 2017.61] : Task::TalkNPC::DESTROY was called
[Aug 9 04:23:47 2017.66] Target died
[Aug 9 04:23:48 2017.14] Picking up: Red Herb (0)
[Aug 9 04:23:48 2017.20] Planning to take Red Herb (0), distance 1
[Aug 9 04:23:48 2017.26] Sent packet    : 0361    [ 5 bytes]  
[Aug 9 04:23:48 2017.33] Sent packet    : 0362    [ 6 bytes]  
[Aug 9 04:23:48 2017.41] Planning to take Red Herb (0), distance 1
[Aug 9 04:23:48 2017.50] Planning to take Red Herb (0), distance 1
[Aug 9 04:23:48 2017.56] Item added to inventory: Red Herb (13) x 1 - Usable Heal
[Aug 9 04:23:48 2017.61] Planning to take Red Herb (0), distance 1
[Aug 9 04:23:48 2017.68] You pick up Red Herb (0)
[Aug 9 04:23:48 2017.74] Item Disappeared: Red Herb (0)
[Aug 9 04:23:49 2017.10] << Sent by RO client:    0146 [ 6 bytes]
[Aug 9 04:23:49 2017.59] Sent packet    : 0146    [ 6 bytes]  [Talk Cancel]
[Aug 9 04:23:49 2017.41] An unexpected npc conversation has started, auto-creating a TalkNPC Task
[Aug 9 04:23:49 2017.47] Task::TalkNPC::new has been called with sequence ''.
[Aug 9 04:23:49 2017.54] Unknown #50020: [Sir Windsor]
[Aug 9 04:23:49 2017.62] Unknown #50020: ...Very good.
[Aug 9 04:23:49 2017.67] We received an strange 'npc_talk_done', ignoring it.
[Aug 9 04:23:49 2017.73] [reactOnNPC] Reacting to NPC. Executing command "talk no".
[Aug 9 04:23:49 2017.79] Task::TalkNPC::addSteps has been called with value 'n'.
[Aug 9 04:23:49 2017.84] Talking was initiated by the other side and finished instantly
[Aug 9 04:23:50 2017.40] : Sending talk cancel after NPC has done talking
[Aug 9 04:23:50 2017.47] Sent packet    : 0146    [ 6 bytes]  [Talk Cancel]
[Aug 9 04:23:50 2017.54] << Sent by RO client:    0360 [ 6 bytes]
[Aug 9 04:23:50 2017.60] Sent packet    : 0360    [ 6 bytes]  
[Aug 9 04:23:50 2017.67] << Sent by RO client:    0146 [ 6 bytes]
[Aug 9 04:23:50 2017.72] Sent packet    : 0146    [ 6 bytes]  [Talk Cancel]
[Aug 9 04:23:50 2017.91] Task::TalkNPC::conversation_end called at ai npc_talk 'close'.
[Aug 9 04:23:50 2017.97] Done talking with .
[Aug 9 04:23:51 2017.27] : Task::TalkNPC::DESTROY was called
[Aug 9 04:23:51 2017.10] An unexpected npc conversation has started, auto-creating a TalkNPC Task
[Aug 9 04:23:51 2017.16] Task::TalkNPC::new has been called with sequence ''.
[Aug 9 04:23:51 2017.22] Unknown #50020: [Sir Windsor]
[Aug 9 04:23:51 2017.27] Unknown #50020: ...Go talk to
[Aug 9 04:23:51 2017.33] Unknown #50020: Amy Beatrice now.
[Aug 9 04:23:51 2017.39] We received an strange 'npc_talk_done', ignoring it.
[Aug 9 04:23:51 2017.46] [reactOnNPC] Reacting to NPC. Executing command "talk no".
[Aug 9 04:23:51 2017.51] Task::TalkNPC::addSteps has been called with value 'n'.
[Aug 9 04:23:51 2017.58] Talking was initiated by the other side and finished instantly
[Aug 9 04:23:52 2017.13] : Sending talk cancel after NPC has done talking
[Aug 9 04:23:52 2017.19] Sent packet    : 0146    [ 6 bytes]  [Talk Cancel]
[Aug 9 04:23:52 2017.29] << Sent by RO client:    0146 [ 6 bytes]
[Aug 9 04:23:52 2017.36] Sent packet    : 0146    [ 6 bytes]  [Talk Cancel]
[Aug 9 04:23:52 2017.64] Task::TalkNPC::conversation_end called at ai npc_talk 'close'.
[Aug 9 04:23:52 2017.70] Done talking with .
[Aug 9 04:23:52 2017.75] : Task::TalkNPC::DESTROY was called
automacro closechat {
console /Unknown #50020: .../
run-once 1
call {
do send 01 46
}
}

automacro closechat2 {
console /Amy Beatrice now/
run-once 1
call {
do send 01 46
}
}

This is what i'm probably going to try. Does anyone have any experience with packet sending macros that could help with this?

EDIT yeah that just disconnects me immediately lol.

c4c1n6kr3m1
The Way Of Human
The Way Of Human
Posts: 150
Joined: 24 Mar 2012, 04:13
Noob?: Yes

Re: Send packet to close chat window macro

#2 Post by c4c1n6kr3m1 »

you need to close chat window from client
chat pop up is part of client program, not only packet
cmiiw

zexeta
Plain Yogurt
Plain Yogurt
Posts: 54
Joined: 11 Jul 2017, 00:49
Noob?: No

Re: Send packet to close chat window macro

#3 Post by zexeta »

There has to be some way to set the bot up to do this. I have everything else automated except this one part.

Post Reply