L1nkZ/Bourgeon

plugin: sending unsupported packet

hurtsky opened this issue · 4 comments

the plugin that been test : autopot
how to reproduce :
let the monster hit you and autopot will keep feeding the pot, and suddenly the character disconnect after around 10-20 pots been used

[Warning]: clif_parse: Received unsupported packet (packet 0x730c, 8 bytes received), disconnecting session #3.
L1nkZ commented

Ah great, so we're one step further. If I remember well, this is due to a race condition in CRagConnection::SendPacket. I'll update the code to make this thread-safe.
Edit: Update pushed

nice update, but it still same for me
getting this warning in emulator, and disconnected

[Warning]: clif_parse: Received unsupported packet (packet 0x4e28, 8 bytes received), disconnecting session #3.
L1nkZ commented

A few moments later
@hurtsky I've reworked the code quite a bit and this should be fixed. I'll see if I (or you) can reproduce the bug, if not I'll close this issue.

L1nkZ commented

Did some testing, this bug seems to be fixed.