Abstract
Our poker addon is almost finished. The last part that remains is the client that connects to a server and displays the actual game. Remember that the whole game logic is already in the server; the client only needs to display the data it receives from the server. But how can we send data from one player who runs a given server to another player who wants to play on that server? World of Warcraft provides what it calls addon messages, which are basically just invisible chat messages. You can send such a message to other players through the raid, party, battleground, guild, and whisper channels. WoW fires the event CHAT_MSG_ADDON every time it receives such an addon message.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2009 Paul Emmerich
About this chapter
Cite this chapter
(2009). Building a Poker Game Client with Addon Communication. In: Beginning Lua with World of Warcraft Add-ons. Apress. https://doi.org/10.1007/978-1-4302-2372-6_8
Download citation
DOI: https://doi.org/10.1007/978-1-4302-2372-6_8
Publisher Name: Apress
Print ISBN: 978-1-4302-2371-9
Online ISBN: 978-1-4302-2372-6
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books