evanmac69
1/20/2011 9:50:00 AM
Urbin <urbin@invalid.invalid> wrote:
> On Wed, 19 Jan 2011 22:02:13 +0100, Evanmac wrote:
> > Il 19/01/2011 13:30, EvanMac ha scritto:
> > > I found that I type almost the same phrases in chat, for example "hi,
> > > changing spec", "hi, first time here, feel free to kick me", "healer
> > > under attack, NEED HELP" and son on...
> > >
> > > I have a useful addon called battleground defender that let you send
> > > some messages in /bg chat to help the defense of bg points, now... I'm
> > > thinking about an addon compltetely configurable that let me to send a
> > > messagge in party (or say, or guild, or whatever I want) with a button
> > > click; this addon should be user configurable, and should have the
> > > feature to maximize and minimize a list of phrases (like the carbonite'
> > > quest log do) I want to have under my mouse click
> > >
> > > that said, I absolutely can't write an addon like this, and I don't know
> > > if an addon like this alredy exists; and here is my question(s): "do
> > > someone knows if a similar addon already exists? If not, do someone here
> > > can develop this idea?"
> > >
> > > obviously the credit to making the addon will belong to the person who
> > > actually wrote it, I just ask to know if someone wants to wrte somthing
> > > like this and send me a link where I can download the addon (even in
> > > alpha, I'll be a beta tester) :D
> >
> > ok, because I (think that I) am a genius, I had a great idea: let's take
> > and addon similar to that I want and try diving into code to rearrange
> > its function as desired...
>
> Be careful. I did that once and then suddenly ended up having half a dozen
> addons to maintain ;-)
so, it's better to start from scratch?
to be honest I had the idea to "mix the code" from guild greet and bg
defender, adding a function to hide/show the little interface
whyt this choice?
guildgreet has the function that let the user choose, change, add and
delete phrases when needed, so I thought "hey! I just have to learn how
this addon works, stripout the code relative to guild, and add the code
from bg defender"... not so great idea :D
the reasons because I want to write this addon, and don't ask directly
into the ng if someone wants to write it, are several, most of all
because this can be a huge source of headache (for me at least :D ), and
I have to solve the problem I think about :D
> > so I typed some misterious thing into my favourite editor, saved all the
> > files, closed the editor, and launched the game... the addons won't show
> > up in the list on cahr screen
> >
> > surely I did something wrong (what else?), get back to editor found the
> > error, saved the file(s) and launched the game
> >
> > ok, the addon correctly show up
>
> Congratulations.
ehehe, this is the first thing I solved: I have to write a well
formatted *.toc file
>
> > so I go create a new toon (goblin dk) for test purpose, and enabeld only
> > this addon (that I named "chatty"), gon on login, skipped the cinematic
> > and tried for first thing the slash command (I set up /chatty or /cht)...
> > nothing worked at all...
>
> You might want to check out the UI section at wowpedia, they offer pretty
> good starting advice.
Yeah, yesterday I haven't the will to study the documentation, but I
know very well that it's better do it, and don't treat code like voodoo
:D
>
> Also, you don't need to restart the game every time you make changes, that
> is only needed if you add or remove files. If you only change the content of
> existing files, it is enough to reload the interface (/console reloadui).
>
> Another thing that can help, is an extended error viewer, there are quite a
> few out there, I like the one that comes with Auctioneer (Swatter), I think
> you can even download it seperately (www.auctioneeraddon.com or somethign
> similar), or just extract that addon only from the full ZIP file).
>
> It shows you any LUA mistakes you make, though if you screw up in the XML
> file it might not show anything because the addon won't even be properly
> loaded.
>
> /swatter show - shows the error list (severe errors make the window popup on
> its own, smaller ones might not)
> /swatter clear - delete all entries, so you do not see old errors on your
> next try
> /console reloadui - reload UI and all addon files
>
> I have a keybound macro for the last two slash commands on the character
> that I develop and test my addons with.
>
> I'm sure others can recommend other error viewers.
ok, I have auctioneer installed, and swatter too: I'll use it
>
> > ok, for tonite I did enough: not only I hade the idea, but I tried to
> > write some code... this is awesome for me, and enough for tonight
> >
> > see you for next update on my adventure :D
>
> Good luck.
thanks :D
>
> > if my messagges could be annoying for someone, just tell me and I'll
> > stop imemdiately posting on this topic :D
>
> No provlem from my point of view, tell us where you get stuck, we might be
> able to help you, I know there are a couple of other people who write addons
> that follow a.g.w.
oh, someone can find extremely boring my words and I want to respect
their wills :D
--
this is a random signature