Skip to main content

Building a Poker Game Client with Addon Communication

  • Chapter
Beginning Lua with World of Warcraft Add-ons
  • 648 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints 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

Publish with us

Policies and ethics