I'm trying to print a message to a chat window I've created named "SKDebug", but it's not working...
The following prints to the default chat frame:
But so does this, using AceConsole:
Maybe I'm miss understanding :Print's purpose? I'm attempting to accomplish what Auctioneer does with print out scan results and such.
- Registered User
Member for 9 years and 10 months
Last active Fri, Oct, 4 2013 14:35:35
- 0 Followers
- 71 Total Posts
- 0 Thanks
Dec 6, 2009Well, assuming I can get author status (or whatever you want to call it) and am able to edit what is now in the KB, I'll make revisions.Posted in: Need Help?
I maintain that the three main reasons for the article (improving upon existing articles by elaborating, bringing them into one place as much as possible, and placing steps into chronological order) are valid enough. The argument of just improving the existing ones is also valid (since that was one of the intended purposes of my article). It really is a matter of preference. Some people might prefer having everything in one place, while others, like Phanx, don't mind browsing through multiple short, pointed articles and sifting through forum posts. I personally found them a bit cryptic. No offense intended.
What it boils down to is: A matter of preference. With the existing articles and mine both in the KB, it may seem redundant to some, but we have catered to both styles of learning. (No one person learns exactly the same.)
I don't normally mix personal life into forum posts, but I'll have to make an exception here... I've got a baby due in 5 days so if I'm going to make any changes, it'll have to be very soon or as soon as I can after baby is here...
Dec 5, 2009I understand the concerns about the history of things being "overkill", but I thought some might find it interesting, so I included it. I also included a statement saying it's not mandatory to read that section.Posted in: Need Help?
As for removing sections that are covered by other KB articles, I disagree...
The whole reason for the article was to explain everything from point A to point Z. This way, someone trying to learn all of what I learned through the posts, KB articles, etc., won't have to go scouring the website trying to fit the puzzle pieces together. I found that the information in existing KB articles left out information (puzzle pieces) that forum messages eventually filled in. The intent was to take all of that information and put it together in ONE place and spell it out for the reader. It was like buying a piece of furniture you have to assemble, but only getting steps 1, 3, 6, and 8 in the assmebly instructions included in the box; the rest of the instructions you had to find from some place online.
So, it may seem redundant to include the informaton already contained in some the KBs, but the intent was to fill in, elaborate, and spell it out...
Note2: You can't edit the KB article, only project moderators can do that.
Does this mean I won't be able to gain access to make revisions here on CurseForge? I would be more than happy to make some of the changes you suggest, and I should be the one to correct it since it is my article.
Their intended users are not specific to Mages, Healers, or Druids, etc."
The sentence is attempting to provide an example of what a small scale addon might be; addons specific to Mages (class), Healers (functions in raids, like tanks, dps, etc), druids (misprint--intended to read "Blood Elf" as example for race, same reason as the other two). Essentially, targeted addons can/usually are small, while addons like Auctioneer, Bartender, Pitbull, etc., are meant for all characters, races, and functions in raids, and are usually very large and complex.
Dec 4, 2009Updated the source Word document to read:Posted in: Need Help?
Does your addon use Ace3, Rock, or any other library for that matter? If so, it is very important that you let the packager know this in your .pkgmeta file. You can do this by specifying externals in the .pkgmeta file. When your package is created, it takes the most recent version of the library (or the version you specify) and adds it to your zip file. You should also make sure to specify the library as an optional dependency.
Phanx, any chance of creating a Curse project with a repository that I can get access to so that we can use VCS on this document? It would make editing/correcting easier.
Dec 4, 2009I've taken it upon myself to write the article...I'm not the expert, but I thought I should give back. Can the experts please review it and get in touch with me privately regarding any corrections/suggestions?Posted in: Need Help?
Thanks to all who helped. I'll continue to update this file as suggestions and corrections come in.
Nov 25, 2009Okay, so what if I were to take Tek's suggestion and remove the syntax? Just intelligently interpret the link? This makes things a little more difficult on my end.Posted in: Addon Ideas
So, the question becomes, how exactly would I handle the plethora of potential ways a customer might whisper the user? Ideally, customers will message with just a link of the "proc" they want. From that, I could easily let the user know "So-and-So wants Enchant Weapon - Crusader in Dalaran". But things are rarely accomplished so easily. Some users prefer to charge for their tradeskills. Some offer them free if mats are provided. Some are willing to use their own mats for free or at a cost. Then there's the question of who will travel to meet the other person? Some of this could be answered by the user specifying details in their bark, but that makes for longer barks and annoying spam.
Simply put, it could be done, but it would be more work than I am willing to do (for free). The benefits wouldn't outweigh the time and energy to make it work to begin with and the upkeep.
Still, I personally could benefit from an addon that was able to keep customers in an organized queue and filter out tradeskill requests from normal whispers. I think others might find it usefull as well once they've seen what I have envisioned actually work. (You don't realize how helpful Auctioneer really is until you've learned how to apply it; once you do, you can't imagine how you ever managed without it.) On busy nights, it's not uncommon for me to have 4 for so people messaging me all at once with questions like the one Phanx pointed out ("[Enchant Weapon - Exceptional Spellpower] with my mats - how much will you charge and where can I meet you?"). Especially with two high-demand professions; it can get quite hectic to keep up with it all. I have WhisperFu, but I find it doesn't quite accomplish the queue effect I'm looking for.
I think I will procede with caution; only implementing a listener function that looks for a tradeskill "proc" link. From there, it will take generic information (the name of the "proc", the name of the person requesting it, their current location, and any extra information contained in the whisper) and just list that in a mouse-over tooltip on the addon's frame. If there is enough demand to make it more robust than that, perhaps I will.
Nov 24, 2009Hunter,Posted in: Addon Ideas
I don't think you're understanding the point of the addon. It isnt to spam the trade channel with information on how to get a link. It will be barking your tradeskill link plus instructions on how to request an echant/design/recipe such that the addon wll add that user to the queue.
Tek.....I can see your point about complicating things for the customer possibly turning customers away. However, I doubt they will be discouraged when all they do instead of just whispering with (link), they just add "!!ench (link)".
Nov 24, 2009Phanx, Xinhuan: Thank you so much for taking the time to create such a detailed response to explain these things. These are the issues to which I didn't have answers to because they weren't in the KB and aren't exactly obvious. Your responses do deserve to be promoted to KB articles. Your responses will not only help me, but others in the future.Posted in: Need Help?
To everyone else who has chimed in here and there: Thank you as well! I've come a long way in the last few days. I've gone from knowing nothing about getting an addon onto Curse and having ton of questions and confusions to successfully using a repository and getting it uploaded. Mission accomplished. I couldn't have gotten this far without you.
Granted, I'm still a newbie. I'll have more questions as I go. Thanks so much!
Nov 23, 2009Let me make sure I understood you. I'm going to go through your reply and break it apart and paraphrase it. Let me know if I understand correctly.Posted in: Need Help?
Basically, I can write my own Change Log instead of having a generic one written for me by the application. The location of the Change Log that I write is referenced by the manual-changelog key. In this case, /Docs/CHANGELOG.txt.
Can the change log be an HTML file and will this HTML file be correctly viewed on Curse when a user requests to look at the change log?
No paraphrasing needed; very understandable. However, does this mean that if I didn't have any other Ace3 addon already loading the libraries (my addon is the only addon trying to use Ace3) the addon I've written would fail to run?
To continue working with this on your local copy, you can either:
- install the standalone versions of each library...
By this, do you mean have the actual entire Ace3 library addon installed as in, "<Path-To-WoW>/Interface/Addons/Ace3"?
If I take this approach, will this affect the end user? You state below that no matter what approach I take during development, the libraries will ultimately end up in my addon on the user's hard drive.
The other option is to add them into the /Addons/MyAddon/Libs subdirectory because they're going to be there on the end-user's directory; just make sure that Subversion ignores any changes to that directory so that they don't get committed along with the rest of my project. Is that correct?
If my understanding is correct, are there any pro's or con's to either method?
Paraphrased: Either way I go, the MyAddon.toc file will need to have...
Libs\LibStub\LibStub.lua Libs\LibStub\LibStub.toc Libs\CallbackHandler-1.0\CallbackHandler-1.0.xml Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua Libs\AceHook-3.0\AceHook-3.0.xml Libs\AceConfig-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.xml Libs\AceConfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.xml Libs\AceConfig-3.0\AceConfigCmd-3.0\AceConfigCmd-3.0.xml Libs\AceAddon-3.0\AceAddon-3.0.xml Libs\AceGUI-3.0\AceGUI-3.0.xml Libs\AceConfig-3.0\AceConfig-3.0.xml Libs\AceDB-3.0\AceDB-3.0.xml Libs\AceDBOptions-3.0\AceDBOptions-3.0.xml Libs\AceLocale-3.0\AceLocale-3.0.xml Libs\AceEvent-3.0\AceEvent-3.0.xml Libs\AceTimer-3.0\AceTimer-3.0.xml Libs\AceHook-3.0\AceHook-3.0.xml
in it? (Well, at least whichever libraries I'm actually going to use; leaving out the ones I don't use.)
There's no paraphrasing this...I'll be honest: that was Greek to me. If I am using Ace3 as the backbone of my addon for SavedVariables, Configuration, etc., then would it not be a REQUIRED dependency? I can't imagine how it would be optional?
That said, I have seen several addons out there with two versions of each revision out. One "regular" and one "no-lib". I've never really understood that concept either. What's the point?
Finally, why install Ace3 libraries into a Libs subdirectory of every addon that uses it? Is there not a way for addons to reference a main Ace3 addon (i.e. /Interface/Addons/Ace3)? I ask because what happens when Ace3 itself is revised and a new version uploaded? How do all the little clones get updated? I know Ace3 doesn't take but a few hundred kilobytes on the hard drive, but that little amount of space times the number of addons that use it does add up. I personally have almost 90 addons installed; not all of them use Ace3, but lots of them do. If Ace3 is 1/2 megabyte in size (and it is), and if even 1/3 of the addons I have use it, well...that's 15MB! You get the point. So the question I ask again is: Why not one consolidated location for Ace3 instead of in each and every addon's Lib folder?
Nov 23, 2009I will admit that I was lazy and decided to erase everything I had in my externals section and just copied/pasted a given example I found in the forums. As for the rest, I don't know what was wrong, but it all works now...Posted in: Need Help?
It seems like this thread is nearly complete, but there are a few more things I'd like to iron out before I call this done...
In my .pkgmeta file, I have:
After commiting my files back to Curse and manually downloading the new zip file, I see that the packager put my change log in a file named "Changelog-MyAddon-r3.txt" inside of my addon's main folder. I had intended this to be kept in the "MyAddon\Docs" folder. What did I do wrong that it put it in the main folder.
Also, with my pkgmeta file including externals from Ace3, those libraries are ending up in the zip files under the folder "libs". However, these files are not explicitly in my addons' folder and yet, my addon still works? Why would they be included in the download? And why is my addon still working with them not in my Addon's folder?
Nov 23, 2009Xinhuan, you Asian Sheep Lover you, I could kiss you!Posted in: Need Help?
I ran into a couple snags on the way but I manage to figure most of them out for myself before reading on further in the thread you linked which confirmed what I did was right.
Forget about stickying that post. It NEEDS TO BE PUT INTO THE KNOWLEDGE BASE!!!
That is exactly what I was looking for in my original post!
Now, as I said...I ran into a couple snags and was able to figure most of them out. The one I wasn't able to figure out deals with the .pgkmeta file...
When I tried to commit that file, I got a ton of errors. Here's my .pkgmeta file:
package-as: MyAddon license-output: LICENSE.txt manual-changelog: Docs/CHANGELOG.txt optional-dependencies: - advanced-trade-skill-window - atsw - skillet - manufac - cauldron ignore: - .pkgmeta - .docmeta - MyAddon.prj externals: libs/LibStub: url: svn://svn.wowace.com/wow/libstub/mainline/trunk tag: latest libs/CallbackHandler-1.0: url: svn://svn.wowace.com/wow/callbackhandler/mainline/trunk/CallbackHandler-1.0 tag: latest libs/AceLocale-3.0: url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceLocale-3.0 libs/AceConfig-3.0: url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceConfig-3.0 libs/AceEvent-3.0: url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceEvent-3.0 libs/AceConsole-3.0: url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceConsole-3.0 libs/AceDBOptions-3.0: url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceDBOptions-3.0 libs/AceDB-3.0: url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceDB-3.0 libs/AceGUI-3.0: url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceGUI-3.0 libs/AceAddon-3.0: url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceAddon-3.0 libs/AceHook-3.0: url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceHook-3.0 tag: latest libs/AceTimer-3.0: url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceTimer-3.0 tag: latest libs/LibBabble-Zone-3.0: url: svn://svn.wowace.com/wow/libbabble-zone-3-0/mainline/trunk libs/LibAboutPanel: url: git://git.curseforge.net/wow/libaboutpanel/mainline.git libs/LibBetterBlizzOptions: url: svn://svn.wowace.com/wow/libbetterblizzoptions-1-0/mainline/trunk libs/LibSharedMedia-3.0: url: svn://svn.wowace.com/wow/libsharedmedia-3-0/mainline/trunk tag: latest
I get errors thrown at me about line 1, cursor 1 and later on down about Ace-Timer...? It says it was expecting one thing but didn't get it?
- To post a comment, please login or register a new account.