• Welcome to Valhalla Legends Archive.
 

What is W3GS packet flow for custom games?

Started by deadlock, June 09, 2012, 11:40 AM

Previous topic - Next topic

deadlock

Hello,

I am writing a chat bot. It should capture CHAT_FROM_HOST and CHAT_TO_HOST packets and display it along with the nickname. For this to work, I need to know the packet flow of warcraft because I find it hard to trace. For example, the CTH and CFH packets do not contain any information about the user except his player id. how can I get his nickname from his id? you may tell me get it from W3GS_PLAYERINFO. What I need to know, is what packets are sent first and what packets should I consider to get all the information I need?

RealityRipple

There's nothing hard to trace about it... The message ID is always the second byte, and seeing the flow from there should be a simple matter.