does anyone know how the chat packet (the one to send a message, there is another one which working fine to read out what other people write) is built up?
I want to send a chat message via packets but the client crashes all the time..
I sent 4 messages (manually ingame) and looked in the phAnalyzer, the result:
PHP Code:
(7025) 010102006869
(7025) 01020300616263
(7025) 010302006869
(7025) 01040300616263
2. Message: "abc"
3. Message: "hi"
4. Message: "abc"
So, the first byte, I think, is the chat-type (normal chat, private, guild...). The second is like a counter which increase after each message. 0200/0300 length (2/3 chars) and the last is the message (6869 = hi)
But when I am trying to send it via a packet the client just crashes (all other packets are working fine)
So, does anyone know what I am doing wrong?
BTW, it's ZSZC Server






