Post any questions or concerns you have with the physical book, or the information contained therein . This is the place for any bug reports or errata. We would also appreciate any opinions about what topics you did or didn't like and what you would like to see in future editions of the book.
Subject | Last Post |
---|---|
Still worth buying posted by hawkleaf
Hi everyone,
I was simply wondering if it's still worth buying this book seeing that there have been a few expansions to world of warcraft. Is it worth buying these books and which one do i start with, the first or second edition? I'm not new to p...
|
2015/10/05 08:48:56 by tartarusspawn |
World of Warcraft Programming - Third Edition? posted by Freydis88
Hi,
since Cataclysm is about to come out, I am wondering if you are planning to publish a third edition of "World of Warcraft Programming" soon. Please do let me know as soon as possible.
I believe the many changes, that have been made since th...
|
2015/10/05 08:47:21 by tartarusspawn |
Document Type posted by paco swiss
The text editor on my Mac saves files as a Rich Text Format (RTF) and my addons do not work in this format. What format should I save them as?
|
2014/12/26 10:39:51 by jnwhiteh |
Chapter 14. CombatTracker updated for Patch 6.0.2 posted by rosto
I found two changes that will make CombatTracker work in WoW 6.0.2 (tested on PTR client).
1. All `CombatTrackerFrameText:SetText` calls should be replaced by `CombatTrackerFrame_Text:SetText`
2. `GetNumPartyMembers()` function used i...
|
2014/10/13 00:14:51 by rosto |
[HELP] Addon only works after /reload posted by deltoide
Hello friends WowProgramming,
I have an addon that is with a small and simple problem, it works normally, but every time I open WoW and go into the game I need to give the command /reload for the addon to work, otherwise it is loaded but not work...
|
2014/08/01 00:49:12 by deltoide |
version compability posted by mcgreeny
I am currently playing on a private server patch 2.4.3
I have been looking through the website to determine which patch version the first book was written for but cant find anything.
From what i understand revision 2 of the book is made with wotl...
|
2014/06/18 17:36:04 by mcgreeny |
Chapter 11 Errata (Second Edition) posted by xela98
The code changes listed in the Errata for Chapter 11, Page 198, appear to contain code from Chapter 12 i.e. "local nameFilter = BagBuddy.input:GetText():lower()" and "if BagBuddy.qualityFilter then shown = shown and BagBuddy.filters:GetChecked() end"...
|
2014/05/19 08:57:56 by lolcheapgold |
Forgive my Noobness and Programming infancy posted by uitat
ok in this i am attempting to make the frame out of the Guild Bank Halves, yep i succeeded
the problem is now that i cant move it at all
i am really frustrated here and could use all the help possible, i have delved into the book to find all of thi...
|
2013/11/22 08:27:49 by mmwork |
Registering Clicks for Close Button posted by kappamus
Hello,
In the section "Creating a Close Button Using Templates" in Chapter 12, pg's 213-214 should there be code to register for the OnClick event? I checked the inherited frame but couldn't see anything. Related to this, how would the button ...
|
2013/11/22 08:27:17 by mmwork |
"Hey there" not working posted by virulenta
Hello there!
I just started with the second edition of the book and tried to run the Hey There add-on. The add-on is enabled (though I get a "out of date" message next to the name). In the game, I type /hey and get a message encouraging me to type...
|
2013/09/30 08:20:43 by asunsoft |
Typo on ch11, p196 posted by zachhoefler
On page 196, the Discerning Eye of the Beast link is level 45, but the text says it's "shown scaled to level 40". Probably the most minor typo ever, but I don't see it in the errata.
Also, I just wanted to say thanks for writing such an awesome bo...
|
2013/09/28 06:52:18 by jnwhiteh |
Chapter 10 question and typos posted by virulenta
In Chapter 10 page 172:
â¨
should it be Button1?
Chapter 10, page 176: "The pushed and highlight textures inherit the size and the placement of the normal texture, because the game just changes the image file being displayed." I ...
|
2013/09/10 00:58:34 by hehling01 |
OnLoad with no XML posted by virulenta
The book uses OnLoad script to get some actions done when the addon is loaded. In my project I'm using just Lua, no XML, and can't find in the book an alternative to do the same actions without OnLoad (as it only works with XML). Hope this helps as f...
|
2013/05/08 22:18:09 by virulenta |
WoW Offline Interpreter for Mac, How to download? posted by masterricky
I've downloaded the .zip file onto my iMac, and extracted it. According to the first addition, I simply double click the disk image, and copy the Lua interpreter onto my mac, preferably into the Applications folder. Well, I don't see the interpreter....
|
2013/04/30 04:50:25 by jnwhiteh |
BagBuddy not working posted by virulenta
I have finished chapter 12 and have been trying out the code at each step. But now that is finished, I cannot see the items from the start.
When I start the game, I can see the window with the items slots highlighted but empty. The filter orbs are...
|
2013/04/18 16:40:23 by jnwhiteh |
Chapter 8: example typos posted by virulenta
On page 148 (second edition):
I think the Anchors tag is missing an "s" when being opened both times. And whe...
|
2013/04/15 16:34:15 by jnwhiteh |
Chapter 7: link out of date posted by virulenta
In the second edition, chapter 7: "Blizzard has provided us with a tool to extract the XML files that comprise the default user interface. To extract it, you must download the User Interface Customization tool from http://www.worldofwarcraft.com/ui."...
|
2013/04/14 14:26:40 by jnwhiteh |
String format Wow option posted by virulenta
I'm afraid this is a noobie question (or it might be because I'm confused because of my experience with other programming languages). In the example:
print(string.format(â%2$d, %1$d, %dâ, 13, 17))
I can't understand why it prints 17, 13, 17...
|
2013/04/13 14:10:07 by jnwhiteh |
I adore your work! posted by frodzet
Greetings wowprogramming.com.
So i purchased your book approximately two weeks ago, and i have managed to create my own AddOn. However my memory is still abit fussy about all these control structures, functions, etc but i'm getting better for ever...
|
2013/03/19 19:23:22 by frodzet |
Difficulty saving text files in chapter 1 as .lua and .toc posted by lighter
I started chapter 1, saving the text document in the wow addon folders as .lua and .toc. I also put all the text the book says in the document, and I was wondering, am I supposed to put in a tab or space before the next line of text or do I just not ...
|
2013/01/27 08:36:28 by jnwhiteh |
Help understanding targetting system posted by hagge
Hello,
could someone of you guys explain the targetting system please?
Is there a special priority or range how units are targetet when using /targetenemy or /targetenemyplayer ("tab")?
Is there just a "counter", whitch is counting the range u...
|
2013/01/02 11:41:31 by hagge |
Book Relevancy posted by vbfischer
Getting into programming wow addons. I'm a fairly experienced developer and LUA seems pretty easy.
I noticed the 2nd edition book is a bit old, but I suspect that a majority of the content is still relevant. Is this true?
|
2012/11/25 19:43:49 by jnwhiteh |
my addon dont show posted by naptor
hi i have just maked my addon
end Author : Naptor
-- Create Date : 8/10/2009 6:42:18 PM
function helloWorldFrame_OnLoad()
frame:RegisterEvent ("PLAYER_TARGET_CHANGED");
end
function hell...
|
2012/10/16 09:42:50 by dymyy |
Im a noob posted by mikehearn
so I am a complete newcomer to programming. I tried learning python via a wiki but got bored as i was not doing anything interactive. so I saw this book and thought I would give it a go. so Im already stuck in the first chapter (like I said Im a noob...
|
2012/09/17 06:21:48 by jnwhiteh |
Cataclysm Use posted by groobie
###### Cataclysm Use
Hello! I am interested in purchasing the WoW Programming book, but I have a concern about it potentially being out of date. I was wondering if the information in the book will still be relevant to addon programming in Catacl...
|
2012/01/18 09:38:10 by jnwhiteh |
Ch 26 unit frames not displaying posted by ryaan
Ok after playing with this forever I gave in and downloaded the source off this site
but I have the same problem.... no text or anything shows up in the unit square and is not movable... all you get is the empty box... This to me seems to have to d...
|
2012/01/04 20:06:41 by jnwhiteh |
Help with Ch.22 Scrolling Frames posted by ryaan
Ok for MacroIconTest I keep getting an error about GetNumMacroIcons being nil. I been researching some and it seems to be because of 4.3 and some changes made. I see posts all over about addons being fixed due to GetNumMacroIcons nil error but no d...
|
2012/01/02 01:12:04 by jnwhiteh |
SquareUnitFrames problem posted by cnygamer
Hi all.
I can't get SquareUnitFrames to work. I typed in the code from the book by hand and when I ran WoW with it (note: I deactivated all other 3rd-party add-ons while I was testing it) it just created an immovable square in the center of my scr...
|
2011/12/19 10:45:23 by jnwhiteh |
About the book posted by charblaze
So I'm looking into buying this book. It looks really good. but I have a question.
First off I've done programming in Java and VB as well as very little C. Don't know anything about LUA.
Is the book still good to date? We're now in cata and it ...
|
2011/09/03 19:12:48 by jnwhiteh |
Errata Chapter 21 - Format of GUIDs posted by skyskewz
I don't know if the GUID format has changed or if it was just a typo but
in
function GUIDToType(guid)
local typeMask = 0x00F
local upper = tonumber(guid:sub(1, 5))
local type = bit.band(upper, typeMask)
...
|
2011/07/16 09:37:23 by jimmy1988 |
My fav Addon do not updating posted by unlite
Hi Guys :)
English isnt my language but i will try it that you understand me :P
Today is my first day i updating a external spell lock addon on patch 4.1.0 ( or try :P ) and it will not working, always a empty frame =(.
I'm reading on some o...
|
2011/05/31 06:54:21 by yuan |
Adobe Digital Editions/iPad posted by protasm
Hello,
I purchased a digital copy of the second edition on Scribd; so, I can read the book off-line on my laptop using Adobe Digital Editions (free download). I would appreciate hearing from anybody who has figured out a way to view Adobe Digital...
|
2011/04/08 23:45:16 by jnwhiteh |
Chapter 4, OO Programming With Tables (Second Ed.) posted by erdem
Hi there is an example in Chapter 4 _Defining Basic Arithmetic Using ..._ subtitle.
tbl1 = {"alpha", "beta", "gamma"}
tbl2 = {"delta", "epsilon", "zeta"}
tbl3 = {}
mt = {}
setmetatable(tbl1, mt)
setme...
|
2011/02/18 23:09:49 by erdem |
region:SetPoint() parameters posted by cortello
I see that the Book's second edition, as well as this site, shows the parameters of the SetPoint method to be
region:SetPoint("point" )
i.e. parameters can be omitted only from the right. The first edition had instead
region:SetPoint("po...
|
2011/01/30 21:27:27 by jnwhiteh |
Here's why you need to go electronic posted by justsaying
I couldn't find an electronic copy of the book, so I'm not going to buy it.
I wanted to give you money, but due to no electronic copy being (legally) available, I now won't. I won't obtain an illegal copy either. Instead I'll just have to preten...
|
2011/01/29 11:30:55 by jnwhiteh |
Electronic copy of book posted by motley
Hi. First off great book. I have the second edition. Is there an electronic copy of the book that book owners can obtain? Like a PDF version? During lunch at my day job, I'd like to read, but the book is pretty large in size to take back and fou...
|
2011/01/27 17:55:16 by motley |
VARIABLES_LOADED posted by kvex
Hello,
I've written an addon to switch between talents, and came across something interesting. When triggering on `PLAYER_TALENT_UPDATE`, `PLAYER_ENTERING_WORLD`, and `VARIABLES_LOADED`, and displaying the talent distributions on each event, here ...
|
2011/01/23 00:11:59 by jnwhiteh |
Problems with Chapter 15: TargetTextBuffs plugin posted by techweenie
I have been trying to get the TargetTextBuffs plugin to work, but there seems to be some recent changes to the API and I'm not sure how to resolve one of them.
UnitBuff() now appears to report a buffType similar to UnitDebuff(). I solved that error b...
|
2011/01/03 11:32:12 by jnwhiteh |
Cast a spell using script ? posted by GTT
I tryied /script CastSpellByName("Mind Flay") for example, but says it has been blocked by blizzard...
There is somehow to cast a spell with script ?
Tnx
|
2011/01/03 11:30:52 by jnwhiteh |
Errata - Second Edition (Page 276) posted by oxylectrix
Hi there,
I think I have noticed a small error in the Second Edition book, Chapter 14, Page 276.
In the "CombatTracker_OnEvent" function...
When setting the ``total_time`` variable the line states the following -
``total_time = math.min``...
|
2011/01/03 11:08:38 by jnwhiteh |
Chapter 2, Page 16 posted by ValcanoMan
Hello! I have recently purchased the book and so far I understand how to do most of it. For the next section however im stumped on.. Where it gives you the (http://wowprogramming.com/utils/lua/windows "download") the Lua Interpreter for windows, im g...
|
2010/12/31 06:06:03 by ValcanoMan |
Errata in the Errata - Chapter 13 posted by Melle
So that my first post doesn't come off as a complaint, I love your book. I started reading another that was supposed to be "simpler" but yours is so easy to follow and the flow is very logical and almost like taking a class (which is great for me!)
...
|
2010/12/15 10:57:44 by fljaweiu |
4.0.3a item link data posted by Rebligarbune
I'm working through the book on live server 4.0.3a and I ran into a little issue. I'm running the BagBuddy_Update function manually. And I added a couple of print statements to help me troubleshoot. This is what caught my attention, Eternal Belt Buc...
|
2010/11/27 11:21:46 by jnwhiteh |
[API] GetNumGuildMembers() 4.x change posted by Myrroddin
Just had this pointed out to me, that on WoW patch 4.x the correct syntax is
`numTotalGuildMembers,numOnlineGuildMembers = GetNumGuildMembers()`
Returns
- numTotalGuildMembers - integer or 0 if not in a guild
- numOnlineGuildMembers - integ...
|
2010/11/25 09:51:05 by jnwhiteh |
Eratta for your eratta posted by Cayenne
"Using Solid colors" is on page 158 but the eratta says it's at 143 (the beginning of the chapter.)
|
2010/11/16 17:33:11 by Cayenne |
Typo - Second Edition (Page 297) posted by oxylectrix
This is probably an obvious typo to readers, but I thought I'd mention it nonetheless.
######In Chapter 15, at the top of Page 297 the line reads as follows...
"For the last attribute, the prefix is `shift`, the root attribute is `spell` and th...
|
2010/11/13 17:08:50 by jnwhiteh |
strtrim posted by RedBan
Hi i`m new here
i have a question about "strtrim"
in the reference there is example:
http://wowprogramming.com/docs/api/strtrim
1) strtrim("121abc456", "615")
2) -- Returns "21abc4"
after some test, just to be sure
the "tr...
|
2010/11/04 09:45:54 by jnwhiteh |
Current version posted by dolthaic
Hi Gang,
Is this version of the book current with the patch? Is it current enough to avoid a ton of errors in the examples and lessons?
Lastly, I'm most interested to pick this up so I can do things like change my keys for spells to activate onp...
|
2010/11/02 08:05:13 by ojausghe |
Errors: 2nd Edition posted by Tirin
Chapter 10
------------------
In the code blocks explaining how to use frame templates, the "Button2" button is written as anchoring to itself. I believe it should anchor to "Button1".
As written on p. 172:
...
|
2010/10/20 06:39:32 by edncjas |
BagBuddy example posted by JohnnyEmdeJensen
Hello
I am new to wow programming, but have about 3 decades inspirence in programming.
I followed the bagbuddy in the 2nd edition book. I locate some paths to some graphics like: Interface\\Icons\\INV_Misc_EngGizmos_30 at the top of the .lua fil...
|
2010/10/14 05:14:49 by uwrefbtv |
Get slot number and container number via GameTooltip posted by /null
I have a GameTooltip for some item in the backpack. I need to get information about number of the slot and number of the container for that item via GameTooltip.
I looked Widget API reference for more than five times, but could not find the solution...
|
2010/10/13 05:49:59 by ogdfjhpa |
Question about OO method call posted by Velasco
Hello there,
I want to master the challenge of coding addons for WoW, although I am fairly new to coding in general.
I got myself a copy of the second edition of your book. So far I understood the most things (still have to flip back and forth a ...
|
2010/10/05 09:02:07 by liuyterwqhpo |
Create Title Region posted by Jon252
Hi OK I have bought the book and worked through some of the examples and seem to get on OK apart from some spelling issues on my part. I like to create my frames using XML rather than LUA and I want my frame to be draggable and resizable too first qu...
|
2010/09/29 07:20:49 by quywedo |
Need help with an error posted by dknight
I am new to programming so i need all the help I can get.
I am writting the addon in the book called CombatTracker. Nothing shows on the screen when I log on. All I have written so far is the first portion of the xml. Whenn opening the xlm document ...
|
2010/09/16 03:35:34 by dknight |
eBook Format posted by netskink
Hello
I have a copy of the first and second edition. I would also like to get a eBook copy. I have a nook and an android. Is there a ePub or pdf version of this book available? I saw that there is an edition for Kindle, but that will not work ...
|
2010/08/19 11:13:35 by jnwhiteh |
Some MacOSX suggestions posted by Begryphon
### Creating and editing documents
If you are creating and editing documents using TextEdit.app, convert the documents to ".txt" files by choosing the "Format" menubar item and the "Make Plain Text" choice. When you save the file, you can put the ...
|
2010/07/26 13:46:08 by jnwhiteh |
p132 of 2nd ed: Where is UI.xsd? posted by Begryphon
Page 132 of the 2nd edition says the current UI.xsd is located at
http://wowprogramming.com/FrameXML/UI.xsd
I don't think it is there. Where is it?
|
2010/07/24 22:35:35 by jnwhiteh |
Errata 2nd ed, 1st printing page 168-169 posted by Begryphon
The listing for BagBuddy.xml is missing the code for the OVERLAY level. The download of the code contains it.
|
2010/07/23 08:32:52 by jnwhiteh |
Errata (2nd Ed./1st Print) Page 103 posted by Kurec
The line ``s = "from=world, to=Lua"`` causes the interpreter to return
to , Lua
from, world,
rather than what the book says it returns. To mend this, change ``s = "from=world, to=Lua"`` to ``s = "from=world to=Lua"``.
|
2010/07/23 07:55:00 by jnwhiteh |
[Newbie Programmer] Chapter 6 posted by Kurec
_Firstly, I apologize for my ignorance in these questions, but these are the first areas in this book that make absolutely no sense to me._
I may be overthinking something, but I don't particularly understand what "captures" are in terms of this c...
|
2010/07/22 22:16:06 by Kurec |
Errata, p97, 2ed, 1st printing posted by Begryphon
Table 6-2, line 6
string.format("%x",13) returns "d" not "D"
|
2010/07/22 19:33:36 by jnwhiteh |
Files for input to Mac OSX Lua interpreter posted by Begryphon
I'm working on page 71 of the second edition. I would like to be able to type files in textEdit and run them in the Lua interpreter. How do I do that?
|
2010/07/21 17:53:56 by Begryphon |
Chapter 17, page 345 posted by galvin
local operators = {
= function(a, b)
return a + b
end,
= function(a ,b)
return a - b
end,
= function(a ,b)
return a * b
end,
= function(a, b)
...
|
2010/07/04 21:48:15 by galvin |
BagBuddy posted by frazeebd
So, I bought the book recently and have been doing BagBuddy. I was away from home for a few days, so I wasn't able to test anything, but was following along with the book and writing all my code in notepad. Got home today and tried to load my addon...
|
2010/07/02 23:40:59 by jnwhiteh |
Chapter 16, page 326 posted by galvin
I have a question and getting a bug
This code I don't really understand the BindingTestCaptureFrame.button = self. I dont see any "button" frame or variable defined in the xml
function BindingTestButton_OnClick(self, button)
if but...
|
2010/06/28 16:35:27 by galvin |
Chaper 16, page 319 posted by galvin
For the life of me I can't figure why this mod is not showing up in the addons list when I log in. I must be missing something.
BindingTest.toc
## Interface: 30300
## Title: Key Bindings Test
## Notes: Demonstrates the usage of ...
|
2010/06/28 07:55:02 by jnwhiteh |
Part 1 HeyThere addon posted by xp46290
hey everyone need a little advice. Just bought the second edition of the book and need a little bit of advice already. I am brand new to programming. I've seen it but i've never typed or written any code. I've been playing wow for a few months after ...
|
2010/06/14 19:19:03 by jnwhiteh |
Chapter 15 page 296 posted by galvin
This part has me confused.
/run SABTest:SetAttribute("type", "spell")
/run SABTest:SetAttribute("spell", "Lesser Heal")
/run SABTest:SetAttribute("unit", "player")
/run SABTest:SetAttribute("shift-type1", "spell")
/run...
|
2010/06/13 22:57:53 by jnwhiteh |
Chapter 15 page 301 a complex action button posted by galvin
It doesn't like what I should type in for the button code. I think the book is assuming I know what to make. Heres the following code and it doesn't work.
...
|
2010/06/10 17:42:51 by jnwhiteh |
Chapter 15 page 299 doesn't work posted by galvin
/run TargetFrame:SetAttribute('item', "Heavy Frostweave Bandage")
/run TargetFrame:SetAttribute('shift-type*', 'item')
/run TargetFrame:SetAttribute('ctrl-type*', 'item')
/run TargetFrame:SetAttribute('alt-type*', 'item')
When I try using...
|
2010/06/10 05:44:44 by galvin |
CombatTracker 2nd Edition posted by Question1
Well, I've been working on CombatTracker lately, and it doesn't work. I've done everything I could come up with, including checking again and again, but it doesn't work.
So I decided to check the online version, but there isn't one for the 2nd e...
|
2010/06/07 21:21:32 by jnwhiteh |
CombatTracker chaper 14. damage done returns 0 posted by galvin
I found out why. Every time unit is equal to "player". action is always equal to "HEAL" so the following if statement never passes: if unit == "player" and action ~= "HEAL".
Did this testing on the target dummies.
What changes do I need to make...
|
2010/06/07 14:07:39 by jnwhiteh |
BagBuddy posted by Question1
I have written Bagbuddy from the book, 2nd version. It is completely the same as the downloadable version for chapter 12 here, which works fine, yet mine won't show. He gives me an error when I give a slashcommand, yet there is not a single differenc...
|
2010/06/02 11:34:50 by Question1 |
Saving .lua and .toc issues posted by Elodazar
I figured it out
EDIT by jnwhiteh (original post):
Hey,
First off I use a mac and have been using the TextEdit program to write the addon with. I'm trying to do the first example in the book (HeyThere) and I'm having issues with it being rec...
|
2010/05/31 09:40:41 by jnwhiteh |
Order the book in Sweden? posted by Avos
Hello.
I live in Sweden and I really want this book so I can learn to create addons for WoW.
(the World of Warcraft Addon Programming book; first one)
The problem is that I've tried to buy this book at like 4 different swedish websites and eve...
|
2010/05/27 21:54:13 by jnwhiteh |
question on BagBuddy line posted by Vardelm
Hi All. I'm new here, and this is my first post. I just started going through the 2nd edition of WoW Programming, and having fun so far! I have 1 question regarding a line of code in BagBuddy, from page 198. Here's the code:
-- If found, gra...
|
2010/05/09 21:23:24 by jnwhiteh |
Error in Chapter 13, Second edition posted by Kentigern
On page 248 in the Writing a New Sorting Function the array of item times should be BagBuddy_ItemTimes, not BagBuddy.itemTimes
|
2010/04/17 03:52:19 by Omnius |
download for SquareUnitFrames posted by pquimo
I have purchased the second edition, and am loving it. I have long wanted to write my own unitframe addon, and I think the SquareUnitFrames is a great place to start. I'm hoping you can post the source that is published in the book so I can download...
|
2010/04/16 21:15:52 by pquimo |
Possible error in 2nd ed, BagBuddy item search loop posted by Omnius
I was wondering why I was seeing one of my bags show up in the list of items and I found that the inner loop needs to start at 1, not 0:
for slot = 1, GetContainerNumSlots(bag) do
Now I'm just wondering why it considers some White items to be...
|
2010/04/16 15:07:30 by Omnius |
Addon Studio install problem posted by bsoverns
I keep trying to install the addon studio, but I keep getting the following:
"Microsoft Visual Studio Shell Isolated Edition
Cannot find one or more components. Please reinstall Addon Studio for World of Warcraft."
Is this a know issue and ...
|
2010/03/16 19:54:16 by bsoverns |
Webpage not quite fixed yet posted by DunsfordMage
(http://wowprogramming.com/chapters/second-edition/ "Second edition")
Title at the top
Chapters (**first** edition)
|
2010/03/07 16:19:43 by DunsfordMage |
Error for itemTimes after Chapter 13 posted by TronDemon
Hi,
I just completed Chapter 13 - Responding to Game Events on the new 2nd edition book "Programming in World of Warcraft". However, whenever I attempt to run my updated BagBuddy it throws the following error:
Message: Interface\AddOns\Bag...
|
2010/03/06 18:21:07 by TronDemon |
Possible error chapter 9, pg 158 posted by justme
On page 158 of the book there is an example for creating a red square. The code in the book
has the Color tag as a child of the Layer tag which doesn't seem to work. The FrameXML.log gives the error:
"Unknown child node in Layer element: Color".
...
|
2010/03/06 00:26:49 by jnwhiteh |
Question about second edition posted by nuttyprot
I have the first world of warcraft programming book and am wondering what are the differences between this and the second edition? Is it just code updates or is there more tutorials and exsamples to learn of.
|
2010/03/05 15:52:43 by DunsfordMage |
Problem with BagBuddy filters posted by Kentigern
I had a great deal of trouble in chapter 12 of the second edition getting the filter buttons to work. In the end I worked it out and it was because I had heirloom items in my bags. These are quality 7 and out of bounds for Bag Buddy. Since I have ...
|
2010/02/26 09:44:12 by jnwhiteh |
Part 1 HeyThere Addon posted by Kinoto
Alright...I am kind of confused. Maybe I am doing this wrong...but anyways. The addon HeyThere does not seem to work correctly. Whenever I target someone and type /Hey or /Heythere, it works correctly with the output of Hello Mobname, but whenever I ...
|
2010/02/14 19:55:31 by Kinoto |
How to use the WowLua addon? posted by LoreT
Hi,
I've recently bought the World of Warcraft Programming book and installed the Wowlua addon. However I am quiet puzzled on how to use this addon.
I understand that it allows me to write files in game, but where exactly are these files stored...
|
2010/01/24 22:36:02 by jnwhiteh |
Chapter 7: XML related nits posted by BruceK
Although I had no problems groking the text of the "Example Schema Definition" section on pg 103 but I think it has a couple small errors.
First off, it looks like the first line of the XML got split after "xs:schema". Based on the text below the...
|
2010/01/08 16:37:32 by BruceK |
CancelAuction posted by Andy_0709
hi,
i got a big problem!
the last month my addon worked perfectly, but now the same thing isnt working any more.
my problem:
**** example 1: (not working)
for h=1, GetNumAuctionItems("owner") do
if(select(1, GetAuctionItemInfo("owner", ...
|
2010/01/05 20:30:21 by jnwhiteh |
Typo in Appendix C Errata page posted by BruceK
While going thru the current errata pages I saw in the Appendix C one "Page 943" but that should be "Page 948"
|
2010/01/04 05:10:48 by BruceK |
Incorrect Table 6-7 entry posted by BruceK
While checking out the Table 6-7 on page 92 I see an apparent error:
%a a
...
%a no string matched
The %a is duplicated on line 4 and incorrectly says the matched string is "no string matched". Since the test string is "abc ABC 123 !...
|
2010/01/03 20:01:40 by BruceK |
Chaper 6 errata missing posted by BruceK
I was just going to report the wrong description for the + being "Zero or more" instead of "One or more" when I see it was reported in an earlier thread ((http://wowprogramming.com/forums/book/17 "here")). Unfortunately I see no Errata page for Cha...
|
2010/01/03 19:54:48 by BruceK |
Ack! 3.2 Breaks basic examples! posted by Conexion
You're probably aware of this, but as I was re-learning some of the examples in the book for practice, I kept running into really stupid problems. Then, I figured out that the main problem was that the function message() no longer works!
http://ww...
|
2009/11/03 21:41:00 by Conexion |
Chapter 27 - Raid frames posted by emeral
Hi, I've followed the example on creating group frames using secure headers twice. Nothing happens, no errors or anything. I really need some help here : )
Thanks.
|
2009/10/27 08:36:29 by jnwhiteh |
Anything working around here? posted by Trebot
I want to document my troubles with this book and the programs that are supposed to be companions to it as a heads up to other people considering purchasing this book.
The book is a good one. It is well written and informative. The problem is that...
|
2009/10/15 21:43:17 by jnwhiteh |
WowLua install problem posted by Trebot
Just installed WowLua. In game when I type /lua, I get this error message:
> Message: Interface\AddOns\WowLua\WowLua.lua:843: WowLuaFrameEditBoxLineTest:SetText(): Font
>
> not set
> Time: 10/14/09 18:31:17
> Count: ...
|
2009/10/15 01:48:48 by Trebot |
SimpleTiming Chapter 4 posted by Flash2k6
In your simple timer, how would you handle local functions being passed to it, instead of globals?
For example if I do: `SimpleTimingLib_Schedule(5, print, "Some message")` it works fine and prints the message in 5 seconds.
However if I writ...
|
2009/09/07 21:26:08 by jnwhiteh |
Memory Usage posted by jodyblau
I'm used to programming in C# and C++, and this is my first attempt at learning LUA.
I'm trying to figure out how to manage memory usage in my addon.
If i store tables within tables, do I need to loop through them at some point and release the ...
|
2009/09/07 19:11:12 by jnwhiteh |
Download zip files not working posted by jodyblau
I've tried 4 different chapter's zip file, with winzip, 7zip, and winRar, all on two different computers. One computer running vista 64bit and the other running vista 32bit.
I get an invalid archive error on all attempts.
I would really like...
|
2009/09/07 18:36:37 by jodyblau |
Where can I find wowlua? posted by hoingaz
According to the book, wow lua can be found at wowprogramming.com/addons/wowlua but when I goto that address it says "The node by this name does not exist, but you can create it. Please pick one of the node types below." I'm guessing that means its n...
|
2009/09/05 05:26:08 by jnwhiteh |
lua interpreter not there posted by WoWEyE
in the book, page 6, Downloading and Installing a Lua Interpreter, it says u can get one at http//wowprogramming.com/downloads/lua/windows
When i type that link i get a message - The node by this name does not exist, but you can create it. Please ...
|
2009/09/04 22:23:11 by jnwhiteh |
cant find refered to files posted by WoWEyE
I have the book and was perusing to get a feel for it. I noticed page 959 Appendix C - Best Practices, The WoW Environment.
in the 1st paragraph, it uses example of recreating functions to convert the returns from UnitName into "name" ....
the l...
|
2009/09/03 23:59:38 by WoWEyE |
Attempt to Call Global nil value error posted by jodyblau
I'm following the CombatTracker example.
When I start wow, I get the following error message:
:1:attempt to call global 'CombatTracker_OnLoad'(a nil value)
This happens when I left click the frame as well:
Message: :1: attempt to cal...
|
2009/09/01 22:53:01 by jodyblau |
Downloads not working posted by nuttyprot
I keep getting damaged file with the downloads for the chapters, is there a particular program to open them with. Have been trying with winrar
|
2009/08/31 13:22:05 by jnwhiteh |
Page 36, i seem to miss something posted by Jimmey
Hello dear community,
i just started learning lua but do have experience in other languages already, not that professional software engineer you might think now, but not the newcomer to everything either.
so here is my problem and i hope you can ...
|
2009/08/16 09:29:39 by Jimmey |
Page 212-213 part II posted by naptor
Hi there iam beginning to make my new addon, and i get a bit confused
my code look like this (helloWorldFrame)
-- Author : Naptor
-- Create Date : 8/10/2009 6:42:18 PM
function helloWorldFrame_OnLoad()
f...
|
2009/08/12 10:20:24 by jnwhiteh |
Just curious... posted by lankus
So I've been going through the book (awesome btw!) and whenever I come across an example it's just in my nature to try twisting parts of the code around to see what happens and figure out why it gives the result that it does. I was working on the 'fa...
|
2009/08/10 16:36:03 by jnwhiteh |
meta tables halp ='( p 58 posted by aradel
I input the following into my wow lua addon and got the following message(line 1)
attempt to index global 'mt' (a nil value)
I tried to add local before function mt.__add (a,b) on line 1 and i got this message
'(' expected near '.'
and now i'm ou...
|
2009/08/07 23:19:24 by aradel |
Cast only if target is player posted by gaborn
Hello, I am trying to make /script :) which casts spell when pressed and target is enemy player(not npc) I tried it many times... for ex.
/script if ( isPlayer(target) == 0) then cast = Exorcism;
but I think I am going pretty bad with this :) and o...
|
2009/07/30 22:32:13 by jnwhiteh |
CH 15 Using Templates - attempt to compare number with string posted by Perfexion
I am working through chapter 15, and I have ran into a few problems.
First, TargetBuffButtonTemplate and TargetDebuffButtonTemplate have changed to TargetBuffFrameTemplate and TargetDebuffFrameTemplate.
The former is referenced under TargetTex...
|
2009/07/26 22:29:12 by jnwhiteh |
Possible typo on page 19 posted by trav
IN the last paragraph before **Working with Straings**, is the ". . . defined for numbers **or** string values"? Vice " . . .numbers **as** string values (as printed)?
Thanks,
trav
|
2009/06/27 21:34:37 by jnwhiteh |
Downloading Wowlua??? posted by jack33b
When I follow the books directions and go to http://wowprogramming.com/addons/wowlua It says the node by this name does not exist. I can't even get started. What gives? Ok I found the link to the wowlua, downloaded it, added it to my addons, logged...
|
2009/06/02 19:54:56 by jnwhiteh |
Image file download? Chapter 16 posted by snaros
Hi there, new to the forum and very much enjoying the book. The problem i am having is i can't figure out where to download the image file required for the PlayerFramePlus example on p233.
Sure i could probably run without it, but it's nice to see...
|
2009/05/26 11:23:26 by jnwhiteh |
Need help with SecurePieButtonTemplate (Chapter 25) posted by realhexer
Hi there :)
I tried to understand SecurePieButtonTemplate. In chapter 25 there is a nice tutorial on how to build such a PieButton.
I think everything works fine except one thing: when I click on a pie segment, the segment does not highlight.
Al...
|
2009/05/15 22:54:09 by realhexer |
Using /script and /run Page 110 Chapter 8 posted by realhexer
The text says that following code won't work, but it actually does (since WoW 3.x?):
/run print("Hello World!")
And no, I didn't run it through the WowLua interpreter. :) It just worked fine when I entered it as a chat message.
|
2009/04/29 21:25:24 by oneleaf2k2 |
WTB this book in Russia posted by Jacob
subj. Amazon and all those book shops listed in store tab don't ship to Russia.
|
2009/04/23 10:02:14 by jnwhiteh |
Second Edition? posted by Kore
Hello everyone,
I just wanted to know if the second edition of the book is going to be published in July 2009.Reason for asking: I've seen a pre-order site and was wondering if it's correct.
http://www.borders.com/online/store/TitleDetail?sku=0470481...
|
2009/04/21 06:27:12 by HonorGoG |
Chapter 4, pages 62 posted by weberprime
The test code:
>print(tbl.apple)
ought to be...
>print(tbl1.apple)
I actually wanted to report that the function on page 61 did not work, but I found that somewhere along the line, tbl1 had become disassociated with mt. I determined this ...
|
2009/03/24 11:01:31 by weberprime |
Chapter 16, Page 234... posted by Cowski
I'm coding in, verbatim, what's on the top of this page:
local PlayerFramePlus = {}
-- This is commented out code.
function PlayerFramePlus:Initialize()
Message("PlayerFramePlus Loaded!")
end
PlayerFramePlus:Initialize()
When I run...
|
2009/03/24 10:37:41 by jnwhiteh |
Chapter 11 posted by jnwhiteh
Hi,
I'm following the examples given in Chapter 11 of the book and I am having some difficulty getting them to function. I tried the code example for the section entitled "<OnClick>" as well as "Creating New XML Templates" neither of whic...
|
2009/03/11 20:56:15 by zenasprime |
chapter 13 target text posted by rabidpilot
Love the book so far.
I do have one question about the example in chapter 13. I have it working but I would like to be able to move it from where it apears. It apears right on top of my player.
thanks
|
2009/03/09 18:27:16 by rabidpilot |
chapter 13, page 197 UnitPowerType return arguments changed posted by tataboutlamine
i was making the TargetText tutorial addon and while testing each functions, i noticed that the TargetTextFrameManaLabel fontstring wasn't showing at all. i don'T know if its been mentionned already in the forums (i've checked all topics on chapter 1...
|
2009/03/03 11:25:12 by jnwhiteh |
page 326, chapter 24 posted by Whizbang
Code snippet error:
"tooltip" is not initialized.
CreateFrame("GameTooltip", "MyTip", UIParent, "GameTooltipTemplate")
GameTooltip_SetDefaultAnchor(MyTip, UIParent)
tooltip:SetHyperlink("item:6948")
|
2009/02/23 13:21:45 by jnwhiteh |
Chapter13, Page204: UnitReactionColor posted by Fogger
The UnitReactionColor table was removed from /FrameXML/TargetFrame.lua in 3.0.2.8962
UnitReactionColor = { { r = 1.0, g = 0.0, b = 0.0 }, { r = 1.0, g = 0.0, b = 0.0 }, { r = 1.0, g = 0.5, b ...
|
2009/02/15 15:04:53 by jetimms |
Missing picture on Page 149? posted by realhexer
I am confused right now. I think a picture is missing on Page 149. It says:
Figure 10-6: Main Menu buttons (left) and default Action buttons (right)
But there is just one picture showing the Main Menu buttons ;-)
|
2009/02/09 20:07:53 by morlando |
Errata Chapter 6 Page 96 posted by realhexer
In the first example it should be:
>print(strsplit(" ", "This is a string"))This, is, a, string
|
2009/02/07 10:39:10 by realhexer |
Errata Chapter 6 Page 89 posted by realhexer
The example's output is wrong. It should be:
>print(string.format("%2$d, %1$d, %d", 13, 17))17, 13, 17
|
2009/02/07 10:36:22 by realhexer |
Errata Page 48 Chapter 4 posted by Nosnam
The first sentence states "Adding an element to an array is as simple as associating the value to the next integer key in sequence" followed by example tbl = "new element"
It should be tbl = "new element"
|
2009/01/31 23:58:19 by mshirey |
Chapter 5 (Page 74): Clearing a Table posted by Fogger
Is there any difference between using the below example from the book:
for key,value in pairs(tbl) do tbl = nilend
or using tbl = {} ?
|
2009/01/29 18:37:44 by Fogger |
Chapter 4 [Page 53]: Creating a Non-Object-Oriented Counter posted by Fogger
The counter is supposed to be private, but it can be accessed using print(counter)
The do/end block doesnt limit scope at all. what's up with that?
eg:
do private = "oh noes"endprint(private)> oh noes
I even tried local counter =...
|
2009/01/28 09:24:53 by Fogger |
Chapter 11 - Am I being horribly stupid? posted by Omnipotence
Trying to use the first chunk of XML in chapter 11
Nothing happens in WoW.
I've got the xml file and a toc file, the toc file has the xml file's name in it, and they are in a folder called WoWXMLExample in the World of Warcraft\Interface\AddOns folde...
|
2009/01/26 06:18:16 by jnwhiteh |
Chapter 10 posted by travisayers
I think I should have picked up a book on XML programming before getting this but a couple people said this book was the way to go regardless of skill level at programming. This is my question. I have done the gradiant and the Icon test from chapter ...
|
2009/01/26 06:09:36 by jnwhiteh |
TargetText (chapter 13 version) Not Working posted by solidtux
Hi. I'm not sure if it's because I'm at interface 20400 or what, but it's not working for me. I downloaded the code when it didn't work for me when I typed everything from the book.
This is the error I get in-game:
:1: attempt to index global 'Target...
|
2009/01/22 21:03:36 by mrbryo |
Cooldown Frame - not a lot of detail about it, any help? posted by Orangestick
Great book, really enjoyed it. Inspired me to try my own hand at addons but have run into a problem (:p)
I have been trying to use the blizz Cooldown frame, but haven't been able to find too much about it either from the book or the internet. I...
|
2009/01/19 15:30:42 by Orangestick |
Chapter 16, page 234 posted by mthlr2
the function Initialize is listed (at the top of pg 234) as:
Message("PlayerFramePlus Loaded")
It should be:
message("PlayerFramePlus Loaded")
(Note the lower case 'm' in message())
Mike M.
|
2009/01/14 17:33:20 by mthlr2 |
GetMoney() function posted by andywagner59
Hello James, Bryan & Matthew,
i have recently bought your "World of Warcraft Programming" and am delighted...Money well spent I say...Thank you very much....
However since I am speaking of money, I have noticed that the reference to the getMoney ...
|
2009/01/09 14:30:05 by andywagner59 |
Function to Return Selected Quest's Zone posted by Bazkur
I'm writting an addon (attempting too anyway), Is there a function to get the zone text for a selected quest? Something basicly like "GetQuestZoneTetxt"? So if I have the following structure: ============= + Thunder Bluff - The Barrens Quest Name 1 Q...
|
2009/01/08 16:12:07 by jnwhiteh |
GetChannelList return values are swapped posted by Ormek
As it seems GetChannelList does not return pairs of (channel, index) ---as it is printed--- but pairs of (index, channel) ---as can be experienced on-line---. Fixed that in the online reference already.
Page 462 / GetChannelList
|
2009/01/04 16:07:09 by jnwhiteh |
Forums Error? posted by Ranik
This is what I get when trying to access the Development Boards? Been like this for a few days. My question is, is there a basic template for a minimap button? Something that is moveable and tracks around the minimap?
Sputnik ran bu...
|
2009/01/04 16:06:36 by jnwhiteh |
Chapter 9/10: some typos posted by mthlr
Chapter 9
pg 126: in the section on the TGA format, the statement "TGA files never use lossless compression,", the word 'never' needs to be omitted. It should read, "TGA files use lossless compression,".
Chapter 10:
pg. 137: in the second XML example...
|
2009/01/02 17:08:20 by mthlr |
ManaBarColor and UnitBaseClass posted by Dimension
Hi,I am trying to make the TargetText addon from your book. I am now creating the function TargetText:UpdatePowerType() on page 197. But I can't get the ManaBarColor to work.
It gives me the error:Attempt to index global 'ManaBarColor' (a nil va...
|
2008/12/28 01:06:08 by techweenie |
Are you planning a second edition? posted by riverdude
Really like the book. Are you planninga second edition that covers all the additions/deletions/changes introduced with the release of WotLK? It would be great having a single reference to cover the info.
|
2008/12/10 21:25:01 by morlando |
Incomplete API entry: GetNumQuestLogEntries() (p. 537) posted by DigitalSorceress
On page 537, the API reference for GetNumQuestLogEntries() is incomplete...
The response is actually two items:
including_headers, just_quests = GetNumQuestLogEntries()
where:
including_headers = the total number of items in the quest log including t...
|
2008/11/21 17:46:24 by jnwhiteh |
Damaged Pages - Book purchased new from Amazon posted by Endor
Hi. I recently purchased a copy of the book from Amazon.
Pages 297 to 302 were destroyed. They are the first few pages of Chapter 22. Looks like it might have happened in the coallating machine.
Would it be possible to get a copy of ...
|
2008/11/18 10:37:08 by Endor |
Please help what am I doing wrong... posted by Chavuin
Hello,
I really don’t want to sound rude, and this may be a bad way to start, but just think of me as a frustrated and desperate add-on writer crying for help.
I have purchased both your books, and this one...
|
2008/11/18 03:44:37 by jnwhiteh |
Chapter 5: Advnaced Functions and Control Structures posted by Nosnam
When I typed up the test1 function on page 71, then tested it by passing it a nil value, it didn't have any problem printing it the arguments back out, including nil. Anyone have any insight?
Also, I'm wondering - the book notes that "the firs...
|
2008/11/11 05:06:17 by jnwhiteh |
errata chap 5 page 71 posted by switheyw
'test2' should have it's select() function call surrounded by parens in order to limit each run through the for loop to one return value. As written, each print line contains all remaing arguments after the index.
BTW: Your print examples...
|
2008/11/11 05:02:19 by jnwhiteh |
How up to date? posted by Elwin
Hello,
I would like to buy the book, but I would like to know how up-to-date it is now that expansion is going to be released? I don't know if there were any extensive changes to the interface in the last patches, if so, are there going to be any fix...
|
2008/11/07 11:51:37 by jnwhiteh |
page 51 posted in Book Support posted by Solo
2 last lines should say:
return ((celsius * 1.8) + 32)
end
|
2008/11/07 11:50:14 by jnwhiteh |
Great book! posted by Moolin
I have read the book up to page 124 now, and i must say it's great!
Actually i have just skimmed the first chaptors, because i am a good php and c# programmer.
I hope to be more surprised in the my experience with the book the i read on!
- ...
|
2008/11/05 09:00:39 by Moolin |
Hooking the GameTooltip posted by Xeddicus
Am I missing it or does the book not cover how to hook the GameTooltip to add to it? I'm assuming it's probably the prior, just not seeing it in Chapter 24 for tooltips and in Chapter 19 for hooks having trouble figuring out what function/scrip...
|
2008/11/03 02:15:05 by Xeddicus |
PDF format? posted by tjs
I would love to buy this book asap but I cannot find a retailer in Australia and would rather not wait weeks for delivery. Is there any way I could buy this book in PDF format? I'm guessing it was written in latex or docbook which would make this kin...
|
2008/10/27 01:31:23 by morlando |
Help with hexidecimal posted by 539
I picked up this book today with no background in any languages, including lua. I got to the "Hexadecimal Notation" sextin in Part 1, page 14.
After doing a little research on the internet, i was able to understand your first three examples:
&g...
|
2008/10/21 12:31:23 by jnwhiteh |
Front Cover posted by bloodsheddragon
This is more about the artwork in the book rather than the content, didn't know if I should post here or off-topic.
Does the cover artwork happen to have been done by Lar from the LFG comic (lfgcomic.com)? Seems like it to me.
P.S.
It's a great book,...
|
2008/10/11 09:09:54 by jnwhiteh |
Chapter 25: Useing State Headers posted by Moolgar
hi... i tryed to follow Chapter 25 tutorial for "useing state headers in the "world of warcraft Programming Book"
but i getting an error msg. and i cant fuggure whats wrong... i searched over and over again for typo's but cant find any...
howeve...
|
2008/10/04 16:11:28 by jnwhiteh |
Chapter 12: Backdrop posted by crihak
Chapter 12, under "Defining CombatTracker's XML Frame" uses "the DialogBox backdrop and edgefile that was used in Chapter 10". However, I can't find any information whatsoever about backdrops in the book up until this point.
|
2008/09/30 11:11:24 by jnwhiteh |
Chapter 10 examples is not valid ZIP file. posted in Book Support posted by randomgrace
The file is either incomplete or corrupted.
|
2008/09/21 17:39:23 by jnwhiteh |
Errata posted by archmagemagus
Chapter 5, Page 69, 4th line from the bottom:
"This function takes in any number of arguements and then passes them to the print() function, adding it's..."
It's is a contraction of it is; its is possessive all on its own, like hers, his, or yours.
&...
|
2008/09/21 02:02:38 by archmagemagus |
Book and patch 2.4 posted by chonli
The book is updated to patch 2.4?
Thanks.
|
2008/09/13 05:56:33 by chonli |
Same ISBN, different number of pages? posted by crihak
I'm interested in buying the WoW Programming book, but I've yet to actually purchase it as one thing confuses me:
Searching for it on the internet I find that it is sometimes listed as having around 1000 pages and sometimes about 700. On at least one...
|
2008/09/10 16:05:22 by crihak |
wowlua and actual editing of addons posted by raketjan
Hi, really enjoying the book so far, but just getting started with the actual writing of addons, and i was kinda wondering.. Do I write in wowlua, or do i have to edit my code outside of the game ? I don't seem to be able to save my lua code from ins...
|
2008/09/10 15:48:35 by morlando |
Error p198: UpdateClass function posted by mandok
Should be:
function TargetText:UpdateClass () local class, key = UnitClass ("target") local color = RAID_CLASS_COLORS TargetTextFrameClass:SetText (key) TargetTextFrameClass:Se...
|
2008/08/22 10:52:58 by morlando |
"$parentName" = TargetTextFrameName p196 posted by mandok
I know I came across it earlier - but cannot find the reference....
In the XML file we have a line like this:
<Fontstring name="$parentName" inherits="GameFontHighlight" justifyH="LEFT">
Which is referred to in the code:
function Target...
|
2008/08/21 17:36:31 by jnwhiteh |
Chapter 12, why PLAYER_REGEN_DISABLED i.s.o. PLAYER_ENTER_COMBAT? posted by Drayeah
I was wondering why in chapter 12 for the combattracker the events PLAYER_REGEN_DISABLED and PLAYER_REGEN_ENABLED are used for detecting in and out of combat. There are also PLAYER_ENTER_COMBAT and PLAYER_LEAVE_COMBAT which seem to exactly fit the ne...
|
2008/08/20 10:31:42 by Drayeah |
pg 131 recieving an error posted by Chanze
When I use the code on pg 130-31 to create a skeleton .xml file I am recieving 2 warnings
Warning 1 Could not find a part of the path 'C:\Program Files\World of Warcraft\Interface\Addons\WowXMLExample\WowXMLExample\FrameXML\UI.xsd'. C:...
|
2008/08/10 08:55:16 by jnwhiteh |
Chapter 14, more details on the various "objects" posted in Book Support posted by ZacWolf
If there is ever a 2nd edition, could you please dig a little deeper into describing the various "Toolbox controls"?
With the relative size of the book, I guess I was a little dissapointed that there wasn't a more thorough description of what each of...
|
2008/07/30 10:31:13 by jnwhiteh |
Page 20~converting string to a # posted in Book Support posted by brandon
I did the following:
> x=17
> print (type(17))
number
> x= tostring (x)
> print (type(x))
string
Next I did:
>print (x+2)
And i got:
>19
(shouldn't this be impossible???) because strings can't be added
|
2008/07/19 17:37:12 by brandon |
Errata: page 20 posted in Book Support posted by med
Just a minor typo.
On page 20, the second line of code under "Converting Numbers to Strings" should be Number: 4
|
2008/07/15 21:03:10 by jnwhiteh |
Am I missing something? posted in Book Support posted by drtyrell
I own the book, and want to download the example XML so I don't have to waste my time with syntax errors. Is there a link to that somewhere?
|
2008/07/13 23:50:38 by jnwhiteh |
a few typos posted in Book Support posted by Ethan0001
Page 170 in the code there is an "i" instead of the ... return arrow?...
as well as is goes from using / in ithe web addresses to \. these small typos greatly confused me for a bit (since i skiped the easyer stuff and did this first) until i download...
|
2008/06/27 18:21:02 by morlando |
Could have saved yourself some paper ... :-) posted in Book Support posted by randomgrace
It seems that there is quite a bit of duplication of functions in the API Reference.
-randy
|
2008/06/27 18:18:55 by morlando |
The interpreter for Mac installation posted in Book Support posted by udenk
I am unclear how to instal the Mac version of the interpreter. I have download the image and moved the file "Lua-WoW" to my application folder, but nothing happens when i double click it.
|
2008/06/24 21:35:14 by udenk |
Incorrect link on page 114 posted in Book Support posted by ph4sm
You have the link to the User Interface Customization tool as: www.blizzard.com/support/wow/?id=aww0167p
This is not working for me.
|
2008/06/24 19:40:02 by morlando |
I'm having trouuble... posted in Book Support posted by Centry
Hey James, Bryan, and Matt(which is my name too). I love all the effort and examples you put in the book to clerify a lot of things, but a few questions are growing in my head about my progress (im currently in Advanced Functions) and it's that...
|
2008/06/23 08:58:51 by jnwhiteh |
Lack of testing of source???? posted in Book Support posted by jensen
The Skeleon .xml file pp 130 - 131 returns an error.... cute? :-)
Could not find a part of the path 'C:\Programmer\Spil\World of Warcraft\Interface\AddOns\FrameXML\UI.xsd'
wich must origin from the relative path-statement: ..\FrameXML\UI.xsd" ??
&nbs...
|
2008/06/22 11:10:49 by jnwhiteh |
Error in LUA language chapter 6 posted in Book Support posted by randomgrace
On page 92, the table on pattern matching defines the pattern n+ where 'n' is any character class item to be 'Zero or more repetitions', whereas I believe that the correct definition is 'One or more repetitions'.
Otherwise, so far this book looks ver...
|
2008/06/22 07:15:07 by jnwhiteh |
Damagetype arg in UNIT_COMBAT posted in Book Support posted by Erwyn
Hey everyone,
I've been playing around trying to measure some damagetypes with a modified CombatTracker addon, not very succesfully initially.
The return values for the damagetype argument in the UNIT_COMBAT event are not
0 - physical; 1 - holy;...
|
2008/06/21 10:43:52 by Erwyn |
About the learning curve of the book... posted in Book Support posted by Frankaladin
First let me say.. This is an excellent book and I highly recommend it. The following comments are to be taken with a huge grain of salt and the understanding that I want "World of Warcraft Programming - The Second Edition" to be even bet...
|
2008/06/17 22:29:44 by Frankaladin |
Page 198 - UnitClass() changed posted in Book Support posted by Necrosniper
After going through the tutorial during "Chapter 13 - Using the World of Warcraft API" on page 198 it gives an example that says to use UnitClass("target").
After going through I noticed when targetting demons, pets or npcs it was using their name in...
|
2008/06/13 16:52:50 by jnwhiteh |
link error in book posted in Book Support posted by jnwhiteh
The book instructs you to go to www.wowprogramming.com/downloads/luw/windows to download the interpreter, but the link there does not work properly. It displays the following:
Whoops, page utils/pc/lua-wow does not support action .zip|.
In addition...
|
2008/06/11 08:26:34 by jnwhiteh |
Errata posted in Book Support posted by Zth
Because the other forum appears to be broken, I'll post here.
page 252, 4th paragraph reads, "Because bandages can only be used while you're missing some health..."
This is not true.
|
2008/06/10 14:48:02 by jnwhiteh |
Download CombatTracker? posted in Book Support posted by oogje
Is there a place to download CombatTracker rather than type it in?
Thanks.
|
2008/06/08 00:31:32 by jnwhiteh |
Color Codes posted in Book Support posted by Sensemilla
Great job on the book! I appreciate having a single place to look up everything I need to know about programming WoW. There's a lot of good guidance and walk throughs.
I spent last evening skimming the book and I did not see any place where you dis...
|
2008/06/03 12:34:17 by jnwhiteh |
Page 12 Arithmetic Operations posted in Book Support posted by trav
I confess that I tried playing with Lua when the Hacking WoW book first came out, but then I got wizzed with Blizz and dropped the account, BESIDES, the boys were not doing all that well in school anyway.
But I see that Lua continues to have probl...
|
2008/05/30 19:32:47 by Sensemilla |
Errata Chapter 14 posted in Book Support posted by wizardrycon
Page 211 example should read:
function helloWorldFrame_OnLoad()
helloWorldFrame:RegisterEvent("PLAYER_TARGET_CHANGED");
end
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Page 213 example should read:
function closeButton_...
|
2008/05/30 19:02:52 by Sensemilla |
Several issues on pages 170, 176, and 177 posted in Book Support posted by rgennaro
Page 170. Creating the .toc file - The example on page 119 shows "## Notes: This is my sample addon." However, on page 170, the example used was "## Description: ..." When testing the CombatTracker XML, the description was not showing up on the A...
|
2008/05/26 09:50:00 by jnwhiteh |
Suggestion: Add functions implemented in default UI to index posted in Book Support posted by Guillotine
There are several functions implemented in the default UI that addons use enough that they are worth mentioning in the index. For example, UIDropDownMenu_Initialize (talked about on page 313) is an extremely important function, but does not appear in...
|
2008/05/18 06:32:23 by Guillotine |
I really do not understand what it is saying:
"No Return Values Not each function . . . " What 'No Return Values'?
Also it was pretty easy to replace the return converted with print(converted) and just ca...
|
2008/05/17 23:34:44 by morlando |
Typo posted in Book Support posted by Industrial
Chapter 10: Creating Frames in XML, Page 135:
...
For example, the following frame will be named UIParentMyParent
...
<Frame name="$parentMyFrame" parent="UIParent"/>
...
|
2008/05/17 23:34:43 by morlando |
Incredibly frustrating typo posted in Book Support posted by jnwhiteh
There's a typo in the very first example addon in your book on page 170. In the very first line of CombatTracker.xml there's an extraneous "i". It reads <Ui xmlns="http://www.blizzard.com/wow/ui/" i but it should read just <Ui xmlns="http...
|
2008/05/17 23:34:43 by jnwhiteh |
mac osx interpreter posted in Book Support posted by material
Book says go to http://wowprogramming.com/downloads/lua/macosx
The .dmg link replies with: Whoops, page utils/mac/lua-wow does not support action .dmg.
help? I'd like to follow the book's utils as much as possible.
Thanks!
|
2008/05/17 23:34:43 by jnwhiteh |