This is nowhere near the bulk of the code. I have plans for this addon far above and beyond what's described here. This is just to get started.
Another option, instead of coding it, is to point me to an addon that has good code that I can just take a look at. I simply don't know the LUA. Or point me to a tutorial.
I can code myself just fine if I know the actual functions and such. So far I can make an 'always on' addon that performs a certain function. What I don't know how to do yet is set up a config GUI in the interface options menu, or how to designate how to save variables so the config can be remembered. I'm also unfamiliar with Ace's 'profile' system. So that's what I was looking for help with.
I assume someone who actually knows the code could scrap up an 'outline' in like 5 minutes, tops. They don't have to actually DO the coding, just give me enough to get an idea of the functions and such, and I'll take over and do the rest.
And lastly, I already use 'auto shout out' which does the /healme and /helpme emotes automatically. Nobody ever complains. Healers are 99% of the time too busy healing to pay attention to the chat/emote channel anyway. And about the only one that actually hears the character speak is me.
As a healer myself, I've never been annoyed by other people doing it. I just ignore it. What annoys me more is when the tank stops tanking in order to top themself off when I'm at 100% mana and they're at 95% health. I'm the healer, let me do my freakin' job. The time and mana you're wasting healing yourself could be spent on dps instead. But oh well.
And healme is just one of the many voice emotes in the game. I plan to support them all. And practically none of the rest of them even relate to 'annoying the healer' at all.
- Registered User
Member for 16 years, 3 months, and 27 days
Last active Thu, Dec, 28 2017 15:29:16
- 0 Followers
- 389 Total Posts
- 0 Thanks
Aug 13, 2011I have an idea for an addon. This will be the first one I make myself, from scratch. I'm currently maintaining Swindler Preventer but that was taken over by Adspace made by Gazmik Fizzwidget. So it was (relatively) easy to simply update/maintain his code, but starting one from scratch is something else.Posted in: Lua Code Discussion
I'm looking for some help with the 'base' 'core' code. The part that handles configuration and settings. Using Ace would probably be easier, but as this is my first time I'm not really sure what I'm doing.
I was hoping that someone could 'get me started' by coding the beginning of the config file for me, then I could copy their code for the rest of the configuration I want to do.
Basically, I need a super-small addon that will do the config and save it to a LUA file. If profile support could be included that'd be awesome too.
Basically, the idea I have is for the addon to automatically do emotes, but only voice emotes. (The ones with in-game voice to go with them.) I don't see these voice emotes used often enough, and I'd like to use them more often myself, but typically I'm too busy fighting/tanking/healing to do them manually.
So I'm going to try to come up with various 'triggers' that apply to each emote. Ultimately I look to support at least one 'trigger' for every voice emote in the game. But not everyone who uses the addon is going to agree on the exact same 'triggers' so the config file is important! This is where I need your help, since I'm new to lua and haven't made an addon with a config from scratch before.
Here's the way I want the config menu to look:
(One dash - equals a 'folder' underneath the name of the addon in the interface menu.)
(Two dashes -- equals a checkbox. If no default is specified, it defaults to on.)
(Three dashes --- equals a suboption and should be slightly indented to indicate it's based on a higher option.)
(Extra dashes equals more suboptions.)
Make Some Noise Configuration Menu:
(In the folder that is when you click on the name of the addon itself, and not any of the subfolders on the interface menu, I want to describe the goal of the addon and have a little paragraph there.)
- General Settings
-- Enable Addon (all other settings in the entire addon will be disabled/grayed out if this is disabled).
-- Time between emotes: (Slider, from 30 to 600, intervals of 5 allowed on slider, and a textbox to manually enter in a value, which doesn't have to be a multiple of 5. Error if below 30 and set to 30 instead; 30 is a minimum. Values over 600 are allowed.) (If you mouseover this option it will have a 'help tooltip' I'll fill in later.) (Default: 30)
--- Suboption (disabled if above option disabled): Global emote cooldown or Individual Emote Cooldown. (The way I see this working is two checkboxes as a suboption of this suboption, and checking one deselects the other.) (Help tooltip included on option and both suboptions.) (Default: Global)
- Heal me!
-- Enable /healme (helpful tooltip)
--- /healme when below X% maximum health (slider, 1-100% in intervals of 1%, textbox to manually enter a value, default = 35%)
---- Only in combat (help tooltip)
That should be good enough to get me started and then I can set up triggers for all the other emotes I want to configure for and set up the rest of the config file from there based on your example. Please note that you don't have to actually code the healme emote if you don't want to, I'm just looking for the config to get started with. I can also make my own descriptions and help tooltips as long as I know the code to surround them with.
So if someone could be kind to get me started with the base code and then I can take it from there. Thanks in advance!
So please help me out. I need the code to get started. Your 'addon' should:
1 - include all the xml, toc, lua files and the Ace library if needed to get the config set up. The name of the addon is 'Make Some Noise' but can be abbreviated to MSN in config/variables/coding/etc.
2 - Hopefully using the profile setting, be able to save variables and remember settings between sessions. Once I see how to get the base config going I can rename variables to what I want them to be so don't worry about naming them 'correctly'.
3 - Be extremely simple and only contain code necessary to accomplish these goals. I'm still a lua newbie. =(
Another thing that I want to config is a 'test button'. For instance on the Healme page of the config, right next to the 'enable /healme', I'd like a 'test button' that can be clicked on and when you do, it plays your race/gender's 'healme' emote (but without actually doing the emote, it's sound only, client-side). If this is possible, please code that in as well. =D If not, or if it's too complicated, I'll worry about that later.
Apr 29, 2010Date: 2010-04-29 09:24:33Posted in: Unit Frames
Error occured in: Global
Message: ...terface\AddOns\XPerl_RaidHelper\XPerl_RaidHelper.lua line 373:
attempt to index upvalue 'conf' (a nil value)
(tail call): ?
Jan 5, 2010The situation is this: I saw an addon for heals + absorbs that was tagged as 'recount' so I thought this was the place to report a bug in an addon that has already been created (I thought there was some sort of Recount 'team' and this would be the most expditious way of reporting a bug for any Recount-related addon as opposed to messaging an individual person). I was not attempting to request a feature that does not yet exist in the core addon. I am apparently wrong about this being the right place to mention it.Posted in: General AddOns
I was going to just let it go, but then when I mentioned that the module that has been created by someone else has a bug in it that is causing it to not work, I received this response:
It's not a bug, it's very much intended.
This lead me to ask if the original core addon is somehow blocking this new addon created by someone else from working. Your beliefs and opinions on the nature of the core addon made me wonder if you believe this so strongly that you would prevent another addon that tries to do this from being operational. So I asked if that was the case.
Since I was sticking around anyway, I thought I'd toss out a couple arguments about my opinions on heals vs absorbs while I was at it. I doubt I'd say anything that hasn't already been covered, but I just wanted to understand the reasoning a little more. I'll review the links posted by the above post when I have some idle time. I like logical debate. (And didn't I already said I agree and will use activity as the best measurement of skill Recount is capable of anyway?)
I'm sorry, I didn't realize my communication skills were this bad. I seem to have been misunderstood at every turn. Hopefully this clarifies things. I didn't mean to jump in and light a fire, I just meant to report a bug and have apparently done so in the wrong place.
Jan 5, 2010I agree with your logic, and I'll be monitoring activity instead of heals now, but nothing beats throwing numbers at your raid leader to stop him from kicking you from the raid. I agree that smart playing trumps all, but finding 24 other people who feel that way is difficult.Posted in: General AddOns
Your logic does have one hole, though. A heal and absorb can actually both be situational. Healing the wrong person, especially if they don't even have aggro, while you let the tank die, can cause a wipe as well. Absorbs are more situational, of course, but if the damage is absorbed, it can be considered as an instant heal for the target, and only if that damage is something that would have killed the player does it really matter that it was prevented instead of healed after it occurred. Of course, 'over-absorbs' would be equivalent of 'over-heals', if damage wasn't absorbed it's a waste.
In short, if a person is at 10k health and after 5k damage from the boss is done, and my spell is cast, they are now at 8k health, does it matter if the spell I cast was a shield that absorbed 3k of the damage or a heal that healed 3k of damage? The end result is the same. That is why people consider them equivalent. A shield is only more important if it actually prevents death, and that situation is rare enough that it doesn't really affect statistics any more or less than healing 'incorrect targets' and causing a wipe would affect statistics.
Even as a very geared disc priest, my shields only absorb for maybe 5-7k, is my estimation. Very rarely do my shields actually 'save a life' in level 80 raid content, they can certainly help, but it's no real different from an instant-cast heal that automatically happens (like prayer of mending, or a tick of a hot that happens just after damage is taken). The chance of a shield blocking the damage that kills a player is significantly small enough to, in my opinion, not alter the statistic enough from basically being another way of healing.
I agree that they're two separate things and having them in separate categories would definitely be important, but having the option to have them added together, I still don't see what the harm is, with the exception of having a 'guessed' (or hueristic) statistic added to a real one. That's always not fun of course, but I just see it as a limitation that has to be accepted in order to have any kind of stats at all for absorbs.
I thought I saw patch notes awhile back, like 3.0 or 3.1-ish, talking about absorbs and combat log and changes. I didn't read too closely because at the time I was leveling and not raiding. I think the only real change is the final hit changed from 'full absorb' and 'reduced damage' to 'absorb for X amount' and 'reduced damage', but only for the hit that breaks the absorb. That's just a guess though.
Announcing it as heals + guessed absorbs would still indicate the guessed nature.
Now if you're specifically coding the core Recount addon to prevent this plugin from working, that's just mean. =P Just because you don't include or agree, does it really matter that much if someone else does it?
Jan 5, 2010I'm not talented enough to search through 300 pages of thread to find your previous arguments, but I thought they made changes to the combat log recently to indicate how much is actually absorbed. Or is that only for hits that aren't fully absorbed? I dunno.Posted in: General AddOns
Anyway, I thought some of the guesswork was taken out and it could be a more precise statistic. Maybe it wasn't. As far as why you offer guessed absorbs but no way to add that to heals for an easy-to-announce list to show that yes, I was the best healer in that fight, without making people do math to make my point, I don't get. Also, the ability to watch during combat so I can compare myself with the other healers and know when I need to step it up a notch would also help. Why you'd offer absorbs but not offer the option to add them to heals is confusing to me.
Anyway, someone /is/ offering it, but there's a bug in that it's not listed on modules that can be viewed, so I'm just trying to report it so that person, or someone else who's interested in doing so, can fix the bug.
Jan 5, 2010Don't think you understand, Zidomo. Guessed absorbs works fine. Absorbs + heals doesn't. I don't use broker or Fubar. Did you look at what I linked?Posted in: General AddOns
I assumed posting here would be the best way of reporting a bug with that particular plugin, I guess I should probably contact the author directly.
Oct 13, 2009Nope. I'm looking for the people on my particular faction on my realm who have the highest achievement points. And to get an overall feel for the average achievement points on my realm. And the person with the highest achievement points that isn't level 80 yet.Posted in: General AddOns
Oct 11, 2009Blizzard's policy is to have their database be 'searchable' and not actually a full chart containing all data available. The only parts of the armory that will actually display all data in a chart is guilds and arenas. Even then it's limited.Posted in: General AddOns
I don't care about 'ranking' so much, but your addon was the only one to record the achievement points of all characters ever seen and displaying them in an easy list. Do you have a final version somewhere I could get?
- To post a comment, please login or register a new account.