openkore icon indicating copy to clipboard operation
openkore copied to clipboard

"Packet Parser: Unknown switch" for sent packages, when using "XKore 1" + sync.txt

Open ya4ept opened this issue 5 years ago • 3 comments

  • Openkore version git: last
  • Server: rRO / euRO
  • Bug Report:

my sync.txt:

...
0934 095E
...

console log:

================================================
<< Sent by RO client:    095E [2 bytes]   Oct 14 02:12:33 2020
  0>  5E 09                                                 ^.
Packet Parser: Unknown switch: 095E
================================================
<< Received packet:      0934 [2 bytes]   Oct 14 02:12:33 2020
  0>  34 09                                                 4.

We should automatically add sync.txt packages to the appropriate send serverType ($self->{packet_list})

ya4ept avatar Oct 14 '20 23:10 ya4ept

https://github.com/OpenKore/openkore/blob/cea96de5d4b4961981c5e8b42c299e729f44bcae/src/Network/Receive.pm#L4205 🤔 🤔 🤔 🤔

sctnightcore avatar Oct 18 '20 16:10 sctnightcore

Xkore 1 is a little confuse It send the packet to openkore, openkore handle and can edit the packet, then send again to xkore and xkore send to server

alisonrag avatar Oct 18 '20 17:10 alisonrag

https://github.com/OpenKore/openkore/blob/cea96de5d4b4961981c5e8b42c299e729f44bcae/src/Network/Receive.pm#L4205

🤔 🤔 🤔 🤔

these are incoming packets. My bot swears at packets outgoing from the client

ya4ept avatar Oct 18 '20 23:10 ya4ept