Describe the bug
I don't think our server reads the chat packet correctly. If you set chat to "Off" and then send a message, the chat status is set to "Hide" and packet 32 is sent immediately after the chat packet. This seems to break incoming packets.
I have used an old version of the client to rule out my recent packet changes from being the cause
To Reproduce
Steps to reproduce the behaviour:
- Log into game
- Send a message
- Everything will continue working OK
- Set chat status to "Off"
- Send another message
- All packets afterwards will be read incorrectly by the server
Expected behavior
Both packets (75 and 32) should be read correctly
Additional context
Describe the bug
I don't think our server reads the chat packet correctly. If you set chat to "Off" and then send a message, the chat status is set to "Hide" and packet 32 is sent immediately after the chat packet. This seems to break incoming packets.
I have used an old version of the client to rule out my recent packet changes from being the cause
To Reproduce
Steps to reproduce the behaviour:
Expected behavior
Both packets (75 and 32) should be read correctly
Additional context
chat.packetuses a length of-3, this is possibly wrong because the client sends a byte indicating the length, so-1might be more suitable