World of Warcraft Programming: A Guide and Reference for Creating WoW Addons

Front Cover
John Wiley & Sons, Mar 31, 2011 - Computers - 1440 pages
The #1 bestselling programming book is back with updated and expanded coverage of the newest release of WoW!

World of Warcraft (WoW) is currently the world's largest massively multiplayer online role-playing game. The newest release, "Wrath of the Lich King," has created a demand for updated information on writing addons. This eagerly anticipated edition answers that request and is an essential reference for creating WoW addons.

Written by a duo of authors who have each contributed a number of successful WoW addons, the book offers an overview of Lua and XML (the programming languages used to write addons) and includes coverage of specific pitfalls and common programming mistakes-and how to avoid them. Valuable examples show you detailed aspects of writing addons for WoW and demonstrate how to implement addon concepts such as variables, slash commands, secure templates, and more.

  • World of Warcraft insiders share their techniques for writing addons for both the latest version of WoW as well as the new Wrath of the Lich King expansion set
  • Guides you through the specific nuances of the WoW API with the use of detailed examples
  • Discusses ways to distribute and host your WoW addons so others can download and use them
  • Explains how to respond to events, create frames, and use the WoW API to interact with the game

You'll be well on your way to creating exciting WoW addons with this comprehensive reference by your side.

Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.

 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

Programming for World of Warcraft
Exploring Lua Basics
BasicFunctionsand Control Structures
Working withTables Storing DataUsing Tables Using Tablesas Arrays Using Tables as Namespaces
Advanced Functions andControl Structures
Learning XML
SavingTime
Anatomy ofan Addon
Responding to the Combat Log and Threat
Chapter
The Code
Chapter
Summary
Chapter
The Code
Chapter

Working withFrames Widgetsand Other Graphical
Summary
Exploringthe WorldofWarcraftAPI
Tracking Damage with CombatTracker
Advanced Addon Techniques
Binding Keysand Clicksto Addon Code
Creating Slash Commands
Responding to Graphic Updates with OnUpdate
Altering Existing Behavior with FunctionHooking
Creating Custom Graphics
CreatingUnit Frames with Group Templates
APIReference
Widget Reference Widget Types
Events Reference
Best Practices
Utilizing AddonLibraries
Tracking History UsingVersion Control Systems
Addon Author Resources
Copyright

Other editions - View all

Common terms and phrases

About the author (2011)

James Whitehead II, aka Cladhaire, is the creator of PerfectRaid, Clique, TomTom, and LightHeaded, and coauthor of Hacking World of Warcraft.

Rick Roe, aka the crazy goblin tinker Gazmik Fizzwidget, created Feed-O-Matic, FactionFriend, and some other addons so awesome that Blizzard rolled their functionality into its new UI.

Bibliographic information