Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: deadlock on June 09, 2012, 11:40 AM

Title: What is W3GS packet flow for custom games?
Post by: deadlock on June 09, 2012, 11:40 AM
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?
Title: Re: What is W3GS packet flow for custom games?
Post by: RealityRipple on June 09, 2012, 05:59 PM
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.