reactOnNPC v.2.0.2 by hakore

Other plugins for extending OpenKore's functionality. This forum is only for posting new plugins and commenting on existing plugins. For support, use the Support forum.

Moderator: Moderators

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

Re: reactOnNPC v.2.0.2 by hakore

#391 Post by zexeta »

Room 1

Code: Select all

[Aug 10 17:46:46 2017.94] An unexpected npc conversation has started, auto-creating a TalkNPC Task
[Aug 10 17:46:46 2017.94] Task::TalkNPC::new has been called with sequence ''.
[Aug 10 17:46:46 2017.95] Unknown #50017: [Sir Windsor]
[Aug 10 17:46:46 2017.95] Received packet: 00B4 Handler: npc_talk
[Aug 10 17:46:46 2017.95] Unknown #50017: ...
[Aug 10 17:46:46 2017.95] Received packet: 00B6 Handler: npc_talk_close
[Aug 10 17:46:46 2017.96] We received an strange 'npc_talk_done', ignoring it.
[Aug 10 17:46:46 2017.96] Talking was initiated by the other side and finished instantly
[Aug 10 17:46:47 2017.46] : Sending talk cancel after NPC has done talking
[Aug 10 17:46:47 2017.47] ================================================
>> Sent packet: 0146  [Talk Cancel] [6 bytes]   Aug 10 17:46:47 2017
  0>  46 01 00 00 00 00                                     F.....
[Aug 10 17:46:47 2017.47] Sent talk cancel: 
[Aug 10 17:46:47 2017.97] Task::TalkNPC::conversation_end called at ai npc_talk 'close'.
[Aug 10 17:46:47 2017.97] Done talking with .
[Aug 10 17:46:47 2017.98] : Task::TalkNPC::DESTROY was called
[Aug 10 17:46:47 2017.98] Target died
[Aug 10 17:46:48 2017.39] Picking up: Worm Peeling (0)
[Aug 10 17:46:48 2017.41] Planning to take Worm Peeling (0), distance 1
[Aug 10 17:46:48 2017.41] ================================================
>> Sent packet: 0361   [5 bytes]   Aug 10 17:46:48 2017
  0>  61 03 00 00 07                                        a....
[Aug 10 17:46:48 2017.41] Sent look: 7 0
[Aug 10 17:46:48 2017.41] ================================================
>> Sent packet: 0362   [6 bytes]   Aug 10 17:46:48 2017
  0>  62 03 4E 5A 00 00                                     b.NZ..
[Aug 10 17:46:48 2017.41] Sent take
[Aug 10 17:46:48 2017.43] Planning to take Worm Peeling (0), distance 1
[Aug 10 17:46:48 2017.44] Planning to take Worm Peeling (0), distance 1
[Aug 10 17:46:48 2017.45] Planning to take Worm Peeling (0), distance 1
[Aug 10 17:46:48 2017.47] Planning to take Worm Peeling (0), distance 1
[Aug 10 17:46:48 2017.49] Planning to take Worm Peeling (0), distance 1
[Aug 10 17:46:48 2017.50] Planning to take Worm Peeling (0), distance 1
[Aug 10 17:46:48 2017.51] Planning to take Worm Peeling (0), distance 1
[Aug 10 17:46:48 2017.53] Planning to take Worm Peeling (0), distance 1
[Aug 10 17:46:48 2017.55] Planning to take Worm Peeling (0), distance 1
[Aug 10 17:46:48 2017.57] Received packet: 00B0 Handler: stat_info
[Aug 10 17:46:48 2017.57] Stat: 5 => 1177
[Aug 10 17:46:48 2017.57] Planning to take Worm Peeling (0), distance 1
[Aug 10 17:46:48 2017.58] Planning to take Worm Peeling (0), distance 1
[Aug 10 17:46:48 2017.60] Planning to take Worm Peeling (0), distance 1
[Aug 10 17:46:48 2017.61] Planning to take Worm Peeling (0), distance 1
[Aug 10 17:46:48 2017.63] Planning to take Worm Peeling (0), distance 1
[Aug 10 17:46:48 2017.64] Planning to take Worm Peeling (0), distance 1
[Aug 10 17:46:48 2017.66] Planning to take Worm Peeling (0), distance 1
[Aug 10 17:46:48 2017.67] Planning to take Worm Peeling (0), distance 1
[Aug 10 17:46:48 2017.69] Planning to take Worm Peeling (0), distance 1
[Aug 10 17:46:48 2017.71] Received packet: 0A0C Handler: inventory_item_added
[Aug 10 17:46:48 2017.71] Item added to inventory: Worm Peeling (40) x 1 - Event
[Aug 10 17:46:48 2017.71] Received packet: 00B0 Handler: stat_info
[Aug 10 17:46:48 2017.71] Stat: 25 => 37600
[Aug 10 17:46:48 2017.71] Received packet: 00B0 Handler: stat_info
[Aug 10 17:46:48 2017.72] Stat: 24 => 16842
[Aug 10 17:46:48 2017.72] Received packet: 008A Handler: actor_action
[Aug 10 17:46:48 2017.72] You pick up Worm Peeling (0)
[Aug 10 17:46:48 2017.72] Received packet: 00A1 Handler: item_disappeared
[Aug 10 17:46:48 2017.72] Item Disappeared: Worm Peeling (0)
[Aug 10 17:46:48 2017.80] AI: items_take route | 2
[Aug 10 17:46:49 2017.80] Picking up: Worm Peeling (1)
[Aug 10 17:46:49 2017.81] Planning to take Worm Peeling (1), distance 1
[Aug 10 17:46:49 2017.81] ================================================
>> Sent packet: 0362   [6 bytes]   Aug 10 17:46:49 2017
  0>  62 03 40 5F 00 00                                     b.@_..
[Aug 10 17:46:49 2017.82] Sent take
[Aug 10 17:46:49 2017.83] Planning to take Worm Peeling (1), distance 1
[Aug 10 17:46:49 2017.85] Planning to take Worm Peeling (1), distance 1
[Aug 10 17:46:49 2017.86] Planning to take Worm Peeling (1), distance 1
[Aug 10 17:46:49 2017.87] Planning to take Worm Peeling (1), distance 1
[Aug 10 17:46:49 2017.89] Planning to take Worm Peeling (1), distance 1
[Aug 10 17:46:49 2017.90] Planning to take Worm Peeling (1), distance 1
[Aug 10 17:46:49 2017.92] Planning to take Worm Peeling (1), distance 1
[Aug 10 17:46:49 2017.93] Planning to take Worm Peeling (1), distance 1
[Aug 10 17:46:49 2017.95] Received packet: 0A0C Handler: inventory_item_added
[Aug 10 17:46:49 2017.95] Item added to inventory: Worm Peeling (40) x 1 - Event
[Aug 10 17:46:49 2017.96] Planning to take Worm Peeling (1), distance 1
[Aug 10 17:46:49 2017.97] Planning to take Worm Peeling (1), distance 1
[Aug 10 17:46:49 2017.98] Planning to take Worm Peeling (1), distance 1
[Aug 10 17:46:50 2017.36] Planning to take Worm Peeling (1), distance 1
[Aug 10 17:46:50 2017.22] Planning to take Worm Peeling (1), distance 1
[Aug 10 17:46:50 2017.36] Planning to take Worm Peeling (1), distance 1
[Aug 10 17:46:50 2017.51] Planning to take Worm Peeling (1), distance 1
[Aug 10 17:46:50 2017.65] Planning to take Worm Peeling (1), distance 1
[Aug 10 17:46:50 2017.82] Planning to take Worm Peeling (1), distance 1
[Aug 10 17:46:50 2017.96] Received packet: 00B0 Handler: stat_info
[Aug 10 17:46:50 2017.97] Stat: 25 => 37600
[Aug 10 17:46:50 2017.98] Received packet: 00B0 Handler: stat_info
[Aug 10 17:46:50 2017.99] Stat: 24 => 16852
[Aug 10 17:46:50 2017.10] Received packet: 008A Handler: actor_action
[Aug 10 17:46:50 2017.10] You pick up Worm Peeling (1)
[Aug 10 17:46:50 2017.10] Received packet: 00A1 Handler: item_disappeared
[Aug 10 17:46:50 2017.10] Item Disappeared: Worm Peeling (1)
[Aug 10 17:46:50 2017.81] AI: items_take route | 2
[Aug 10 17:46:51 2017.20] Picking up: Cobweb (2)
[Aug 10 17:46:51 2017.22] Planning to take Cobweb (2), distance 2
[Aug 10 17:46:51 2017.22] Move You - (re)trying
[Aug 10 17:46:51 2017.22] ================================================
>> Sent packet: 035F   [5 bytes]   Aug 10 17:46:51 2017
  0>  5F 03 0C 49 50                                        _..IP
[Aug 10 17:46:51 2017.22] Sent move to: 49, 149
[Aug 10 17:46:51 2017.73] Move You - (re)trying
[Aug 10 17:46:51 2017.73] ================================================
>> Sent packet: 035F   [5 bytes]   Aug 10 17:46:51 2017
  0>  5F 03 0C 49 50                                        _..IP
[Aug 10 17:46:51 2017.73] Sent move to: 49, 149
[Aug 10 17:46:52 2017.24] Move You - (re)trying
[Aug 10 17:46:52 2017.24] ================================================
>> Sent packet: 035F   [5 bytes]   Aug 10 17:46:52 2017
  0>  5F 03 0C 49 50                                        _..IP
[Aug 10 17:46:52 2017.24] Sent move to: 49, 149
[Aug 10 17:46:52 2017.55] Received packet: 0A27 Handler: hp_sp_changed
[Aug 10 17:46:52 2017.59] ================================================
<< Sent by RO client:    0360 [6 bytes]   Aug 10 17:46:52 2017
  0>  60 03 94 8A 04 09                                     `.....
[Aug 10 17:46:52 2017.60] Received packet: 0360 Handler: sync
[Aug 10 17:46:52 2017.60] ================================================
>> Sent packet: 0360   [6 bytes]   Aug 10 17:46:52 2017
  0>  60 03 94 8A 04 09                                     `.....
[Aug 10 17:46:52 2017.73] Received packet: 007F Handler: received_sync
[Aug 10 17:46:52 2017.73] Received Sync
[Aug 10 17:46:52 2017.73] Move You - timeout
[Aug 10 17:46:52 2017.73] You tried too long to move
[Aug 10 17:46:52 2017.75] Planning to take Cobweb (2), distance 2
[Aug 10 17:46:52 2017.75] Move You - (re)trying
[Aug 10 17:46:52 2017.75] ================================================
>> Sent packet: 035F   [5 bytes]   Aug 10 17:46:52 2017
  0>  5F 03 0C 49 50                                        _..IP
[Aug 10 17:46:52 2017.76] Sent move to: 49, 149
[Aug 10 17:46:52 2017.82] AI: move take items_take route | 4
[Aug 10 17:46:53 2017.27] Move You - (re)trying
[Aug 10 17:46:53 2017.27] ================================================
>> Sent packet: 035F   [5 bytes]   Aug 10 17:46:53 2017
  0>  5F 03 0C 49 50                                        _..IP
[Aug 10 17:46:53 2017.28] Sent move to: 49, 149
[Aug 10 17:46:53 2017.78] Move You - (re)trying
[Aug 10 17:46:53 2017.79] ================================================
>> Sent packet: 035F   [5 bytes]   Aug 10 17:46:53 2017
  0>  5F 03 0C 49 50                                        _..IP
[Aug 10 17:46:53 2017.79] Sent move to: 49, 149
[Aug 10 17:46:54 2017.45] Received packet: 00B0 Handler: stat_info
[Aug 10 17:46:54 2017.49] Stat: 7 => 80
[Aug 10 17:46:54 2017.26] Move You - timeout
[Aug 10 17:46:54 2017.26] You tried too long to move
[Aug 10 17:46:54 2017.28] Failed to take Cobweb (2) from (48, 149) to (50, 148)
[Aug 10 17:46:54 2017.28] Picking up: Worm Peeling (3)
[Aug 10 17:46:54 2017.29] Planning to take Worm Peeling (3), distance 1
[Aug 10 17:46:54 2017.29] ================================================
>> Sent packet: 0361   [5 bytes]   Aug 10 17:46:54 2017
  0>  61 03 00 00 06                                        a....
[Aug 10 17:46:54 2017.30] Sent look: 6 0
[Aug 10 17:46:54 2017.30] ================================================
>> Sent packet: 0362   [6 bytes]   Aug 10 17:46:54 2017
  0>  62 03 9E 59 00 00                                     b..Y..
[Aug 10 17:46:54 2017.30] Sent take
[Aug 10 17:46:54 2017.32] Planning to take Worm Peeling (3), distance 1
[Aug 10 17:46:54 2017.33] Planning to take Worm Peeling (3), distance 1
[Aug 10 17:46:54 2017.35] ================================================
<< Sent by RO client:    0146 [6 bytes]   Aug 10 17:46:54 2017
  0>  46 01 61 C3 00 00                                     F.a...
[Aug 10 17:46:54 2017.35] Received packet: 0146 Handler: npc_talk_cancel
[Aug 10 17:46:54 2017.35] ================================================
>> Sent packet: 0146  [Talk Cancel] [6 bytes]   Aug 10 17:46:54 2017
  0>  46 01 61 C3 00 00                                     F.a...
[Aug 10 17:46:54 2017.36] Planning to take Worm Peeling (3), distance 1
[Aug 10 17:46:54 2017.37] Planning to take Worm Peeling (3), distance 1
[Aug 10 17:46:54 2017.39] Planning to take Worm Peeling (3), distance 1
[Aug 10 17:46:54 2017.40] Planning to take Worm Peeling (3), distance 1
[Aug 10 17:46:54 2017.42] Planning to take Worm Peeling (3), distance 1
[Aug 10 17:46:54 2017.43] Planning to take Worm Peeling (3), distance 1
[Aug 10 17:46:54 2017.45] Received packet: 0A0C Handler: inventory_item_added
[Aug 10 17:46:54 2017.45] Item added to inventory: Worm Peeling (40) x 1 - Event
[Aug 10 17:46:54 2017.45] Planning to take Worm Peeling (3), distance 1
[Aug 10 17:46:54 2017.47] Planning to take Worm Peeling (3), distance 1
[Aug 10 17:46:54 2017.48] Received packet: 00B0 Handler: stat_info
[Aug 10 17:46:54 2017.48] Stat: 25 => 37600
[Aug 10 17:46:54 2017.48] Received packet: 00B0 Handler: stat_info
[Aug 10 17:46:54 2017.49] Stat: 24 => 16862
[Aug 10 17:46:54 2017.49] Received packet: 008A Handler: actor_action
[Aug 10 17:46:54 2017.49] You pick up Worm Peeling (3)
[Aug 10 17:46:54 2017.49] Received packet: 00A1 Handler: item_disappeared
[Aug 10 17:46:54 2017.49] Item Disappeared: Worm Peeling (3)
[Aug 10 17:46:54 2017.58] Received packet: 00B4 Handler: npc_talk
[Aug 10 17:46:54 2017.59] An unexpected npc conversation has started, auto-creating a TalkNPC Task
[Aug 10 17:46:54 2017.59] Task::TalkNPC::new has been called with sequence ''.
[Aug 10 17:46:54 2017.59] Unknown #50017: [Sir Windsor]
[Aug 10 17:46:54 2017.59] Received packet: 00B4 Handler: npc_talk
[Aug 10 17:46:54 2017.59] Unknown #50017: ...On to
[Aug 10 17:46:54 2017.59] Received packet: 00B4 Handler: npc_talk
[Aug 10 17:46:54 2017.59] Unknown #50017: the next level.
[Aug 10 17:46:54 2017.60] Received packet: 00B6 Handler: npc_talk_close
[Aug 10 17:46:54 2017.60] We received an strange 'npc_talk_done', ignoring it.
[Aug 10 17:46:54 2017.60] [reactOnNPC] Reacting to NPC. Executing command "talk no".
[Aug 10 17:46:54 2017.60] Task::TalkNPC::addSteps has been called with value 'n'.
[Aug 10 17:46:54 2017.60] Received packet: 00B0 Handler: stat_info
[Aug 10 17:46:54 2017.60] Stat: 5 => 1260
[Aug 10 17:46:54 2017.61] Talking was initiated by the other side and finished instantly
[Aug 10 17:46:54 2017.83] AI: NPC items_take route | 3
[Aug 10 17:46:55 2017.12] : Sending talk cancel after NPC has done talking
[Aug 10 17:46:55 2017.12] ================================================
>> Sent packet: 0146  [Talk Cancel] [6 bytes]   Aug 10 17:46:55 2017
  0>  46 01 00 00 00 00                                     F.....
[Aug 10 17:46:55 2017.12] Sent talk cancel: 
[Aug 10 17:46:55 2017.41] ================================================
<< Sent by RO client:    0146 [6 bytes]   Aug 10 17:46:55 2017
  0>  46 01 61 C3 00 00                                     F.a...
[Aug 10 17:46:55 2017.42] Received packet: 0146 Handler: npc_talk_cancel
[Aug 10 17:46:55 2017.42] ================================================
>> Sent packet: 0146  [Talk Cancel] [6 bytes]   Aug 10 17:46:55 2017
  0>  46 01 61 C3 00 00                                     F.a...
[Aug 10 17:46:55 2017.56] Received packet: 0091 Handler: map_change
[Aug 10 17:46:55 2017.57] Map Change: job_knt.gat (43, 52)
Room 2

Code: Select all

[Aug 10 17:47:51 2017.97] An unexpected npc conversation has started, auto-creating a TalkNPC Task
[Aug 10 17:47:51 2017.97] Task::TalkNPC::new has been called with sequence ''.
[Aug 10 17:47:51 2017.97] Unknown #50019: [Sir Windsor]
[Aug 10 17:47:51 2017.97] Received packet: 00B4 Handler: npc_talk
[Aug 10 17:47:51 2017.97] Unknown #50019: ...Hmm.
[Aug 10 17:47:51 2017.97] Received packet: 00B6 Handler: npc_talk_close
[Aug 10 17:47:51 2017.98] We received an strange 'npc_talk_done', ignoring it.
[Aug 10 17:47:51 2017.98] Talking was initiated by the other side and finished instantly
[Aug 10 17:47:52 2017.49] : Sending talk cancel after NPC has done talking
[Aug 10 17:47:52 2017.49] ================================================
>> Sent packet: 0146  [Talk Cancel] [6 bytes]   Aug 10 17:47:52 2017
  0>  46 01 00 00 00 00                                     F.....
[Aug 10 17:47:52 2017.50] Sent talk cancel: 
[Aug 10 17:47:53 2017.34] Task::TalkNPC::conversation_end called at ai npc_talk 'close'.
[Aug 10 17:47:53 2017.70] Done talking with .
[Aug 10 17:47:53 2017.93] : Task::TalkNPC::DESTROY was called
[Aug 10 17:47:53 2017.23] Move You - done
[Aug 10 17:47:53 2017.24] Route You - trimming down solution (4) by 1 steps
[Aug 10 17:47:53 2017.25] Route You - next step moving to (49, 64), index 2, 3 steps left
[Aug 10 17:47:53 2017.29] Move You - (re)trying
[Aug 10 17:47:53 2017.30] ================================================
>> Sent packet: 035F   [5 bytes]   Aug 10 17:47:53 2017
  0>  5F 03 0C 44 00                                        _..D.
[Aug 10 17:47:53 2017.33] Sent move to: 49, 64
[Aug 10 17:47:53 2017.53] Move You - (re)trying
[Aug 10 17:47:53 2017.53] ================================================
>> Sent packet: 035F   [5 bytes]   Aug 10 17:47:53 2017
  0>  5F 03 0C 44 00                                        _..D.
[Aug 10 17:47:53 2017.54] Sent move to: 49, 64
[Aug 10 17:47:53 2017.92] AI: route | 1
[Aug 10 17:47:54 2017.47] Move You - (re)trying
[Aug 10 17:47:54 2017.51] ================================================
>> Sent packet: 035F   [5 bytes]   Aug 10 17:47:54 2017
  0>  5F 03 0C 44 00                                        _..D.
[Aug 10 17:47:54 2017.54] Sent move to: 49, 64
[Aug 10 17:47:54 2017.47] Received packet: 00B0 Handler: stat_info
[Aug 10 17:47:54 2017.47] Stat: 5 => 1035
[Aug 10 17:47:54 2017.53] Move You - timeout
[Aug 10 17:47:54 2017.53] Route You - trimming down solution (3) by 0 steps
[Aug 10 17:47:54 2017.53] Route You - next step moving to (49, 64), index 2, 3 steps left
[Aug 10 17:47:54 2017.53] Move You - (re)trying
[Aug 10 17:47:54 2017.54] ================================================
>> Sent packet: 035F   [5 bytes]   Aug 10 17:47:54 2017
  0>  5F 03 0C 44 00                                        _..D.
[Aug 10 17:47:54 2017.54] Sent move to: 49, 64
[Aug 10 17:47:55 2017.45] Move You - (re)trying
[Aug 10 17:47:55 2017.51] ================================================
>> Sent packet: 035F   [5 bytes]   Aug 10 17:47:55 2017
  0>  5F 03 0C 44 00                                        _..D.
[Aug 10 17:47:55 2017.54] Sent move to: 49, 64
[Aug 10 17:47:55 2017.55] Move You - (re)trying
[Aug 10 17:47:55 2017.56] ================================================
>> Sent packet: 035F   [5 bytes]   Aug 10 17:47:55 2017
  0>  5F 03 0C 44 00                                        _..D.
[Aug 10 17:47:55 2017.56] Sent move to: 49, 64
[Aug 10 17:47:55 2017.63] ================================================
<< Sent by RO client:    0360 [6 bytes]   Aug 10 17:47:55 2017
  0>  60 03 CF 80 05 09                                     `.....
[Aug 10 17:47:55 2017.63] Received packet: 0360 Handler: sync
[Aug 10 17:47:55 2017.64] ================================================
>> Sent packet: 0360   [6 bytes]   Aug 10 17:47:55 2017
  0>  60 03 CF 80 05 09                                     `.....
[Aug 10 17:47:55 2017.79] Received packet: 007F Handler: received_sync
[Aug 10 17:47:55 2017.79] Received Sync
[Aug 10 17:47:55 2017.94] AI: route | 1
[Aug 10 17:47:56 2017.48] Move You - timeout
[Aug 10 17:47:56 2017.52] Route You - not moving, decreasing step size to 1
[Aug 10 17:47:56 2017.66] Move You - (re)trying
[Aug 10 17:47:56 2017.67] ================================================
>> Sent packet: 035F   [5 bytes]   Aug 10 17:47:56 2017
  0>  5F 03 0C 43 F0                                        _..C.
[Aug 10 17:47:56 2017.70] Sent move to: 49, 63
[Aug 10 17:47:56 2017.57] Move You - (re)trying
[Aug 10 17:47:56 2017.58] ================================================
>> Sent packet: 035F   [5 bytes]   Aug 10 17:47:56 2017
  0>  5F 03 0C 43 F0                                        _..C.
[Aug 10 17:47:56 2017.58] Sent move to: 49, 63
[Aug 10 17:47:57 2017.84] Move You - (re)trying
[Aug 10 17:47:57 2017.88] ================================================
>> Sent packet: 035F   [5 bytes]   Aug 10 17:47:57 2017
  0>  5F 03 0C 43 F0                                        _..C.
[Aug 10 17:47:57 2017.91] Sent move to: 49, 63
[Aug 10 17:47:57 2017.11] ================================================
<< Sent by RO client:    0146 [6 bytes]   Aug 10 17:47:57 2017
  0>  46 01 63 C3 00 00                                     F.c...
[Aug 10 17:47:57 2017.12] Received packet: 0146 Handler: npc_talk_cancel
[Aug 10 17:47:57 2017.12] ================================================
>> Sent packet: 0146  [Talk Cancel] [6 bytes]   Aug 10 17:47:57 2017
  0>  46 01 63 C3 00 00                                     F.c...
[Aug 10 17:47:57 2017.44] Received packet: 00B4 Handler: npc_talk
[Aug 10 17:47:57 2017.45] An unexpected npc conversation has started, auto-creating a TalkNPC Task
[Aug 10 17:47:57 2017.45] Task::TalkNPC::new has been called with sequence ''.
[Aug 10 17:47:57 2017.45] Unknown #50019: [Sir Windsor]
[Aug 10 17:47:57 2017.45] Received packet: 00B4 Handler: npc_talk
[Aug 10 17:47:57 2017.45] Unknown #50019: ...One stage left.
[Aug 10 17:47:57 2017.45] Received packet: 00B6 Handler: npc_talk_close
[Aug 10 17:47:57 2017.46] We received an strange 'npc_talk_done', ignoring it.
[Aug 10 17:47:57 2017.46] [reactOnNPC] Reacting to NPC. Executing command "talk no".
[Aug 10 17:47:57 2017.46] Task::TalkNPC::addSteps has been called with value 'n'.
[Aug 10 17:47:57 2017.47] Talking was initiated by the other side and finished instantly
[Aug 10 17:47:57 2017.94] AI: NPC route | 2
[Aug 10 17:47:57 2017.97] : Sending talk cancel after NPC has done talking
[Aug 10 17:47:57 2017.97] ================================================
>> Sent packet: 0146  [Talk Cancel] [6 bytes]   Aug 10 17:47:57 2017
  0>  46 01 00 00 00 00                                     F.....
[Aug 10 17:47:57 2017.98] Sent talk cancel: 
[Aug 10 17:47:58 2017.70] ================================================
<< Sent by RO client:    0146 [6 bytes]   Aug 10 17:47:58 2017
  0>  46 01 63 C3 00 00                                     F.c...
[Aug 10 17:47:58 2017.77] Received packet: 0146 Handler: npc_talk_cancel
[Aug 10 17:47:58 2017.78] ================================================
>> Sent packet: 0146  [Talk Cancel] [6 bytes]   Aug 10 17:47:58 2017
  0>  46 01 63 C3 00 00                                     F.c...
[Aug 10 17:47:58 2017.10] Received packet: 00B0 Handler: stat_info
[Aug 10 17:47:58 2017.11] Stat: 7 => 66
[Aug 10 17:47:58 2017.27] Received packet: 0091 Handler: map_change
Room 3

Code: Select all

[Aug 10 17:48:29 2017.12] An unexpected npc conversation has started, auto-creating a TalkNPC Task
[Aug 10 17:48:29 2017.12] Task::TalkNPC::new has been called with sequence ''.
[Aug 10 17:48:29 2017.12] Unknown #50021: [Sir Windsor]
[Aug 10 17:48:29 2017.13] Received packet: 00B4 Handler: npc_talk
[Aug 10 17:48:29 2017.13] Unknown #50021: ...
[Aug 10 17:48:29 2017.13] Received packet: 00B6 Handler: npc_talk_close
[Aug 10 17:48:29 2017.13] We received an strange 'npc_talk_done', ignoring it.
[Aug 10 17:48:29 2017.14] Talking was initiated by the other side and finished instantly
[Aug 10 17:48:29 2017.64] : Sending talk cancel after NPC has done talking
[Aug 10 17:48:29 2017.65] ================================================
>> Sent packet: 0146  [Talk Cancel] [6 bytes]   Aug 10 17:48:29 2017
  0>  46 01 00 00 00 00                                     F.....
[Aug 10 17:48:29 2017.65] Sent talk cancel: 
[Aug 10 17:48:30 2017.15] Task::TalkNPC::conversation_end called at ai npc_talk 'close'.
[Aug 10 17:48:30 2017.16] Done talking with .
[Aug 10 17:48:30 2017.16] : Task::TalkNPC::DESTROY was called
[Aug 10 17:48:30 2017.16] Picking up: Scell (0)
[Aug 10 17:48:30 2017.17] Received packet: 00B0 Handler: stat_info
[Aug 10 17:48:30 2017.17] Stat: 7 => 59
[Aug 10 17:48:30 2017.17] Planning to take Scell (0), distance 1
[Aug 10 17:48:30 2017.18] ================================================
>> Sent packet: 0362   [6 bytes]   Aug 10 17:48:30 2017
  0>  62 03 96 7D 00 00                                     b..}..
[Aug 10 17:48:30 2017.18] Sent take
[Aug 10 17:48:30 2017.20] Planning to take Scell (0), distance 1
[Aug 10 17:48:30 2017.21] Planning to take Scell (0), distance 1
[Aug 10 17:48:30 2017.22] Planning to take Scell (0), distance 1
[Aug 10 17:48:30 2017.24] Planning to take Scell (0), distance 1
[Aug 10 17:48:30 2017.25] Planning to take Scell (0), distance 1
[Aug 10 17:48:30 2017.27] Planning to take Scell (0), distance 1
[Aug 10 17:48:30 2017.28] Planning to take Scell (0), distance 1
[Aug 10 17:48:30 2017.30] Planning to take Scell (0), distance 1
[Aug 10 17:48:30 2017.31] Planning to take Scell (0), distance 1
[Aug 10 17:48:30 2017.33] Received packet: 0A0C Handler: inventory_item_added
[Aug 10 17:48:30 2017.33] Item added to inventory: Scell (24) x 1 - Event
[Aug 10 17:48:30 2017.33] Planning to take Scell (0), distance 1
[Aug 10 17:48:30 2017.35] Planning to take Scell (0), distance 1
[Aug 10 17:48:30 2017.37] Planning to take Scell (0), distance 1
[Aug 10 17:48:30 2017.38] Planning to take Scell (0), distance 1
[Aug 10 17:48:30 2017.40] Planning to take Scell (0), distance 1
[Aug 10 17:48:30 2017.41] Planning to take Scell (0), distance 1
[Aug 10 17:48:30 2017.42] Planning to take Scell (0), distance 1
[Aug 10 17:48:30 2017.44] Planning to take Scell (0), distance 1
[Aug 10 17:48:30 2017.46] Planning to take Scell (0), distance 1
[Aug 10 17:48:30 2017.47] Planning to take Scell (0), distance 1
[Aug 10 17:48:30 2017.49] Received packet: 00B0 Handler: stat_info
[Aug 10 17:48:30 2017.49] Stat: 25 => 37600
[Aug 10 17:48:30 2017.49] Received packet: 00B0 Handler: stat_info
[Aug 10 17:48:30 2017.49] Stat: 24 => 16392
[Aug 10 17:48:30 2017.49] Received packet: 008A Handler: actor_action
[Aug 10 17:48:30 2017.49] You pick up Scell (0)
[Aug 10 17:48:30 2017.50] Received packet: 00A1 Handler: item_disappeared
[Aug 10 17:48:30 2017.50] Item Disappeared: Scell (0)
[Aug 10 17:48:30 2017.50] AI: items_take route | 2
[Aug 10 17:48:31 2017.13] ================================================
<< Sent by RO client:    0146 [6 bytes]   Aug 10 17:48:31 2017
  0>  46 01 65 C3 00 00                                     F.e...
[Aug 10 17:48:31 2017.14] Received packet: 0146 Handler: npc_talk_cancel
[Aug 10 17:48:31 2017.14] ================================================
>> Sent packet: 0146  [Talk Cancel] [6 bytes]   Aug 10 17:48:31 2017
  0>  46 01 65 C3 00 00                                     F.e...
[Aug 10 17:48:31 2017.45] Received packet: 00B4 Handler: npc_talk
[Aug 10 17:48:31 2017.45] An unexpected npc conversation has started, auto-creating a TalkNPC Task
[Aug 10 17:48:31 2017.45] Task::TalkNPC::new has been called with sequence ''.
[Aug 10 17:48:31 2017.45] Unknown #50021: [Sir Windsor]
[Aug 10 17:48:31 2017.46] Received packet: 00B4 Handler: npc_talk
[Aug 10 17:48:31 2017.46] Unknown #50021: ...Very good.
[Aug 10 17:48:31 2017.46] Received packet: 00B6 Handler: npc_talk_close
[Aug 10 17:48:31 2017.46] We received an strange 'npc_talk_done', ignoring it.
[Aug 10 17:48:31 2017.46] Talking was initiated by the other side and finished instantly
[Aug 10 17:48:31 2017.94] ================================================
<< Sent by RO client:    0146 [6 bytes]   Aug 10 17:48:31 2017
  0>  46 01 65 C3 00 00                                     F.e...
[Aug 10 17:48:31 2017.95] Received packet: 0146 Handler: npc_talk_cancel
[Aug 10 17:48:31 2017.95] ================================================
>> Sent packet: 0146  [Talk Cancel] [6 bytes]   Aug 10 17:48:31 2017
  0>  46 01 65 C3 00 00                                     F.e...
[Aug 10 17:48:31 2017.97] : Sending talk cancel after NPC has done talking
[Aug 10 17:48:31 2017.97] ================================================
>> Sent packet: 0146  [Talk Cancel] [6 bytes]   Aug 10 17:48:31 2017
  0>  46 01 00 00 00 00                                     F.....
[Aug 10 17:48:31 2017.97] Sent talk cancel: 
[Aug 10 17:48:32 2017.25] Received packet: 00B4 Handler: npc_talk
[Aug 10 17:48:32 2017.25] Unknown #50021: [Sir Windsor]
[Aug 10 17:48:32 2017.26] Received packet: 00B4 Handler: npc_talk
[Aug 10 17:48:32 2017.26] Unknown #50021: ...Go talk to
[Aug 10 17:48:32 2017.26] Received packet: 00B4 Handler: npc_talk
[Aug 10 17:48:32 2017.26] Unknown #50021: Amy Beatrice now.
[Aug 10 17:48:32 2017.26] Received packet: 00B6 Handler: npc_talk_close
[Aug 10 17:48:32 2017.26] We received an strange 'npc_talk_done', ignoring it.
[Aug 10 17:48:32 2017.27] [reactOnNPC] Reacting to NPC. Executing command "talk no".
[Aug 10 17:48:32 2017.27] Task::TalkNPC::addSteps has been called with value 'n'.
[Aug 10 17:48:32 2017.27] Received packet: 0A27 Handler: hp_sp_changed
[Aug 10 17:48:32 2017.29] Wiped old
[Aug 10 17:48:32 2017.51] AI: NPC items_take route | 3
[Aug 10 17:48:32 2017.75] ================================================
<< Sent by RO client:    0146 [6 bytes]   Aug 10 17:48:32 2017
  0>  46 01 65 C3 00 00                                     F.e...
[Aug 10 17:48:32 2017.76] Received packet: 0146 Handler: npc_talk_cancel
[Aug 10 17:48:32 2017.76] ================================================
>> Sent packet: 0146  [Talk Cancel] [6 bytes]   Aug 10 17:48:32 2017
  0>  46 01 65 C3 00 00                                     F.e...
[Aug 10 17:48:32 2017.76] Task::TalkNPC::conversation_end called at ai npc_talk 'close'.
[Aug 10 17:48:32 2017.76] Done talking with .
[Aug 10 17:48:32 2017.76] : Task::TalkNPC::DESTROY was called
[Aug 10 17:48:32 2017.78] Route You Solution Ready!
[Aug 10 17:48:32 2017.78] Route You - next step moving to (128, 152), index 15, 30 steps left
[Aug 10 17:48:32 2017.78] Move You - (re)trying
[Aug 10 17:48:32 2017.78] ================================================
>> Sent packet: 035F   [5 bytes]   Aug 10 17:48:32 2017
  0>  5F 03 20 09 80                                        _. ..
[Aug 10 17:48:32 2017.78] Sent move to: 128, 152
[Aug 10 17:48:32 2017.90] Received packet: 0229 Handler: character_status
[Aug 10 17:48:33 2017.47] Received packet: 0092 Handler: map_changed

hakore
Super Moderators
Super Moderators
Posts: 214
Joined: 16 May 2008, 08:28
Noob?: No
Contact:

Re: reactOnNPC v.2.0.2 by hakore

#392 Post by hakore »

With this log, the reactOnNPC block is triggering as intended. The conditions are now correct.

However, I'm sure you noticed the RO client is sending a packet dissimilar to the packet being sent when you use the "talk no" command.

Use this instead for all three reactOnNPC blocks:

Code: Select all

reactOnNPC eval $messageSender->sendTalkCancel(pack("V", @eval($reactOnNPC{ID}))) {
Please note that I wrote this on the fly and have no means to test it. Please try this and get back to me if there are still problems.

Edit:
Change "a4" to "V"
Whatever...

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

Re: reactOnNPC v.2.0.2 by hakore

#393 Post by zexeta »

hakore wrote:With this log, the reactOnNPC block is triggering as intended. The conditions are now correct.

However, I'm sure you noticed the RO client is sending a packet dissimilar to the packet being sent when you use the "talk no" command.

Use this instead for all three reactOnNPC blocks:

Code: Select all

reactOnNPC eval $messageSender->sendTalkCancel(pack("V", @eval($reactOnNPC{ID}))) {
Please note that I wrote this on the fly and have no means to test it. Please try this and get back to me if there are still problems.

Edit:
Change "a4" to "V"
I feel like this is still wrong. From what i understand this will trigger n basically click close 3 times total. Close has to be clicked twice in the first room, Twice in the 2nd room and then 3 times in the 3rd room. How is this going to cover all 7 clicks?

1st room:

Unknown #50017: [Sir Windsor]
Unknown #50017: ...
CLICK CLOSE

Unknown #50017: [Sir Windsor]
Unknown #50017: ...On to
Unknown #50017: the next level.
CLICK CLOSE - then get ported to next room

2nd room:
Unknown #50019: [Sir Windsor]
Unknown #50019: ...Hmm.
CLICK CLOSE

Unknown #50019: [Sir Windsor]
Unknown #50019: ...One stage left.
CLICK CLOSE - then get ported to next room

3rd room:
Unknown #50021: [Sir Windsor]
Unknown #50021: ...
CLICK CLOSE

Unknown #50021: [Sir Windsor]
Unknown #50021: ...Very good.
CLICK CLOSE

Unknown #50021: [Sir Windsor]
Unknown #50021: ...Go talk to
Unknown #50021: Amy Beatrice now.
CLICK CLOSE - then get ported back to prt_in

hakore
Super Moderators
Super Moderators
Posts: 214
Joined: 16 May 2008, 08:28
Noob?: No
Contact:

Re: reactOnNPC v.2.0.2 by hakore

#394 Post by hakore »

Ok, I was assuming that only the last conversation per room matters. Then you need 7 blocks.

Can you already configure the 7 reactOnNPC blocks based on the examples?
Whatever...

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

Re: reactOnNPC v.2.0.2 by hakore

#395 Post by zexeta »

I will be testing this soon.

#Room1#
reactOnNPC eval $messageSender->sendTalkCancel(pack("V", @eval($reactOnNPC{ID}))) {
type close
msg_0 [Sir Windsor]
msg_1 /.*/
inMap job_knt
}
reactOnNPC eval $messageSender->sendTalkCancel(pack("V", @eval($reactOnNPC{ID}))) {
type close
msg_0 [Sir Windsor]
msg_1 /.*/
msg_2 the next level.
inMap job_knt
}
#Room2#
reactOnNPC eval $messageSender->sendTalkCancel(pack("V", @eval($reactOnNPC{ID}))) {
type close
msg_0 [Sir Windsor]
msg_1 /.*/
inMap job_knt
}
reactOnNPC eval $messageSender->sendTalkCancel(pack("V", @eval($reactOnNPC{ID}))) {
type close
msg_0 [Sir Windsor]
msg_1 ...One stage left.
inMap job_knt
}
#Room3#
reactOnNPC eval $messageSender->sendTalkCancel(pack("V", @eval($reactOnNPC{ID}))) {
type close
msg_0 [Sir Windsor]
msg_1 /.*/
inMap job_knt
}
reactOnNPC eval $messageSender->sendTalkCancel(pack("V", @eval($reactOnNPC{ID}))) {
type close
msg_0 [Sir Windsor]
msg_1 ...Very good.
inMap job_knt
}
reactOnNPC eval $messageSender->sendTalkCancel(pack("V", @eval($reactOnNPC{ID}))) {
type close
msg_0 [Sir Windsor]
msg_1 /.*/
msg_2 Amy Beatrice now.
inMap job_knt
}





I am curious since the only NPC you talk to is this guy in that map couldn't you do a very sloppy version like this and it would cover all of them?

reactOnNPC eval $messageSender->sendTalkCancel(pack("V", @eval($reactOnNPC{ID}))) {
type close
inMap job_knt
}

hakore
Super Moderators
Super Moderators
Posts: 214
Joined: 16 May 2008, 08:28
Noob?: No
Contact:

Re: reactOnNPC v.2.0.2 by hakore

#396 Post by hakore »

If you use only the "msg_0 [Sir Windsor]" and remove "msg_1" and "msg_2", it would work on all conversations that begins with "[Sir Windsor]". So a single block can be used.

Adding msg_1 and msg_2 conditions would make it more specific in case there are other "[Sir Windsor]" conversations that you don't want to react to.

Note, in your posted code, the first block already does this, given that "msg_1 /.*/" would match any text (see regexp references on the web). In effect, the rest of the reactOnNPC blocks would likely never trigger. If you put that code on a test, it would surely attempt to close all 7 conversations, including other "Sir Windsor" conversations in job_knt map, using only the first block.

The last block you posted without any msg_* conditions may also work since reacting a correct sendTalkCancel to a closed conversation is likely safe to do anytime. Please put it to the test.

(Note again that using eval $messageSender->etc. is only a workaround at the moment since there is an apparent bug in the "talk no" command as we've seen here. Soon, "talk no" command will be fixed)
Whatever...

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

Re: reactOnNPC v.2.0.2 by hakore

#397 Post by zexeta »

I tested it and it works great. Thanks for all the help its awesome finally having this work and not having to login every swordie to change it lol.

I have another question. I saw you helped someone with a react block for the portal trap GMs setup. You gave them this:

reactOnNPC talk resp 0 {
type responses
msg_0 Do you want to move?
inMap
}

Will this actually work or will it need to be altered in some way to work around this bug as well? I know you mentioned the bug was based around the talk no command but id like to be safe with this considering how many portals they are pulling this crap on these days.

hakore
Super Moderators
Super Moderators
Posts: 214
Joined: 16 May 2008, 08:28
Noob?: No
Contact:

Re: reactOnNPC v.2.0.2 by hakore

#398 Post by hakore »

First off, please update to latest Openkore on gitHub. There has been a fix committed regarding NPC talk, and our workaround regarding Sir Windsor may not be needed anymore, since openkore is set to automatically send a talk close packet. Please test it without the reactOnNPC block and see if what works better - with or without it.

RE: Portal Trap

Theoretically, it should work, for as long as the conversation text and the responses remain the same.

It can be modified to this to become an inch more intelligent:

Code: Select all

reactOnNPC talk resp @resp(/Yes/) {
	type responses
	msg_0 /Do\s+you\s+want\s+to\s+move\?/
	inMap
}
It needs further adjustments should the GMs decide to change the question.

Also, I meant to say theoretically because I have no way to test. Please do the favor.
Whatever...

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

Re: reactOnNPC v.2.0.2 by hakore

#399 Post by zexeta »

hakore wrote:First off, please update to latest Openkore on gitHub. There has been a fix committed regarding NPC talk, and our workaround regarding Sir Windsor may not be needed anymore, since openkore is set to automatically send a talk close packet. Please test it without the reactOnNPC block and see if what works better - with or without it.

RE: Portal Trap

Theoretically, it should work, for as long as the conversation text and the responses remain the same.

It can be modified to this to become an inch more intelligent:

Code: Select all

reactOnNPC talk resp @resp(/Yes/) {
	type responses
	msg_0 /Do\s+you\s+want\s+to\s+move\?/
	inMap
}
It needs further adjustments should the GMs decide to change the question.

Also, I meant to say theoretically because I have no way to test. Please do the favor.
The better option to counter what the GMs are doing is a filter that works in the opposite way. Instead of filtering what it activates on filtering what it doesn't activate on. Meaning you could set Tool Dealer, Kafra and any transport npcs to not trigger it and then when some npc randomly pops up and then regardless of what they set the name/id of the npc conversation it could trigger and handle it.

I just put my set of swordies through today, next set i will test one with what you suggested for you.

hakore
Super Moderators
Super Moderators
Posts: 214
Joined: 16 May 2008, 08:28
Noob?: No
Contact:

Re: reactOnNPC v.2.0.2 by hakore

#400 Post by hakore »

It's not impossible that an NPC conversation like this would pop up:

Code: Select all

Unknown#12345: [Tool Dealer]
Unknown#12345: Do you want to stay?
.. which is the reverse of responding "Yes"

Thing is, you can't really have a single config that can catch everything. The bot should be monitored and reshaped as regularly as the server changes.
Whatever...

Post Reply