The best way to send chat messages is to make the server do everything for you. Use its BuildPacket and AddPacketToQueue functions, note there are two functions that add a packet to the queue.. One is for the global queue and the other is for a player specific queue. I haven't ported my addresses for CE yet, but you can have a look at the PC 1.09 server and find a byte signatures if you want to use this code. http://pastebin.com/vstchJP4
edit: here's the disassembly this is based on, it's the server's chat processing code (again, for pc). http://pastebin.com/6hejBPZb
Bookmarks