Discuss anything related to the development of addons for World of Warcraft, including help and support for writing code.

Subject Last Post
Hey everyone. I'm needing help on how to set a default location for unit frames. I friend was helping me make my own add on and this was the only thing we couldn't figure out how to do. this is where i'm wanting it to go. http://s11.postimg.org/...
2015/10/24 12:51:31 by nox717
Hey everyone. I'm needing help on how to set a default location for unit frames. I friend was helping me make my own add on and this was the only thing we couldn't figure out how to do. this is where i'm wanting it to go. http://s11.postimg.org/...
2015/10/24 12:51:31 by nox717
Is there any way to detect which arena a match took place in from the combat log? Had a look through a few logs but I can't see any indicators. (I have advanced logging turned on if this makes any difference)
2015/10/06 19:28:24 by twicetimes
Check box/button headache posted by esquirua
so I'm trying to revive a rather handy looking dead/abandoned addon, I know there are others out there that do the same stuff that are up to date but this one strikes my fancy. the problem I'm having is that the check boxes in the main frame aren'...
2015/10/05 08:42:07 by tartarusspawn
I am making an addon which when you use the slash command /cta the frame will hide and if it's hidden already the frame will show. Should be basic enough. However when I call MyFirstFrame_Frame:Hide() I receive this error: ``Message: :1: attempt t...
2015/10/05 08:29:24 by tartarusspawn
Spent the best part of 3 hours trying to figure this out, I thought it'd be simple but it seems nigh impossible. My best hope was (http://wowwiki.wikia.com/wiki/API_GetBattlefieldStatus "http://wowwiki.wikia.com/wiki/API_GetBattlefieldStatus") whi...
2015/08/29 11:38:19 by egwyn
Hello I am looking to make an addon that would adjust the default price type in the auctions tab to per unit instead of per stack. I am wondering if this is possible and which if any of these methods would be the fastest. a. I would do it with a s...
2015/08/26 22:13:56 by hugo6
HOw to write lua posted by axedamage
I am trying to create a meta icon that will show which spell is more beneficial to cast starfire or wrath in TMW. I need something to take my current cast time for starfire calculate the energy i will have when starfire finishes (this involve...
2015/08/20 09:00:11 by axedamage
Hi everybody. I'd like to create a weak aura that check each raid members to find a specified debuff. I have to know what position is mine in the raid (Raid11 for exemple) so I will only look for debuff on the Raidmembers from Raid1 to Raid10...
2015/07/31 13:32:20 by gpum
I just started learning creating wow addons.(It's been a couple of days) I managed to learn how to listen to the event happening to me like following. How do I listen to events happening to someone else? ( friend or foe in battleground) local f ...
2015/07/26 17:37:11 by coder
I've got an error when tried to create UIDropDownMenu in Vanilla 1.12.1: Error: attempt to call global UIDropDownMenu_CreateInfo (a nil value) AddOn: ThievesTools File: ThievesTools.lua Line: 58 Count: 1 My function in thi...
2015/07/20 11:12:03 by staforddev
My wild guess is that all pets in a group have names "pet1", "pet2", etc. but how to check their settings?
2015/06/27 17:39:51 by alikim
Shadowed Unit Frames Help posted by .el3v3n.
Hey guys. Im not that great with .lua but I put together concepts decently. Heres my attempt at a question to any scripter who can help. You can find the files here... https://github.com/taco/wow-ui-demo/tree/master/Interface/addons/ShadowedUni...
2015/05/05 17:48:57 by .el3v3n.
Haven't touched LUA in awhile so I'm a bit rusty. Basically I'm trying to add a chat filter along with slash commands, pretty straight forward. The problem is that when you want to remove the chat filter, it has no effect. In my OnLoad functi...
2015/04/20 01:41:58 by aradel
I made a code that check if my target is friendly or not to display a certain texture on my wow. The code works fine but if I target someone that is not visible to me (needing summons or outside of a raid) it gives me tons of Lua Erors. Here is the...
2015/03/27 14:43:40 by twocows
Currently hacking together my first addon and I have been trying to get a window i create to :Show() or :Hide() but i can not seem to find a correct event to hook into. I am specifically looking to show this window when the Pet Journal inside of the ...
2015/03/20 05:49:26 by dustinb
Alright, so I'm completely new to this whole AddOn thing, but i just recently started turning scripts into AddOns etc. As I am using the default blizzard raidframe for arenas, i wanted a way to make sure the frames stayed where i wanted them at al...
2015/03/18 20:59:18 by malzy
draw 2d lines and curves posted by rvcruz
hello. is there some kind of 2d drawing lib to use on the screen? thanks
2015/03/15 04:31:35 by rvcruz
Hey all. Recently I made an external application that gathers all of the raids Items, Item Levels, Slots, Enchants, etc to make sure they're properly geared. However, I was hoping I could adapt this into an Addon for WoW. I was mostly wondering...
2015/03/12 12:20:15 by haaggis
Tag 2c2 Skirmish posted by margulda
Hello, I'm looking for script wich would tag 2c2 skirmish but i don't find it here. http://wowprogramming.com/docs/api_categories Could you help me ?
2015/03/12 11:02:12 by margulda
WowLua Addon posted by whocallmetim
Is there any chance the WowLua addon that is mentioned on your web site (http://wowprogramming.com/utils) will be updated to be compatible with the newest expansion of World of Warcraft? Would it also be possible to put the addon on curse.com so t...
2015/02/23 21:39:15 by jnwhiteh
I'm attempting to write my first addon while trying to learn LUA. I'm having trouble finding the exact API data to move forward with my code. I'd like to write it myself, but I'm wondering if someone can point me in the right direction with some bett...
2015/02/23 21:38:45 by jnwhiteh
Hello Guys! ### Here is my project: `#Wow 3.3.5 (arena-tournament.com)` I want to get the **Guild Chat in real time from wow client** (so command /chatlog won’t work) and save it as a stream in a file (.txt / xml) or DataBase. Then I...
2015/02/23 21:37:38 by jnwhiteh
Hi guys! Is there a way to check how many enemy players are in melee range/5yards. 10x in advance for the feedback.
2015/02/13 13:50:19 by dramaquenn
Event when clicking on item. posted by ice-blaze
Hi, I'm looking for an event which return the clicked item. For example: the Ctrl+Left-click on an item for the preview. I haven't seen anything in the API documentation. But maybe I am searching in the wrong direction. Thanks for ideas or answers...
2015/02/04 01:50:16 by ice-blaze
detect target's addons posted by tesser
Is there a way to do this, or is it protected info? I'm using Gryphonheart Items, and it seems to use channels somehow to do this, but it's a couple hundred lines of code, not to mention it's glitching. There must be a simpler way to get a yes ...
2015/01/31 15:45:44 by minimulenz
My addon SmartLoot has been long plagued by the issue of loot while in a group. So far as I have found, there is no way to /accurately/ determine whether an item can be looted while in a group. In the past I have tried comparing the item quality to t...
2015/01/25 04:31:15 by minimulenz
Delaying Events? posted by predatorline
Hey Guys is it possible to delay an event? I have an addon which automatically "release the corpse" if the character has died : local f = CreateFrame("Frame") f:RegisterEvent("PLAYER_DEAD") f:SetScript("OnEvent", function() RepopMe() end) ...
2015/01/25 04:19:22 by minimulenz
So I'm new to addon development. Simple question: Do I have to restart WoW every time I make a change (debugging) to the addon I'm developing? That seems a bit silly especially when I'm learning. I'm used to being able to tinker in a language and wat...
2015/01/24 12:16:25 by minimulenz
How do i change the old grey Gryphon to a Lion in Main Menu Bar using the World of Warcraft® Interface AddOn Kit? Extracting the "UI-MainMenuBar-EndCap-Human.blp" (Lion), to "World of Warcraft\Interface\MainMenuBar" won't work anymore. It was as...
2015/01/19 19:17:41 by vargr
Proper Command Parsing posted by daelus
Hey there, I'm relatively new to WoW programming, not so much to Lua, though in no way am I skilled with it. I'm looking to add a functionality to a pretty light-weight addon that I am making which will allow for me to complete multiple macros on ...
2015/01/09 04:41:48 by daelus
Attribute scanning...? posted by xathos
Is it possible to scan another player's stats and determine their current attack / spell power and defense? I recently got an addon that can scan another player's items and display their ilvl and secondary stat priority in a tooltip. That's nice,...
2015/01/07 18:18:55 by jnwhiteh
Hey guys, GetInventoryItemsForSlot() (http://wowprogramming.com/docs/api/GetInventoryItemsForSlot) isnt working for me. Wowlua says, the syntax isnt returnTable = GetInventoryItemsForSlot(slot), but GetInventoryItemsForSlot(slot, returnTable), fou...
2015/01/07 16:49:36 by yasueh
Timer for dungeons. posted by marciks
Hello i have nearly not expirience in Lua, except 1 addon that i created when i write slashcmd command i get a frame that shows me in which level i can learn some skill, so i can avoid alt+tabbing, or going to trainer too often without need while lev...
2015/01/06 18:10:36 by marciks
I tried to make a map as in game interface (when you press M). I extracted everything what I need from mpq. And concatenate images as much as I can. After that I recive many images (http://i.imgur.com/oARyqnE.png "this") or (http://i.imgur.com/nRJFz...
2015/01/06 17:16:16 by jnwhiteh
Challenge Mode Timer posted by onlinerobbe
Hey Guys, my problem actually has to do with a WeakAura string I was using in MoP. But the question is regarding Blizzard frames and how they changed the Objective or Scenario frames. The aura replaced the standard Timer and showed the steps of ...
2015/01/05 11:35:33 by onlinerobbe
Right Clicking issues posted by phirehero77
Greetings all! I am writing an addon that allows for keyboard traversal of the inventory bags, adding a menu system for each item to equip/use, move, split, and delete. I have noticed that if you try to simulate a right mouse click on an item that ha...
2014/12/26 10:48:50 by jnwhiteh
Newbie Needs Some Help! posted by payne
Hello! Please bare with me as I am not very familiar with creating addons, and I am having a very BASIC problem which Ive researched for days and haven't found an answer for. Honestly, its almost embarrassing for me to have to post here but I have ru...
2014/12/26 10:47:41 by jnwhiteh
i'm trying to change the tooltip on garrison report, on working orders icons. i overloaded function GarrisonLandingPageReportShipment_OnEnter(self), wich seems to be the function that do it, but it isn't working. someone know what could be happening...
2014/12/26 10:44:13 by jnwhiteh
Hi, I've tried for a few days now to make my own add-on for the garrison mission UI. It is kind of a hobby to relax from the day job. but this hobby became very frustrating... I got stuck on adding a follower to a mission. I checked what other...
2014/12/26 10:43:53 by jnwhiteh
I am a WOW Addon programming beginner , i was confused by how to start my first addon programming. is there some tutorial which can show me how to make a simple addon step by step ? include the envirment, code editor, how to build and debug your code...
2014/12/26 10:40:22 by jnwhiteh
For friendly unit, I can use UnitInRange(), but it doesn't work for enemies. If I use IsSpellInRange(), it looks like that it doesn't check LOS. **How can I understand that enemy (mostly in arena) is in sight?** (If no direct API, I am ready fo...
2014/12/26 10:38:18 by jnwhiteh
Hey I need your help, I want to know how to chance the Blizzard Raid Frame Grow Direction, the Standart grow Direction is from left to right and i want the opposite from right to left hope you can help me :)
2014/12/23 10:45:32 by kjas
How to delay for 5 sec posted by elfyau
this is the code i am using to welcome people to my guild but I would like it to wait 5-10 seconds before sending the message... how do i do this? local function ProcessSystemMsg(msg) place = strfind(ERR_GUILD_JOIN_S, "%s", 1, true) n = str...
2014/12/19 08:25:14 by boodaah
Position of name text? posted by weee
Hi guys! Is there a way to get screen (2d) coordinates of name text (the one which is above the units in the game) and usually contains name, guild and so on? It looks like this: !(http://puu.sh/d6qOK/a710fed83a.png "http://puu.sh/d6qOK/a710fed83a...
2014/12/18 21:26:05 by efindel
Hello, and thanks for taking the time to read this request for assistance. How can one use hooksecurefunc to hook onto a function attached to a virtual element's event? I'm looking at Blizzard_GarrisonUI/Blizzard_GarrisonLandingPage.{xml,lua}, an...
2014/12/03 16:55:16 by psychogears
Creation of gradient bars posted by uraniumdeer
I'm currently working on a Death Knight rune bar addon, with the purpose of presenting type of rune, and a ready state in each of the rune cooldown bars, by the use of gradients. My question is, if it's best to create the 12 gradients (4 runetypes...
2014/12/01 18:33:45 by uraniumdeer
Hi, I’d like to hide a frame based on a spell cast. But reading the API (mainly functions and events sections) I’m unable to find a way to get the actual queued spell. Am I missing something? Background: _I’m crating a rotation helper....
2014/10/20 20:41:44 by jiyll
API SetMapZoom() Function Error posted by squiretoad
Several addons have broken because the API SetMapZoom() function can't handle the new values returned by GetMapContinents(). Here's an example from Archy: for continent_id, continent_name in pairs(MAP_CONTINENTS) do Archy:Print("Archy: Cont...
2014/10/20 18:22:39 by squiretoad
Hey guys, Iam playing around with some stuff for comparing equipment. Cant find anything to get the binding status in my inventory: "bind on equip", "souldbound" So, if you equip an item with EquipItemByName() and its boe, its pending for a con...
2014/10/09 14:57:21 by sinaca
Rich Spell Web API posted by chrisjohnson00
I've created an API which contains many rich information about spells. Free for all to use, check it out (http://api.wowguild.co/api/doc/ "http://api.wowguild.co/api/doc/")
2014/10/05 19:27:13 by chrisjohnson00
As the title says, I am trying to find a way to see if a certain Action bar is active. Such as if the default option in the ActionBars window in the game interface settings has the: Bottom Left Bar Bottom Right Bar Right Bar Right Bar 2 options ...
2014/09/21 05:45:25 by rjengel2002
Hiding blizzard frames in lua posted by lightbound
Hey! I just want to hide the "BattlefieldMinimapTab" but i dont know how to get it working. i tryed: local BattlefieldMinimapTab:Hide() and local BattlefieldMinimapTab self:Hide() Everything did result in lua errors. I...
2014/09/18 15:14:43 by lightbound
Create a Curse Addon for me? posted by morbidsnake
Hello there :) I was referred to this website by one of your members. I have been using addons since vanilla & personally want to thank you guys for what you do. I'm not sure if this is the proper website or forum, however I do have a reques...
2014/09/06 01:15:36 by morbidsnake
return item name on click posted by rhnorskov
Hello, I am very new at wow addons developemnt, but I am looking for a way you return the item name/id when it is ctrl+left clicked.
2014/08/19 00:36:27 by rhnorskov
Guild recruitment Tool posted by ragonz
Hey Been trying to edit a mod that I've been using for years but hasn't been updated to include Panda's. I managed to edit it to the point where I could see the new pandaren/monk options but I've changed something else since then and now cant e...
2014/08/18 20:12:19 by ragonz
Passing an ItemID posted by l3gsh0t
I want to preface this with the fact that I am on a 2.4.3 private server. I am creating an addon and need to pass an itemid to a function. I'd love to be able to pass this through a slash command. (/mod ) When I pass this across, I'm not able to p...
2014/08/12 01:08:26 by l3gsh0t
That is a lvl 85 paladin basic ability to stack more holy powers in background. I wondering to query that in my addons. Any tipp?
2014/07/25 10:51:32 by coco
Hi! I am new to visible frames. As first "hello frame" i want to make a simple square shape visible white / recolorable frame on the screen into top left corner. I made empty (well, almost empty) .toc and .xml files for run a "myonloadhandler()...
2014/06/26 10:09:27 by coco
Development testing posted by Taborious
Im creating an addon that is used in raids. Of course, to troubleshoot the addon I need to be in a raid to ensure things function correctly. Is there an easier way to test in raid addons aside from logging into the game and looking for someone you ca...
2014/06/20 07:45:28 by denythomas
Can someone please read this? posted by cable6731
Yes, I would like to have someone add me on Skype or have my Phone Number. The reason why is because I want to make an addon with someone. A really good addon :) and I want to learn more about LUA. I have programmed LUA about 5 years ago... BUT I for...
2014/06/20 06:43:25 by brentsmith
As you know when you shift click any item while auction window is open, it writes item name to search box. what i wanted is make similiar function like this with ALT+click instead of shift click. i managed to hook up items in bags but i want to inter...
2014/06/15 12:20:10 by sercankd
Hey there, I'm trying to find out how to get the selected gossip index. If you talk to a Stormwind City Guard you can choose serveral options like "Auction House", "Bank of Stromwind", "Stormwind Harbor", ... If I click on on of these items,...
2014/05/13 21:17:18 by bublix
help me posted by xairo
Good evening all. Are there people who can write for Player? --Target Health Percentage-- hooksecurefunc("TextStatusBar_UpdateTextString", function(textStatusBar) if textStatusBar == TargetFrameHealthBar and not GetCVarBool("s...
2014/05/12 07:59:00 by xairo
I was hoping GetItemSpell() would do it, but I just get back nil. Any ideas? I couldn't find the word tinker in the API at all. Thanks, Andy local texture = nil local slotID = GetInventorySlotInfo("HandsSlot") local start, duration, enable ...
2014/04/28 00:05:05 by android
Array from secondary file posted by amm4108
For a research project I am making an add-on that gives your character diabetes. While doing this I realized that for the sake of my sanity(and anyone who reads my code later) that it would make more sense to create the array that contains all of the...
2014/04/26 02:06:46 by amm4108
помоги мне posted by xairo
delete
2014/04/14 18:46:01 by xairo
Hi! I'm new to programming addons, I've followed the book and got to the point where I wanted to see if my XML doc was doing what I wanted it to do but it doesn't show in game, am I missing something? ------------------ **LINKS** _Links are on htt...
2014/04/10 20:40:14 by zovtarx
New discussion topic posted by kingsmilie
I'm working building an addon that will show all spell IDs, sir spell names and up to date spell names in a collapsible window in the API and I'm wondering how I can make this string work for my addon.... I am a noob to this so any help will be great...
2014/04/05 18:02:55 by kingsmilie
How do I change the OnClick event for CloseButton when I'm getting it through the BasicFrameTemplate? For example, MyFrame has a close button because BasicFrameTemplate inherits a close button. I can see, using /Framestack that th...
2014/03/28 05:41:13 by jnwhiteh
Track received Items posted by kulrak
Hi there, I'm brand new to wow addon development, figured I'd just jump in to create a quick addon I want to use but...I'm having trouble finding the method / event I need. I want to track all received items, including the number of them, but a...
2014/03/27 18:53:52 by jnwhiteh
Hey there. I'd like to know if there is any way to run multiple slash commands of another addon. I.E. let's say I have the following commands: > - /tsm get Peacebloom 10 > - /tsm get Silverleaf 20 > These commands are used for TSM addon to ge...
2014/03/27 06:13:14 by jnwhiteh
Hey there! I am new to wow programming, but I know a little bit about a few frames. One of them is the stealth frame, and I need help to make so when I go into stealth it will popup, (not as 'message("")' or 'print("")') :P Anyone who can help?
2014/03/21 12:55:57 by thebrohman
Question of CAST_SUCCESS? posted by tactica
Greetings, I am a nub at lua but have made progress this week but...I have been working on trying to update an abandoned addon and have made some progress in tweaking it to look better in the sense that it will place clickable links of the items conj...
2014/03/19 21:38:31 by tactica
Resources Dynamic Code posted by fajarharyu
Can I Create Resources with Dynamic C# Code or Vb.Net ?? Please Answers My Question :)
2014/03/15 13:51:32 by fajarharyu
Is it possible to do? I'm a programmer but have zero wow scripting knowledge. I'd like to write an addon that would capture certain interactions, then an external app would read the settings, do some work and update the settings files. The addon woul...
2014/03/11 22:46:55 by paincake
The WoW time() has changed? posted by Philburt
Sorry - ignore and remove this please.
2014/03/11 17:50:07 by Philburt
MOVEANDSTEER posted by angelhearth
So I have "bind BUTTON2 MOVEANDSTEER" working fine, but when I run and want to drop my "Ring of Frost" for instance (having cast "Ice Floes" so I can channel while running) and hit mouse button 1 mouse button 2's MOVEANDSTEER is cancelled, and I have...
2014/03/07 04:14:14 by angelhearth
move buff on top posted by vivi168
hi i wrote an addon to position my frames on specific locations on the screen so i don't have to manually do it for each of my characters. i'm now trying to make the buffs appear on top for the target frame but i can't seem to find any function...
2014/02/26 20:15:20 by vivi168
Class/form icons, /n help posted by jackar
Hello guys, I need a help with this bunch of code. Itsi s designed to show class icons instead of portrait for players, and if the player is druid, then show his shapeshift icon. However, I could only get this working for player himself, it still sh...
2014/02/19 20:46:24 by jackar
New discussion topic posted by kingsmilie
Ok so this is a little off topic. But is there a way to pull aggro off a target if that target is not targeting the aggressor using Vuhdo as the macro plug in... Plus will vuhdo use c scripting if c script is the only way to accomplish this? Also if ...
2014/02/09 01:30:54 by kingsmilie
Hey there everyone. I am writing my first addon and I would like to see which chat tab is open. I would like my addon to detect whether or not the Combat Log tab is the current tab selected... My addon uses recount to display data and I would l...
2014/02/07 01:58:16 by kriogenic
Hi! There is a boss "Alysrazor" in Fireland content. That fight has got an extra power bar "Molten Feather", with value 0..3. How to query that ? Thy,
2014/02/06 09:52:33 by Xers
Hello, Let's say that: 1 npc is attacking me, 3 npc's are attacking my party members. Is there a way to get an array or sth of all those npc's, so I can get threat status of 'em?
2014/02/02 04:31:45 by efindel
I've been working on an addon to track when a Unit will fall out of combat in PvP. An Icon is shown when each Unit is in combat and a Cooldown frame overlay to represent the time remaining before the Unit exits combat. I am having trouble with Lag ...
2014/01/23 07:15:22 by gates
I have a taint when I move the stance buttons (not StanceBarFrame) to the bottom corner using... name = "StanceButton"; for i = 1, 10 do button = _G; button:ClearAllPoints() if i == 1 then Po...
2014/01/22 09:44:28 by capadillo
New discussion topic posted by griste
It's a bit difficult to post the script itself in the correct format on here, but does anybody know how to finish this? 3.3.5 API casts vanish when blind is casted on me if not OP_Vanish then OP_Vanish = true print("Console: Vanis...
2014/01/10 17:38:27 by jnwhiteh
Problem with GetAttribute() posted by aximute
Hey, I'm not addons developper but adapt some addons to make it works on WoW TBC 2.4.3 (im playing on a private server). Unfortunaly, my knowledges are still so limited and after dozen hours with no solutions I decided to ask for some help. It...
2013/12/29 13:34:23 by aximute
wowlua BOM posted by thomja
Hello I was reading your ebook and a I came across this in the beginning alice = { name = “Alice Applebaum“, phone = “+1-212-555-1434“, address1 = “114 Auburn Street“, address2 = “Apt 14“, city = “Atlanta“, state = “...
2013/12/22 10:28:26 by jnwhiteh
About copyright posted by jaycekim
Dear all who concerned with API Reference. I'm Jayce Kim from KR realm. I want to make some korean API guide by translating wowprogramming.com's reference. Unfortunately, I could not find any mails or contact information. So, how can I contact ...
2013/12/02 17:15:02 by jaycekim
Frames not Showing Up posted by unclefro
Hi All, I just started programming my first addon and I am still learning the ropes, I have a pretty solid programming background however. I have a snip-it of code that is supposed to create a blue box with up to 9 sub frames inside arranged in a ...
2013/11/26 20:16:02 by jnwhiteh
Hide MultiBars posted by xziino
Hey guys actually this should be quite easy but its just not working. Im trying to Hide the Multibars connected to the MainMenuBar. It should work fine with the "Hide" function BUT its not. Doing stuff like - MainMenuBar:Hide() - MainMen...
2013/11/23 12:01:38 by xziino
New discussion topic posted by kingsmilie
is there a way to make this work for me name, _, _, _, _, _, expires, _, _, _, _, = UnitBuff("Target", "Rip") if (name == "Rip")(expeires - GetTime()) if sec < 1 then retV = 1 end retV = 0 else I want to have the Script read the name then look...
2013/11/22 05:46:50 by jnwhiteh
One CLICK D&D DROP on TARGET posted by kingsmilie
Im wondering if there is a way to Turn Spells like Death & Decay into a one click Macro that takes the use of the mouse out of the equation? Click the macro and D&D Drops on your Current Target. Or maybe Key Bind it. or Both at the same time.
2013/11/22 00:26:43 by kingsmilie
More Avanced Mouse Look posted by flammable
I want to have a mouse look that rebinds left and right click to hotkeys or macros. So after some searches I found a Mouse Look macro that also manages to rebind left and right click to strafe. I am wondering if there would be a simple way to rebi...
2013/11/18 02:30:07 by flammable
Hi there, according to: (http://wowprogramming.com/docs/events/PLAYER_TARGET_CHANGED) there should be an argument passed with the event that indicates how the target was changed, for me no arguments are provided, any ideas?
2013/11/08 22:45:21 by topkek
Move Floating Combat Text posted by demoted
Hi newbie here looking for some help. I am trying to move the Floating Combat Text though I can not find much info on it. I am able to hide it via `CombatText:Show() and CombatText:Hide()` but trying to use `SetPosition("CENTER",UIParent,"CENTER", 0,...
2013/11/08 00:01:57 by demoted
SetBlingDuration posted by galvin
I can't get this to work. What I'm trying to do is use this to not play the flash animation at the end of a cooldown. http://wowpedia.org/API_Cooldown_SetBlingDuration I've tried 0 and tried 5000, any value doesn't change the flash animation pla...
2013/10/31 20:40:44 by galvin
New discussion topic posted by griste
2013/10/31 02:09:32 by griste
Greetings! I've created an addon that should do the same as /roll, but when trying it in-game, the function doesn't seem to work. The game doesn't return the incorrect command message, I'm not getting any Lua errors, but nothing happens from inside ...
2013/10/25 12:23:52 by friddan
Here is some code i was trying to fix, not working correctly for me as its my first attempt at any lua code. Any tips on what i have wrong. run function VanishBlind (Unit,Event,Event) if sourceGUID == UnitName("target") then if spellname==("Bli...
2013/10/12 08:25:34 by jnwhiteh
Chat Channel Help posted by colonyl3
Hello, im still new to lua programming, and ive been messing around with an outdated and abandoned addon, it still works fine, i just want to add a chat channel option feature either through a slash command or through the interface menu. ive tried lo...
2013/10/11 23:28:39 by colonyl3
Moving HP, mana Bars posted by fixinf3
Hello everyone, I am trying to make a custom playerframe and have everything the way I want it except one thing. I cannot get the hp and mana bars to move via the addon. I can get the new texture to load, but colors will not load either. If I run cod...
2013/10/04 19:56:27 by fixinf3
delete please posted by fixinf3
sorry for double post was a mistake
2013/10/04 19:55:17 by fixinf3
Hey all, Right now I've got some edit boxes placed in my frame.xml and I would like the user to be able to change these values, and these values should be saved for later use. These values also have a default string, the variables are being sa...
2013/10/02 18:41:16 by jnwhiteh
I'm currently developing this: http://www.wowace.com/addons/black-market-tracker/ (yes I know, this is quite far from being finished, don't even bother using it yet ;p) The main feature of it is to predict when an auction is going to end with up t...
2013/09/29 19:07:39 by jnwhiteh
Hi, I'm receiving an error "Attempt to index global Box", --frame.lua This is the line: `Box:SetText("Dummy Text")` The interface is located in frame.xml, and frame.xml holds the correct path to frame.lua The addon works as intended, my sla...
2013/09/29 19:07:16 by jnwhiteh
Hello, I am trying to write a script that makes the character execute one of the available animations in the game. In particular, the character has to point their ranged weapon at the current target and keep it that way until the character moves or ...
2013/09/29 17:30:51 by elbin
BlizRuntimeLib_enUS ? posted by Philburt
Not actually a coding or book issue, but this one has got me stumped. My addon (Abigail) has been working nicely for some time now, and is available on a couple of addon websites, and has been tested against the most common addons for conflict iss...
2013/09/28 06:51:50 by jnwhiteh
BG Target Frame posted by pladombrowski
Hi, im trying to create a single clickable frame with the bg target. I already make some working comunication with ace3 lib : Select Target and send it to raid: ``BgCallTarget = LibStub("AceAddon-3.0"):NewAddon("BgCallTarget", "AceComm-3.0")``...
2013/09/18 20:36:12 by pladombrowski
Hello everyone. First I want to say, I'm using the API for patch 1.12.1.. I hope. Trying to make a simple filter/autoloot what you want. Addon for vanilla WoW. Been trying to put this together for hours but I just can't spot my error nor find ...
2013/09/14 12:43:50 by qvintus
Sliders not working anymore posted by Philburt
Hi, I use sliders in my addon, and are usually created using xml such as : abiDeletingSlider1_OnLoad(self:GetName()) abiDeletingSlider1Text:SetText(...
2013/09/13 15:59:47 by Philburt
This is probably a super easy table but I am getting stuck. Basically, I want the addon to save all the spells in the players spellbook to a table or each one to a variable. The end result (if it helps to understand what I am going for) is to h...
2013/09/10 00:57:37 by hehling01
I've been spinning my wheels all day trying to get a frame to hide. The frame is from addon Bazooka and is called BazookaBar_1 when I use /framestack. When I try to hide it I get an error attempt to index global BazookaBar_1 a nil value. Below is ...
2013/09/06 04:37:17 by jnwhiteh
Problem with inheritences. posted by nicox11
Hi ! I've some problem to do template. In fact, it just seems like it does not inherit at all. Juste like i forgot to place inherits="" in my code. Because when i place the code template directly in my frame it work properly (just wanted to do a f...
2013/08/30 17:04:06 by jnwhiteh
I'm trying to hide my bottom bar frames when the blizzard vehicle frame shows. I got the frames to hide ok for pet battles with this code. PetBattleFrame:HookScript("OnShow",function() self:Hide() end) PetBattleFrame:HookScript("OnHide",fun...
2013/08/28 21:32:33 by aeger
i am new to this wow addon stuff, i just made a simple addon to complete simple task in raid it works fine but i want to check who has addon or not, i looked up in google but unable to find some example code.
2013/08/24 18:14:12 by jnwhiteh
Hello, Ok here's the deal, I have 2 characters on seperate accounts and they need to be both online. First one has all the Variables/tables/information. Second one needs to read those Var/table/information and use them instantly. So basical...
2013/08/22 17:35:51 by jnwhiteh
Frame widget handler posted by leurk
Hi, I want to thank the author of this book who led me to learn a scripting language. I have a question about the scripts applied to a Frame Object, I tried to handle an "OnEnter" script on the Default ChatFrame for example by outputing a simple ...
2013/08/21 15:23:53 by stolenlegacy
Get item's text posted by pipeng
Hello, I trying to get the item's text example, in a enchant, get the effect of the enchant, or in a weapon or armour get the +5stam +5block, the text that we can see when we put the mouese on the item, and next show that info in a frame, the only pr...
2013/08/08 05:21:33 by jnwhiteh
Hi, I want to display a Model/PlayerModel/whatever so it looks like it stands/sits/whatever around in the world. what I got so far: local frame = CreateFrame("PlayerModel","mxpplayermodel",WorldFrame) frame:SetAllPoints(WorldFrame) ...
2013/08/08 05:17:50 by jnwhiteh
How to register UNIT_HEALTH? posted by kevinmd88
I'm attempting to write a section of code that will monitor a specific unit's health and do some stuff at a percentage. Specifically, the "boss1" unit. More specifically, Megaera. I tried registering the event to my addon object (I'm using AceAddo...
2013/08/08 05:16:51 by jnwhiteh
hi all, working on my own addon and ran into am dead end. so basically what i want. iv'e got my frame with texture. this texture should change if the target is elite, rare, normal, boss etc. but change should be done with SetTexCoord. so th...
2013/08/08 05:15:28 by jnwhiteh
Do an Action posted by pipeng
Hello, i am new in this, and i have a question, how i can cast a spell when the user click in a button or frame? as in the healbot, i do click in a character and i heal them, because we can't use castspelbyname or similars Thanks
2013/07/21 17:55:07 by roadmaster
Hello there! First I'd like to thank the authors of the book for setting up this nice website as a resource for WoW addOn programmers :). 1.) I have the first edition of the book, should I buy the second edition or will the first edition suffice?...
2013/07/01 20:01:13 by _zam_
Arena 123 numbers on nameplates posted by flyingsaucer
Hi guys, does anyone of you know an addon that would assign arena enemy numbers on nameplates ? After couple days of searching I found just this one: http://www.wowinterface.com/downloads/info20062-Arena123WidgetIconsforTidyPlatesThreatPlatesBet...
2013/07/01 12:06:29 by blingforfun
Newbie here! posted by grr3at
Hello everyone. I'm a new guy who's trying to get into the programming world. Now, I learned the basics, like the Hello World tutorials etc. My question is, what should I start doing now? I'm on my holidays so I don't have WoW installed. Before tryin...
2013/06/26 04:27:32 by celess
Passing Variables posted by Taborious
Thanks for the post! with that I was able to get my menus to populate. I now have a new question. For the initialize function how can you pass the frame name as a variable? UIDropDownMenuInitialize(Frame, DDMInitialize) If I try to use a variab...
2013/06/20 17:57:31 by Taborious
Hello, I'm new on developing wow addon. In want my addon to show target highest rating in 2s and 3s Arena. This will be display in the "character info" tab when you inspect someone. Game version : 3.3.5 !(http://img163.imageshack.us/img163/877...
2013/06/19 20:28:21 by tom022
How do most addons/programmers detect when your group has wiped (i.e. a specific boss encounter has reset)? I can't find any events in the API on this site...
2013/06/19 15:59:57 by tom022
Need Help With making a simple addon posted by chriswatkins2316
I am looking to make an addon to show the current total value of green armor/weapons in my bags. There is something similar in Zygor Guides that shows the current value of greys in bags. I have no idea how to approach or even attempt to do this so an...
2013/06/18 19:35:00 by jnwhiteh
hello, first post here! I am using weakauras to monitor my current attack power. the function to do that is following: function () -- Update every second only local now = GetTime(); WA_STATS_LA...
2013/06/17 15:44:14 by tom022
DropDown Menu update posted by Taborious
I have 30 dropdown menus used on one screen of my addon. The selection within all of those dropdowns is based of the selection of a main dropdown menu on the page. So when the main dropdown changes the 30 others need to update their menu selections. ...
2013/06/15 15:00:42 by Taborious
Background/Border textures posted by i2ichardt
There seems to be some oddities in how the background and border textures work, and i'm not sure exactly why there acting funny. For example if i put the following in my .xml file the code will appear to not work until. It will show an empty/invis...
2013/06/12 03:50:22 by tom022
Language Auction House posted by culdasergiu
Hi. Can anyone tell me how can i change language of Auction House(its on french and i need english) on my pandaria server. CODE ! THANKS !
2013/06/06 19:40:48 by jnwhiteh
I am writing an addon for personal use. The script uses a loop that calls the function UnitBuff() **a lot** of times in a rapid succession, and I'm worried that it may cause problems with the connection. I don't mind my laptop slowing down. My que...
2013/05/28 02:26:11 by yuce
How to display window on exit posted by visorgood
Hello. My question is how to display window (frame) with some content to player when he is trying to exit the game (logout), wait until he press some button "exit" on that window, and only then really exit the game? I am trying to work out PLAY...
2013/05/25 15:14:38 by jnwhiteh
Button / Label as child posted by tom022
I have frame called MGMainFrame. and this is part of my addon screenWidth = GetScreenWidth() height = GetScreenHeight() GMMainFrame:SetSize(screenWidth, height) I want to add new Label in LUA as child thi...
2013/05/24 17:00:17 by tom022
xml tooltips on buttons posted by Philburt
Hi, I'm familiar with creating buttons using xml, but the one thing i cannot find is how to have a tooltip appear on the button, although I can do this easily in lua as: MyButtonName.tooltipText="The text to appear as a tooltip" The t...
2013/05/17 19:23:01 by Philburt
Can't load models posted by malsomnus
I'm trying to use Model:SetModel to display some game models (bears, mogu, what have you), and most of them load without any textures at all. What might be causing that and is there a way I could fix it?
2013/05/17 12:18:17 by malsomnus
ok here is my issue, i searched for a few days and im really having a problem getting a border on this short bit o script, now my intent is to add the dialog box art file from wow to a border for this frame ` local frame = CreateFrame("frame", "L...
2013/05/17 12:11:00 by malsomnus
Using the images of the game posted by virulenta
Hello! I'm trying to set a backdrop. The edge is visible but the background is not displayed (I get plain white instead). I've checked the book to check the structure and the path to the picture but both seem to be OK. `` Participants:SetBac...
2013/05/11 20:30:09 by stolenlegacy
Getting raid members' specs posted by malsomnus
Is there a function that I can use to get the specs of everyone in my raid? I can't seem to find any, which is surprising...
2013/04/25 05:04:28 by jnwhiteh
Is there a way to get data about the game camera, for example so I can rotate a PlayerModel according to the camera's direction?
2013/04/15 18:21:43 by jnwhiteh
I'm attempting to read the auction house after a query, where the print function is put in for debugging purposes. I'm noticing the print function being triggered 3-6 times after a query is made and the auction list updates. Since I will be reading...
2013/04/14 08:25:43 by jnwhiteh
Weather Effects API? posted by killdnaction
Is there an undocumented api, or a function that will allow me to read the current weather in the current zone?
2013/04/10 18:50:33 by jnwhiteh
Hi, I'm new to the forum and my knowledge of lua are null, so we sought help from you who are professionals. In the past used an addon for pvp, called DotaKillSound. The last version of the game supports this addon is 3.3.5a. I tried to change som...
2013/04/07 14:45:03 by zorhel
I checked the event reference where there was no such event. Beside, how can I detect if my character is in the air/falling/diving?
2013/03/29 02:04:35 by finalspace
I have a problem with tracking "Penance" interrupt. I use "SPELL_INTERRUPT" for this and it works perfectly for any other spell but when im trying to interrupt "Penance" it doesnt fire. Are there any solutions for this problem?
2013/03/19 12:43:12 by revilated
Conquest point season total posted by shabadoo
How do I get this information? My initial thought was GetCurrencyInfo but I don't see it listed as a return value.
2013/03/07 04:36:34 by shabadoo
Hi guys, Bit of a strange one but I am currently conducting some academic research into increasing the accessibility of online games such as World of Warcraft for players with certain types of disabilities. As part of this I am trying to create...
2013/03/05 20:12:24 by jaren
Using an item from my bag posted by malsomnus
I'm trying to write an addon that will detect when my flask effect runs out, then pop up a button to let me quickly use a new identical flask without having to rummage through my bags... but I'm starting to suspect that there is no way for an addon t...
2013/02/23 16:07:14 by jnwhiteh
Obtain Spell School posted by aragonix
Hello everbody, First of all: Thanks for this forum. I dont know what I would do without it! Now to my question: I have an array with important Spells/Buffs, that I keep track of. My problem is that I would need to know the spellschool of these...
2013/02/17 21:01:16 by jnwhiteh
Detecting if player is AFK posted by garneth
I'm trying to make it so that if the player is detected to be AFK, stuff is put into the chat window. Code: function AFKCheck(self) local isAFK = UnitIsAFK("player"); if isAFK then -- Display Text DEFAULT_CHAT_FRAME:...
2013/02/06 21:04:20 by garneth
How can I get Arena stats ? posted by chocobar
Hello, I want to get Arena stats, like "Player" || "Damage dealt" || "Heal done" || "Death" || "Kills" Someone know how to get that ? I really searched but can put my hand on. Thanks
2013/02/06 18:24:58 by stolenlegacy
Does WoW preinitalize code? posted by kroltan
For example, if I have a .lua file (declared in .toc and as ``), does WoW run code that is hanging freely in the .lua? In my case: require("klass"); gratzor_prototype = class:new(); gratzor_prototype:build({stuff}); ...
2013/02/06 18:23:01 by stolenlegacy
Help With Slider posted by petcas
I am trying to add a configuration slider to my config window. I can get the slider to show, but cannot figure how to show the text version of the slider position. The slider shows up in my config widow and i am able to slide it but I want to show ...
2013/01/29 17:10:02 by Philburt
Hello everybody, I would like some help on me problem, please. local EventFrame = CreateFrame("Frame") local teamName, teamSize, teamRating, teamPlayed, teamWins, seasonTeamPlayed, seasonTeamWins, playerPlayed, seasonPlayerPlayed, te...
2013/01/24 19:12:24 by chocobar
In combat, when we put cursor on the CompactRaidFrame, we can see the tooltip which I just want see it out of combat. I checked the Blizzard code and in "FrameXML/CompactUnitFrame.xml", I found: Then I tried to write ...
2013/01/16 06:29:29 by jnwhiteh
So I'm making an addon that tracks some of my auras, and allows me to move these little frames around. I used Frame:SetUserPlaced (true) to make the game remember where I placed the frames, and it works great... except for a specific one. Which is mo...
2013/01/08 20:48:37 by jnwhiteh
**Hello. I have some basic questions i want to ask about the addon i just made for wow 3.3.5a version.** The addon is working fine, but it doesn't respond to some lines in my code. I am very familiar with c++ and javascript, but pretty new to L...
2013/01/07 18:06:35 by c0untfl0yd
Hi, my problem is that I can't get the way to extract text data from Chat Frame, I manage a private server, and I would like to make a Ticket Reader Addon, the command for get tickets is .ticket viewonline and with this get a list of tickets in text ...
2013/01/07 06:11:09 by jnwhiteh
Question about Vengeance buff posted by malsomnus
Hey, sorry if this is a noobish question, but... I'm trying to make an addon to track my Vengeance buff, and for reasons that I won't go into I'm trying to find it from `COMBAT_LOG_EVENT_UNFILTERED` events. Now, either I'm not doing this all wrong...
2012/12/30 10:01:07 by Cladhaire
calculate how many enemy posted by zahremar
hi all how can calculate how many enemy in combat with player ?
2012/12/22 18:11:46 by jnwhiteh
Addon Data sync posted by jesusc
Hi, I need some advice on the best way to handle syncing data across players. I am wanting to sync the most recent timestamp with everyone who's using the addon. Currently what I'm thinking is all players join a hidden chat channel and on an event...
2012/12/19 07:03:57 by heihei
Combat Event handler woes posted by davej1961
I have the following piece of code extracted from a book by Paul Emmerich. However, I have been trying to use it and failing dismaly. I am trying to extract the parameters from the vararg associated with COMBAT_LOG_EVENT_UNFILTERED but it does not w...
2012/12/19 07:03:21 by heihei
Clamped To Screen posted by tolarian
I built a draggable frame, and within this frame are attached other frames. I made sure that this frame can not be dragged beyond the edges of the screen with ClampedToScreen. But the final frame can be dragged over the right and bottom edge of the s...
2012/12/18 08:44:54 by jnwhiteh
Ingame QuestID posted by Dimension
Hi, Does anyone know how to get the ingame quest-ID from a quest in the questlog? If you have the quest "Going, Going, Guano!" (Razorfen Kraul), and look at wowhead: http://www.wowhead.com/?quest=1109You see that it have ID 1109More websites use that...
2012/12/18 01:43:47 by rml
Suppose I have the following in an .xml file: I also have a lua function defined in a .lua file that when called with ...
2012/12/17 08:09:10 by jnwhiteh
WowLua message on click posted by intruder22
How can I get proper message about duration of my spell? I've tried: Lua code: local button = CreateFrame("Button", "MyCastButton", handler, "SecureActionButtonTemplate") local start, duration, enabled = GetSpellCooldown("Battle sho...
2012/12/17 08:00:44 by jnwhiteh
Determine stance of warior posted by wallback
Please, talk me why determine current stance of enemy warior with lua api? UnitBuff, UnitAura dont work. This is possible?
2012/12/12 05:08:31 by jnwhiteh
I have a working addon called Abigail, which stores its saved variables at C:\World of Warcraft\WTF\Account\'my account name'\SavedVariables\Abigail.lua The variables are declared in the .toc file as ## SavedVariables: abiPriceIndex, abiVariables,...
2012/12/07 08:03:18 by Philburt
Problem with inherits posted by tolarian
With these two codes can be displayed in the upper left corner of the screen the alliance and horde flags XML: http://lua.nopaste.dk/p15839 Lua: http://lua.nopaste.dk/p15838 But when I try to build the frame in the function `UNITSCANNER_Icon_...
2012/12/07 05:12:40 by jnwhiteh
I'm trying to build my own addon, and this code should bring up a frame when enter the world the .xml fil...
2012/12/05 19:19:56 by efindel
Hi 1, Im trying to use SendChatMessage to write to my "instance" group, worked before in partys but now it seems like u are in instance-grp when u play with others? 2, I cant figure out how to send "/played" to my chat soo it show my play'd tim...
2012/12/02 21:58:33 by madmange
UI Dragging issues posted by pandemic
Although I have experience in other languages, I'm rather new to Lua within the WoW environment. I have created a GUI with input text areas and buttons, using only Lua, which I would like to keep that way. I've also learned how to drag a fram...
2012/11/30 20:43:19 by pandemic
Captain Struggle... posted by nibs
I'm trying create a button to use my hearthstone. The top section of code creates a frame and displays some artwork on the screen. the second chunk is supposed to create another frame and a button to go with it. I can get it to show up on the scre...
2012/11/30 18:54:27 by nibs
Test for CC? posted by redhatter
I would like to test for, or have an event that notifies me when a unit (player) is under a stun fear polymorph etc. The only thing I've found is the UNIT_FLAGS event, but couldn't find any info on how to use it.
2012/11/30 05:09:09 by jnwhiteh
Hi! I'm a lua beginner, trying to make a simple addon work as desired. It's a miniature panel that lets me queue for random bgs, arenas and LFDs through a simple click. I'm having a problem with the battleground queue, however. It works initially,...
2012/11/22 20:06:13 by voraga
I would like to create some frames in Lua rather than in XML but I'm having a hard time making the crossover. I understand how to make the frame and place it in the correct spot in Lua, but i'm having a hard time attaching the background texture and...
2012/11/21 06:50:02 by jnwhiteh
Hi again. I've noticed that since 5.04 there seems to a be a lot more items with identical names, but with different quality values. For example, "Ghost-Forged Helm of the Preserver" could be either a blue or a green item, with different stats. I...
2012/11/20 19:10:39 by jnwhiteh
/framestack question posted by nibs
Quick question about /framestack. I understand about it showing the frames under the cursor, but what about the coordinates in the corner? I thought they should be the coordinates on the screen. My 1920x1080 monitor is showing a max coordinate of ...
2012/11/20 02:05:31 by nibs
addon; ShowTarget posted by et123
hi i am working on an addon; it should display an arrow above "focus" & "target" with colors as per friendly or hostility. i am able to display arrows above nameplates but unable to hide them when no target. i am sorry i am new to this WoW progra...
2012/11/10 10:55:31 by jnwhiteh
I'm trying to parent the chat frame so when you start a new character the chat window won't go to its stock location and it will instead go to the location of the kgpanel that i have it parented to. This seems to be possible with everything other th...
2012/11/08 18:54:15 by jnwhiteh
Accessing XML frames with LUA posted by darkscion0
I have a frame created via XML and I'm trying to dynamically create class icons as childs using a loop in LUA. For some reason I can't get anything to show up. I've also tried just doing a single texture and a single font string. I get no LUA errors ...
2012/11/06 10:05:18 by stolenlegacy
Need help with an addon posted by billan93
Hey, I've been thinking about making a addon that will help alot with leveling in MoP. And I mean leveling while you are AFK or semi AFK. The idea is to write an addon that when you die it will notice that theres a mass ress healer nearby (AREA_SP...
2012/11/06 09:57:00 by stolenlegacy
This is my first post and I may miss something. I would like to get the unitids of the NPCs around the character in defined radius or in the current subzone. I don't have the NPC in the target. The NPCs are friendly to me. Is this possible? Or do...
2012/11/06 09:54:31 by stolenlegacy
Hi I'm a newbie addon developer and I'm running into some trouble understanding the SPELL\_CAST_SUCCESS event. I wrote a short block of code that is supposed to detect when a specific spell is casted and then trigger a cooldown frame I set up. Howe...
2012/11/06 09:52:08 by stolenlegacy
DropDownMenu Problems posted by emmote
Heya, I've been looking around for almost a week now and I've really not been able to find any definitive answer to my problem. I have a load of DropDownMenu's (UIDropDownMenuTemplate) and I need to be able to find out their currently selected ...
2012/11/03 14:37:57 by emmote
Hi guys, I need some help with custom function for one addon (Weak Auras). Im trying to get name of Stormlash Totem caster and announce it to say channel. But Im not that good in lua so Im just trying to combine pieces of code together with no avail ...
2012/11/01 18:27:03 by efindel
Hi, I'm running into some problems when trying to place 2 frames side by side. This is an excerpt from my code: IconFrame1 = CreateFrame("Frame", nil, MainFrame) IconFrame1:SetSize(40,40) IconFrame1:SetPoint("TOPLEFT", MainFrame, "TOPLEFT") ...
2012/10/30 06:07:35 by jnwhiteh
GCD detection posted by donnicky
Can I detect when global cooldown started and when it is ended?
2012/10/27 08:27:57 by jnwhiteh
Hello! Can I determine if player's target is before player or behind player?
2012/10/27 08:27:35 by jnwhiteh
I'd like to identify a NPC who said something in a chat. It's easy to detect the NPCs name via (http://wowprogramming.com/docs/events/CHAT_MSG_MONSTER_SAY "CHAT_MSG_MONSTER_SAY")). But the problem is that the names are nationalized. E.g. the NPC that...
2012/10/14 13:33:03 by jnwhiteh
I've been looking for what has been literally weeks for a very small piece of information that I can't find. How the hell do you find out if you're in a wargame? There's no function to return a specific value if you're in a wargame or not, and I'v...
2012/10/08 13:01:45 by jnwhiteh
Hi, everytime i create an EditBox and give it a text with SetText("some Text"), the editbox seems to be empty. But I just found out that the box isnt empty, lua correctly parsed the text in it and scrolls so far away from the start that you cant see...
2012/10/07 16:32:35 by anonyma
I've been unable to locate an API function or event variable to determine whether a unit is silenced or not, in the standard sense. Silenced meaning unable to cast spells. GetMuteStatus Returns whether a character is muted or silenced on a chat ch...
2012/10/04 17:36:49 by nefertem
New discussion topic posted by piscesmike
Greetings everyone. I have recently picked up programming for WoW addons, and the first project I've started with is a simple module which will allow you to select a raid boss, and the then addon will broadcast fight instructions to various channel...
2012/09/28 09:45:48 by piscesmike
Hi Everyone, Might be a very simple problem, but i searched for more than one hour and couldn't find an answer: Is there any way to get the remaining time of an buff by spellID (BuffID)? Currently I am using the UnitBuff function. But this funct...
2012/09/23 09:55:21 by shagaal
Clickable item links posted by akkaw
Hi there, I've been trying to create a simple addon to help my guild manage our DKP system. One thing it does is keep a list of loot that has been auctioned during a raid. What i want to do is display that loot in a list...which is not hard to...
2012/09/22 17:14:51 by akkaw
Adding textures via LUA posted by darkscion0
Hello, I have a frame that is created via XML and let's say the dimensions are 300 x 300. In order to add a 32x32 texture to that frame via LUA, can I just tag it onto the existing frame as a child or do I need to create a new frame in LUA with t...
2012/09/21 18:51:46 by darkscion0
HELP! posted by dandaman
Ok, so, i did the first exaple in the book -.- already having problems. At first the .toc file wasnt working, but i went into DOS and renamed it through dos then i finally got it to show up in the add on page of wow. Once i got past that step, the LU...
2012/09/20 18:27:20 by dandaman
I'm trying to find out if there is a way to get the title of a quest using the questid. The only thing I've found that is even close to it requires the quest to still be in your quest log. I'm wanting to be able to return the quest title w/o having...
2012/09/18 20:39:02 by nimiety
Tukui 3.3.5 move buff posted by xenon11
Hi guys, Iwant to move my buff and debuff frame when hit a button, i'm using Tukui Hydra edit t11 and i can't do it, any help is appreciated.
2012/09/14 14:45:15 by Myrroddin
I am piggybacking on the Altoholic mod to determine if someone posts an item link in chat, it checks to see if I have the item. My function to check is below. function GetNewCount(item) Altoholic.Tabs:OnClick("Search") ...
2012/09/05 16:21:40 by jnwhiteh
API Guild Reputation posted by deltoide
Good morning friends wowprogramming, with the release of patch 5.0 I noticed a new feature that gives guild to view the reputation of every member of the roster, I wonder if there is any command API that returns me the reputation of members as the...
2012/09/01 15:11:48 by deltoide
StatusBar XML Inheritance posted by glohim
I have come across some instances where the UI XML inheritance does not appear to work. I was hoping someone here could help me out. ... instead I had to copy the _AchievementProgressBarTemplate_ content from the Blizzard_Ach...
2012/08/31 21:07:55 by jnwhiteh
Queue time displays posted by blagaah
Hey guys, I'm trying to work out how to display the queue times for LFD/LFR/RBG since 5.0.4 dropped. I've got a chunk of code I'm trying to update for an "abandoned" addon as a fan update (The majority of the work has already been done by a spare au...
2012/08/31 21:07:20 by jnwhiteh
Moving PetBattleFrame posted by urnati
Hi- I need to move the PetBattleFrame so it is below the TitanPanel bars. Unfortunately no matter what I try the top does not move. I can get the bottom part PetBattleFrame.BottomFrame to move. In chat I have tried the below with the PetBattleFra...
2012/08/29 19:55:43 by jnwhiteh
Hi- I am having an issue with parentKey in Lua. How do you reference the parent key? I want to do something like: ` myframes={ PetBattleFrameBottomFrame = {frameName = "PetBattleFrame.BottomFrame", ...} ...} Then for index, value in pa...
2012/08/29 19:55:10 by jnwhiteh
scrollframe posted by jumxipel
Hello, how to create working scrollframe? In the book it is described as to create on XML and me it is necessary on LUA. Give a template of already ready ScrollFrame on Lua thx.
2012/08/23 15:42:26 by jnwhiteh
chat tab text posted by xenon11
hi guys, i'm trying to change the color of the chat tab text. here is my code, tell me what you think about it, and, if you find, some errors. (myresult is only one tabtext colored, the others are still yellow) for i = 1, NUM_CHAT_WINDOWS do ...
2012/08/21 13:40:20 by Myrroddin
New to developing addons posted by tomtomgo
Hi everyone! I want to preface this post by saying that I am currently in school for programming and have what I thought to be a pretty good grasp of the concept. I am also very new to writing addons... What I am trying to do is create an addon t...
2012/08/20 05:53:49 by tomtomgo
Help posted by clowbake
Help me , whether there is such addon or how to do him, that addon collected information about things that on him is put character.
2012/08/16 07:35:23 by jnwhiteh
Hi! Is it possible to write for example the current raid and their members to a text file? If so is it just standard LUA code to execute this? / Anti
2012/08/15 21:20:43 by jnwhiteh
Question about LUA quest posted by laenoar
Hey guys, I'm fairly new to LUA and all that I've learned is how to create a escort quest, scripting a NPC, making a custom flight/mount path and things like that. Now I have stumbled accros a problem. I am making a custom blizzlike server, wich is ...
2012/08/08 20:17:22 by Myrroddin
Trying to figure out how to use the existing talent functions to get the name of the player's active talent tree - such as Assassination, Feral, Demonology, etc. This is what I tried: `` _, spec = GetTalentTabInfo(GetActiveTalentGroup(false,...
2012/08/04 19:52:23 by semlar
Specifically, Autorun. I'm trying to write a simple addon that tracks whether autorun is active or not. Being a beginner with both addons and programming in general, it's become quite the project. I first thought of this addon while farming. I hav...
2012/08/04 19:22:29 by semlar
Tukui Hydra mod posted by xenon11
Hi guys, i have looked in very much sites to find it, but I didn't. does anyone have a download for the hydra edit o tukui? for version 4.0 and/or 4.2 thanks in advamce
2012/07/24 16:07:27 by jnwhiteh
Cool down Tooltip posted by nibs
I created a button in kgPanels that uses either the Hearthstone or The Innkeeper's Daughter, whichever the player currently uses. I would like to have a mouseover tooltip that will display whether or not it is for the Hearthstone or The Innkeeper's ...
2012/07/20 16:14:47 by jnwhiteh
Addon for Classic WoW posted by prog
#### Hello, As far as I can see there is a community of WoW addon developers in here, and I really hope there are people with old experience in here as well. Thing is, there is pretty good private server for WoW client 1.12.1, and I am guild maste...
2012/07/20 14:57:33 by grr3at
Hey i hope someone can help me with the issue im having. Its basically i would like to change the way how the default raid frame sort works. So i would like to change the behavior of the following function from the default raid frame (http://wowp...
2012/07/14 13:39:30 by jnwhiteh
Display new questIDs posted by zardok
Hello. I am just starting programming WoW addons, and for the addon I want to make I need to output the questID of the quest you just accepted. I have a working event to output that you accepted a quest, but I've been unable to find a way to output t...
2012/07/14 06:58:30 by zardok
kgPanels Buttons posted by nibs
I've hit a block. Let me explain what I have and what I'm trying to do: I created a panel that when clicked, opens another panel with 6 *Buttons* on it. Five of these *Buttons* place World Markers, and the last *Button* clears them. The code fo...
2012/07/14 00:28:01 by stolenlegacy
Hi everyone, got a bit of an odd question for you all. I need a way to get the current movement speed of certain players in a raid group. I found the GetUnitSpeed function, and tried this (for example): ``speed = GetUnitSpeed("raid2");`` But it...
2012/07/08 11:28:12 by flippy
something wrong? posted by deltoide
Friends of wowprogramming, I have these codes and would like to know if you have something wrong with the second line ====== local oficial = 0 local strings = {} strings = "hi" strings = GetGuildRosterMOTD() ...
2012/07/06 22:48:03 by stolenlegacy
trouble initializing dropdownmenu posted by aidevelopment
Hey All, hoping someone can lend me a hand here. :) I've been trying to wrap my head around drop down menus for a while now, and it's surprisingly difficult. After following multiple examples and tutorials that don't work, I've hacked together som...
2012/06/30 16:30:59 by aidevelopment
Is it possible to change the open chat tab? also is it possible to see if the player has Guild chat broken into it's own tab. I would like to programmaticly switch to the Guild chat tab, if the user has 1 set up if not I would like to programmat...
2012/06/24 08:41:30 by jnwhiteh
transfer SetText posted by jumxipel
How to transfer a line from SetText so that it was not on the middle. I do through \n it levels the text on center
2012/06/22 18:32:00 by jnwhiteh
macro posted by jumxipel
Hi, everybody. As to me to fix on a frame a macro? On a frame it is possible to fix buttons and how me for a place of buttons to put a macro? I created "Hello World" macro with the text of "Hello world" and how me a macro to place on a frame? ...
2012/06/21 22:18:43 by jnwhiteh
Resizing Tabs posted by Philburt
My addon (Abigail) is up and running, and many thanks for your help in the past, however I've noticed that the tabs I've added to the auction house frame get wider if I close the auction house and then reopen it again. My code is: function a...
2012/06/21 12:19:29 by Philburt
Buzzbox system posted by acatiera
Hey everyone! Im trying to build a scrip that works as a buzzbox. When activated, "say" should be send to a specific channel, and and when deactivated, it should send to channel obviously... The script i have so far is: local cid = G...
2012/06/20 11:50:21 by jnwhiteh
buttons posted by jon
Hi. Help will create the button by pressing on which to write the personal message to that with whom I open a chat. So still does a macro.
2012/06/20 11:49:28 by jnwhiteh
Localizing an addon posted by Myrroddin
I got spoiled by AceLocale-3.0, but now I no longer have that luxury, as I am writing Rift addons. The good news is that the Rift API isn't that different from pure Lua. Rift even has the local MyAddon, Data = ... To that end, the methods suggest...
2012/06/20 11:45:30 by jnwhiteh
Mass Auctions posted by Philburt
Hello again. Once more I'm having problems at the auction house, but this times its when I try and sell stuff. My objective is to eventually have a function that will search through my bags and allow me to sell all the items with one key press. ...
2012/06/18 10:48:23 by Philburt
Addon Spanning Screen Width posted by digitalnoise
Good Evening, I'm trying to modify an element of an existing addon (the xpBar from FreeUI, to be exact) so that it spans the entire width of my screen, and I'm having a lot of trouble. Currently, it's setup like this (backdrop is the bar to whi...
2012/06/07 10:57:04 by stolenlegacy
Coordinates on target posted by jummes
Hi. How to make addons which will write to print of coordinate of NPC on target? I want to take NPC in target to register command /coord and that to me to print wrote NPC coordinates
2012/05/29 20:44:36 by efindel
Database List or Table??? posted by killdnaction
I'm trying to write an add on that saves a list each time I log out or exit the game. Basically my list will have my characters name, a date, & how much gold I have. I tried using a table for this but I think I may have been doing it wrong. Cause eve...
2012/05/28 20:55:40 by killdnaction
Hi, everybody! At me such business... Whether it is possible to break account having gm it is right? That in case of an input there was an error 132 or 134???
2012/05/28 20:43:13 by jnwhiteh
Command posted by jummes
Hi. How to make such team: / command test test That it was possible to write down so: / co ma n d tes t test And that it worked. That there was a possibility to put gaps but team worked.
2012/05/24 18:41:33 by jnwhiteh
Regular Expression posted by bunneh
I've got the following test code: a = 'A_A'; print(a:match('^*(_+)*$')); The printed result is nil. What am I doing wrong? This expression should mean that following strings should match: A A_B_C A_BBF_A12_13 And foll...
2012/05/21 22:35:50 by jnwhiteh
Posting an auction posted by Cinos
I had written this mod about 2 years ago and of course with all the changes it does not work anymore. Its a simple little program that I use to help me post glyphs on the auction house. The problem is when I am setting up the item for auction. ...
2012/05/16 09:49:15 by Philburt
For some reason my code is printing twice, and I can't figure out why. Any help would be appreciated. local armorFrame = CreateFrame("Frame","Test") local elapsedTotal=0 local curAvoidance=GetDodgeChance()+GetBlockChance()+GetParr...
2012/05/12 14:48:00 by res1233
I am going through my addon and trying to clean up global pollution. I found that all of my form widgets were polluting the global namespace. I tried changing the names of the widgets to Foo.OKButton Foo.CancelButton etc, in an attempt to put all ...
2012/05/05 23:02:32 by tasz
repost message posted by acatiera
Hey im trying to create a lua script that copyes what you send in "say" and writes a whisper automatically with the same text, to a predefined player. the whisper should not be visuable for the sender. I have used a few days now on this, and i hav...
2012/05/03 22:29:48 by acatiera
Find out who invited you posted by akise
Hello dear wow programmer community I am unexperienced in addon programming, but am not an unexperienced programmer overall...so Ive started just testing some stuff today which I want to use in an addon later. SO ive started with simple macros fir...
2012/04/20 21:09:23 by stolenlegacy
Hello, As a new author this website and the accompanying book have been a great help. I would like to create an addon which makes clicking a lightwell even easier and was wondering if the following sequence is possible: Target Lightwell > ...
2012/04/14 22:25:23 by kappamus
Hi guys, I have a weird question... If I were to make a custom XML file (one that does not follow the World of Warcraft UI spec) and saved it in the addon's folder, would it be possible at all to read this XML file into the addon's LUA script?
2012/04/05 06:55:21 by jnwhiteh
Hiding Specific Nameplates posted by strykern9ne
My goal is to hide NPC namplates altogether but keep the friendly player and enemy player nameplates visible. I've only come across scripts and addons that just toggle the options that WoW gives you in the interface options. Is there a way to do this...
2012/04/05 06:50:17 by jnwhiteh
Hi Guys, I'm very new to WoW programming (former Objective C, Java programmer). I've read about the basics and i'm wondering how to show an Icon on the screen with the Cooldown "watch" animation. I just added an image to the screen but i don...
2012/04/03 22:14:01 by stolenlegacy
The script with the issue: http://code.google.com/p/wow-dameter/source/browse/Dameter.lua On my main character - which I was using to learn to develop addons - the print function stopped working. It use to work, but now... Other addons still work...
2012/03/30 14:53:29 by haggen
Hi all out there, my skills in lua programming are very basic so, who wonders, i'va reached a dead end. hope someone can haelp me out. situation: sreating suttons for - open bags - oamagmeter - ohat etc. so i wrote a Template for th...
2012/03/24 18:32:06 by jnwhiteh
Trimming Textures posted by Xers
Hey guys it's me again I've got a question about trimming a texture. My problem is that I've got a border texture with rounded corners. My Template ...
2012/03/20 19:35:24 by Xers
Welcome it's again Me i need function to print message in WoW addon studio console i try to use this ConsoleAddMessage() but does not work :/ Message should be show in this program i'm not sure is that possible Thanks for help
2012/03/19 18:05:50 by acidweb
Hi everyone, is there a possibility to set the window width of a StaticPopupDialog ? I am using it the usual way: StaticPopupDialogs = { text = "...", button1 = "...", button2 = "...", OnAccept = function() end, timeout = 0...
2012/03/17 15:40:50 by jnwhiteh
AutoLoot mail script posted by kreolx
Hi! I'm write next script: x=GetInboxNumItems(); for i=1,x,1 do AutoLootMailItem(i); end; The script works, but it collects only the first letter attachment. Where am I wrong?
2012/03/17 10:54:35 by chemical66
Hey guys, So i've got this addon ever since vanilla, but they stopped updating it. It has worked fine up until 4.3 and now it doesn't work anymore, i've tried to fix it myself, but i can't find what's wrong ( i fail to find sites who list function...
2012/03/15 18:39:55 by acidweb
This is only my second add-on and it seems I've made an error somewhere. I don't know if it's the actual code or I have syntax wrong. Please help... Pastebin.com link below. edit: I've got it working but would like to implement a better flag for w...
2012/03/14 18:34:59 by jnwhiteh
Need more help :3 posted by chelkuhz
Made the other post i know, but idk how to make it :( First add-on i'm making. Could someone help? I want the add-on to take what someone says in whisper and announce it in trade or a custom channel.
2012/03/11 04:19:10 by chelkuhz
When using the Auction House, and putting an item up for auction that is a stack of say 20, two little edit-boxes appear under the icon of the item, allowing you to specify the stack size and number of stacks to apply your bid and buyout amounts to. ...
2012/03/10 20:11:59 by Philburt
Ok so I wanted to make an add-on that announces what you say in Whisper. Example: -: hey there -Copying what said in to -2. : hey there Is it possible? If it is can you help me do it please? Thanks -Chelk
2012/03/09 07:03:22 by chelkuhz
Events, how to code? posted by tom022
It is my 1st post about scripting. If post is in wrong place pleas remove him. Ahh and my english it's not so good but i think evryone can understand me. Im starting programing addons. I wont to code addons witch play sound when player whisper to...
2012/03/06 21:17:05 by tom022
I know the Blizzard tooltips take account of the quantity of an item when displaying the Sell Price, but I can't find my way through their code. How do I go about reading the stack size of the object that is currently under my mouse. This could be...
2012/03/04 12:30:54 by Philburt
value \n posted by jon
Hello jnwhiteh. Please tell me how to use SendChatMessage value \n
2012/02/29 23:34:50 by jnwhiteh
Hello! As part of a learning exercise I'm in the process of writing simple unit frames for my own use. I've noticed irregularities with regards to boss unit ids and the UNIT_HEALTH (and other) event/s. I'm using SecureUnitButtonTemplate for my ...
2012/02/27 22:39:53 by kl
Error posted by jon
What is wrong? local function handler(msg, editbox) local command, resst, ressst = msg:match("^(%S*)%s*(.-)$"); if command == "add" and resst ~= "" and ressst ~= "" then print("command "..resst.." rest "..ressst.." ttt") ...
2012/02/27 21:45:22 by jnwhiteh
Saved posted by jon
Hi, I'm sorry for my english. Not my native language. I want to make an addon that will keep those characters which I enter, and they prepisyvat points. For example: / reducing Nitskname 100 That is to say / commands nitsk points But I'm a no...
2012/02/26 12:22:15 by jon
Hello :) I'm writing an addon and I'm looking for a way to get the progress of the current instance (raid/dungeon/LFD/LFR) the player is in. What I'm looking for is the number of dead/defeated bosses in the current instance. Please note: 1. This...
2012/02/21 19:49:03 by istaran
which the code that checks the guild total activity of a player? I have this code, but it checks the weekly activity and not the total for i=1,GetNumGuildMembers() GetGuildRosterContributionTotal(i) <= 250000
2012/02/10 09:15:58 by fuskare01
table wrapper functions posted by Myrroddin
I am trying to replicate AceEvent-3.0's UnregisterEvent and UnregisterAllEvents using table.remove, as Rift uses table.insert to register events. There is a great deal of information (http://forums.wowace.com/showthread.php?t=19906 ""), but thus far ...
2012/02/07 17:24:02 by Myrroddin
Hello, I'm familiar with creating movable frames but would like to make one where only the title bar can be clicked to move it. My goal is to allow mouse clicks through the general area of the frame but still make it movable. I've created a ...
2012/02/03 17:14:08 by kappamus
Fading Text Frame posted by zookia
Hi. I copied the code from the "Fading Text Frame" snippet and added it to my addon. I then triggered it using the code: `MOD_TextMessage("Test Message");` - sure enough, the message pops up, but it doesn't go away after a few seconds. Am I missing s...
2012/02/01 01:12:51 by zookia
If I had two addons loaded, (addon1 and addon2), how would I get addon2 to hook a button click in addon1. For instance, addon1 with a button called Button1, includes the XML script: DoSomeCode(); ...
2012/01/22 14:01:33 by Philburt
Ok I have a problem. My script that I run on my WoWLua is not working. I've tried to work with SecureActionTemplate to run the cast with one click. The script is: local button = CreateFrame("Button", "MyCastButton", handler, "SecureActionButt...
2012/01/21 23:40:00 by jnwhiteh
If mounted posted by alicethetic
I am relatively new to the whole scene of writing addons so bare with me. basically I need to find a way which I can determine if the character is mounted or not mounted. I tried looking thru the events and what not, couldnt really come up with anyth...
2012/01/18 17:03:09 by alicethetic
I feel like I've missed something obvious. I've dug through the party, raid and unit functions. I would like to know whether I'm in 10 or 25 man raid. I found MAX_RAID_MEMBERS which is 40 and of course GetNumRaidMembers() but that give n/M not...
2012/01/18 16:35:31 by android
A Big Thank You posted by Philburt
Just a BIG THANK YOU to James Whitehead II for all the help you've give over the years. Not just to me, but other addon coders as well, because I've often got inspiraton for solving my problems by reading your replies to their problems. My addon (...
2012/01/18 09:04:27 by jnwhiteh
Help with addon kick posted by deltoide
Is there anything wrong with these commands? He should check (at the time I get into the game) who is more than 30 days off and remove from the guild local kick = 0 local function onUpdate(self) if kick == 0 then if not ...
2012/01/06 00:20:15 by deltoide
I am trying to register when other members in my party or raid, press need, greed, disenchant or pass on items beeing rolled for in group loot mode. I think I can sniff it from the chat, but sometimes 2 of the same item drops, and then I can't sep...
2011/12/31 00:15:33 by jnwhiteh
So I'm creating a table dynamic buttons/textures and I came across an interesting happening. I'm reusing the array and setting the buttons/texture variables to nil and for some reason they don't want to vanish off the screen. I know I can :Hide befor...
2011/12/25 22:33:07 by jnwhiteh
Occasionally when I take a resurrection, the game client doesn't register it. Running /console reloadui fixes it, but the loading screen lasts long enough that if I have to do it in combat, I'll probably be dead again. (For a while, FollowFelankor ca...
2011/12/25 00:24:07 by jnwhiteh
Invite On Whisper problems posted by bastyra
So the problem, I don't want to be an auto guild inviter that just spams everyone all the time. I find it distasteful and annoying, so my solution is to use TBA to announce and alter a party whisper invite mod to do the invite as soon as they decide ...
2011/12/22 14:27:24 by jnwhiteh
Animation of the Minimap posted by cormanthor
I'm trying to animate the Minimap through translation and scale transitions, based on a conditional. I have the lua functioning as intended, but the animation only works on translation of the border frame, not the scale, and neither on the Minimap it...
2011/12/22 14:23:11 by jnwhiteh
How to make a Combo Box? posted by Thander
I want to have a few drop down menus in the addon I'm working on. I read the chaper about drop down menus, and that will work but I noticed the default UI options panels have combo boxes for their drop down menus. I looked through the options panel x...
2011/12/20 15:36:33 by luccius
Print to the Guild chat window. posted by Greenhorns.Veknilash
Printing to any tab other than the General tab. I would like to have output show up in the Guild chat window, if the user has that open and not the General tab. All i find is how to output to the "Default chat window". To be clear I don't want ...
2011/12/19 10:55:16 by jnwhiteh
SetSendMailCOD posted by altnob
So I'm new to all of the macroing and what not other than basic spellcasting macros. What I want to achieve with this macro is the following: 1click mail macro: -Enter person's name to mail to -Place 12 stacks of 20 specified item into mail...
2011/12/19 10:50:13 by jnwhiteh
Non-guilded question posted by Myrroddin
I have read that sometimes the guild level gets cached, even if a player leaves a guild. To account for this, just in case, I check GetGuildInfo and GetGuildLevel. function SmartRes2:BindMassRes() -- guild level may be cached, therefore ...
2011/12/19 10:49:09 by jnwhiteh
Rank promotion posted by deltoide
Friends, I wrote this script but I believe I have committed any fault for i=1,GetNumGuildMembers()do local _,_,a,b=GetGuildRosterInfo(i)if GetGuildRosterContribution(i) >= 2763580 and GetGuildRosterInfo(Name) ~= "Raptis" then SetGuildMemberRank(i,...
2011/12/09 09:34:41 by jnwhiteh
help with addon posted by mazzop
hello, i made an addon to help me doing ML, its my first addon and i wsnt sure what i am doing and its sloppy but its working so hey ;) addon forwards item links guildies whisper me to a channel (her is for officer but i would want that into some cu...
2011/12/06 13:35:01 by jnwhiteh
Hi, I've been trying to develop a better Pick Pocket as Auto Loot is not fast enough to fully pick pocket when you immedietly Ambush after. By what i can assume, if fRPickPocket()==1 then i should be able to do Ambush straight after, however it ...
2011/12/04 23:28:47 by jnwhiteh
I am trying to add a button to the Character Info Screen, the one that opens when you press "c"(default). My problem is a can't seem to find an Event that triggers when it opens. I'm assuming that i just need to hook the frame and add the button bu...
2011/12/04 00:04:52 by jnwhiteh
Addon help posted by deltoide
Hello fellow of the http://wowprogramming.com I come here once again request the help of Sr's, I have two different addons and would like to turn them into a single addon, it would be possible? I tried putting the .toc to load both .lua but had...
2011/11/28 09:33:53 by jnwhiteh
Tracking mobs that have spawned! posted by supermormor
Hello :) At the moment, I am trying to create a addon that can help me and my guild in the new upcoming patch 4.3. Until now I have created a addon that can track debuffs on my raid and the timer and whisper it to them. My next step is to cr...
2011/11/27 11:34:00 by supermormor
PvP raid members posted by luccius
I'm toying around with a pvp addon for arenas, battlegrounds, and pvp zones (Wintergrasp/Tol Barad). It seems the methods to determine opponent stats in arenas and bgs is solid, but what I can't find is a way to determine opposing faction members in...
2011/11/25 20:02:56 by luccius
PlaySoundFile posted by kipp
I was hoping I could play some sounds sequential with PlaySoundFile but I have not figured out a way. Is it possible? Thanks
2011/11/24 17:49:36 by jnwhiteh
Hey guys.. I have a question about my addon.. I'm trying to send a random string out of a selection of strings, and its not working.. I had it working a year or so ago, and am trying to get my addon working again.. And for some reason, the randomized...
2011/11/22 09:07:14 by jnwhiteh
Movable Frames posted by zenasprime
I've been having some difficulties getting my frames to move. I was able to solve this issue with my last addon ((http://5h0cktr00px0rz.org/?q=node/94 "WoWPedometer")) but even with the same code added to my new addon I cannot get it moving. What a...
2011/11/18 07:14:02 by crescentitsolutions
Fresh eyes? posted by Myrroddin
Mr. Whitehead, I have been working on converting LibDataBroker from WoW to Rift, and thus far, it is going very well. The two major hurdles have been removing LibStub and CallbackHandler as dependencies. LibStub's removal was the easy part, as Rif...
2011/11/16 12:43:28 by jnwhiteh
Hello, The Eclipse Koneki development team is pleased to announce the availability of its Lua Development Tools, that can be installed via the Koneki update site (see explanations at the bottom of this message). I just thought that you might want ...
2011/11/14 22:33:22 by kartben
So I have an addon saving a table to a saved variable file like so: GuildPName = { "Gamegemon", -- "Mesknight", -- "Idunno", -- ...and so on... } My ques...
2011/11/12 13:35:11 by jnwhiteh
Hello wowprogramming companions, I have once again request the help of Mr.'s, I was days on the Internet researches on the subject however I had no answers. I'm trying to develop a "macro" check the light and this time the member in the guild to...
2011/11/11 08:37:42 by deltoide
Greetings everyone. I'm working at creating SnD timer AddOn , I used SPELLCAST_STOP event for tracking SnD "cast". Every time I use any spell I got an UI error "string not found" Should I use SPELLCAST_START and SPELLCAST_STOP both? Or th...
2011/11/10 21:53:45 by jnwhiteh
New discussion topic posted by deltoide
Friends of wowprogrammim, I'm having trouble making my addon perform a scan, I have "SavedVariables" called "PlayersX" and within this file has the lines .. IPS = { "Destruz", - "Caxert", - "Truklino", - "A...
2011/11/10 17:19:47 by jnwhiteh
Companions wowprogramming, I am having difficulty finding the failure of this code, I actually need to join these two command lines ... for i=1,# ignoredPlayers do for index = 1, numWhos, 1 do And I need to find out what's wrong...
2011/11/06 23:44:05 by jnwhiteh
This is my UNIT_AURA handler. I'd like to track the Dark Intent proc, not the Buff with the same name. It looks like the only way I can get this is be enumerating buffs by index and then comparing spell IDs to the one I want. If I call UnitBuff(unit,...
2011/11/05 02:19:39 by miow
I'm trying to write a small addon to check if there are 3 or more free bag spaces left before moving items from the bank to my bags. The function invHasThreeFreeSlots() seems to work when tested on its own, but when put in a loop going through my bag...
2011/11/01 09:42:46 by jnwhiteh
Appear offline posted by tritalas
I want help with creating an addon that will do the following: To be able to appear offline to friends. I know this is impossible but if the friends have installed this addon then this will work.
2011/10/29 09:46:00 by tritalas
I'm trying to set up a button similar to you Quick Caster Button but only needs to cast on a single click. It casts the spell just fine, but it doesn't look right. It shows the light blue edge effect when the mouse is in the frame, but not the big...
2011/10/26 17:56:39 by jnwhiteh
Get Professions posted by tiny1
Is there any way to get another player's profession? I tried prof1, prof2, archaeology, fishing, cooking, firstAid = GetProfessions("target") p1 = GetProfessionInfo(prof1) but that didn't work as i had hoped as it only returns my own professi...
2011/10/20 15:13:01 by jnwhiteh
Addon Comunitacion posted by dacow
Hi. Im writing an addon that creates a database with some information that the user gets while playing wow. The average database in each player will have 700 registers. This is done already. In a perfect world, all players (with de addon) wil...
2011/10/18 15:07:07 by Myrroddin
WoWProgramming Hello friends, I would like (if possible) that someone gave me a brief explanation on this one addon. It is intended to display as the amount of numerical combopoints (with rogue / druid) that the target has, but in certain part of...
2011/10/18 14:04:53 by deltoide
Hi, I'm quite new to programming World of Warcraft addons and I was wondering how to expand an existing frame - more precisely a frame used by the Blizzard UI called "AuctionFrame". Addons like Auctioneer are able to add another tab by apparently...
2011/10/16 21:26:34 by jnwhiteh
Hi, i'm looking for a easy-to-use possibility to get the hit chance in percent...like GetExpertise() for expertise or GetParryChance() for parry... thank 4 advice, wowuro
2011/10/16 17:48:13 by jnwhiteh
Is it possible to auto resize a SimpleHTML Object whenever the text changes? For example, if I do `SimpleHTML:SetText("Hello
2011/10/13 20:13:54 by jnwhiteh
Is it possible to auto resize a SimpleHTML Object whenever the text changes? For example, if I do `SimpleHTML:SetText("Hello
2011/10/13 19:51:43 by jnwhiteh
Grammatical Accent [Help] posted by deltoide
Wowporamming Friends, I am having trouble viewing a text containing grammatical accent ... Example code: ChatFrame1: AddMessage ("Líder") However the text is displayed: L?der Anyone know the solution to this conflict? I tried the c...
2011/10/09 15:24:45 by deltoide
Saving Variables posted by zereges
Hi there, I am new to addon creating, I edited remaked 1addon, which shows raid readiness by counting their flasks, scrolls, etc which shows after pressing /command and I was wondering if I can make a "history" for it. toc file: ## Interface...
2011/10/06 08:44:54 by jnwhiteh
Modelling posted by hadj1004
Hello Im a postgraduate student and im trying to do my dissertation and i need help. Im going to personalize the MMOG.Now im trying to find the available source code of the game,especially the semantics .I found the WoW interface and patch. But i wa...
2011/10/05 09:21:16 by hadj1004
Best way to compare pairs? posted by android
I want to compare some class, talent pairs so I set up an array in a table. tbl = { { "warlock", 1 }, { "warrior", 3 }, { "shaman", 2 }, } local c = "shaman" local t = 2 I want to do a compare ...
2011/09/30 18:29:23 by jnwhiteh
Hi, I'm kind of new to this and working on some mods to existing addons. I'm primarily a C programmer and I have some questions about how to write the most efficient LUA code. So in C, we add a lot of parenthesis, mostly for clarity, but I don'...
2011/09/30 18:15:40 by android
Maelstrom Lua macro posted by singoe
i used to do a lot of lua coding back when i was making private servers, but I have completely forgotten the language now and i need some help. I want to make a macro that its first priority is to check if Maelstrom has 5 stacks, if not it will conti...
2011/09/27 08:40:33 by jnwhiteh
I had a question about the snippet provided on this site for adding a line to a tooltip (located (http://wowprogramming.com/snippets/Add_lines_to_item_tooltip_safely_9) ). According to the description its only supposed to add one line to the tooltip,...
2011/09/24 21:31:47 by jnwhiteh
How to get spell speed? posted by android
Hi, I'm new and playing around with the warlock module for clcinfo. I'm curious if there is a way to query spell travel speed (yds/sec) from caster to target by API? I'm not finding much. If not, is there some empirical data? I'm trying to fine...
2011/09/15 17:13:58 by android
I'm trying to get the names of the professions that the player has. Here's my code: prof1, prof2, archaeology, fishing, cooking, firstAid = GetProfessions("player"); name, icon, skillLevel, maxSkillLevel, numAbilities, spelloffset, skillL...
2011/09/14 07:19:25 by jnwhiteh
Dears, I meat the following codes but does not understand how to interpret the pattern. local leaderboardTxt, itemType, isDone = GetQuestLogLeaderBoard(k,i); local y, z, strObjDesc, intNumGot, intNumNeeded = string.find(leader...
2011/09/09 08:00:11 by jnwhiteh
Since that latest patch, I've noticed that the API function SendAddonMessage() activates the CHAT_MSG_ADDON event on the sending character but fails to do this on other party members. I wrote a small addon for testing alone on 2 characters in a part...
2011/09/08 20:48:24 by jnwhiteh
Is there a way to get the socket bonus from an item in your inventory? (The socket bonus is of course the stats bonus you get for inserting gems that match the color of the sockets in an item.) Thanks for your help!
2011/09/01 07:01:31 by blahshaw
Real ID? posted by luismvm
Hey, i'm trying to find a function to get the Real ID (xxxx@mail.com) from a user account, but i cant seem to find one... how can i do it? Regards,
2011/08/31 07:12:16 by jnwhiteh
Leave party/raid event? posted by hytra
So what I wish to do is to make sure a tab pops up every time the player leaves a group or a raid. However, I cannot find any event for this. Help will be greatly appreciated. Hytra
2011/08/23 16:38:33 by jnwhiteh
I googled it, of course, but it just said opening a file is done by io.open and LUA inside WoW does not appear to know what io is... Thanks in advance :)
2011/08/20 18:18:19 by jnwhiteh
Dears, The following codes are aimed to accomplish such task: mouseover the first button and show the whole action bar: local OnEnterScript = local OnLeaveScript = local OnUpdateScript = local OnShow...
2011/08/19 11:06:43 by macarthor
hello, i wanna ask how to make the skill Rend is casted my code for macro: `/run nm=UnitDebuff("target", "Trauma"); if nm=="Trauma" then cast Rend end` -> won't cast Rend but i tried: `/run nm=UnitDebuff("target", "Trauma"); if nm=="Traum...
2011/08/19 08:20:16 by jnwhiteh
I'm looking for a solution to silently broadcasting version number. For instance, like dmb does when joining raids. What is the method they use to broadcast the version to the raid?
2011/08/17 13:27:15 by l3gsh0t
Hi guys, I'm back :) I have my addon basically completed, however I have to use an external application, similar to WoWHead's Loot tracker, to send the data to my server. So I am using VB.NET for this for now. Basically I am trying to conver...
2011/08/15 14:36:13 by jnwhiteh
help with frame name posted by sent26
Hi, i need to know the name of the frame that show the item name and the sell value when mouse is over an item. i try to use that macro: /script DEFAULT_CHAT_FRAME:AddMessage( GetMouseFocus():GetName() ); but is impossible tks for any ...
2011/08/15 12:35:58 by sent26
Search spell posted by mort
Hi! Could you suggest how to do or who is looking for an addon spell by ID. For example: / slepp 10-1000 and showed all the spells from 10 to 1000 Ida. Thanks! Sorry for my english I'm Russian, and just MĀ Google translator;)
2011/08/15 09:46:20 by jnwhiteh
Dears, I encounter the following line in an addon: local frame = _G after this line, "frame" is null variable. I think it's due to the sub(1, -7). But I find nothing about the "sub" function's syntax. I noticed string.sub() function b...
2011/08/13 12:46:38 by jnwhiteh
function prototype posted by topsli
Is there exist C like function prototype definition in Lua?
2011/08/05 12:22:50 by jnwhiteh
variable frame names posted by omirr
Hello, I'm writing a looting addon for my guild, or at least attempt to, so I can see how far I get. It's getting along nicely. I've made a frame that pops up when something of relevance is looted. This frame has like 15 child frames, and each of ...
2011/08/04 12:03:24 by omirr
Is it possible to get a UI mod to pull real time information from another source? I'd like to build a UI mod that can execute functions based on the input of an external device, however the API for that device is natively in C++. The API can be w...
2011/07/27 06:06:10 by paladine_psot
Im looking for a somewhat decent programmer (you dont need to be amazing to do this project) to help revise a very popular wow software. Im the owner of lvl86.com a popular keybinding software and we have to make some revisions because one of our tea...
2011/07/19 00:21:28 by snake1264
I've noticed that whenever I make a texture, of any simplicity, it will not appear at all unless I make it inherit something. For instance: local shadowBar = CreateFrame("Frame", nil, UIParent) shadowBar:SetSize(300, 24) shadow...
2011/07/17 08:47:37 by jnwhiteh
I'm making an AddOn which needs to detect when everything is cast and then does something using the cooldown of that cast spell. Using the `COMBAT_LOG_UNFILTERED` event and `SPELL_CAST_SUCCESS` type, I only ever got instant cast spells through. I ...
2011/07/17 00:23:06 by bilalakil
Hello all, I'm working on a mod, part of which needs a list of channel members in a custom chat room. So, I figure.. 1. GetChannelDisplayInfo(ChannelIndex) 2. get the count, for number of players 3. do a GetChannelRosterInfo() on ea...
2011/07/16 23:20:43 by yasueh
Hey guys I'm new here, and I'm rather new to the WoW API. I am trying to find a way to obtain the battleground instance ID, and it seems like GetBattlefieldStatus() is the best function for that, however it doesn't seem to work. It is returning 0,...
2011/07/16 09:37:22 by jimmy1988
Sharing Data posted by Taborious
Im looking to create an addon that can share data between guildies. This would work similar to gatherer where one person mines a node it pushes that mine location to other guildies with gatherer. I've done some google searching but cant find a st...
2011/07/13 12:26:36 by meorawr
Arena posted by nwpunisher
Hi, Im trying to create a arena addon, I just need one last fuction to make it work. When enter in the arena, it appear on the top of the screen: Gold Team: 2 players remaining Green Team: 1 players remaining I need to make the addon re...
2011/07/12 03:00:43 by nwpunisher
Feral By Night posted by abbygale
Feral By Night is a roation helper . meaning it shows your what spells you need to cast . i would like to make it clickable instead of just showing . .Lua Feral By Night Code .3-- -- Feral by Night -- An addon by Nightcrowler...
2011/07/09 07:18:18 by jnwhiteh
Tranquility Addon posted by jc
I just finished a Druid Raid Tranquility Monitor Addon since few weeks. But now, as Blizzard changed the difference between Feral and Healer Druids Tranquility CD, I have to change it (Druid Healer now have a 3min CD and Ferals as before 8mins). S...
2011/07/08 22:30:59 by meorawr
Model viewer posted by jonwats
I have a model viewer that displays models of npcs using SetCreature(creatureID). I wanted to also display questing objects such as "Corrupted Flowers". I tried SetModel(id) but it didn't work. Is there any way to display these?
2011/07/08 21:14:52 by jonwats
Getting the Realm posted by Philburt
In my OnLoad function I have included the line `ThisRealm=GetRealmName()` However, when I try to use ThisRealm in my code, I keep getting the message that it is nil. (yes I have spelt it correctly, lol) I am trying to produce a table with th...
2011/07/06 10:50:34 by jnwhiteh
Hello everyone, does anyone have an idea how to make something like this: Lets say when someone casts flash light on me I want to cast fan of knives ( just an example ). I guess it would be `UNIT_SPELLCAST_SUCCEEDED` but I got no idea how to write ...
2011/07/01 11:51:41 by jc
ScrollFrame API Bug? posted by meorawr
I found some interestingly weird behaviour when playing around with ScrollFrame elements earlier, which causes child frames with mouse input enabled to fire their events even if the mouse isn't actually over them. The issue crops up when you're us...
2011/06/26 20:04:33 by meorawr
Hi all. I have made a template that shows a frame and that frame have a portrait hole where I have placed a texture in. The problem is that when I use that template the texture that should fill the hole, resizes to be the same size as the frame...
2011/06/18 16:49:12 by satis
Remembering frame position posted by l3gsh0t
I get the feeling like I will be jumping through a lot of hoops for this one.... But being hopeful I will ask for an easier way. I want to have a movable frame (working already) who's position will be saved on log out and remembered when logging b...
2011/06/13 23:50:29 by l3gsh0t
Faction Functions posted by l3gsh0t
I've been looking over the listed API calls for faction functions, however I don't see anything that gives me the faction ID (not standing ID). Is there a way I can get the faction ID of lets say the faction that's being watched? And I mean without l...
2011/06/13 18:06:42 by l3gsh0t
If you open up the EPGP table, the current raid members are sorted to the top. I need this in my AddOn but I can't seem to figure exactly how this works .. Does anyone have any idea here?
2011/06/11 14:07:31 by jnwhiteh
New Addon Author posted by nyxius
Hi, i've pretty much just started creating addons today, read some background around it, did a little addon that just printed some text, nothing fancy. Creating my first addon, what i want it to do is add a specific player to my ignore list, the n...
2011/06/10 23:02:59 by nyxius
This issue might sound silly as hell but I just can't seem to figure it out. My addon use alot of "self:Print" functions, but one of them don't seem to work .. It's the part where I register the event "GUILD_ROSTER_UPDATE" and the callback is suppose...
2011/06/10 21:55:00 by hytra
Addon Feedback posted by protasm
Hello all, I would deeply appreciate feedback on an addon that I have been working on for a couple of months. The addon is called Pro Raid Canvas, and the latest beta version (v1.0.7.1-beta) is available on Curse. Screenshots and a description a...
2011/06/10 16:14:35 by jnwhiteh
Hey you all programmers, I'm currently working, or well I just started on an AddOn project. I wish not to say too much as I don't want the actual idea to leak out there, but it's about Guild management and can be compared to EPGP. However, I'm not...
2011/06/09 20:17:36 by jnwhiteh
I am the director of the relatively new (http://wow.curse.com/downloads/wow-addons/details/tradeskill-master.aspx "") addon suite which is essentially an addon for making gold using tradeskills and the auction house. You can google the addon or visit...
2011/06/09 02:33:14 by sapu94
nil value from module posted by mosphet
Hello again, got a different issue this time and I'm baffled (same addon) but this is for the visual side of it. There is a function in the core file that I use to trigger the events. All events work apart from the GUI which is in another file. ...
2011/06/08 10:35:34 by mosphet
I've spent hours debugging and I've given up and now I'm looking for help. I'm not sure if im an idiot or something was changed on blizzard's side that I've missed (Or both!)! Basically this function parses item's that are linked to me for our master...
2011/06/03 17:18:27 by mosphet
setlootthreshold/setlootmethod posted by sigeleven
Hey All, I've been programming for years (professionally), never really looked at LUA, but figured it couldn't be too hard, compared to most other languages. After diving in, it's certainly special! =) To the point: there seems to be a bug in t...
2011/06/03 01:12:01 by sigeleven
building a queue posted by myk3
ok, ive tried to write this code 5 times now, and i keep failing.. the 2nd time i wrote it, it worked... 30%, and was not a queue, it had an error where the script was talking to itself and not on the addon channel... yes it did communicate on the...
2011/05/29 09:37:47 by jnwhiteh
Strange error for a noob posted by grimskin
function RankPost_EPost() ChatFrame1:AddMessage("My Arena Stats:"); for i=1,3 do t,s,r,_,_,_,_,_,_,ra=GetArenaTeam(i); if (t ~= nil) then ChatFrame1:AddMessage(""..s.."v"..s.." - "..t..": "..r.." (Rank...
2011/05/26 10:29:18 by grimskin
MovieFrame help posted by steveo
Hello, I'm pretty new to all of this, but I have some good starter add-ons running (with buttons, slash-commands, etc.). I'm trying to add (either free-standing or within an existing addon) a MovieFrame... I've checked out the documentation pag...
2011/05/25 22:13:44 by jnwhiteh
A part of my file which had worked until I added this template: ` ` ...
2011/05/21 16:01:56 by gckearns
Using AddonCore.lua posted by protasm
Hello, This question is directed specifically to Mr. Whitehead. I have been studying your Clique code for general techniques and best practices. I would like to incorporate your AddonCore.lua file into my own project, in order to follow the fram...
2011/05/19 21:04:17 by jnwhiteh
My apologies to the group ahead of my shameless product plug. I do feel however it is completely relevant to the very excellent Lua Programming Language that this forum deals with day-to-day. Our company MobileApp Systems developed and has been s...
2011/05/17 19:49:10 by tskwara
I have a button that when the cursor enters the button area it shows a Tooltip, this works good, the tooltip shows a message. Now what i want to do is I want to add to that message the name of the targeted player or unit, this also works well. Th...
2011/05/17 11:42:48 by roadmaster
Disabling Scroll Frames posted by Philburt
Hello again. I Have a perfectly working scroll frame, which is defined in XML as: FauxScrollFrame_OnVerticalScroll(self,offset,23,ScrollFrame1Update) and is controlled in LUA with: function ScrollFrame1Update() ...
2011/05/17 11:15:48 by jnwhiteh
Right Click Self Cast posted by steveto
I am gonna take a shot here, but I am looking for an addon to do "Right Click Self Cast". Would this be an LUA or something else? There have been some in the past, but ever since Cat, there's been no update and I can't take it anymore. I'm n...
2011/05/10 20:10:51 by jnwhiteh
.
2011/05/09 10:51:08 by jnwhiteh
strsub and utf8 posted by jitter
Hi, I'm having a weird issue with the UTF-8 aware strsub function, taken from (http://wowprogramming.com/snippets/UTF-8_aware_stringsub_7 "http://wowprogramming.com/snippets/UTF-8_aware_stringsub_7"): When using the function like this (notice t...
2011/05/08 21:03:07 by jitter
Hello guys, I think you know the Gatherer AddOn which adds "nodes" to your ingame map. Do you know how to add manually (preferable without addon) custom icons to my map? I've been reading the lua code of Gatherer but couldn't find an answer to m...
2011/05/08 19:01:02 by jayzee
Hello, I've been looking at Chapter 4 of the 2d Edition, trying to understand the OOP section. I thought I had a handle on it, until I tried a simple experiment of "wrapping" a Blizzard Frame object with code of my own. (I'm a novice with the OO...
2011/05/08 16:01:28 by protasm
Setting a target posted by danish
Hey everyone :) I decided to surprise a friend by writing an addon for him regarding the eagle boss in Zul'Aman. The one with the small eagles coming down and attacking randomly, that one. What I _would_ like is for him to have a button which w...
2011/05/03 22:18:16 by danish
if statement posted by l3gsh0t
Can the if statement be too long or have to many conditions? If so what are the limits? ie: if (a == b and b == c and c == d and d == e) then...
2011/05/02 22:53:28 by Xers
Greetings Everyone, After the great help I've gotten and the successful `completion' of the last addon. (Healing with users names and delta-health colours for healers and option interface for setting click-actions.) I came up with a new addon, but...
2011/05/02 04:44:04 by Cayenne
Errors posted by l3gsh0t
I have this below, it checks to see if a player gets a killing blow on another player and then it puts a message in the chat log and the middle of the players screen. I'm getting an error on it all the time which I didn't get before the last patch. ...
2011/04/30 16:07:46 by l3gsh0t
Sorry Duplicate posted by l3gsh0t
Sorry, post removed.
2011/04/28 12:44:51 by l3gsh0t
Connecting addon documents? posted by mrtravisl
I want to get stuff from another file in my addon, right now I have 2 files that have some of the same codes in it. What I want to do is make 1 file and put the stuff that both of the file uses in that file. How would I do that? I would also like...
2011/04/28 08:17:00 by jnwhiteh
I've been trying to search for this again after ages. I don't know how/if it's possible for kgpanels to find out if a chatframe is faded or not (i understand its basically just 0% alpha) I have my panel parented to ChatFrame1 but yea, the panel is st...
2011/04/26 07:30:49 by jnwhiteh
Hello, Im trying to work out table with dictionaries problem. What Im trying to do is making an addon were I track my dps with certain weapons. I have come this far: Made a table with tables in it but lacks a key, which should be the itemLi...
2011/04/23 17:11:33 by jnwhiteh
Scroll Child Scrolling posted by cowmonster
Okay I have been at it for hours and thus far I am at a loss. The idea is simple enough, I created a ScrollFrame and the ScrollChild. In the scroll child I have the 12 textures that make up the world map. The scroll child is inside the parent fram...
2011/04/21 02:16:39 by cowmonster
Frame Tabs posted by Philburt
Just wondering if anyone can point me in the direction of a reasonably understandable tutorial or example of using frame tabs. Some auction house addons put extra frame tabs on the main AH display, which are used to access that addons functions. I...
2011/04/20 09:32:49 by jnwhiteh
Greetings Everyone, Today I started creating addons for WoW. So far so good and I've started creating a healing-addon. It works so far with displaying coloured SecureActionButtonTemplate-button for every member in your party or raid. (Only tested ...
2011/04/18 07:31:14 by neo angelus
Unhooking OnUpdate posted by protasm
Quick question today. Is this the proper way to "unhook" the OnUpdate() function: frame:SetScript("OnUpdate", nil)
2011/04/15 07:16:23 by jnwhiteh
edit box font size posted by whtr
How do you increase the font size in the chat edit box? NOW, before you respond, note: - I'm not talking about the whole chat box font; I'm just talking about the place where you type in text - Don't say 'I'm pretty sure Prat or Chatter do th...
2011/04/13 10:58:40 by cowmonster
Trying to add a "check for character name" or "check for class" statement in the target.lua of oUF_Diablo unit frames so it will be able to load different background art when logging on to certain characters/classes (duh ;> ) the original lua code...
2011/04/08 20:44:40 by remsaa
Recycling Frames posted by protasm
Hello again, My add-on in development will use a number of small icon-like frames which can be dynamically created, positioned, and deleted by the user. I understand that frames cannot be destroyed, only hidden and possibly reused. I would like ...
2011/04/08 16:01:50 by protasm
Hi, I am working on an addon and part of it is splitting a raid in three arrays based on the talent specs of the raiders. Now my code works fine if I use it on random targets, but when I try to make a for loop to assign raiders to their array, it goe...
2011/04/06 13:18:50 by xango
GetSpellLink-event posted by voyager69
Why o why does the following code dont do what the API is telling it should do? Probably a coding-error or something else? ... (maybe not the right API? or registering the right event?) local a = CreateFrame("Frame") a:SetScript("OnEven...
2011/04/05 21:52:01 by jnwhiteh
Text over StatusBars posted by corunir
Hello, I am having some difficulties with showing a FontString in my frame. What I am trying to accomplish is showing text over statusbars, but that will be the next step, since I cant even get the text to be shown in my frame. Here is the code, so c...
2011/04/05 14:30:06 by corunir
Wait an "EVENT" posted by jiyll
Hi, I'm looking for a way to waiting for an event inside a function. Like this : some code... wait untill "EVENT" some code... Any help will be appreciated. Thanks for your time. Best regards, jiyll
2011/04/05 13:29:12 by jnwhiteh
dynamically hide any frame. posted by sladeofdark
Hello, I have become interested in making my own custom wow addons and more importantly getting familiar with LUA and XML enough to modify the ones i like. Here is what i have been trying to do for years. I simply want to make and addon that will al...
2011/04/05 13:28:41 by jnwhiteh
`/run local f = CreateFrame("frame",nil, UIParent); f:SetScript("OnUpdate", CombatLogClearEntries);` or `/script CombatLogClearEntries();`
2011/04/05 13:26:57 by jnwhiteh
I want some application development companies which providing applications for i phones and i pads. Please suggest me some companies for developing applications for i phones and i pads.
2011/04/04 09:21:17 by jnwhiteh
Hi Jim, right now I'm in process to add a Tranquility Monitor to my existing Druid Raid Addon. So, I want to watch Tranquilitiy's ready or on cooldown (for all druids). Within the creation and testing phase of this new module I don't want to code ...
2011/04/03 11:57:40 by jc
Help with SimpleHTML posted by aziele
Well, I'm a compelte noob to programming and more specifically WOW programming, but I do have the 2nd edition book and am working through it. I have done several tutorials online as well. While working through the book and the BagBuddy tutorial (lo...
2011/04/03 08:41:44 by jnwhiteh
Help me make my first addon posted by voyager69
I am kinda new to this all, but i wanna learn how i can make some simple addons .. so maybe in future maybe even i can contribute with idea's, advice or handson-addons to help the community. Since you learn best by example I would like to ask if s...
2011/04/02 08:28:23 by jnwhiteh
> I bought the book .. and read it untill page 1357 (index) and all makes sence, but still need to start putting things together and there it goes wrong :( > I still don't see how I can create a lua that prints a message in YELL-chat (that part work...
2011/04/02 08:25:18 by jnwhiteh
WoW AddOn (macro) if, then. posted by grejpan
Hello, I'm kind of new when it comes to in-depth scripts etc and I will most likely have someone to help me but I just want to see if my idea is possible to start of with. The basic idea is to use Raging Blow and Berserker Rage on the same button wit...
2011/04/02 08:22:31 by jnwhiteh
Buy from a trader posted by satis
Hi all. Is there a way to buy stuff from a trader? What I mean is that if I have some code that I want to use for auto restocking like lures from a fishing trader. I have been poking around the references and you can do something similar with a pr...
2011/03/31 18:06:04 by satis
This is a rather novice set of questions but any help or advice would be very much appreciated. Essentially, I downloaded and installed the Lua-WoW application for mac and I’m just trying to find out exactly what files were installed and where and ...
2011/03/31 18:04:02 by jnwhiteh
Hello, First let me say that the book (2d edition) is brilliant, I could not be happier with my decision to buy a copy. In just a couple weeks I've been able to build a couple of snazzy add-ons that have enhanced my guild's raiding experience. T...
2011/03/30 20:58:52 by protasm
How to make a macro that my target isn't the "spelltarget" and I can use "sentchatmessage" warm my friends that target's name ?
2011/03/29 08:20:18 by m58a
Addon Nameplate posted by moyyom
I'm an experienced programmer, just not so much in the Wow field. I've had a sudden need for an addon and I can't find anything that can do what I want, so I've started learning the language and it's really not super complicated. I just have a few qu...
2011/03/28 08:30:02 by jnwhiteh
LUA and Delay posted by jc
Is there a delay (like sleep in other languages) within LUA. What I need is a delay to stop for few seconds and then go ahead again. Something like this - or do you know a better method in LUA?: function wait(seconds) local _st...
2011/03/28 06:40:23 by jc
Trouble hooking a tooltip posted by thefuzzy0ne
Hi! I'm currently creating an addon which will provide extra information as a tooltip when certain items are hovered over (be it in the user's inventory, bank, guild bank, vendors and so on). There's a good chance that the tooltip may contain a...
2011/03/22 15:11:38 by jnwhiteh
Hello, what's the diff between OnReceiveDrag and OnDragStop, thank you !
2011/03/22 09:41:42 by jnwhiteh
Hello, hope you guys could help me out. I'm in process to create an addon that shows battle rezz informations into your interface. What still works is the the counts of free br's, the players (druids) that have rebirth ready and the ones that are ...
2011/03/22 06:21:29 by jc
arithmatic error and advice posted by Myrroddin
I think I am almost done this addon, but there are a couple of things that elude me. I stripped out all the cruft, stuff that didn't work, or wasn't necessary, but there is some commented code I will get back to once the main purpose is working. p...
2011/03/21 22:25:45 by jnwhiteh
New discussion topic posted by mager1794
I'm new to AddOns but i'm a fairly skilled programmer and i am having a lot of problems with creating this first simple addon. ...
2011/03/18 12:17:39 by jnwhiteh
how to set maxlines in lua posted by sunxking
Help, help me! I need to create FontString in lua, xml string maybe like this: How to set maxlines and bytes in lua code? thank you!
2011/03/16 19:23:25 by jnwhiteh
displaying profession textures posted by bange.pike
I found several way to get the file path to the textures used, but what I'd like to do is display the textures to the chat screen. is this possible with out a complete addon. most of my scripts are done with macros. tia
2011/03/15 21:48:46 by jnwhiteh
Hello, Im doing a version of BagBuddy to learn how to make addons. This version of BagBuddy I am replacing the quality filters for class filters. You can choose to display armors or weapons. I have run into some problems, when show both weapon...
2011/03/14 13:29:50 by lanner
logic bomb with OnUpdate posted by Myrroddin
I am trying fill two arrays with the difference in current Mana between updates. Before the iteration, the difference should be 0. After the first iteration, then sum = A - B. Array1 fills 10 increments, does its thing, then resets both itself and th...
2011/03/13 20:49:01 by jnwhiteh
Okay, I've started to read the awesome wowprogramming book and I downloaded the util WoW AddOn Studio but when I created a new project I got an error and now I am not able to use neither the Design-view or the Toolbox! Some other people have also ...
2011/03/11 22:01:45 by celess
It appears as if XRaidStatus is no longer maintained, and hasn't been for awhile. I really liked some of their raid displays such as members alive/dead, healer mana, raid hp, etc. I was wondering if anyone knew of any addon that resembled XRaid a...
2011/03/10 21:59:00 by odo
I might be suffering from over complicating an addon, but I really enjoy complex projects. I wanted to create a sort of 2D "Fire effect" around a frame that would be animated (Flickering fire), and display under certain conditions. Think "heating up ...
2011/03/07 22:46:58 by jnwhiteh
Using Combobox... posted by tekkguy
Hi again... Need help with using Frames... I am trying to create a Frame that gives the user the ability to maintain/manage/update arrays in my AddOn. I figured I can do this by having a Combobox that lists the different "Arrays" available, then...
2011/03/07 19:09:09 by jnwhiteh
Get Version / Update? posted by tekkguy
Quick question(s)... 1) Is there a function to retrieve the current Version Number of your AddOn? 2) How do you get your AddOn to determine if a newer version of itself exists? Is there a LUA module pre-written that gives AddOn's that function...
2011/03/05 17:46:27 by jnwhiteh
Hi all, long time reader & first time poster. :) I use an addon called Mappy that provides, among other features, a way to set the alpha value of the minimap. This feature works great in most cases, but there are a few where setting the alpha (to ...
2011/03/05 15:01:46 by philshap
Sorry, I was going to add this to my other thread, but I figure it was two seperate issues/questions, and it was best to keep them seperated. Unfortunatly, although I understand how to create LUA Script files...XML Frame files seem to be eluding m...
2011/03/04 21:26:27 by jnwhiteh
Force Unit Frame(s) to SHow posted by bigglesw0rth
I'm trying to find a good way to get frames to be forced to show while i configure a oUF Tukz/Elv22 layout. Right now I can (poorly) get the boss frames, focus, target, tot, and pet frames to show. They come out a bit corrupted concerning buff icons ...
2011/03/04 21:08:46 by bigglesw0rth
I am writing an AddOn where I am trying to utilize a MultiLineEditBox. I have an Array(Table) that has a list of strings. I want to fill the MultiLineEditBox with the strings from this table, 1 string per line. I looked through the book, but I can...
2011/03/04 15:11:08 by jnwhiteh
Creating a New AddOn... posted by tekkguy
Hi everyone. I am new to LUA programming. I've been a programmer for over 10 years, so I am not new to it...but...I need help here... I created a new AddOn as described in WoW Programming (2nd Ed.), and took some ideas from other AddOns I looked...
2011/03/03 14:46:17 by tekkguy
Slider Variable Save problems posted by billtopia
I wrote the following section of code for saveing the values of sliders on several addons but there seems to be an error for atleast 1 person where it doesn't save the value for them. Is there something not quite right about this code? Is it a proble...
2011/03/02 20:03:52 by jnwhiteh
Hey :) I'm having some trouble with finding out how to create and assign a greyscale texture to my checkbuttons. Here's what I'd expect to work: for i,value in ipairs(Professions) do local desaturated CreateFrame("C...
2011/02/26 15:29:52 by cado1982
Need some help. I made a button which displays some tracking data for Honor points. Since my 1st version of the addon, I have added additional items to track (valor and justice points for example) and made the button hight/width larger. The problem i...
2011/02/26 05:26:21 by nmskjs
Ok I recently downloaded the "wowuidesigner" and i was trying to use the tutorial for a frame and a done button to close it. When I log in the frame is there but the button isnt working I tried reseaching on the net with no luck, but until i have eno...
2011/02/24 09:36:05 by houligantv
MessageFrame(s) posted by l3gsh0t
I'm trying to find out how to send text to the MessageFrame that wow uses for entering a new zone. UIErrorsFrame looks pretty close to me, but it's a little too high, and the font doesn't look quite the same. Am I understanding this wrong?
2011/02/24 02:50:43 by yinqiaol
I am trying to create and position a close button as well as make the frame movable. I have the following XML code: ...
2011/02/24 02:48:31 by yinqiaol
hi there, I wanna write a addon to filter chatting message. Now I use ChatFrame_AddMessageEventFilter("CHAT_MSG_PARTY", AddonsMessageFilter) ChatFrame_AddMessageEventFilter("CHAT_MSG_RAID", AddonsMessageFilter) ChatFrame_AddMessag...
2011/02/23 12:09:19 by xionglingfeng
Hi all, I am looking for a way to find / replace a TAB (\t) char in a string. The patterns in string.gsub only let me detect the whitespace characters class. I do not want to replace spaces, just tabs. A general Google search didn't give me ...
2011/02/22 19:38:32 by bellah
Hi, I have an addon request for warlock's dark intent spell usage. There's quite a lot of math in order to find effecient person in group/raid to cast it on. Here's some info about it: http://www.mmo-champion.com/threads/813759-Mechanics-Dark-I...
2011/02/20 16:32:53 by jnwhiteh
So, first addon, I used one of the snippets to check the time on Tol Barad every second, wne when it gets to a certain threshold it triggers a message. I cant help feeling this is a brute-force way to go about checking the timer though. I understand ...
2011/02/19 22:31:19 by jnwhiteh
Chat Addon posted by dru83
Hello, I'm making a chat addon (my first addon), and I have found the functions: ChatFrame_AddMessageEventFilter("event", filterFunc) ChatFrame_RemoveMessageEventFilter("event", filterFunc) filterFuncList = ChatFrame_GetMessageEventFilter...
2011/02/18 20:17:27 by jnwhiteh
Need checkbutton helps posted by goranaws
I'm trying to make a checkbutton that will completely hide a Micro Menu Button. The idea is that the button will be hidden without leaving a blank space where the button is usually placed. I have succeeded in making the checkbutton appear in game, bu...
2011/02/16 11:11:29 by jnwhiteh
Target Player posted by hack129
Hi, I'm working on my first Addon, I'am doing really good thanks to the Book, but now I am in a deadlock. What I'm trying to do is: I Have a list of players. I want to select 1 of those players. (The list is from the General chat channel) Targ...
2011/02/11 09:00:08 by jnwhiteh
Custom Buttons posted by l3gsh0t
Is it possible to make a set of custom buttons that aren't square? My idea would look like a wheel, or a pie where the wedges are each a button. This would create a unique look and compact design for what I want. If this is discussed in the book (ver...
2011/02/10 17:44:15 by jnwhiteh
Learning to make addons posted by nintent
For those of you who know how to make addons i just have a few questions 1. About how long did it take you to learn how to make addons? 2. How did you start learning to make addons? 3. Do you think it was worth it? (I do have some programming...
2011/02/10 08:06:51 by jnwhiteh
I am extremely new to addon development. I just want to make sure I'm developing properly and in the proper environments. Now keep in mind, the extent of my addon thus far is purly graphical with some text. I have the typical addon framework set...
2011/02/09 19:55:39 by jnwhiteh
Deprecated API Functions since 4.0.1 posted by trotskyicepick
Hi, I'm intending to modify a couple of addons I've been using for a while to work with 4.0.1., as they are long abandoned. Is there a resource available of all commands, functions, events etc that have been deprecated in the 4.0.1 patch? Thank...
2011/02/09 11:39:38 by jnwhiteh
Mob Death posted by l3gsh0t
What's the best way to register an event to listen for when a particular mob dies. My first guess is `COMBAT_LOG_EVENT_UNFILTERED`, but again I'm not sure what I should look for there.
2011/02/09 09:55:36 by jnwhiteh
GroupWatch posted by wowhealer
Hello, Anyone interested in getting GroupWatch to work with Cataclysm? It can be found here: (http://wow.curseforge.com/addons/groupwatch/ "GroupWatch") It was last updated for 3.3.3. I know a kid that really misses that addon. Thanks
2011/02/06 09:52:31 by wowhealer
After joining the first time, it's fine, but it seems like after a few times of reloading the UI, it eventually becomes the 1st channel,bumping all the other channels up one... which is annoying to fix - is there something I can do to prevent that? ...
2011/02/04 12:47:10 by jnwhiteh
Setting font like courier new? posted by moiraineid
Is there a font I can use that will make all characters the same size? The only thing I've tried to do is say inside my button... not sure if that's even correct or not - I'm basically just trying to get a chart to line up (if button's no...
2011/02/01 09:04:17 by jnwhiteh
Hi everybody i've got a problem with my template :( I want to create a frame with an cooldownframe in it ...
2011/01/31 08:59:40 by jnwhiteh
Sending multiple AH queries posted by moiraineid
How would I send multiple queries? There's an event for `AUCTION_ITEM_LIST_UPDATE`, but evidently that doesn't actually signify the AH being ready to query again, and I'm at a loss for how to detect when the AH is ready, after reading through the ev...
2011/01/28 21:56:16 by jnwhiteh
Inspecting players when targeted posted by gatekeepercruelman
I'm currently busy with an addon that inspects the gear from players. For now the only time I get the info is when I inspect the player. Can anyone give me a clue how to do that. Thanks in Advanced.
2011/01/27 15:17:22 by jnwhiteh
CHAT_MSG_ADDON Help posted by cryptox
So.. me and my college trying to make a addon. We are both new into this area so we need some help. what the addon is doing, is when u press a buttom, u roll a number between 1 - 100, like normal.. the number u roll is shown in my addon.. the pa...
2011/01/27 15:17:01 by jnwhiteh
LUA's IO lib posted by shinseiki
Hello, I have recently started creating my first addon and although I've programming experience I know no LUA. What I would like to know is whether WoW allows the input/output library to be utilized, meaning that whether an addon would be capable ...
2011/01/27 09:55:01 by shinseiki
How should I go about getting the name that someone clicks on in chat window? Right now when I left-click a name it automatically brings up a whisper box to that person, but I'd like to override that function
2011/01/25 20:44:05 by jnwhiteh
I'm having trouble figuring out how to use the _OnEvent function, and have looked at several examples, but can't seem to figure out why mine won't work. In my .xml, I have and in my .lua, i have function RegisterEvents() Li...
2011/01/25 19:27:05 by moiraineid
Slider XML Help. posted by kwslavens
I'm having some issues with some slider code... The this: method seems to be failing me on this and pretty much any button. I haven't been able to figure out why. Here is the xml I have for the slider. I get this error message. `"1x :"recruite...
2011/01/25 03:54:48 by kwslavens
255 Character Chat Limit posted by lexara talionis
I've been working on an addon that puts up a small frame describing the mechanics of a boss encounter when you target that boss. This portion of the addon works flawlessly already, but I would also like a button that sends the description to a chat c...
2011/01/24 13:16:54 by jnwhiteh
Download Web Data posted by sonicsight
Hi im working on an addon that needs to download a webpage off my webserver at runtime, for updated news, and i was wondering what the best way to do that is from a WoW addon or if its even possible?
2011/01/24 07:19:30 by Xers
Hide an out going whisper? posted by kwslavens
Is there a way to hide an out going chat whisper sent from an addon? I've written an addon that sends out several identical whispers to a group of people and I'd like to avoid having my chat frame plastered with all the out going messages. I ...
2011/01/24 01:44:30 by kwslavens
is there any way, I would like to be able to do this for easy 1 button looting rather than clicking.
2011/01/21 10:21:43 by jnwhiteh
Test if an item is equippable posted by supercore
Hi all, I'm trying to make a simple test... I need to know if the active character is able to wear a piece of stuff. Is it a simple command i didn't found or i need to make all the test for all class ? the function (http://wowprogramming....
2011/01/17 09:33:32 by jnwhiteh
How to make log-file? posted by kroks
Can you help me, how to write in log-file strings like `print("bla-bla")` from ChatFrame. And is it possible that this file was updated after adding new strings?
2011/01/17 08:44:24 by Xers
Who data into a table? posted by kwslavens
Is there a way to do a filtered who and bring the data into a table? I'm trying to build a recruiting tool to find people to recruit... thanks.
2011/01/13 19:25:10 by kwslavens
I want to make a string taken from the target mobs name and convert it to be a table name instead of just a string. Bloodtalon_ScythemawSpells = {}; --Defines Table Bloodtalon_ScythemawSpells = "16827"; -- Claw Bloodtalon_Scythema...
2011/01/11 06:41:27 by i2ichardt
I'm making a minigame that involves animating frames using the translation animation widget to drop them down the screen. Currently the frame moves down, gets to the bottom, plays another animation and gets reset back to the top. When the player p...
2011/01/10 05:42:50 by semlar
From an item link, it is easy to grab the ItemString to get the item number, enchant number, gems, and reforging. How do I convert the EnchantID into something meaningful? I can't find an API anywhere. On wowwiki and wowpedia, they have pages fi...
2011/01/08 06:49:26 by jnwhiteh
New Item Hyperlink syntax ? posted by skyskewz
Have done a quick search but did not find anything related here. I tried to use hyperlinks for one of my addons and wanted to build them myself, but then i found that the hyperlink syntax has changed. the Hyperlink for Hearthstone for example...
2011/01/06 08:04:42 by jnwhiteh
So I got some coding down for my Fishing addon... It now correctly plays music when I equip my fishing pole. However, that's all the addon can do. If I try to add anything else, the rest stops working. I can't even do anything in a seperate LUA file ...
2011/01/05 08:27:15 by jnwhiteh
Have an addon request posted by sockerdudex
So i'm basically looking for an addon programmer to either give me advice on how to make a macro like this or an addon programmer to try and take on this task of making this addon. If any programmers are willing to make this addon for me i'd be wil...
2011/01/03 22:43:48 by Sheae
Event lag issue posted by Sheae
Hey guys! I'm somewhat new to addon creation, and I've encountered a little problem. I've reinstalled my windows and currently using default UI, but I've made myself a small unitframe, as the default playerframe is way to far from the actionbars, ...
2011/01/03 12:06:13 by Sheae
I am trying to find and save in variables, the x and y coordinates for the TOPLEFT anchor point of a frame. So far, I can use `:GetRect()` to get some values, or `:GetTop()` and `:GetLeft()`. Unfortunately, each of these use the bottom left corne...
2011/01/03 11:39:04 by jnwhiteh
BAG OPEN and BAG CLOSE posted by awlduhrage
The BAG_OPEN and BAG_CLOSE events are deprecated, what do we use instead? I need something that will fire when the user's bags are opened. There are events for interacting with the bank (both personal and guild), but I don't see anything for the per...
2011/01/03 11:32:48 by jnwhiteh
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:31:14 by jnwhiteh
My Addon Won't Appear posted by kaleesh
So I just made a new addon, but it doesn't appear in the list of addons on the character screen. I'm not sure why; It's in the right place...Maybe I made a coding mistake? I'm thinking I made an XML error; I'm not too good with it yet. toc: ...
2011/01/03 11:03:25 by jnwhiteh
Need a bit help with .xml :) posted by Navarium
I'm trying to add a keybind for my /click macro into the default UI, however, when I log in, I get this LUA error: Message: :1: '=' expected near 'LibDBIcon10_Genie' Time: 12/27/10 14:19:47 Count: 1 Stack: Locals: ...
2011/01/03 10:56:09 by jnwhiteh
NotifyInspect() bug? posted by ns66
Hi, my addon does NotifyInspect("target"), it usually works without problem, but whenever I do manual inspect a player (use pull down menu in game by blizzard), then click or hover other players, the following error happens: > Message: ...\AddOn...
2010/12/21 15:35:28 by jnwhiteh
My Addon, "Noob report", tries to keep track of when you gain a level, and gives you an on-screen propmt IF you need to visit your class trainer to learn new spells. This helps new players remember to visit their class trainer. With the release o...
2010/12/20 10:11:41 by marshbum
Scale the instant quest window? posted by ksignorini
Is there a simple way in code to scale the quest collection (instant quest) window, including its text? I basically just want to scale it to twice it's size but without scaling the whole UI? I want to make this an option in my addon. Thanks.
2010/12/19 07:33:32 by ksignorini
string.find Hyperlink posted by Drunk Cadaver
I'm working on a project that takes system chat messages that contain a hyperlink for a player and pulls the player's name from the message. I've looked at a number of different sites doing my best to figure out the patterns and I thought I had come ...
2010/12/19 00:40:47 by jnwhiteh
My Addon, "Noob report", tries to keep track of when you gain a level, and gives you an on-screen propmt IF you need to visit your class trainer to learn new spells. This helps new players remember to visit their class trainer. With the release o...
2010/12/15 10:58:41 by fljaweiu
My Addon, "Noob report", tries to keep track of when you gain a level, and gives you an on-screen propmt IF you need to visit your class trainer to learn new spells. This helps new players remember to visit their class trainer. With the release o...
2010/12/12 14:25:41 by marshbum
For an add on Enhancement I'm working on I need to hook an on enter event to MainMenuBarMackpackButton but my experience is limited and I'm having trouble with this. is it even possible to hook an event to a frame the ad don didn't create? If not ...
2010/12/12 00:44:40 by jnwhiteh
I found this page: http://wowprogramming.com/docs/api/SetMouselookOverrideBinding I copied and pasted the code on that page into the OnClick tag for a button in my Addon. It's very basic, just shows a frame with a button on it. When I enter ...
2010/12/10 08:10:59 by jnwhiteh
New discussion topic posted by loozapalooza
Heya forum im new to Wowprogramming.com and fairly on my way into lua but still a little scratchy on getting arguments. So want i want to do is search the city my toon is in for mages at least level 80 then whisper them. I have most of the searching ...
2010/12/06 11:29:59 by jnwhiteh
LibBankComm-1.0 posted by Myrroddin
I was working on (http://www.wowace.com/addons/libguildbankcomm-1-0/ ""), which, when finished, would scan the Guild Bank then send the contents over the addon channel to other users. The callback is GuildBankComm_ContentsChanged. You might have noti...
2010/12/06 11:22:35 by jnwhiteh
Hello, i've got problem with creating my own slash command, or rather make it works. There is the code: SLASH_NRH1 = '/rh'; local function handler(msg, editbox) if msg == 'show' then print:("Nuta Raid Helper shown") ...
2010/12/05 13:06:37 by tariel36
Out Of Date? posted by Philburt
Been spending the last couple of weeks getting my addons updated to work with version 4.03, and have come to the last problem which I cannot find an answer for. The Addon screen on WoW shows my addons as been Out Of Date, and although I can load thes...
2010/12/02 08:37:18 by Philburt
4.0 Event Handling posted by aradel
Hello everyone, I've been kind of out of the wow scene for awhile and alot changed since, including addOn dev. Even tho I have read threads in the UI/Mac forums and here I still can not figure out why it's not working anymore. Could someone give me a...
2010/11/30 17:09:35 by jnwhiteh
Wanting to write a Rogue Addon posted by Hellzbells
Hello all, im new here and ive been reading around the net for about a week now trying to come up with some kind of addon for all the raiding rogues in wow. If your famaliar with our talent murderous intent you can skip this and go to the next paragr...
2010/11/22 23:01:32 by jnwhiteh
Hi, I'm very inexperienced with programming, but I really enjoy this, so I plow on :) I have a frame, called a bubble: `local bubble = CreateFrame("Frame")` I then create other frames on this frame, like the background & the close button ...
2010/11/22 10:28:27 by modder_hell
I was having a read through (http://wowprogramming.com/utils/xmlbrowser/live/AddOns/Blizzard_GuildBankUI/Blizzard_GuildBankUI.lua ""), and found an interesting API, Get DenominationsFromCopper() which doesn't seem to be documented. Can anyone shed so...
2010/11/17 22:22:07 by jnwhiteh
Add On Libraries posted by Warebear
I was wondering if there were any suggestions on Libraries to assist with making my addon or if you would recommend not even using a library and just create everything from scratch. I am not sure if I want to use a library because I know that if m...
2010/11/17 21:19:51 by Myrroddin
I really can't find much information right now on what's going on with the sound file support so I was hoping someone here might have some knowledge. Pre 4.x .wav files would play without an issue, now that is not the case, however .mp3 and .ogg a...
2010/11/17 21:18:32 by Myrroddin
Getting a unique ID for an account posted by Cyberwizzard
For my addon I need to distinguish accounts: each character on an account can share data but it should only be counted once (per account). I currently take a hash of the first character that logs in and use that as an ID to share data. But one ...
2010/11/16 18:28:59 by jnwhiteh
this or self posted by Myrroddin
I seem to recall a few patches ago there was something about depreciating the global this. or this: -- I take it we are supposed to avoid using the "this" global now? I am a bit confused on how to update code  to... what, exactly? If I give this...
2010/11/16 17:50:31 by Myrroddin
Npc Detection posted by bakil
heya im trying to make an addon that "detects" mobs in the area i know you can do it by checking the groups targets or checking the combat log to see where damage goes to but i was wondering how to detect if a mob is in range if you have the n...
2010/11/11 18:33:39 by jnwhiteh
Wanted to ask if there are any APIs that can be used in a mod to get information that is on the WOW armory from within the game? Thanks
2010/11/04 09:44:42 by jnwhiteh
Cataclysm Items posted by Freydis88
Hi, does anybody know where to get the item id's from Cataclysm? I am especially interested in the level 80+ PvP sets. Please excuse me if this is the wrong forum for my post.
2010/11/04 00:25:25 by Warebear
"FRIENDLIST_UPDATE" event posted by modder_hell
Hi, I'm having a little trouble with the event "FRIENDLIST_UPDATE" I've set a flag to print ("Event fired") every time the event is fired, and from the looks of it, it's being called like 10 times a second?? My social panel is not open, in ...
2010/11/02 08:04:15 by ojausghe
In my xml file I have these definitons: -- class dependent data display #0 ... set anchors, etc. here ... omitted In my lua file when I do this: `THRESH_Frame_Pclassdata0:SetTextHeight(28);` It wo...
2010/11/02 00:56:06 by rdillman
I am working on an add-on that shows pet information, etc. I have run into the issue after the 4.0.1 patch that level 1 characters get a pet from the start. The issue I'm running into is that my add-on does not recognize the pet until level 10. Is...
2010/10/28 20:04:46 by Warebear
when cast spell, if not facing target the spell fails i wonder is there a function that will tell you if you are facing target or not thanks
2010/10/27 18:42:30 by jnwhiteh
Testing for soulbound? posted by hascat
Is there a simple way to test whether or not an item in the player's bags is soulbound? I saw another thread on here about scanning the item's tooltip, but I feel like there's got to be a better way to do it.
2010/10/26 21:29:01 by jnwhiteh
So I finally got my fadeout stuff working. But I found out that when I used IsPlaying() that it returned true after the frame completly fade out. Code snippets. Whole addon is 1100 lines. FadeOut:SetScript("OnFinished", function(self) self:G...
2010/10/23 07:50:05 by inthedrops
Export API database posted by BlackGad
Hello! Has site have export API functionality? I mean export API listening into txt file etc. Also is here Web API available? Best regards, Vladimir
2010/10/21 16:41:17 by BlackGad
Prior to 4.0.1, you could use the "GetNumTalentPoints" API call to determine how many UNUSED points you have. Now that API call only return the total points a character has. Anyone know if there is an API call or option that allows to querey now fo...
2010/10/20 06:39:54 by edncjas
Hi Guys, Have been playing WOW for a few months and am a professional developer (12 years C++, .NET, servers mainly, some GUI stuff, bit of scripting, etcetera). I would like to learn AddOns/Lua skills via a project that I have in mind. Here...
2010/10/18 18:35:57 by jnwhiteh
Hi Gang, I have terrible trouble with my left hand so Im trying to work out some bindings. I keep getting it wrong and Im starting to think it isn't possible. Hopefully you can shed some light on an answer. Here is what Im trying to do: On my...
2010/10/18 10:06:44 by jnwhiteh
Hook a dropdown menu click posted by jonwats
Hi I am trying to hook a function when a user from another addon selects from a drop down menu. Specifically I want to know when a user clicks 'Remove Waypoint' from the map with TomTom. I can't hook to the TomTom:RemoveWaypoint function because it...
2010/10/17 11:25:48 by jnwhiteh
Simple checkbox problem :( posted by modder_hell
Hi, I'm having some trouble with checkboxes... I'm not sure what I'm doing wrong :( I create a checkbox with: MyFrame.checkBox = CreateFrame("Button","MyBox",MyFrame,"ChatConfigSmallCheckButtonTemplate") But then when i set th...
2010/10/17 09:07:55 by modder_hell
4.0.1 Addon Changes posted by marshbum
Now that I am loading the new 4.0.1 patch, I need to figure out how to get my Addon updated. I am looking for some help on some of the basic changes to the TOC file and the starting lines of the XML file to begin with. Any help to point me in the r...
2010/10/16 01:28:22 by uywfhoi
Arg1 Not Available posted by Drunk Cadaver
I have looked on Wowwiki, this site and UI/Macro forum and can't find a solution that works. Wowwiki shows on the "Patch 4.0.1/API changes" page that "Global variables this, event, arg1, ..., are no longer available." The following is the code I was ...
2010/10/14 20:06:21 by Drunk Cadaver
GetSpellName() seems is nil in new 4.0.1 patch, any idea? thanks
2010/10/14 16:43:48 by jnwhiteh
hello im new here :) posted by netherstorm
hi guys im new here, and would like some help/direction as to where to go to make a in-game mini game i would like to put a flash file ( mario game ) into a addon/mini game to play when im bored waiting for groups etc i have some basic programming kn...
2010/10/14 03:25:39 by uwrefbtv
I'm having a problem creating my hardware event handler that will allow me my Mod to buyout an auction. When I say hardware event handler I'm referring to the the fact that I can't automate the purchase without a click or keypress (as I've seen docum...
2010/10/13 18:19:02 by jnwhiteh
Hello I have written code for a drop down menu. What I now what to do but I cant figger out how to is to send a command to TomTom when an option from the list is selected. I have tried a few ways such as sending the command to chat and printing th...
2010/10/13 05:46:31 by ogdfjhpa
EventHandling problem posted by bennasi
Does anyone see the mistake I made in this code? Trying to play sounds on crit heal, lifesaving, entering world and starting pvp. thnx local frame = CreateFrame("FRAME", "FooAddonFrame"); frame:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED...
2010/10/12 08:46:09 by uywerop
anyway to get GCD? posted by ns66
is there anyway to get player GCD value (taking into account haste/buff)? also is there a way to get list of spells that won't trigger GCD? thanks
2010/10/11 22:22:58 by jnwhiteh
Posted this in the wrong forum, so re-posting it here :p   ---- 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 ...
2010/10/10 23:08:05 by ns66
Cork fishing pole position posted by Demonos
Hi, how can i get the Cork fishing pole's currente position? (Excuse me if my english is bad, i'm a french student in programming)
2010/10/10 12:25:12 by Demonos
Get Spell ID posted by Vanir
I am also new to programming like a lot of other posts before me. I have also looked through the posts on this forum up to 2008 for what I am curious of. So on that note, I'm trying to update some addons for Cataclysm Beta so that I may use them n...
2010/10/09 08:22:13 by hdaoeirytwu
clickable links in an EditBox posted by modder_hell
Hi! I have a problem I was hoping you could help me solve. My mod has a frame with a custom EditBox in it, & I wanted to be able to shift-click a profession in my spellbook & have it link like it does when you shift-click a profession into your ch...
2010/10/08 13:10:31 by jnwhiteh
Hi, when I do Ctrl-V, I can see name plates of nearby players, how do I get those frames? thanks!
2010/10/08 06:45:38 by jnwhiteh
I was trying to make a wow addon that did basic greetings when someone joined my guild, but I am not sure how it would check for this. I am aware that you can wait for a guild roster update. I don't know how to search the guild roster for the per...
2010/10/07 19:34:53 by thawee
Hi everyone, I have an issue with my addon: It performs kind of long calculations. Whenever this calculation is triggered, WOW freezes which is not really nice. Is there a way to perform these calculations in background? Or in a parallel thread? ...
2010/10/07 03:10:55 by sdghyulmr
Iterating Calander Events posted by justinmasse
Hello, I have recently dived into the wonderful world of Lua programming. My previous knowledge is C++, C and Java (among other languages). I am currently creating a quick little function which iterates through all the events on the current day. I...
2010/09/18 08:03:59 by jnwhiteh
3D Model Texture? posted by Mirrikat45
I'm trying to make a DressUpModel appear in a frame I have. The problem I'm getting is because I cant use `Model:SetUnit("unit")` ( I dont have a "unit" to put in there). Instead I'm looking up the information from what the unit was, their race/sex.....
2010/09/14 13:46:30 by Xers
can I get duration of mp3 file (in seconds/milliseconds)? in wow of course.
2010/09/14 13:09:47 by jnwhiteh
Is it possible to (http://wowprogramming.com/snippets/Scan_a_tooltip_15 "http://wowprogramming.com/snippets/Scan_a_tooltip_15") of an item in the bank? I've tried the following code (modified from the example in the snippet) f = CreateFrame('G...
2010/09/13 19:36:56 by jnwhiteh
Hi, I'm searching for a event that fires, when a raid- or group member died, without parsing the combatlog. Is there any possibility?
2010/09/09 21:59:13 by jnwhiteh
I noticed that blizzard uses an onupdate to track when a rune is ready again. I assume this is to do the shine animation since the cooldown is stopped before it ever does the shine. Maybe they do it this way incase the rune ready event doesn't fire o...
2010/09/09 17:14:39 by galvin
For an addon I am writing, I need to be able to disable a frame that inherits UIDropDownMenuTemplate whenever a checkbox is unchecked. I have tried everything from Frame:Disable() to trying to disable the DropDownMenu button itself. I want it to lo...
2010/09/08 08:36:55 by jnwhiteh
Hi there, been looking around but can't seem to find what I am looking for so gonna try my luck here. I have a very tiny addon that prints a text to the chat window whenever the Looking For Dungeon is ready but I can't seem to find what to call fo...
2010/09/06 21:58:15 by jnwhiteh
Extract data in events posted by JohnnyEmdeJensen
Hey I am new to programming lua and wow and i am just fooling around a bit. I have made a .lua file with; MyEventFrame = CreateFrame("Frame", "MyEventFrame", UIParent) MyEventFrame:RegisterEvent("ITEM_PUSH") MyEventFrame:Reg...
2010/09/06 16:14:47 by jnwhiteh
I was trying to make a macro that would set cameradistancemaxfactor to 4 when I left click on it, and cameradistancemaxfactor to 8 when I right click on it. I can't figure out how to make this work. Here's what I've tried most recently: /console...
2010/09/06 07:57:05 by jnwhiteh
Hello, i'm working on my addon and i have probs with resizing function. I'm creating special texture for grabbing and setting script Frame:StartSizing() ondrag and ondrag Frame:Stopmovingorsizing and onload Frame:SetResizable(enable) but when i'm try...
2010/09/05 23:04:08 by jnwhiteh
local BloodRune = CreateFrame("Frame", nil, UIParent) BloodRune:SetPoint("TOPLEFT", 10, -10) BloodRune:SetWidth(50) BloodRune:SetHeight(50) local BloodRuneIcon = BloodRune:CreateTexture() BloodRun...
2010/09/05 04:04:17 by galvin
LUA to xml posted by Xers
Hello guys. I've got a question about a frame I've created in lua. this creates a title and subtext for my addon option panel me.Title = me:CreateFontString( nil, "ARTWORK", "GameFontNormalLarge" ); me.Title:SetPoint( "TOPLEFT",...
2010/09/04 23:35:35 by jnwhiteh
I been working on this addon for around three weeks. And came up with what I think is rather fancy way of doing things. This addon keeps a list of frames it creates from a static table or doesn't use the static table if its loaded from disk. What ...
2010/09/02 21:38:21 by jnwhiteh
Distributing Your Addon posted by marshbum
First, let me say that your book and this site is the best and help me get through the creation of my first WOW addon. Thanks!! Now that I have my new addon, what is the best and easiest way to distribute it on the internet? I tried Curse but ...
2010/08/31 23:14:11 by marshbum
I was wondering if there is a way to create a frame which displays an image on your screen and and then have it rotate clockwise 360 degrees for a certain amount of time. Ive looked around for a few hours and can't seem to find anything. Can this eve...
2010/08/30 00:02:26 by tisaidivan
I have a SimpleHTML frame, I can set text in it (TestHTML:SetText(`"html text"`);), but how I can get text from this frame? p.s. "TestHTML:GetText();" not working. I get error "attempt to call method 'GetText' (a nil value)".
2010/08/27 17:28:11 by vx
How save information? posted by zidencjb
Hi I have a question about Lua and how I can save the information in SavedVariables folder. I have an addon call "qwerty" with the next Cmd... "/qwe", when I type /qwe it show me a message, in that point everything is ok. Now my question is....
2010/08/27 09:16:54 by zidencjb
Hello, I am really battling to find a decent converter for the current version of WoW's BLP files. I have used a numbers of converters but none of them manage to preserve the transparency or they degrade the quality of the BLP file a heck of a lo...
2010/08/26 21:37:31 by jnwhiteh
Hello all, Let me start off by saying that I am new to this forum and to WOW programming in general, but I find it fascinating and am looking forward to learning more about it. Thanks to everyone in advance for your help. I am trying to figure...
2010/08/21 16:59:41 by jnwhiteh
Print value of statistic/achievement posted by TheFlyingCorpse
Hello, I am trying to write a small addon that will calculate some values for me, I started a days ago and have got some basic things working. A great thanks to the example on how to List everything missing from World Explorer btw ;) I am ho...
2010/08/21 16:58:57 by jnwhiteh
I've started work on my first major addon, and it's a totem bar. My 1st big challenge is finding a way to code button "flyouts", similar to the standard totem bar, but doing so on mouseover. There are a few totem bar addons that do this already, su...
2010/08/20 14:11:04 by Vardelm
UnitIsPlusMob posted by Yonaz
From what I understand, UnitIsPlusMob isn't used in WoW anymore, and now I wonder how to get the new string UnitClassification() to work instead. Below is some of the old code I just can't get working: local function levelString(unit) ...
2010/08/19 11:25:49 by jnwhiteh
Addon Help posted by darkcloud784
I've been working on a very simple addon (im a beginner) but ive been having problems with it executing. I've been over the code again and again and cant find my error. Any help would be appreciated! local isPaladin = select(2, UnitClass("pl...
2010/08/19 11:16:57 by jnwhiteh
Can any body tell me, how I can save my variable, on screens before entering world (login/character_select etc.). I try to little rewrite login ui and need for save some my vars (for sample in Config.wtf, like other vars). may be I must declare my v...
2010/08/10 09:14:41 by jnwhiteh
Creature cache posted by Xers
Hello everybody After some searching with no results. I will ask my question in this forum. It is about the creature cache you can find in your local world of warcraft folder and if it is possible to read the data inside the cache ingame. ...
2010/08/08 09:39:40 by jnwhiteh
Drop Down Menus posted by zenasprime
Hi, I've been trying to add code for a drop down menu for a couple of days but I can't seem to get it to work. I've followed the steps at http://www.wowwiki.com/Using_UIDropDownMenu but I'm not getting any results. I've run my code through XML n...
2010/08/08 09:38:54 by jnwhiteh
In my addon I am trying to duplicate the functionality of the interface->objectives->"automatic quest tracking" option. Basically I am trying to figure out how to stop auto quest tracking. I tried to just put InterfaceOptionsObjectivesPanelAutoQuestT...
2010/08/08 09:38:24 by jnwhiteh
Hey guys, First off wanted to say thank you for such a wonderful book. I have gotten the BagBuddy and CombatTracker up and running perfectly through the chapters. I want to change the functionality of BagBuddy just slightly so that only 1 of the fil...
2010/08/08 09:21:00 by jnwhiteh
Obtaining spell school posted by GMan
I would like to be able to determine a spells "school" (Fire, Frost, Shadow, etc). I cannot seem to find an API that would return this information given a spell name or ID. Is anyone aware of such functionality in the API? Thanks, G
2010/07/30 18:15:01 by jnwhiteh
API for Equip-Change posted by Balu90
Hello I want to write a new Addon but i can't find the right API... There are the API's im searching for: 1. Check if my weapon only a 2 hand weapon 2. Get ItemName of Main + Offhand respectively 2 hand 3. unequip Main + Offhand by name 4. ...
2010/07/27 14:20:38 by jnwhiteh
Check for in/out of raid posted by ksignorini
I've got some code that checks the number of party members and number of raid members to determine if the player is currently in a party, raid, or all alone. What I want is to have some of my addon buttons disabled when not in a raid or group, but...
2010/07/27 06:16:17 by magicsimon
Hello. I am kind of new, as many of the others at world of warcraft programming. For a fact, I have never programmed something "real" in lua before. But since I've got experience in some other programming languages this ain't a problem. However...
2010/07/26 12:13:41 by jnwhiteh
Locking CheckButtons posted by Drae
I have 3 checkbuttons and a label. The 3 choices are Red, Blue, and None. I want only one to be selected at a time. When one checkbutton is selected, pressing it again should have no effect. When one of the other buttons is pressed, the original ...
2010/07/24 08:59:24 by jnwhiteh
HybridScrollFrame posted by Xers
Hi everybody it's me again :D I have a problem with an addon i want to create. I want to create a frame with a HybridScrollFrame just like the token frame in the charinfo this is what the token frame looks like !(http://img541.imageshac...
2010/07/22 08:58:20 by Xers
Variables in lua posted by Shinisuryu
I know the basics of giving a variable a value, but I've seen something that I'm not totally sure I understand. Blah1 = (Blah2 == 0 and Blah3 or Blah2) Now, is the first part just like a if comparison? and if not, where would I figure out how t...
2010/07/20 15:15:39 by Shinisuryu
Help with my Addon posted by VVWY
Very good, my name is adrian and I am interested in lua, but I have two questions about lua. I am creating a world of warcraft addon, and I have trouble following the code, you see, I have this written in XML: ...
2010/07/19 15:08:58 by jnwhiteh
Option menus help posted by WayneSilver
I have been messing with an addon that really does nothing but capture options and save them from session to session. I am doing this so I can learn a few things about how write addons and interact with the gaming system. In the game we have Inte...
2010/07/18 17:24:24 by jnwhiteh
Color Codes posted by nucrus
All I wanted to do was change the color of my baggins bag from blue, to a darker blue, since this option wasn't included in the configuration I had to do it through the code. This is the segment of code I'm working with. local defaultSkin = { ...
2010/07/16 07:48:51 by jnwhiteh
Incoming Tracks posted by Question1
I've got the idea for an addon which gives a message whenever a tracking of some sort is coming in. More detailed, I want to get a global message much like the "no flying zone" when flying in dalaran, whenever I find, lets say, an herb or an ore d...
2010/07/13 14:17:04 by jnwhiteh
i'm simply trying to print the messages that appear in a chat frame. i need to get it narrowed down to a single channel, but for now.. id be happy with getting this part to work: my lua: function SkillzSend_OnLoad(self) self:Registe...
2010/07/11 09:36:02 by jnwhiteh
Screen Flash posted by Drae
I have found the Global String: `OPTION_TOOLTIP_SHOW_FULLSCREEN_STATUS` That appears to be able to flash the red warning around the edges of the screen. I have no idea how to implement it to do so. I have an addon. It checks certain conditio...
2010/07/10 07:51:48 by jnwhiteh
Hello everybody I've got another question for you :) Is it possible to prevent a frame to be dragged out of the window ? here is my code `` ...
2010/07/06 13:13:32 by Xers
Interface options tab posted by Drae
The last few patches have brought us changes in the WoW Interface Frame. Now instead of the bare bone WoW options and configuration, there is an addon tab. Certain addons are listed there and each uses the frame to control the addon's options. Man...
2010/07/06 08:43:53 by Xers
Quest Levels posted by rexthestrange
Is there a function to get the level of a particular quest from the quest log? I looked through the reference but couldn't find anything obvious.
2010/07/06 08:36:18 by jnwhiteh
Lua errors: CombatTrackers posted by Pantharess
If I put my codes, here it decides to go into HTML form. So I'm going to reply to this post instead, with the error messages I receive. Hopefully easier to understand. First: When I open and log on WoW. Second: When I click the button. I'm new...
2010/07/01 23:15:32 by Pantharess
Newbie In LUA posted by alexsoto14
Hello community and staff from World of Warcraft PROGRAMMING, I'm seeking for help here in the forums 'cause I'm Newbie here PROGRAMMING in LUA or i say i don't know anything of This programming language, but i want to learn it so: 1. What program i...
2010/06/28 22:00:46 by jnwhiteh
Help: Animations posted by Xers
Hi everyone I'm new to LUA and now i'm searching for some help :) In an older thread jodyblau posted a wall of code into the forum about animations http://wowprogramming.com/forums/development/169 Someone in this thread replied, that this...
2010/06/28 15:41:33 by jnwhiteh
Is there any way to create a macro which sends a message to /raid if left clicked and /guild if right clicked? I've tried everything I can think of from using and with /say (which doesn't work because /say is not secure) to trying to use the sam...
2010/06/26 06:30:50 by jnwhiteh
Using hooksecurefunc posted by bigwolf925
I'm trying to write an addon that uses DisableSpellAutocast. According to WoW, this is a "protected" function, so I have to use post hooking. I have searched everywhere for an example of hooksecurefunc that makes sense to me and I'm still baffled. I'...
2010/06/25 21:24:07 by jnwhiteh
CombatTracker Frame not appearing posted by magnusXcaboose
I have written the code to CombatTracker XML from Version 1 of the book. The ##Description was changed to ## Notes. The extra i in the first line was removed. When I load the game, the addon shows up in the addon list, yet the frame is not showing. C...
2010/06/22 17:41:09 by jnwhiteh
Hello to everyone, A few days ago i downloaded the Addon Market Watcher on the Curse Gaming website. (http://wow.curse.com/downloads/wow-addons/details/market-watcher.aspx) This Addon allow you to scan the Auction House (like Auctioneer) and t...
2010/06/21 20:00:55 by jnwhiteh
Ok I'm trying to make an addon announce when a Interupt has missed I tryed using SPELL_MISSED event but the problem I'm having the whole spell has to miss for it to read this. Take below spell the spell hits but the mob is immune to interrupt so S...
2010/06/21 18:44:19 by jnwhiteh
Frame Template Problems posted by Tyrith
I am having trouble creating a new frame using a template. I have the following template but I am unable to create a frame using it. ...
2010/06/20 06:01:37 by Tyrith
Stop PlayerModel animation posted by richardCANE
Hi guys! Is it possible to stop a PlayerModel animation? I want to stop my Orc moving when in my addon shows up... I've tried StopAnimating() without success :S Please Help, THX.
2010/06/13 15:36:33 by jnwhiteh
Guild bank log? posted by Quasi
(Skip ahead to -SKIP- if you want to skip the explanation of what I'm trying to do) I recently decided to start a guild and decided to use my own hosting computer to do the website. With this decision I wanted some features that I thought would ...
2010/06/11 03:38:15 by DCGround
Hey all, im new to add-on programming and im trying to make an add-on to help me and my arena partner. The currently problem i have is, i want to use `UNIT_SPELLCAST_SUCCEEDED` event which can have 3 arguments: Signature: ("unitID", "spell", "ran...
2010/06/10 19:33:24 by jnwhiteh
I would like the main window for my addon to fade-out when the user takes their mouse away from the window, and solidify again when the mouse is brought back over the window. This is what I've done so far: -- When mouse enters main frame ...
2010/06/10 09:10:19 by jnwhiteh
Users in custom channels posted by acorah2
Hi, first of all thanks for the great website, its been invaluable in creating my first addon. The problem im having is collecting information on users in custom channels. I was wondering if its possible to return names/guilds of all users in a...
2010/06/10 09:09:18 by jnwhiteh
A vending mod? posted by zachary123
First of all, I'm not sure this mod would be legal, so please let me know if it is or isn't.   I have been reading up on how to program addons, it doesn't seem too complicated, and I'm sure I could do it once I get the time(i.e. Post deployment ...
2010/06/09 20:52:13 by ksignorini
READY_CHECK_CONFIRM Event posted by Balu90
Hello I'm new in WoW Addon programming and I have a problem with `READY_CHECK_CONFIRM` Event. 1. Problem: The Addon should call the function GetRemainBuffTime() if a player in Raid klicks on the confirm-button. But something seems to wrong with...
2010/06/09 07:21:33 by Balu90
Frame Templates posted by GMan
I'm a little stumped on an issue surrounding using frame templates. In my XML I have a template defined. The template essential contains a single row and each row has a button / statusbar / button. Here is the XML code ... ...
2010/06/03 15:03:37 by GMan
Jim, In BagBuddy you use the following: `BagBuddy_ItemTimes = BagBuddy_ItemTimes or time()` I understand (I think) that what you are doing is a logical test trick to assign `BagBuddy_ItemTimes` either its previous value if not nil (the test ...
2010/06/01 17:23:27 by ksignorini
deleting entries from table posted by Myrroddin
I am working on an Ace3 addon, which has OnInitialize(). In my defaults, which are before that, I have a table of random sayings that are output to chat, numbering 26. One of the options in OnInit() allows a user to remove any number of sayings, incl...
2010/06/01 11:00:22 by jnwhiteh
For one of my addon's functions, I want the user to be able to click on a button (on my main frame) that will do the following: 1. Change the cursor into a glowy hand 2. Let them left-click and item in the master loot window 3. Post a custom ...
2010/06/01 08:38:50 by Myrroddin
SetAlpha OnEnter/Leave posted by Aprikot
I keep my Minimap at half alpha with `Minimap:SetAlpha(0.5)` I use the following for full alpha on mouseover, then back to half alpha on mouseout (works great): Minimap:SetScript("OnEnter", function() Minimap:SetAlpha(1) end) Minimap...
2010/05/31 03:04:54 by ksignorini
OnMouseDown and Frame posted by Drunk Cadaver
I'm running into an issue with a mod I've written that makes no sense to me. I'm using OnMouseDown + Control to run some code in my XML document. Here is the code... testherald:SetScript("OnMouseDown", function() if I...
2010/05/30 07:59:40 by jnwhiteh
UIParent and frame size posted by ksignorini
When I built my original main addon frame, I forgot to make it a child of UIParent. Now, when I put parent="UIParent" into the frame tag, my entire addon frame becomes very tiny. Why is this?
2010/05/29 07:55:22 by ksignorini
So I have a frame with this button on it: AttendanceButton_OnClick(); I would like to make the text fit on the button--right now, it's too big. How do I change t...
2010/05/23 01:33:13 by jnwhiteh
Naming Conventions posted by Omnius
In the BagBuddy addon, you use a function naming convention of BagBuddy_SomeFunction() and in CombatStatus you use CombatStatus:SomeFunction() Obviously they both work, I was just wondering what the significance of using or not using ':' ...
2010/05/20 21:33:44 by jnwhiteh
External Application Hooks posted by TheAggie
Ok, so I've been dreaming up a really cool application for use with WoW but unfortunately don't think it is possible to implement. In order for it to work as desired I would need real-time information from certain in game events and potentially a way...
2010/05/20 21:31:53 by jnwhiteh
Checkbox help posted by Beav
So, I've gone through many steps, trying to get what I want. And nothing seems to do what I want yet.. I obviously need to wait for the book to get these things to do what I want, simple common sense isn't cutting it for me. I thank you for the br...
2010/05/20 04:47:46 by Beav
Library syntax posted by Omnius
I was looking at an addon and got a little confused by how LibStub was used - the addon was using a library called ScrollingTable (or externally, lib-st), and I saw in that library the call to LibStub:NewLibrary(), etc, but the main addon seems to be...
2010/05/19 21:29:08 by Omnius
Loading Variables posted by GeodesicDragon
I'm trying to get my addon, VGC, to work with variables. There are two of them. One is called VGC_HEALTH, and the other is VGC_MANA. I can set them no problem using `/script VGC_HEALTH=X` or `/script VGC_MANA=X` They work as I want the...
2010/05/12 21:17:34 by jnwhiteh
Help with a slider posted by Krafter
I have been trying to figure out how to use the slider widget in lua. I have not been able to find much info on this topic other than wowwiki. The example they give doesn't work at all. All I get is the min and max values stacked on top of ech other ...
2010/05/07 17:54:11 by jnwhiteh
Guild Vault Log(Revived?) posted by clowcadia
Hi guys, me and my friend decided to go all out on coding, our own guild website. We looked around everywhere for what we wanted to save us time. So what we really want to do is keep track of our guild log offline. Some kind of script that make a t...
2010/05/04 16:37:29 by jnwhiteh
Hi, i am a newbie developer. I am learning to to scrip, and learning he show me the money add on. I did the add on for welcome world or something and it went well. I looked at the show me the money scripting, and pasted the add on to my add-ons but...
2010/05/04 16:30:44 by jnwhiteh
Out of Combat Flashcard Addon posted by jacktravis
This is going to sound so retarded, but is there an addon that might have any of the following features that I might be able to look at the code with? 1. Has a database of vocabulary words from another language. 2. Allows the user to choose diffe...
2010/05/04 09:12:03 by jnwhiteh
SendChatMessage to GLOBAL posted by nogenius
Hi everyone, there used to be a possibility back in the days to send messages to a global addon channel. Since this seems to be not possible anymore (or is it?), I am trying to find a way to share information between users that are not in a guild ...
2010/05/03 23:19:20 by jnwhiteh
Need help with system messages posted by Vladixlaus
When `Chat_Msg_System`/`ERR_QUEST_REWARD_EXP_I` is fired, how can i catch what is in %s and so with others system messages with &s &d simultaniously? Thanks.
2010/05/02 18:44:40 by jnwhiteh
Animating on top of a Map posted by squibbon
I'm currently trying to create an AddOn that will take the coordinates of yourself and others in your raid that later will be displayed on top of a map as dots and that will animated to show where people were located over the duration of a battlegrou...
2010/04/28 21:29:53 by jnwhiteh
GUID / UnitID posted by GMan
First ... I hope all is well with your health issues. Secondly ... bare with me as I am new to all this. I am creating a addon that reports information about the units in the surrounding area. I am using `COMBAT_LOG` event entries as a mechani...
2010/04/28 12:32:02 by jnwhiteh
Pitbull help posted by rhayn
I'm trying to get my pets unit frame to display my pets current target on the pet unit frame in pitbull4. Currently i have if (event == "PLAYER_TARGET_CHANGED") then return Name("target") end The problem i'm having is that i...
2010/04/26 15:21:27 by jnwhiteh
Hey guys. Im trying to extract data from my tradeskill chatframe. I want to count the procs i have on the different flasks(Alchemy) - But im way off right now. This is what i got right now - Im doing this to learn, and thought that this would b...
2010/04/23 17:03:24 by Gielen
Raid ID? posted by jnewkid
I am new to the WoW API, but I can't seem to find a function to return Raid ID. Thought I'd check here for updates, but don't see it. Probably something simple, but figured I'd ask. I love the book so far!
2010/04/22 08:50:27 by jnwhiteh
Player Dead posted by Drunk Cadaver
I'm trying to add an "auto release in WG and BGs" option to my mod. I have looked up mods with similar options and tried to come up with something but it's not working. I tested the mod in WG by dismounting and falling to my death, but after 40 gold ...
2010/04/19 18:40:12 by Drunk Cadaver
Arrays and if Statement help posted by noob_coder
I have 2 questions about arrays and if statements that do not relate to each other. Question 1: How do I properly structure if statements in Addon Studio? I have the following code: function blah() if a == 0 then do something ...
2010/04/15 19:42:07 by jnwhiteh
Would it be possible to emulate the object selection circle? Basically, I want a texture to be displayed at the feet of the character, but to also scale with camera angle, similar to the object selection circle.
2010/04/15 09:16:21 by jnwhiteh
Hey, does anyone know a snippet for me to be able to create an addon for me to be able to load an image from the blizzard artwork cache, to be placed anywhere in the UI, being able to resize it, and move it? if so please post it all help is apprecia...
2010/04/14 18:19:09 by jnwhiteh
WoW Texture Creation posted by travis
I'm learning how to make my own interface addons now, and wouldn't you know it I get to a stumper on my first one! My question is about how WoW draws textures and sets their coordinates. Here's some sample code: for i = 0, 1679, 2 do ...
2010/04/11 15:10:15 by travis
Hello, I'm completely new to WoW-programming, and I was wondering where to get the physical coordinates of the Player in order to make something like a compass (heading, location), and very importantly: the z-coordinate, either absolute or relativ...
2010/04/10 17:43:44 by Ahrol
I've read up a good bit on the SecureActionButtonTemplate ( http://wowprogramming.com/docs/secure_template/SecureActionButtonTemplate ), but so far it looks like this is only possible for mouse button clicks. Is there any way to achieve the same eff...
2010/04/10 11:05:48 by jnwhiteh
Hi. What functions or lua code, can help me to hide/move the inscription that appears on the some bosses: "unsuccessful attempts until retread 20/20"? Ideally, I would like to get something like - |Attempts: 20/20| and move it there where I whant. ...
2010/04/10 10:58:07 by jnwhiteh
Hello, I wanted to first say that I am really enjoying your book and it has helped me greatly in learning to modify some addons, as well as starting to try to build my own. I am considering buying your 2nd edition book, though since I just bought the...
2010/04/10 02:39:11 by barongarrett
I know I can use QueryAuctionItems("",0,0,0,0,0,0,0,0,true) to return a compete list of the AH, rather than the 50 items that GetAuctionItemInfo("list",index) limits me to, but I cant find out how to get my hands on the actual information once I have...
2010/04/09 14:39:55 by flits
Hey guys, I'm trying to work my first addon but run into a road block. I have the first edition of the book and am trying to get the second edition just don't have the spare cash right now. In my book for chapter 23 there is a picture of the dropdo...
2010/03/30 22:13:01 by jnwhiteh
Hello dear forum members, I have one problem which I'm trying to solve and have no results yet. I need to check if spell can be applied to unit or there is already more powerful spell active. I found that there is `SPELL_FAILED_AURA_BOUNCED` cons...
2010/03/28 17:55:18 by jnwhiteh
Noob stuff posted by Bladeblade
I'm new to wow scripting and this kinda thing but not to programing So my question is this! How can I may a simple script that will cast fireball when Brain Freez is active I tought I check if cast time is 0. So i found the function for getting ...
2010/03/23 14:26:59 by jnwhiteh
Hi I am finding that GetNumQuestLogEntries() returns a zero for me on startup. Basically after the PLAYER_LOGIN event I call my initialization function which uses GetNumQuestLogEntries(). Both numEntries and numQuests are zero: numEntries, numQue...
2010/03/19 18:14:39 by jonwats
Resizable and Movable Frame posted by jonwats
I am pretty new to this stuff but I have the book and find it very useful. One thing I can't seem to figure out is how to make a frame that is both movable around the screen and resizable when you drag the bottom right hand corner of the same screen...
2010/03/16 09:04:19 by jnwhiteh
During my experiments with the WoW Auction House, i've noticed that using QueryAuctionItems with the getAll attribute set as True, (and having eventtrace running on screen as well), the Auction_Item_List_Update event sometimes takes quite a while to ...
2010/03/15 12:54:51 by Philburt
So I have a legit plan. *removed by admin*
2010/03/12 08:57:12 by jnwhiteh
This is my first time making an addon so please be gentle with my noobness. I'd like to make an addon that just colors the health bars in your party frames according to their class. First step is trying to detect when you are in a party. I'm t...
2010/03/12 04:13:31 by chrisandelin
How to get the Id of the tradeskill recipe ?
2010/03/11 07:46:37 by jnwhiteh
How to get the Reagents? posted by moonknight
If someone send me a link,like , How to get the Reagents? 6x 10x
2010/03/11 05:41:44 by moonknight
How to get the Reagents? posted by moonknight
If some one send me a link,like How to get the Reagents? 6x 10x
2010/03/11 05:40:36 by moonknight
Tooltip Help posted by Drunk Cadaver
The mod I am working on has a basic frame that displays information. I would like to build a tooltip that displays more advanced information. I went thru chapter 24 in the book, and I've coded the tooltip. It works beautifully when I test it in WowLu...
2010/03/10 00:03:16 by Drunk Cadaver
Target Text Buff Frame posted by hgm959
I am not sure if anyone else is having this problem but when I run the game I get no errors about my TargetTextFrame Buff plugin not working, however, the buffs arent there. I have heroic presence on and that doesnt show. Any ideas =/
2010/03/07 23:21:20 by jnwhiteh
Innervate Addon posted by Evilsithgirl
Hello. I have an idea for an innervate addon that allows players to whisper me with a keyword (like innervate or vate or something along those lines) and have the addon flash that person's name up on my screen so they can get an innervate. The addon...
2010/02/28 01:10:29 by jnwhiteh
How to get the player's name which i trade? when a player trading to me,how to get his name? my code is Right? local frame = CreateFrame("Frame") local function myEventHandler(self,event,...) local arg1, arg2, arg3, arg4, arg5, arg...
2010/02/27 15:03:26 by moonknight
Ok I'm trying to add options to my addon. But I can't for the life of me work out how to save settings. The / commands work fine toggle on and off the functions ( i intend to add more but I want make sure base is sorted first) but how do i go about s...
2010/02/26 21:53:00 by jnwhiteh
Using GetChannelList ? posted by oliverjp
I want to create a table of the channel #s and names of channels the user has subscribed. I know that GetChannelList returns these values as pairs id1, name1, id2, name2, ... = GetChannelList(); I have developed a blind spot and can not get the ...
2010/02/18 23:08:32 by oliverjp
Table sorting posted by Taborious
ok, this is making my brain hurt and it seems like it would be simple, but i can't find anything to get it working. I want to sort a nested table. t= {name="bob",amount="2",link="whiskey") t= {name="steve",amount="3",link="bravo") t= {name="a...
2010/02/15 18:27:50 by jnwhiteh
When a player hands in a quest, is there any way for an addon to find the details of that quest? For most quests I can simply track the quest log to see what quests go in or out of it, but some quests never go into the quest log - you just talk to an...
2010/02/12 23:31:26 by tutti
Shields working posted by Kozzy
Hi! Iam interested about absorbing shields working. Eg. priests powerword shield, divine aegis, paladins sacred shield, or the Valanyr bubble, ice barrier, mana shield,fire/frost wards ...and any other shields. Are there any prio within shields? I ...
2010/02/10 17:39:10 by Kozzy
Creating a Guild-like frame posted by thebrucrew
Hey WowProgramming, I was paging through some of the WoW interface files looking for something to me how to create a frame kind of like the guild frame, where there are multiple rows and columns that are updated with data. I know how to physicall...
2010/02/10 09:56:24 by jnwhiteh
Leave Wintergrasp posted by Drunk Cadaver
When you're in Wintergrasp, the minimap button that is normally used to show BG queue information has an option to leave Wintergrasp. Is it possible to make a button that does the same thing? If so, where would I look to find out how? I know how to m...
2010/02/10 09:53:01 by jnwhiteh
Expanding BasicUnitFrames posted by joe177
Hello, I recently completed Chapter 27 and after making some changes to make it work with today's patch, I want to add some more features. I would like to make it so that when I click on the unit's frame/button it would make that unit the target. ...
2010/02/04 23:14:10 by jnwhiteh
New with lua posted by frozendragon498
I'm new with programming lua (but not with programming itself) and i thought about making my own addons so started with something simple like saying something when i enter arena. i have been trying for hours to get it to work so i thought some help m...
2010/02/04 00:25:18 by jnwhiteh
Hi, I am trying to create an addon that needs to add messages to default-chat-frame as well as the combat frame. But i am not sure how to do it for the combat frame. Is there something like default-combat-frame :)? thanks
2010/02/01 14:12:08 by jnwhiteh
Heya, I am very new at the lua progamming scene, so please do forgive me if this is a very simple question :) I am trying to write a very simple addon that tells me what spellpower I have when I cast a spell (eg. when casting Earth Shield, I wa...
2010/01/24 22:36:25 by jnwhiteh
I am trying to create a script (in this case, inside of kgPanels) to toggle a ChatFrame to be visible or not visible, based on entering or leaving Trade Channel. The basic script I have right now is as follows: if event == "CHAT_MSG_CHANNEL...
2010/01/16 01:13:29 by jnwhiteh
Looking for Help making an addon posted by KaKaMoNsTeR
Greetings What im looking to do is to make a addon that displays a button in the middel of the screen that has Hearthstone in it and if Hearthstone is on cooldown display Teleport: Moonglade, you should be able to press the button to cast Hearths...
2010/01/15 11:24:30 by KaKaMoNsTeR
Hi, I have a problem with an addon, maybe someone can help me with some hints. I have a function which needs about 100-300 ms with my PC and cable connection, this function results in a 100-300 ms interruption of WOW. Is there a way to make th...
2010/01/12 21:36:21 by jnwhiteh
SciTE support (LUA) posted by Zuo
Just to throw it out there in the open, it's fairly easy to make a plugin to allow WoW API (and LUA) syntax and highlight as we have a table with all the functions, params and information. I myself generated such a file by parsing the API list on ...
2010/01/10 10:01:59 by jnwhiteh
Am I in a battleground? posted by jhecht
I was just wondering, what events do i have to use to figure out if I am in a battleground. I don't care WHICH battleground, i just care that I'm IN a battleground. Any help would be appreciated.
2010/01/08 15:09:45 by jnwhiteh
So I've been toying around with the different addons in the book to get a better feel for how this all works. I am currently trying to make BasicUnitFrames(chapter27) customizable in-game by creating a frame that consists of 2 sliders - one for the ...
2010/01/03 04:04:40 by jnwhiteh
Hello. I'm very new to the WoW API. I have an O.K. understanding of how most programming languages' syntax and structure work but I would still consider myself a novice. I was hoping that this community would be able to help me out with a small perso...
2009/12/30 02:38:11 by natethegreatt
Is there a UI loaded event? posted by DPattee
I've written a little add-on to move some stuff around on screen. It works when I call its main routine through a keybinding or an event such as `ACTIONBAR_PAGE_CHANGED`. But, when the same routine is called automatically during start-up (using th...
2009/12/29 01:11:09 by jnwhiteh
I am very pleased with this book and am working on an addon that utilizes the functionality of the BasicUnitFrames addon & the SABTest addon. What code could I insert so that, when I clicked a person's button it would cast a certain spell on their t...
2009/12/23 16:00:45 by jnwhiteh
Hey guys, I realize this might be out of place but id appreciate the help. Ive been trying to make a script to cast a spell when the same button is hit for the 2nd time. The reason for this is to protect certain spells from being used by mistake. Is ...
2009/12/21 09:56:57 by jnwhiteh
I'm trying to show how far a for..do loop has progressed, but can't seem to get it to work. My screen shows a Button and a FontString, the text of the FontString to show "Percent of loop complete : ".. followed by the percentage value of 10,20 etc....
2009/12/19 17:52:24 by jnwhiteh
Multiline FontString? posted by Bonewalker
How do I create a new line for text? For example, in the code below, I want to list my auctions in a frame I have created. It always overwrites with the most recent line in the loop. What is the best way of doing this? Thanks. function But...
2009/12/17 21:11:22 by corveroth
DUEL_REQUESTED Problems? posted by _whelp
Everything works except that the EventHandle function isn't even run... I think there's something wrong with the event... Why isn't it working? IgnoreDuel = {} IgnoreDuel.Frame = CreateFrame("Frame", nil, UIParent) Igno...
2009/12/16 16:27:30 by _whelp
Buff ID posted by Yurial
Hello everyone, If the player is dual wielding and has 2 berserking enchants, am I able to distinguish what weapon proced the buff? So far i've been able to tell that the proc occured, but can not distinguish the two IDs apart. Any help would be ...
2009/12/14 10:12:50 by jnwhiteh
Registering Events posted by semick
Hey guys, I know this is probably a simple question but none of the online resources I have found can answer this question. I want to have one onEvent call in my xml i.e. then a lua function that will register events and handle them di...
2009/12/13 15:18:49 by jnwhiteh
Auction Tracker possible? posted by Bonewalker
Hi All, I am just getting started on addon development. I have not ordered the book yet, but I am hoping to pick it up soon. Basically, what I am interested in learning is if the addon I want to make is possible, and/or particularly difficult. ...
2009/12/11 21:51:02 by jnwhiteh
Auctionhouse Type Frame posted by docseuss
James or anyone else, I am wanting to create basically the auction house item frame. I would like to be able to search for an item filter using the tree to the left and dropdowns up top. Pretty much every functionality of the Auction House except wi...
2009/12/11 21:50:13 by jnwhiteh
LibTipHooker Error posted by NicodemusAtNIMH
Message: ...bTipHooker-1.1\LibTipHooker-1.1\LibTipHooker-1.1.lua:167: bad argument #1 to 'pairs' () Time: 12/11/09 09:49:06 Count: 1 Stack: : ? : ? ...bTipHooker-1.1\LibTipHooker-1.1\LibTipHooker-1.1.lua:167: in fun...
2009/12/11 17:09:18 by jnwhiteh
I already have a thread going on this subject over on (http://forums.wowace.com/showthread.php?p=293239#post293239 "WowAce"), but I thought I would also post it here to get additional input. Hello all, I am in the process of writing my first ad...
2009/12/10 12:11:07 by jnwhiteh
TargetofTargetFrame:Hide() posted by illicitdos
I'm not too familiar with the WoW API yet, but I'm trying. I've been editing other users code so I can get a better feel for the flow. Anyway, after patch today I'm getting many errors, gone through each addon 1 by 1 and fixed those errors. But I can...
2009/12/09 19:41:36 by jnwhiteh
Hiding text and buttons posted by Caeth
hey guys, my minimap zoneinfo and minimap zone button used to be hidden but arent anymore. did anything change in 3.3 i need to know about to properly hide this text and button again?
2009/12/09 12:54:33 by jnwhiteh
I thought I would give (http://forums.wowace.com/showthread.php?t=17426 "Tuller's Winter Veil contest")'s Winter Veil contest a crack, and as usual, both your book and the site are indespensable. The APIs about companions (critters) are helping a lot...
2009/12/09 04:45:38 by Myrroddin
Tradeskill links in chat posted by thebrucrew
Any way to take a message sent in channel chat, search it for a link from enchanting, and if it contains a link from enchanting, search my enchanting book for the link? Thanks, Bru
2009/12/08 08:29:49 by jnwhiteh
Well...until now I have had no real problems making modifications to AddOns using the book and the web as reference, but am having problems figuring this one out (heck, I'm not sure it -can- be done): I log in to multiple machines (my laptop, my d...
2009/12/07 23:55:37 by goofdad
OnClick Script Help posted by Potzy
Hello Everybody - 1st time poster here so please go easy on me :) As a disabled gamer, I have great difficulty using anything other than one finger on my right hand, with my left hand controlling the mouse - simply put, I generally 'click' everyth...
2009/12/04 18:19:02 by jnwhiteh
Checking for Outdated Lua/XML posted by ElFurioso
I'm wondering if/how/where there is a utility/program/etc. that I can use to browse older addon code to check for outdated commands or ui items. I'd like to resurrect some long outdated addons, for instance Fizzwidget's reagent cost. Any ideas...
2009/12/04 17:34:00 by jnwhiteh
Lua to HTML Converter posted by prestonbr
Hi, i'm newbie on Lua programming, and i have an ADDOn "SK" Suicide Kings, and i want to show the list on my guild web page. I want to know if has a PC software thats can convert my .lua to HTML page Thanks for Help... PS: Sorry for my ba...
2009/12/02 15:14:02 by jnwhiteh
Effects in addons? posted by kjdalglish
Is there anyway to possibly play animations or game effects through and addon? Like if i wanted to show the frost nova animation to the player is it possible? Also, is there anyway to use skills/spells OUT OF COMBAT (i know you can't during com...
2009/12/02 11:00:23 by jnwhiteh
Hi, I've been trying to figure out the best way to detect that the player character has joined a guild, party, raid or battleground (not when another player has joined). I'm assuming there's a simple and efficient way to do this. Anyone able to po...
2009/11/30 09:40:10 by jnwhiteh
Runebar posted by Caeth
I've got a runebar addon that works just fine for the normal runes, blood frost and unholy. but as soon as a deathrune is created the rune loses its ability to track the cooldown timer. I absolutely lost on whats causing this behavoir, It seems this ...
2009/11/21 23:06:42 by Caeth
Wintergrasp Control posted by Drunk Cadaver
Is it possible to find out who controls Wintergrasp without being in Wintergrasp or even in Northrend?
2009/11/19 22:00:59 by jnwhiteh
Placing a bid at the Auction House using: ``PlaceAuctionBid("list",index,amount)`` results in a message in the chatframe telling me that either: 1) the bid was successful, or 2) the auction no longer exists (bought by another player, or the ti...
2009/11/19 14:48:43 by Philburt
I'm currently working on developing an addon that tracks kills by name of monster or player. I want to use a lua table to store all of this information but I'm not sure if WoW will save the table between game sessions. I know that global variables ca...
2009/11/17 21:40:20 by nytherian
Chat filters, sort of :) posted by blackknight95857669
I recently assumed authorship of (http://wow.curse.com/downloads/wow-addons/details/eloquence-fan-update.aspx "Eloquence-Fan Update") I'm pretty green when it comes to Lua. I've been cleaning up the code and updating things that were obviously out o...
2009/11/12 22:19:28 by blackknight95857669
Modifier Keys posted by Drae
I have run into a block. I have written a program that creates and maintains a macro. I can find what button was pressed on the macro and when it calls my function, it will take different actions for different buttons. Using IsModifierKeyDown() I...
2009/11/08 23:53:44 by jnwhiteh
Check if char has tradeskill posted by nogenius
Hey guys! Is there a chance to find out if your character actually can perform a certain tradeskill when you have the link to the tradeskill? Thanks in advance!
2009/11/07 22:55:03 by jnwhiteh
System_msg:find Help posted by Drunk Cadaver
I've built a simple addon that looks for online/offline in the system_msg. Here is a chunk of the code: if (system_msg:find("online.") ~= nil) then UIErrorsFrame:AddMessage("|cff80FF80* * " .. system_msg .. " * *") PlaySoundFile...
2009/11/07 22:54:07 by jnwhiteh
Hello lua dwellers: If this two definitions are wrong/inconsistent plz don't bash me a hammer, I make many mistakes so tips are appreciated: D1 - First of all I will call Named Arguments the ability of a function to have it's arguments parsed i...
2009/11/06 23:57:55 by jnwhiteh
ZoneTextFrame and SubZoneTextFrame posted by Drunk Cadaver
Is it possible to display information in the ZoneTextFrame or SubZoneTextFrame? I've developed a simple addon that keeps track of the Wintergrasp time. When the queue is available, it outputs a message to the UIErrorsFrame and the DefaultChatFrame. I...
2009/11/06 20:07:07 by Drunk Cadaver
SetBackdrop function help posted by Spamurai
I'm trying to set a nil value for (http://www.wowwiki.com/API_Frame_SetBackdrop "SetBackdrop") for the ChatFrameEditBox in order to remove the default frame around the edit box when you press enter to type something. I've got a .toc loading a .lua wi...
2009/11/05 19:09:35 by Spamurai
UnitName and nil value error posted by goblinsleez
Hi everyone. I am new to the scene of wow addon scripting, but i have previous experience with other programming languages. So i started to dabble cause i love wow. I started with a fairly easy addon to learn a few key elements. I have created a ...
2009/11/05 10:59:00 by jnwhiteh
Hi everyone! I know about the fact that GetItemInfo() only returns something when the item data is available in cache. I think I still haven't completely understood everything about it and maybe that is the reason for my problem, but still I have ...
2009/11/04 09:53:57 by jnwhiteh
Hi! Does anyone know how to prevent a line break in the text of a CheckButton when the text width is set to a value smaller than the actual string length is? It is no problem when you have a string without spaces, then it is just cut off and ended...
2009/11/03 16:20:03 by nogenius
How can I find the name of the person who created an auction? I know that using `name,_,_,_,_,_,_,_,buyoutPrice,_,_,owner,_=GetAuctionItemInfo("list",index)` will give me the name and buyoutPrice of an auction, but often the name is nil. I under...
2009/11/03 14:57:54 by jnwhiteh
Hey everyone. I have written an addon that listens for the guild achievement event and gchats a random "Congrats" message. It works great, except I wanted to add a UI to the addon to let people add their own messages to the table. My problems is ...
2009/10/31 18:41:14 by jnwhiteh
Hey everyone. I have written an addon that listens for the guild achievement event and gchats a random "Congrats" message. It works great, except I wanted to add a UI to the addon to let people add their own messages to the table. My problems is ...
2009/10/31 16:19:28 by theblade
Is UnitIsFeignDeath non-functional? posted by tjohnston1745
I am unable to get UnitIsFeignDeath("player") to return anything but 'nil' Is this broken? Can anyone else confirm?
2009/10/29 16:57:58 by jnwhiteh
Create tabbed buttons with LUA posted by richardCANE
**hi guys!** i want to create a frame, and that frame has 2 tabbed buttons with **OptionsFrameTabButtonTemplate** inheritance with **pure LUA** and here is my half code: local MF = CreateFrame("Frame","MYmainFrame",UIParent); MF...
2009/10/28 22:10:31 by richardCANE
I'm really eager to write my own addons. After reading through most of the wow programming book, I'm starting to get the hang of it. What I'm hoping for is if maybe someone could modify the hello world addon in chapter 14 to do these four things:...
2009/10/28 21:43:22 by pahbi
Saved Variables with AceDB posted by Shaminah
Hello, I've been working on an addon, using ace3 libraries, and now I'd like to let users be able to set up some "preferences". Since I've never used saved variables before,I've been looking them up on google and found out that AceDB could let me...
2009/10/27 08:33:54 by jnwhiteh
CheckButton HowTo posted by zenasprime
Where can I find a detailed description of how to setup a Check Button. So far, the few references I have found have either do not describe how to actually implement one or, if they do, I couldn't get them to work in game. Thanks, -z
2009/10/24 06:04:31 by zenasprime
Ok this my first attempt at an addon and im having a problem i cant seem to figer out how to fix. What is happening the addon is reading other Warriors skills when they use them and when battle or commanding shout fades on other people its announcing...
2009/10/22 07:54:29 by jnwhiteh
I've read about `NEW_AUCTION_UPDATE` and it appears to be exactly what I need to track, but I can never get this event to fire. All my other AH events fire perfectly. Is there a trick with this one? has it been deprecated?
2009/10/19 08:01:25 by jnwhiteh
I'm trying to upgrade the QuestHistory Addon as Blizzard provides no method to retrieve a list of completed quests. When a new quest is accepted by pressing the "ACCEPT" button, QuestDetailAcceptButton_OnClick is called. The Addon hooked this funct...
2009/10/16 01:03:33 by Ubenmeyer
Continue a loop posted by Alo
Continue loop? I'm iterating through the loop of number of items from GetNumLootItems(). However, the problem is, I'd like it to do something to each slot item (using i as the variable slot number), but I can't seem to find a continue loop type...
2009/10/15 21:37:20 by jnwhiteh
Multi-line Editbox posted by Equalibrium
In Lua, how do I create a multi-line edit box? I am specifically having trouble with the graphical portion. There are a couple different ways, but everything I have tried has at least SOMETHING wrong visually that makes it either not work or look g...
2009/10/14 20:17:54 by Equalibrium
Hi, I'm new to LUA and AddOn creation, and I'm sure that there is a very simple way to do this, but I don't know it. My question: How would I make it so a sound would be played every time another party or raid member dies? Thanks in advance.
2009/09/28 18:05:02 by jnwhiteh
How to share data between users posted by Juandedian
Hi, sorry but my english is not very good xD I want to share data between users of a same addon, like epgp with the dkps. I have been trying to create a variable to store a value whit the functions GetGloblal and SetGlobal, but the value only chan...
2009/09/28 14:30:47 by Juandedian
A quick question... posted by Anonymous user
Now this is probably waaay too easy for you all here, its a (seemingly simple) macro issue, but I could find no information regarding the issue. Pre-3.1 I ran the following on my hunter: #showtooltip explosive shot /castrandom Kill Shot /castra...
2009/09/28 11:04:41 by jnwhiteh
Hi, i have inherit the rights of an really great addon. My problem is now, that this addon since wednesday doesn´t work anymore. (Sorry about my english, i´m german, so please forgive me if i make any mistakes). Since i have no idea of how to writ...
2009/09/27 07:36:26 by angel100780
Is it a relatively easy thing to add a new tab to the auction UI? If so, can someone provide a quick sample or description of how it is done? Thanks, Jody
2009/09/22 08:13:53 by jnwhiteh
Is there anyway to add to a quest link's popup, so if you click on a quest that someone sends you the addon could add some text to the bottom of the popup? I took a look at OnTooltipSetQuest but that doesn't seem to work. I took a look at OnTooltipSe...
2009/09/21 09:08:15 by Breen
Retriving Battle Ground Marks? posted by thebrucrew
Is there anything that I can call to get the number of marks of a certain battleground? Thanks, Bru
2009/09/17 22:48:45 by jnwhiteh
Login/Logout using CHAT_MSG_SYSTEM posted by Drunk Cadaver
I'm trying to made a very simple (or at least it sounds simple in my head) addon called "Who That Who There" that watches for friends/guildmates that login/logout. When found the addon outputs the login/logout info to the UIErrorsFrame and plays a so...
2009/09/17 18:15:57 by jnwhiteh
How to execute in background? posted by patrickbateman
Hello everyone. I've been reading WoWProgramming and I've accomplished a lot of stuff with my addon (RhadaTip) also thanks to it! I was now adding a quite heavy (CPU speaking) function to my addon. I remember seeing in another mod (Routes) an option...
2009/09/17 09:35:33 by patrickbateman
Hey, I need help with this: Im doing addon that alert me when someone casting skill x on me, but when i tried this in duels, arg7 was always nil (destName), so i cant "filter" skills that targetting only me Question is: Why is arg7 nil? How to fix...
2009/09/09 09:34:18 by fyrye
message() gone? posted by Philburt
I see that from 3.2 the message() function no longer works. I used to find this useful to force the user to acknowledge an error before they could proceed. Is there any other way of getting the same result, ie a frame that appears on the screen, w...
2009/09/09 07:33:39 by jnwhiteh
Using the Animation widget posted by jodyblau
I'm trying to figure out how to use the animation widget. As a test project I am attempting to move a small frame from the left side of the screen to the right side. My OnUpdate function calls another function which moves the frame as follows: ...
2009/09/08 17:57:22 by jodyblau
My form is not movable posted by numerical25
I am having problems making my form box movable. Below is my code. I tried everything in the book and more. THIS IS MY FORM ...
2009/09/05 09:06:26 by jnwhiteh
Changing Emote color posted by sanjeven
HI, I was wondering if there is any way of changing emote's color. I found a macro roaming the net. /run if(not scm) then scm = SendChatMessage; end; function SendChatMessage(msg, type, lang, chan) scm("\124cffFFFF00\124Hitem:19:0:0:0:0:0:0:0\124...
2009/09/02 16:58:45 by jnwhiteh
Post Hooks posted by patrickbateman
Hello everyone. I have a situation similar to this example: function AddonName_SendChatMessage(msg, system, language, channel) --Your 'before' code here SavedSendChatMessage(msg, system, language, channel); --Your 'after'...
2009/09/01 13:45:55 by patrickbateman
Joined Group/Party/Raid posted by Taborious
I looked on wowwiki but did not find anything specific. Is there any trigger for when someone joins your group/party/raid? or is the only option for that just to watch the chat window for "Player joins party" ?
2009/08/30 11:12:09 by jnwhiteh
gear set bonuses posted by zibary
I was wondering if anyone had insight into how i could determine if a player had set bonuses active. i have looked into using the LibItemBonus, but that's exactly what I am looking for. Anyone have a suggestion? Ideally, what I'd like is a list o...
2009/08/30 00:21:00 by zibary
I'm working on a small quality of life addon for myself and my Officers. It basically involves adding a few /slash commands so we don't have to bring up the guild window to view/edit Public or Officer notes. I have the slash commands working fair...
2009/08/30 00:02:26 by jnwhiteh
How to tell US vs EU? posted by drew
Is there a function to return the region (US vs EU)? GetRealmName() returns the server's name, but there are US and EU servers with the same name. Thanks!
2009/08/29 05:44:01 by drew
On wowhead/thottbot there are effects listed for spells, for example "Apply Aura: Mod Speed Slow Value: -40" for frostbolt. Does anyone know if it is possible to get this information through the API, or if not, how they do it?
2009/08/27 14:28:39 by jnwhiteh
Hi guys, I was wondering if there's any way to make an include filter that only returns results from players that match _all_ of the specified filters, rather than any of them. As far as I'm aware there's no offline filters, so the only way I see ...
2009/08/10 14:43:42 by jnwhiteh
I use this code to auto sell any grey quality items automaticly: local frame = CreateFrame("Frame") frame:RegisterEvent("MERCHANT_SHOW") frame:SetScript("OnEvent", function() --sell trash local bag, slot, i...
2009/08/09 23:11:57 by jnwhiteh
Checking For Nodes posted by thebrucrew
Is there an event or some possible way to check if there are any mining/herb nodes on the minimap? Thanks! Bru
2009/08/09 21:57:34 by jnwhiteh
I need to determine if another player is logged in before sending an AceComm-3.0 SendCommMessage() ( equivalent to a SendAddOnMessage() ). Otherwise, if I send a message to Fred and he's not logged in, I get the error message "No player named 'Fred'...
2009/08/09 20:43:21 by jnwhiteh
I'm actually writing a program in c# so when a user is tabbed out of WoW the program will search a txt file for a change in bytes and if so, then read what was added, display it on the programs form and play a sound. Useful if your arena partner wit...
2009/08/09 20:41:08 by jnwhiteh
Error im my solo code posted by xerxes452
In the addon im making for my friends RP tavern, im trying to make a starting frame with 2 buttons, each of which will bring up a different frame for each of the locations and hide the starting frame and stuff on it. -- Author : ???? ...
2009/08/03 23:46:40 by xerxes452
Help me :) posted by naptor
Hi therem i whas wondering about, is it possible so make a addon, script or macro, to make tailoring and then disenchant :)
2009/08/03 19:04:06 by jnwhiteh
Hello, I am playing with chapter 13 in the book, I have finished the TargetText addon, now what I want to do is have a similar playerText frame as well. I would like to be able to do create functions (for example the TargetText:UpdateName funct...
2009/07/26 19:21:02 by Perfexion
SecureActionButtonTemplate posted by storkbite
Hello, I finally received my copy of WOW Programming and it's great! I wasn't anticipating the shear volume of content that was included. Very impressive. :-) I am currently trying to understand secure action buttons. I can get the sample ty...
2009/07/22 12:37:54 by jnwhiteh
EDIT! I GOT IT WORKING ON MY OWN! PLEASE DELETE THIS THREAD!
2009/07/22 11:48:00 by jnwhiteh
Inspect Player posted by Taborious
After Inspecting a player with InspectPlayer() is there an API that will return the itemString not itemLink or itemID? I want the itemString as it has all the enchant AND gem information in it.
2009/07/21 17:48:52 by jnwhiteh
i've created a virtul button template and used it five times in one frame. This five buttons are invisible before cursor rolls over it. Here's code of template ...
2009/07/19 21:24:42 by ALeX-L
Links in editbox posted by ALeX-L
How to hook and paste any link into the editbox?
2009/07/19 20:45:28 by ALeX-L
Hello, everyone. I wanna have items insertable into an editbox in my addon just like you shift-click them into chat. Unfortunately that doesn't look like default behavior, so pls tell me how to do this?
2009/07/19 15:14:34 by jnwhiteh
Hi, I would like to know is it possible to make a word in a chat clickable? I'm making an addon which will help for new players like my brother to understand some of the acronym used in the game. For example LFG. I would like to make it clickable. An...
2009/07/17 11:16:20 by St815
my own Gear database posted by gabbadude
Hi All, I am interested in building my own addon for my own personal use. If you take a look here: http://www.shadowpanther.net/armor-pve.htm You will see that they have their own list of all the gear that a rogue can use. I LOVE this site b...
2009/07/16 05:44:40 by gabbadude
A few basic questions posted by Equalibrium
First, I love this book. I've worked with programming in several languages before, and I was overjoyed when I found out Lua was based on lisp/scheme, java and C, which basically sums most of my programming experience. However, I have a few question...
2009/07/15 20:16:01 by Equalibrium
Hello! I have tried for a couple of days to figure out my error, but cannot. All I want to do is populate a PlayerModel with the player character. I'd appreciate any pointers in the right direction. This is what I've done. It fails at 'Play...
2009/07/13 02:52:33 by jnwhiteh
Ni Karma System extras posted by Macvombat
im Basically looking for someone with a bit of knowledge in Lua scripting, Why? a while ago i downloaded the WoWuiDesigner Addon from Wowinterface but quickly threw it away cause it was waaay more complicated than i could handle (you are allowed t...
2009/07/12 09:28:50 by Macvombat
Howdy, Two projects that I would like to work on would involve saving character data (name, level, class, etc...) to a player generated list, similar to the friend and guild member lists. I'm therefore looking for information/resources that will ...
2009/07/09 20:04:11 by zenasprime
COMBAT_LOG_EVENT posted by Jeany
I am really enjoying the book but it seems like COMBAT_LOG_EVENT is a new addition with WoTLK. Luckily, wowwiki has a nice article about this event but there's one thing I am having trouble with even after I read the article. What the heck is a GU...
2009/07/09 05:42:27 by Magdain
Spell casting 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 ofc...
2009/07/08 17:46:41 by jnwhiteh
Oh my that subject looks awful, but I think it explains rather simply what I want to do. Anywho, I'm wanting to keep track of when people in my guild log in/out of the game (I have the chat notifications turned on at present but I'd like to keep a...
2009/07/07 00:07:32 by jnwhiteh
ok, i have a frame and in that frame I want to populate it with a row for each raid member. each column of these rows would contain data specific to each toon. So for example, 25 people in the raid, there would be 25 rows and about 5 columns displayi...
2009/07/06 23:50:24 by jnwhiteh
A little snippet help posted by Jaellan
function bankGems() local itemCount = 39996 while itemCount < 40107 do for bag = 5, 11 do for slot = 1, GetContainerNumSlots(bag) do local itemLink = GetContain...
2009/07/05 15:04:55 by jnwhiteh
Folks I apologize for the bold email in the WOW Programming forum, but I know there are a lot of Lua developers here and some of you, if not all, who are expert Lua programmers would like to take your knowledge to the iPhone world and create nativ...
2009/07/01 00:17:30 by ansca-corona
Guild list (beginner) posted by ilusius
Hey guys, I wanna start with apologizing for maybe a very newbie question. I'm new to LUA, not to programming in general. We have two guilds that act as one, for communication we use guild2guild. Now what I want to build is a simple addon (at l...
2009/06/28 17:59:14 by ilusius
Freelance Programmer posted by grottfather
Major Web Firm looking for WoW Freelance Programmer to be brought in for a project. Must have experience in WoW API. Project involves extracting player information from WoW to the Web. Please contact me at grottfather@gmail.com. Thanks
2009/06/26 21:23:05 by grottfather
Hello again everyone, I'm interested in capturing combat data and reviewing it offline. Is it possible to write combat data to a saved variable (perhaps as a table) and then review the file once it's written to the disk? Thanks much, Shallowm...
2009/06/26 14:19:25 by jnwhiteh
nested frames question... posted by wyntrfylth
I'm trying to set up a scrolling frame within a tab-frame, within a master frame: ... ... ...
2009/06/10 19:23:33 by wyntrfylth
RSS FeedReader posted by Xystus777
Can someone show me how to add a Feed to this? I've seen it work, but I don't know how to add an RSS Feed. The addon works just fine, just need to learn how to add Feeds :). Oh, and if you think it's impossible, it really works, but the only way to u...
2009/06/10 18:22:15 by jnwhiteh
Help needed reading AH posted by Philburt
I wish to read the first 10 pages of the AH into a table using the following code: function MainFrame_OnLoad() maxpages=10 thispage=0 CanISendQuery=nil RegisterTheEvent() end ...
2009/06/10 18:08:00 by Philburt
Guild Bank Log posted by Xystus777
I have just purchased the book today, and am still waiting for it to be delivered. However, I wanted to ask before I got ahead of myself here. Is it possible to create a bank log, that's much better than the current Guild Bank Log? I have a few id...
2009/06/10 09:10:04 by jnwhiteh
Referencing from another lua doc posted by themirrorfalse
How exactly do I reference a table from another document in my current one? For example: Sample1.lua contains SampleTable.Section (SampleTable does not have the "local" tag) and I'm trying to access it in Sample2.lua What I've tried so far is:...
2009/06/09 12:05:44 by jnwhiteh
I wanted to write some code to deal with LFG behavior, in particular I want to use GetLFGTypeEntries() which supposedly lets you get the names of the various quests/raids/etc that you can join in LFG. I found it always returned null when I passed ...
2009/06/09 12:03:17 by jnwhiteh
Can you do http requests? posted by shrimpwagon
I am a noob to LUA but not to programming. Just wondering if there you can do http/https requests with a wow addon? Thank you. Shawn
2009/06/04 20:56:36 by shrimpwagon
Gem Counting posted by Taborious
The purpose of this code is to scan a tooltip and return the number of sockets the equipment has. Ive created a hidden tooltip and im able to scan the item but it is returning strange values. If i scan my head piece; which has 2 slots. then scan m...
2009/06/02 17:10:31 by Taborious
Hello. After WotLK release there is a trend of yellow messages in the center of the screen (such as declarations to the raid - with another sound). Can you advise a feature (function or so) that makes this message? P.S. Sorry, I know English very ...
2009/05/27 18:51:43 by jnwhiteh
need help for my first addon posted by Anonymous user
Hi, I'm working on my first addon and I'm hit a wall. I am working on an addon that will be performing some calculations based on the distance traveled by the player's character. You can get an idea of what I am working on at my website http://5...
2009/05/27 18:47:05 by jnwhiteh
detecting arena win/loss posted by Shaminah
Hello, does any1 know if it's possible to detect whether you've won or lost an arena game, after the match is over? thanks in advance, ~Sham
2009/05/23 00:12:06 by jnwhiteh
Is there anyway to get glyph information for another player? not elf or target but a raid member?
2009/05/21 09:26:08 by jnwhiteh
Do I have to restart WoW? posted by Taborious
Looking for some debugging help, not in debugging my code but in how you debug for WoW. Right now when I make code changes i have to completely log out of WoW and then back in again just to test the smallest change. Is there anyway to reload an addon...
2009/05/14 18:14:28 by Taborious
Item Enchant posted by Taborious
How do you test an item to see if it has an enchant applied to it?
2009/05/12 21:59:26 by jnwhiteh
Help with an action bar addon posted by ElrickEnonimis
So last year I took over an action bar addon called (http://wow.curse.com/downloads/wow-addons/details/roath-action-bar.aspx "Roath Action Bar"). Very simple, just centers the multibar on the bottom middle of world frame and stacks the other action b...
2009/05/12 15:01:52 by ElrickEnonimis
Help with frame display posted by mlejnek
I am trying to use a button to display a Combat stat table. When I left click the button on load the table pops up and Says "Stats are not yet loaded, click on Enemy to display" and the health and level label are cleared for viewing. When I click on...
2009/05/12 08:17:28 by jnwhiteh
XML Sizing Issue posted by mlejnek
I'm new to addons and trying to learn the techniques by fooling around with the book. I want my texture to be the edge of the entire screen and be able to auto adjust to different resolutions. How would I do that? I currently have a 1080p, 21.6" m...
2009/05/11 12:15:41 by mlejnek
if ... and ... else posted by GeodesicDragon
I'm trying to get my addon to play a sound depending on the user's race and gender. I know that UnitRace and UnitSex are used here, and that UnitSex returns a number (2=male, 3=female). However, I'm not sure how to get it working. What I hav...
2009/05/09 08:23:03 by jnwhiteh
Target stats posted by Taborious
How do I get a friendly targets stats such as Hit, Armor, defense, spell power, etc...
2009/05/09 08:20:49 by jnwhiteh
Ive been using the SortAuctionSetSort("list","name",not-reversed) function to have the AH data already sorted when I read it. It works fine for most objects, but recently I've noticed that objects such as Absorption Dagger of the Elder and Absorption...
2009/05/04 13:31:07 by Philburt
Help with help posted by GeodesicDragon
My addon is working smoothly now (thanks jnwhiteh), but I have another problem. Currently, the only way to find out commands for the addon is to Alt-Tab and open a seperate (HTML) file. This simply will not do, and I'm sure the users don't like it. I...
2009/05/03 01:27:37 by jnwhiteh
Auction House Blues posted by Philburt
I am trying to write a simple Auction House program, and everything works fine until I buy something for the first time. When I do that, I get the item in my mailbox, and the correct amount is taken from my cash, but I cannot buy anymore items. P...
2009/05/01 19:39:51 by Philburt
Please someone help. posted by kaattakilla
I use ALOT of addons, many for very few of the offered features. With servers down i started browsing something to help clean up the clutter caused by having 90 some addons. What I would like to do is get into creating addons myself. Ive downloaded a...
2009/04/29 15:58:17 by Anonymous User
Hi! To write an new addon, I need to get the value of some stats of my character. for example his intelligence, spirit etc... Is it also possible to get the stats of an Item? I need to calculate for example what would be my spirit if I equip this ite...
2009/04/27 04:16:15 by min0s
Another question posted by Ezekiel
I've run into a rather furstrating problem I can't seem to figure out, and after much hair pulling, I've decided to ask here. I've written an addon to block all whispers from people not in my guild or on my friends list, it sends them a whisper back ...
2009/04/26 11:42:05 by jnwhiteh
I'm brand new to WoW addon development, and have stumbled uppon a problem I can find no answer to in any of the API documentation. I wish my addon to send a "notification" to the chat frame so the end user can see it, such like SpamMeNot and Bejewled...
2009/04/25 05:35:45 by Ezekiel
I just started playing WoW and as a computer science major and programmer by trade, the idea of writing mods was very intriguing. I am not going for anything advanced or even desireable right now, I just am trying to get the feel. I have experience w...
2009/04/24 04:03:54 by jnwhiteh
I'm dynamically making buttons:         function MakeButton(player_name)      button_name = player_name .. "_Button"      button = CreateFrame("Button",button_name,...) end These buttons ext...
2009/04/21 12:28:25 by jnwhiteh
Hi, i'm trying to detect (via events) when a party member starts to get on his mount. There are "UNIT_SPELLCAST_SUCCEEDED" and "UNIT_SPELLCAST_INTERRUPTED" events sent when the mounting was successfull or interrupted. But there is no "UNIT_SPELLCAST_...
2009/04/20 08:37:57 by maxdreamland
I can't seem to find this anywhere.  wowcompare shows nothing.  It's still listed as a valid API call at WoWWiki but any attempt to call this function returns the following: attempt to call global 'GetTradeSkillItemStats' (a nil value) Is a...
2009/04/20 05:40:20 by HonorGoG
I want to raise a text mesage wheren tracked item is showed in minimaps. If im tracking humanoids for example, when some one appers in minimap some text mesage is showed to the player, is it possible? Regards!
2009/04/15 16:34:41 by jnwhiteh
Button inside ScrollChild posted by mgersting
Any one know if this is possible? I have a button that functions perfectly outside the ScrollChild, but when placed inside always disappears.
2009/04/10 22:37:12 by mgersting
Im writing an addon which adds a * to the officernote when its not wednesday. On wednesday the stars get counted and converted to a number. example. 5/4/3/5/*** ==> 5/4/3/5/3 Now the adding of stars and the parsing is working. But i cant update th...
2009/04/08 03:27:25 by Myrroddin
I want to create a small addon that will notify me when someone has changed gear. Simple registration of unit_inventory_changed and when it fires, get the toons name and populate a fontstring on a frame. My question is as long as the frame is open do...
2009/04/07 11:03:42 by jnwhiteh
Table start condition: SampleTable = { = { = {62256,1,}, }, = { = {62256,1,}, },}Is there a way to add another hash element to this programatically (ie, table.insert)?
2009/04/06 16:44:33 by mgersting
Hey guys,   First, I've just purchased the book and am really looking forward to learning from it and hopefully start making my own addons. As I was driving home with the book in the other seat, a thought struck me. I've been playing WoW since a...
2009/04/04 12:56:31 by Tovya
As a challenge to myself, I thought I'd write a quick and dirty addon to play some thunder and print to the screen something like "Player X has killed Mr Bigglesworth!!" This is what I have so far: http://pastey.net/108483 I am fairly certain the eve...
2009/04/01 03:32:21 by jnwhiteh
I know it can be done, but I don't know how. All other forums I have posted on have been to no avail. I'm keen to get my addon working so I can share it with my friends. How do I use SendAddonMessage and CHAT_MSG_Addon to play sounds? My addon makes ...
2009/03/31 06:30:52 by GeodesicDragon
Hi Folks, Just starting out on the road to writing my first Addon.  Thanks for the help in advance.  I am trying to create a mod that will play a sound file when a shot becomes available.  In this case, Kill Shot, (Hunter shot that onl...
2009/03/30 12:10:11 by red
if asmenu:IsVisible() then     asframe:SetScript("OnMouseDown", function() asmenu:Hide() end); else     asframe:SetScript("OnMouseDown", function() asmenu:Show() end); end Why does this not work? I have a general underst...
2009/03/30 11:55:01 by jnwhiteh
Question about table sorting posted by tataboutlamine
i want to sort a particular table and i don't exactly know how to do it. my table has that rough makeup : table={ ={key1=value1, key2=value2, key3=value3}, ={key1=value4, key2=value5, key3=value6}, ={key1=value7, key2=value8, key3=value9}, ... } wher...
2009/03/29 17:51:03 by jnwhiteh
hi there, iam searching for a variable that indicates wheter i am in an editbox (cursor is blinking and waiting for key input) or not. editboxes for example can be the chatFrameEditBox or the friendsAddEditBox... i need this to determine, wheter keyb...
2009/03/21 05:23:41 by jnwhiteh
Get Action Slot Info posted by Pyrinoc
I've been looking for a way to determine what spell/item is in a specific action slot ID but I can't seem to figure out a way to do that. Can anyone help? Thanks!
2009/03/19 02:41:20 by jnwhiteh
Ways To Bind Pet Commands posted by FreeFog
Is there any more direct way to bind a pet command to a header other than: button:SetAttribute("_onclick", ); What I mean is if there is a way to bind for example the "petfollow" action without binding the ActionButton or with out the u...
2009/03/18 21:59:04 by FreeFog
CHAT_MSG_LOOT parsing posted by Taborious
I've looked all over the web but Im unable to find a good breakdown for the string that is returned by CHAT_MSG_LOOT. Im basically going to track Emblems with the addon and registering with that event. Is the only argument passed to me from the event...
2009/03/18 18:47:38 by jnwhiteh
lua newbie question posted by PeterP
greetings i am quite new to develop own addons and the few tutorials that are out there just let a few questions open. maybe you can help: i am trying to create a simple tooltip when mouse hovers a frame. i already got: Code: function showtooltip(...
2009/03/16 04:29:35 by jnwhiteh
Hi, I am new to this forum and new to writing add-ons and lua but not new to programming in general I am trying to make an add-on that will notify me in the chat window when someone is actually selling something in the trade channel. I am using the C...
2009/03/15 11:55:18 by Jacatola
Gear Changing Anti Ninja posted by Taborious
Im looking to write a mod or find one that will tell me if someone is changing gear? I have had on more than one occasion a boss go down and a pug change gear to a lower item and then want to roll on what dropped. Are there any API's that I can regis...
2009/03/13 18:41:54 by jnwhiteh
XML Nanny posted by zenasprime
Does anyone have any experience using XML Nanny for Verifying AddOn XML.  I keep getting warnings that it cannot read files along with a significant number of errors for elements that shouldn't be generating them.  If someone could point ou...
2009/03/13 14:47:39 by zenasprime
If l log in and run this, I get 0. local numtradeskills = GetNumTradeSkills(); print(numtradeskills); However, if I open my enchanting window and run the same code, it returns 177 items. Is there a way to populate this without having the user o...
2009/03/13 02:23:53 by mgersting
Hi, I was able to get TargetText working great and even able to add click and drag to the frame.  see xml code below. I'm wonering will the click and drag code in my TargetText code affect TargetTextbuffs or will it just move with TargetText win...
2009/03/10 11:51:19 by rabidpilot
I am new to wow, but one of the things that is bothing me is that chat tabs do not always show. I have been looking for a mod that does this but cannt find an updated one. I found "Damn chat tabs", but this one is out of date. I was wondering what ar...
2009/03/02 02:03:05 by jnwhiteh
LUA Frame question posted by themirrorfalse
Hello again, I'm currently working on another addon and I'd like to be able to bring up the ColorSelect dialogue. I've looked through the book and it mentions the frame type in chapter 10, and the only other reference to this frame type is in the wid...
2009/02/26 14:46:49 by themirrorfalse
I'm trying to read the whole Auction House and store the name of each item in a table, but only the first 50 names appear in the created table in the Saved Variables folder. My code is: nametable={} temp,numofAH=GetNumAuctionItems("list") for loop=1...
2009/02/26 13:27:49 by Philburt
Boss Down posted by Taborious
Is there a hook that i can register to that will tell me when a boss dies?
2009/02/20 20:51:44 by Myrroddin
This one has my completely mystified: I've got a FauxScrollPane with a bunch of buttons in it and I want to show some data on the currently selected entry on Mouseover. I can get the tooltip to display exactly once. When I hide it, it will not displa...
2009/02/17 05:05:23 by bellah
I'm just curious, with all the information in this book on how to write addons for wow, would it be enough to transition to other games that use this type of language and such to make addons? I don't play warhammer, but I know it uses the same addon ...
2009/02/15 14:46:39 by morlando
Get Visited Zone Information posted by andywagner59
Hello collegues, I am trying to ascertain via the API and Events to ascertain the zones a charactare has visted or still must visit. Og´f course it would be easy for a new character to track the visited zones via GetMapZones and Get CurrentMapZ...
2009/02/15 11:27:43 by jnwhiteh
I can read the auction house using GetAuctionItemInfo(list,i) to get an items information, but part of what I need is the 'type' of the item (that is wether the item is a Weapon, Armour, Container, etc..) I have found that GetItemInfo will give me th...
2009/02/13 07:08:22 by Philburt
In the past I relied on States and virtual clicks to create 1 button and several Headers (and page long state transitions) to do whatever action/spell/macro related thing. With the release of WoTK I see too many new options but I am still a bit conf...
2009/02/09 11:01:30 by alestane
I am new to LUA programming, however not programming in general. My questions are this, can a addon communicate inside wow with another player's instance of the same addon? and/or is it possible to actually say use a mouse cursor to draw on the scree...
2009/01/31 10:56:37 by ployer
I notice in the __add & __unm examples within the book on pages 58,59, the original tables are connected to the mt metatable, but then, the temporary table result within these functions is also connected to the mt metatable. eg: local result = se...
2009/01/31 06:59:53 by jnwhiteh
Quick Tradeskill API question posted by themirrorfalse
Hi, I've been working on an addon that links your professions (including cooking) in an automated whisper to the user who asks you. I have it down working perfectly except I'm using the wrong API to generate the link. A week or so back I went browsin...
2009/01/29 17:40:45 by themirrorfalse
Status bar problem posted by shteeve
Not sure if this is going to make sense but basically I created a very basic status bar with a custom texture and changed its orientation to vertical. When the bar is full it looks just fine but when say its at 80% it will chop off the bott...
2009/01/26 11:13:12 by shteeve
Hello. Is there a function that return the icon name (or id) when i mouse over the icon itself? I need to know when my mouse is over a particular icon, so i can tell my addons to do something. Like GetMouseFocus() but while this return the frame, i w...
2009/01/26 06:24:32 by jnwhiteh
Saving data to a file posted by alx
Hello, I was wondering if anybody could help me out...  I'm working on a project where it would greatly simplify things if I could retrieve text from in-game (quest text, item text, chat, etc.) from an external program.  See, right now I'm ...
2009/01/19 09:34:21 by alx
Hello, Since wow secure environment, I'm unable to hide or show UIParent frame while in combat. Does anybody can tell me how to do that? I tried to set alpha to 0 (works in combat mode) but some parts of the UI are still visible.   Thanks in ad...
2009/01/17 02:31:22 by Zax
How exactly does one use TitleRegion? I haven't been able to find any good documentation as to its uses. An example would be extremely helpful.
2009/01/16 19:53:48 by Ularave
I'm relatively new to making mods and using blizzard's API functions, so this may be an easy question... I'm having trouble figuring out how to return the specific stats value from an item being moused over.  For example: You mouse over an epic ...
2009/01/15 14:58:45 by khaelor
Moving frame posted by Doobyman
Ok I must be an idiot, but I really cannot see why I can't move this frame: <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/../FrameXML/UI.xsd">...
2009/01/15 09:57:28 by Doobyman
Hi, i'm new in lua scripting and, of course, in wow addon programming. I'm trying to fix an addon that doesnt work properly in 3.0 of wow (it bugs the wow chat, and can't seen it). The only error is with that .. function? it says that arguments are w...
2009/01/09 06:33:32 by damnboy
Addon Code Trouble posted by ilonley10
Hi this is one of my first addons that i am probebly ever going to write and i still cant figure out what the code is to announce when a character is at a certain health % and display other data such CD
2009/01/08 16:18:56 by jnwhiteh
Sound formats posted by Thaloss
What are the supported sound formats for addons?  I converted some wav's to MP3's but some of the MP3's don't play, they're all from the same site so I'm kinda confused.  They all seem to be the same frequency etc.  Any ideas?   T...
2009/01/04 16:01:34 by jnwhiteh
http://wowprogramming.com/docs/api/GetNumGuildMembers  
2008/12/20 03:53:38 by jnwhiteh
API GetRuneType posted by WestMan
How could I find out if I have a Bloodrune or not, to create a Makro with funktions like this? # show tooltiplook If there is a Bloodrune (no matter if it has CD, just a notification)---if True, should use Bloodstrike---if False,(means that there wil...
2008/12/18 08:58:45 by morlando
I have read the book completly and have completed all code examples and am ready to create my own UI According to http://www.wowwiki.com/Removing_Blizzard_default_frames you have to call the Hide() method on the default Blizzard frames to replac...
2008/12/17 00:52:28 by StuzUK
Is there a list of known addon issues that will cause Blizzard to disconnect?!?? I have an addon that is causing the WoW to disconnect.  I believe this was caused by too much chat message traffic being sent out.  I've since started using th...
2008/12/11 07:43:52 by jnwhiteh
How to make a slash command posted by Zabbath
Hi, I've just started with Lua coding, tried to find some guides on wowwiki.com and googled, but I can't seem to find out how to make slash commands. I want to make an addon that simplify the /console reloadui into /reloadui and /rl (or just /rl for ...
2008/12/11 03:23:55 by morlando
Button Text Missing posted by Ranik
I went to update my addons to 3.0.2 and noticed that my button text is no longer showing up.  Is there a fix for this?  I asssume Bliz changed something dealing with the font for buttons but I have had no luck finding this on any other site...
2008/11/30 12:50:21 by jnwhiteh
Questchain posted by Dimension
Hi,Is it possible to detect if a quests is a chain-quest? (needs another quest completed before you can play this quest). Thanks  
2008/11/27 08:53:59 by Dimension
Simple MovePoint help. posted by nupchurch
I have been trying to use /script getglobal("ActionButton2"):SetPoint("TOPLEFT"); Just to get a handle on moving the action buttons around... seems it does not work on actionbutton2, but it does work on action button1. if someone could please show me...
2008/11/24 17:05:55 by jnwhiteh
Addon Studio - Error posted by Moolin
Hi I am have just started developing addons for world of warcraft. I have your book, and i really like it! A thing i really like in world of warcraft programming, is the way to build addons in Addon Studio. But when i create a basic project, and...
2008/11/20 07:41:56 by Moolin
How do you cast spells? posted by _martind
Hi! I'm just getting into wow programming, so i'm quite of a noob. I'd like to build a healbot/clique-like addon that allows you to cast spells clicking on some custom UI; but reading the API reference turned out that functions like 'CastSpellByName'...
2008/11/05 11:35:21 by jnwhiteh
Since the latter makes the former obsolete, I find myself trying to remove babble-spell from a mod that I like, but currently is buggy. I just think that my fix is inelegant, and probably too long. Unfortunately, while I can find lots of references o...
2008/11/05 06:39:05 by Myrroddin
Saved Variables posted by cralor
Hello. I am currently having a bit of issues with Saved Variables. I wish this was covered in WoW Programming. I'd like to learn a bit more about implementing options and saved variables into an addon. I have done some work, but not knowing enough of...
2008/11/04 13:15:20 by morlando
UI Trampling posted by cado1982
First of all, thanks for the book it helped imensely in what would of been a really frustrating process otherwise. My first addon after reading the book is to expand the pet frame that came with patch 3.0.2 as the default one is very limited. I'm man...
2008/11/02 10:57:31 by jnwhiteh
MyrroTip = AceLibrary("AceAddon-3.0"):new("AceConsole-3.0", "AceEvent-3.0", "AceLocale-3.0")local L = LibStub("AceLocale-3.0"):GetLocale("MyrroTip", true)MyrroTip_Options {}    function MyrroTip:OnInitialize()    -- Call...
2008/10/30 18:07:00 by Myrroddin
DropDownMenu posted by cado1982
I'm having some trouble creating a drop down menu from inside my addon using CreateFrame. Is this possible without using an xml file as described in the book?  
2008/10/26 02:31:53 by jnwhiteh
Problem with in game interpreter posted by redblade1530
I downloaded the in game interpreter and typed in the program on page 310. Right off on line one i am getting this error message: :1: unexpected symbol near '<' There are no symbols placed there other than the string of code exactly as shown in t...
2008/10/11 18:10:35 by jnwhiteh
Wrath of the Lich King posted by snowyriver
I am an avid fan of the book - it is truely the bible of programming for wow. My question is this - with the xpac coming out shortly and all the goodness that can be found in beta, I want to be sure that I'm not only making my code compatable with 3....
2008/09/29 11:13:29 by morlando
¿Listbox? posted by chonli
Is there anything similar to a listbox in the addon studio? ScrollingMessageFrame? or ScrollFrame? Which events and methods of use? I'd like to have a list of default messages to send to chat window.    
2008/09/16 16:27:24 by jnwhiteh
Data synchronisation posted by Magnamus
Hi, I'm writing a masterloot/dkp addon. So far it's going great! The only thing I have left to add is DKP synchronisation between guild officers (only guild officers actually maintain the dkp). I was intending that on login, officers would check that...
2008/09/14 06:02:21 by Magnamus
RSS Addon posted by chonli
Is it possible to do a rss addon?
2008/09/14 04:33:47 by chonli
check turned in quests posted by extremecharmed
Hi, I'm new with creating AddOns for WoW. Now I'm trying to get something to work and I need to know this: Does WoW (Bliz) keep a list for every Char which Quest is Completed and turned in. If this is the case, can I with an API function check if le...
2008/09/12 14:03:01 by Magnamus
I use GetInboxItem to return information, some item return succeed, others item return nil。
2008/08/20 09:33:49 by jnwhiteh
Oki so im Scanning the guild bank, i want to use GetItemInfo because it contains info that i cant get anywhere else like item type, max stack etc. To use GetItemInfo the item has to be in my local cache, for it to be in my local cache then i have to ...
2008/08/20 09:29:48 by jnwhiteh
I'm looking around for any documentation / info on playing movies / avis only I think in WOW. The two methods I've seen are StartMovie / StopMovie - any others?
2008/08/20 09:18:25 by jnwhiteh
I can't seem to figure our how to do a timer in Lua, I dont want to use any Ace Addons like candy bar yet because Im not done going thru the book as it is and Ace Addons are a whole differnt animal. is anyone able to share with me a way to do a count...
2008/08/14 04:09:44 by Gararf
I've been reading the "World of Warcraft Programming" book, and I'm trying to make that CombatTracker addon work. But whenever I'm logging on, I get the error: Interface\AddOns\CombatTracker\CombatTracker.lua:45: '=' expected near 'CombatTracker_Upda...
2008/08/11 08:24:22 by jnwhiteh
Hi There, One thing I would like todo is figure out a way to detect and list the monsters around me within a certain range?  would like it to ignore friendly targets and just focus on unfriendly, so I can get a list of mobs within 40yds or so. I...
2008/08/01 07:49:52 by jnwhiteh
Help? posted in Development posted by jr43517
First off, I want to say what an awesome book this is.   I'm truly having a bunch of fun working through all the examples.   However, I am getting frustrated while doing the targettext example.   I seem to be making a bu...
2008/07/28 21:35:34 by jr43517
Hi guys! im beginner in programming wow addons but not so in usual programming. i want to write a wow addon that collects the following information about the player whos playing and if posibble send those infos to an email address. //okey sounds weir...
2008/07/28 13:46:21 by morlando
Hi, I'm trying, unsuccessfully, to get an action button to respond to left and right mouse button clicks. I've downloaded the SABTest example from chapter 17 as a starting point but I'm unable to get the button to respond to right-clicks. My aim is t...
2008/07/25 19:08:37 by Paul
I was messing with the "CHAT_MSG_SAY" event, and the variables weren't exactly what they were told to be(link to page on it).Did they update how this event works? Or was I mistaken on something?This is what I got for the variables (I did very little ...
2008/07/25 17:11:22 by jnwhiteh
Hi, i have worked a little bit with the example from chapter 13 ("Target Text"). Now I want to show the target-portrait (the unit-picture which is shown in the original target-frame) in my "target-text"-frame - but i have no idea, how i could realize...
2008/07/23 18:55:03 by Terri
Hi there, I've been playing around with the sample addon 'BasicUnitFrames' from chapter 27. What I'm attempting to do is to get it to sort the frames by group, but so far without success. I've tried adding the 'groupBy' attribute to the Attributes se...
2008/07/07 23:21:00 by jnwhiteh
I might have missed it in the reading, but I can't figure out how to create a .toc and .xml file.  On page 130 it just says "create with the following code..."  If it's shown in the the book then I'm sorry xD Help is appreciated!
2008/06/25 02:28:16 by Centry
Let's say I have a secure action button.  Is it possible to do something like this: button:SetAttribute("type", "spell")button:SetAttribute("spell", "Power Word: Fortitude")button:SetAttribute("shift-type*", "macro")button:SetAttribute("macrotex...
2008/06/20 10:56:45 by Tunga
Hey, I have some programming experience but I'm stuck with this one.  I'm trying to register an event directly through Lua, and the event is registered fine but the function never gets called.  What's wrong here: hidden = CreateFrame("Frame...
2008/06/19 10:36:05 by Tunga
Cant wait to get home from work today as the book is sitting on my porch... just had a quick question about a term i've been hearing alot since i started reading up on wow addons... 'Taint' from the context that its been used it sounds like it means...
2008/05/30 00:18:46 by jnwhiteh
Like the book so far, even though a few case sensitivity issues in the early examples left me scratching my head for a while. One problem that i run into with all my characters is picking up action buttons from my bars while in combat. I know there...
2008/05/17 23:34:43 by jnwhiteh