SmartRes2
SmartRes2 Core
Resurrection monitor, one-button "smart" resurrections, funny random messages, and so much more!
Added with this build: a minimap button for options, and mult-spec Profiles.
Legion and Beyond
This is the 100% rewritten version for Legion and beyond. SmartRes2 is now modular, thus most of the functionality has been transferred to seperate modules. This means that it gains in power and capabilities, while also becoming even lighter on CPU and memory.
Modules
- Chat - All the self notification, funny random messages, and other chat stuff from the previous SmartRes2 builds. There is a lot more packed in here than ever before!
- Smart - Coming soon. The one button resurrection options that pick the best candidate to resurrect. The new module will prioritize roles (healer > tank > dps) rather than classes.
- Bars - Coming soon. The visual bars in pre-Legion no longer work in Legion, and needed to be rewritten. There are plans to add features to this, like themes.
Localization
Want to help translate? Then click here and localize SmartRes2 into your language. Most of the phrases you'd expect to find are in the modules, so check those out for more translating.
Bugs or Suggestions
Found something wrong, or thought of an improvement? Great, then I want to hear from you!
Release 2.6.1 works in game with no error loading LibResInfo.
Phanx, who wrote LRI, and I are discussing what might be the root cause, to prevent this weirdness from occurring again.
Still getting this with the latest alpha build:
1x SmartRes2\SmartRes2-r277.lua:29: Cannot find a library instance of "LibResInfo-1.0".
<in C code>
Accountant-4.13.50400\libs\LibStub\LibStub.lua:23: in function "GetLibrary"
SmartRes2\SmartRes2-r277.lua:29: in main chunk
The issue is still with the LibResInfo-1.0 library, it is packed inside a subdirectory of libs with a new subdirectory, toc and all. If you move the lua file from SmartRes2\Libs\LibResInfo-1.0\LibResInfo-1.0\LibResInfo-1.0 to SmartRes2\Libs\LibResInfo-1.0 it will work.
Release 2.6.0 is missing the very important LibResInfo library :p
Does this support other battle rez's then rebirth? If no would you ever consider adding it?
The current version supports every spell and item that can raise or resurrect a player, including the other battle resurrections (Raise Ally, etc).
However, most such spells are instant-cast spells, and their bars appear and fade equally instantly. So yes, they are supported, but you will never see them.
It was easier to support all of them, even the instants, rather than try to filter, adjust and account for glyphs, talents, etc.
@TheGrey01
Darn typo!! Thanks, and should be fixed in r248...
Using the current beta and the normal version before i kept getting the following error, every time i get in combat (for the first time after which one of my other error catching addons blocks it).
Now we have 2 following errors:
Date: 2013-02-25 02:24:29
ID: 1
Error occured in: Global
Count: 1
Message: AceLocale-3.0: SmartRes2: Missing entry for 'Time Out Bars Anchor'
Debug:
...ddOns\Carbonite\Libs\AceLocale-3.0\AceLocale-3.0.lua:31:
...ddOns\Carbonite\Libs\AceLocale-3.0\AceLocale-3.0.lua:29
SmartRes2\SmartRes2Options.lua:325: OptionsTable()
SmartRes2\SmartRes2.lua:135:
SmartRes2\SmartRes2.lua:123
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9:
[string "safecall Dispatcher[1]"]:5
(tail call): ?
...\AddOns\Carbonite\Libs\AceAddon-3.0\AceAddon-3.0.lua:514: InitializeAddon()
...\AddOns\Carbonite\Libs\AceAddon-3.0\AceAddon-3.0.lua:629:
...\AddOns\Carbonite\Libs\AceAddon-3.0\AceAddon-3.0.lua:621
Locals:
None
Date: 2013-02-25 02:24:29
ID: 2
Error occured in: Global
Count: 1
Message: AceLocale-3.0: SmartRes2: Missing entry for 'Toggle the anchor for the time out bars'
Debug:
...ddOns\Carbonite\Libs\AceLocale-3.0\AceLocale-3.0.lua:31:
...ddOns\Carbonite\Libs\AceLocale-3.0\AceLocale-3.0.lua:29
SmartRes2\SmartRes2Options.lua:326: OptionsTable()
SmartRes2\SmartRes2.lua:135:
SmartRes2\SmartRes2.lua:123
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9:
[string "safecall Dispatcher[1]"]:5
(tail call): ?
...\AddOns\Carbonite\Libs\AceAddon-3.0\AceAddon-3.0.lua:514: InitializeAddon()
...\AddOns\Carbonite\Libs\AceAddon-3.0\AceAddon-3.0.lua:629:
...\AddOns\Carbonite\Libs\AceAddon-3.0\AceAddon-3.0.lua:621
Locals:
None
Don't know who is more guilty - Carbonite or SmartRes2, so posting this for both.
*shakes fist* I thought I had those!! Should be all fixed up by r242
D'oh, those two were my fault for missing. Hopefully got them all now.
I scanned both SmartRes2.lua and SR2Options.lua for missing phrases, and think I have them all. Hopefully r230 doesn't throw a fit for you guys now.
Sorry for the hoop jumping; Phanx and I were more concerned with fixing [ code ] bugs in LibResInfo and SmartRes2. Our copies, being development builds, won't error on missing translations, and given the amount of uploads to wowace lately, adding the new phrases wasn't an immediate priority.
At this point, I think everything that is currently in SR2 has a localization phrase, and again, sorry for the delay.
Is this the same one as yesterday, since im having it after todays update.
Message: AceLocale-3.0: SmartRes2: Missing entry for 'Mass Resurrection Message'
Time: 02/22/13 13:46:30
Count: 1
Stack: Interface\AddOns\SmartRes2\SmartRes2Options.lua:404: in function `OptionsTable'
Interface\AddOns\SmartRes2\SmartRes2.lua:128: in function <Interface\AddOns\SmartRes2\SmartRes2.lua:116>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
...AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:514: in function `InitializeAddon'
...AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:629: in function <...AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:621>
Locals: self = <table> {
NewBarFromPrototype = <function> defined @Interface\AddOns\SmartRes2\Libs\LibBars-1.0\LibBars-1.0.lua:255
SetDefaultModuleLibraries = <function> defined @Interface\AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:383
GetBarGroup = <function> defined @Interface\AddOns\SmartRes2\Libs\LibBars-1.0\LibBars-1.0.lua:399
ReleaseBar = <function> defined @Interface\AddOns\SmartRes2\Libs\LibBars-1.0\LibBars-1.0.lua:288
EnableModule = <function> defined @Interface\AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:348
modules = <table> {
}
baseName = "SmartRes2"
OnNewProfile = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:320
CreateResBar = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:738
StartTestBars = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:822
Printf = <function> defined @Interface\AddOns\AutoTurnIn\Libs\AceConsole-3.0\AceConsole-3.0.lua:69
SetDefaultModulePrototype = <function> defined @Interface\AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:425
SavePosition = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:235
FadeFinished = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:818
defaultModuleState = true
IsEnabled = <function> defined @Interface\AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:467
DisableModule = <function> defined @Interface\AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:366
Resurrection = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:693
VerifyPerk = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:456
RestorePosition = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:242
RegisterMessage = <function> defined @Interface\AddOns\AutoTurnIn\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:118
UnregisterMessage = <function> defined @Interface\AddOns\AutoTurnIn\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:181
BindMassRes = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:497
SetEnabledState = <function> defined @Interface\AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:440
enabledState = true
RegisterEvent = <function> defined @Interface\AddOns\AutoTurnIn\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:118
SlashHandler = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:254
IterateModules = <function> defined @Interface\AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:453
GetBars = <function> defined @Interface\AddOns\SmartRes2\Libs\LibBars-1.0\LibBars-1.0.lua:222
DeleteBar = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:447
OnInitialize = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:116
UnregisterAllEvents = <function> defined @Interface\AddOns\AutoTurnIn\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:202
LibResInfo_ResExpired = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:441
GetModule = <function> defined @Interface\AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:231
AddCustomMsg = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:348
defaultModuleLibraries = <table> {
}
LibResInfo_ResCastStarted = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:368
UnregisterChatCommand = <function> defined @Interface\AddOns\AutoTurnIn\Libs\AceConsole-3.0\AceConsole-3.0.lua:111
Add an option to disable that feature, if you don't mind. Thanks.
It isn't a feature, it is part of the debug code. I think I got all the missing phrases in r229 anyway. If I missed some, either myself, Phanx, or you excellent people will let me know!
@myrroddin
That's way cool, thanks for letting me know where you are in the process and keep up the good work!.
:)
The errors you see are because the new phrases and words exist in SmartRes2 the AddOn, but not yet on the WoWAce page. Once either Phanx or myself add the new phrases, SR2 will load normally.
If you want to bypass the error (I do NOT recommend this) because you simply cannot wait, use the SVN development version. No, I will not link it; you either know how to find it or you don't, and that is the point. It is very much a work in progress.
Phanx or I should get the new phrases into WoWAce later today or tomorrow, given time, work, sleep, etc, and then no more errors.
@Aoife
Yes, any new phrases, such as that one, do not exist yet on the WoWAce page, and thus cannot be imported into the AddOn. Phanx and I were spending the last 5-6 hours fixing bugs in both LibResInfo and SmartRes2, but we were using development copies, where that error never happens.
The new phrases should be updated later today or tomorrow, depending on time, work, sleep, etc.
I know you're busily updating this addon, just wanted to let you know I'm busy testing it and have the following error on login (with both r225 and r226):
Date: 2013-02-21 03:58:19
ID: 2
Error occured in: Global
Count: 1
Message: AceLocale-3.0: SmartRes2: Missing entry for 'What you want to say when casting Mass Resurection'
Debug:
SmartRes2\SmartRes2Options.lua:396: OptionsTable()
SmartRes2\SmartRes2.lua:129:
SmartRes2\SmartRes2.lua:117
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9:
[string "safecall Dispatcher[1]"]:5
(tail call): ?
...ce\AddOns\Skillet\Libs\AceAddon-3.0\AceAddon-3.0.lua:514: InitializeAddon()
...ce\AddOns\Skillet\Libs\AceAddon-3.0\AceAddon-3.0.lua:629:
...ce\AddOns\Skillet\Libs\AceAddon-3.0\AceAddon-3.0.lua:621
Locals:
None
Getting this error since todays update, and i can't open options panel also with command nor can i see it on Interface/Addons panel
Message: AceLocale-3.0: SmartRes2: Missing entry for 'Mass Resurrection Message'
Time: 02/21/13 10:56:42
Count: 1
Stack: Interface\AddOns\SmartRes2\SmartRes2Options.lua:395: in function `OptionsTable'
Interface\AddOns\SmartRes2\SmartRes2.lua:129: in function <Interface\AddOns\SmartRes2\SmartRes2.lua:117>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
...AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:514: in function `InitializeAddon'
...AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:629: in function <...AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:621>
Locals: self = <table> {
NewBarFromPrototype = <function> defined @Interface\AddOns\SmartRes2\Libs\LibBars-1.0\LibBars-1.0.lua:255
SetDefaultModuleLibraries = <function> defined @Interface\AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:383
GetBarGroup = <function> defined @Interface\AddOns\SmartRes2\Libs\LibBars-1.0\LibBars-1.0.lua:399
ReleaseBar = <function> defined @Interface\AddOns\SmartRes2\Libs\LibBars-1.0\LibBars-1.0.lua:288
EnableModule = <function> defined @Interface\AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:348
modules = <table> {
}
baseName = "SmartRes2"
OnNewProfile = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:300
ResAnchorMoved = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:502
CreateResBar = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:679
StartTestBars = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:761
Printf = <function> defined @Interface\AddOns\AutoTurnIn\Libs\AceConsole-3.0\AceConsole-3.0.lua:69
PLAYER_REGEN_DISABLED = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:433
FadeFinished = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:757
defaultModuleState = true
IsEnabled = <function> defined @Interface\AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:467
DisableModule = <function> defined @Interface\AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:366
Resurrection = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:633
VerifyPerk = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:422
RegisterMessage = <function> defined @Interface\AddOns\AutoTurnIn\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:118
UnregisterMessage = <function> defined @Interface\AddOns\AutoTurnIn\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:181
BindMassRes = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:465
SetEnabledState = <function> defined @Interface\AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:440
enabledState = true
RegisterEvent = <function> defined @Interface\AddOns\AutoTurnIn\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:118
SlashHandler = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:238
IterateModules = <function> defined @Interface\AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:453
GetBars = <function> defined @Interface\AddOns\SmartRes2\Libs\LibBars-1.0\LibBars-1.0.lua:222
DeleteBar = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:416
OnInitialize = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:117
UnregisterAllEvents = <function> defined @Interface\AddOns\AutoTurnIn\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:202
LibResInfo_ResExpired = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:410
GetModule = <function> defined @Interface\AddOns\AutoTurnIn\Libs\AceAddon-3.0\AceAddon-3.0.lua:231
defaultModuleLibraries = <table> {
}
LibResInfo_ResCastStarted = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:342
UnregisterChatCommand = <function> defined @Interface\AddOns\AutoTurnIn\Libs\AceConsole-3.0\AceConsole-3.0.lua:111
UpdateMedia = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:311
OnProfileChanged = <function> defined @Interface\AddOns\SmartRes2\SmartRes2.lua:305
GetName = <function> d