SmartRes2
SmartRes2
The ultimate addon for party and raid recovery after a partial or total wipe. There is a plethora of features, most functional, some are for roleplay.
A Short List of Features
Not every feature exits for every WoW version. For example, settings for mass resurrection spells are not available in Classic Era or Season of Discovery. I am still writing the code, which means there are features which are not done.
- SmartRes2 is lightweight and modular. You can enable or disable almost everything, up to and including entire plugins.
- Create your own random messages for printing to chat to entertain your group.
- Disable or remove chat messages you do not wish to use. There is a recycle bin to restore deleted messages.
- Customize the bar frame with borders, fonts, and more. Future ideas include supporting themes.
- Bind keys for one-click casting of your class resurrection spells, including Hunter pet spells (requires retail, crane and moth pets).
- Non-combat spells intelligently parse your group for dead characters, prioritizing healers, tanks, then DPS. The option to change the priority is being investigated.
- Non-combat resurrection spells, including mass resurrections, check if your cast is the fastest, and if anyone's spell is not the fastest, SmartRes2 can inform them of a collision.
- A frame of colour-coded bars provides a visual display of resurrections. (Not ready as of June, 2024).
- If you have a combat res spell, there is an option to switch the manual target key bind to the spell during combat, and back to your regular res spell out of combat.
- SmartRes2 supports all WoW versions that have been released as of June, 2024. The War Within is planned, but I do not have access to the beta.
Translating
People can start localizing SmartRes2 via the Wowace web portal. As of June 6, 2024, the current words and phrases are set; however, there will be more added and those added later may change as development progresses.
API
Addon authors are welcome to write their own modules and plug their options into SmartRes2. There is a Public API which has the basics. More instructions will be added as development advances.
Preview Screenshots
These are not final, and are subject to change, especially as I add features.
@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
Here is an update, February 10, 2013:
Why does the anchor keep resetting, do you have to set it on each login? it's really frustrating, thanks.
i have 1 small problem after 1 appearenc of msg and bars informing about ressing addon stops working
I know it isn't working. Sorry people, I will get it fixed. However, it has to go on the back burner due to real life commitments. What I will do is the planned back-end rewrite, switching from LibResComm to LibResInfo, which is a better solution. During the rewrite, hopefully I get the chat messages fixed.
But like I said, it will have to wait. I do not have an ETA, sadly.
@Kissman21: assuming you put your custom messages into the settings for SR2 via the chat options, they should be saved in your saved variables file. Just back that up somewhere safe, and re-import or copy later.
Res announcing, I still can't get to announce to say or raid.
Me the same. German client. No messages.
Still not working... :( no errors, just hand cursor and no messages (r218).
/edit: is possible export/import custom messages? I have over 200 hand writed mesages... i can try clean reinstall (now i have copied old version and updated), but dont want lost my messages.
sorry still not working for me .... maybe you have to fix me not your addon^^
For the testers, how is r218? Is it working properly now?
r218 is up, and here's me with stupid typo fixes.
Since the lastest update, getting these errors on log in, and I a ressing chat announce still does not announce.
55x SmartRes2\SmartRes2-r217.lua:587: Usage: SetOverrideBindingClick(owner, isPriority, "KEY", "buttonName"[, "mouseButton"])
<in C code>
SmartRes2\SmartRes2-r217.lua:587: in function "BindMassRes"
SmartRes2\SmartRes2-r217.lua:257: in function <SmartRes2\SmartRes2.lua:243>
(tail call): ?
<in C code>
<string>:"safecall Dispatcher[1]":9: in function <string>:"safecall Dispatcher[1]":5
(tail call): ?
Archy-1.8.31a\Libs\AceAddon-3.0\AceAddon-3.0-11.lua:543: in function "EnableAddon"
Archy-1.8.31a\Libs\AceAddon-3.0\AceAddon-3.0-11.lua:636: in function <Archy\Libs\AceAddon-3.0\AceAddon-3.0.lua:621>
<in C code>
LUI-r538\modules\micromenu.lua:835: in function "SetMicroMenu"
LUI-r538\modules\micromenu.lua:1330: in function <LUI\modules\micromenu.lua:1329>
(tail call): ?
<in C code>
<string>:"safecall Dispatcher[1]":9: in function <string>:"safecall Dispatcher[1]":5
(tail call): ?
Archy-1.8.31a\Libs\AceAddon-3.0\AceAddon-3.0-11.lua:543: in function "EnableAddon"
Archy-1.8.31a\Libs\AceAddon-3.0\AceAddon-3.0-11.lua:556: in function "EnableAddon"
Archy-1.8.31a\Libs\AceAddon-3.0\AceAddon-3.0-11.lua:636: in function <Archy\Libs\AceAddon-3.0\AceAddon-3.0.lua:621>
<in C code>
FrameXML\UIParent.lua:299: in function "UIParentLoadAddOn"
FrameXML\UIParent.lua:373: in function "TimeManager_LoadUI"
FrameXML\UIParent.lua:690: in function <FrameXML\UIParent.lua:657>
Locals:
nil
ok so I installed buggrabber and bug sack so that I could help in the report process. I love this add on so would like to do what I can to help get it working again. the problem seems to be I'm either too dumb to figure out how to use copy and paste in game or it just doesn't want to work for me /sigh Any suggestions?
Use a chat addon like prat, its allows you to copy and paste from the game.
i still have some problems, the hotkeybutton whats to res but not the dead person. It still tells me Gratulation but my curser changes to a "hand". If i have the dead person in my target the hotkey works fine and starts to res the person, still not seeing any bars for my one res.
Sorry
Message: SmartRes2\SmartRes2-r217.lua:587: Usage: SetOverrideBindingClick(owner, isPriority, "KEY", "buttonName"[, "mouseButton"])
Time: 09/28/12 19:45:52
Count: 1
Stack: Interface\AddOns\SmartRes2\SmartRes2.lua:587: in function `BindMassRes'
Interface\AddOns\SmartRes2\SmartRes2.lua:257: in function <Interface\AddOns\SmartRes2\SmartRes2.lua:243>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:543: in function `EnableAddon'
Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:636: in function <Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:621>
[C]: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:299: in function `UIParentLoadAddOn'
Interface\FrameXML\UIParent.lua:322: in function `CombatLog_LoadUI'
Interface\FrameXML\UIParent.lua:692: in function <Interface\FrameXML\UIParent.lua:657>
Locals: <none>
Since latest update
33x SmartRes2\SmartRes2-r217.lua:587: Usage: SetOverrideBindingClick(owner, isPriority, "KEY", "buttonName"[, "mouseButton"])
<in C code>
SmartRes2\SmartRes2-r217.lua:587: in function "BindMassRes"
SmartRes2\SmartRes2-r217.lua:257: in function <SmartRes2\SmartRes2.lua:243>
(tail call): ?
<in C code>
<string>:"safecall Dispatcher[1]":9: in function <string>:"safecall Dispatcher[1]":5
(tail call): ?
Archy-1.8.31a\Libs\AceAddon-3.0\AceAddon-3.0-11.lua:543: in function "EnableAddon"
Archy-1.8.31a\Libs\AceAddon-3.0\AceAddon-3.0-11.lua:636: in function <Archy\Libs\AceAddon-3.0\AceAddon-3.0.lua:621>
<in C code>
LUI-r537\modules\micromenu.lua:822: in function "SetMicroMenu"
LUI-r537\modules\micromenu.lua:1300: in function <LUI\modules\micromenu.lua:1299>
(tail call): ?
<in C code>
<string>:"safecall Dispatcher[1]":9: in function <string>:"safecall Dispatcher[1]":5
(tail call): ?
Archy-1.8.31a\Libs\AceAddon-3.0\AceAddon-3.0-11.lua:543: in function "EnableAddon"
Archy-1.8.31a\Libs\AceAddon-3.0\AceAddon-3.0-11.lua:556: in function "EnableAddon"
Archy-1.8.31a\Libs\AceAddon-3.0\AceAddon-3.0-11.lua:636: in function <Archy\Libs\AceAddon-3.0\AceAddon-3.0.lua:621>
<in C code>
FrameXML\UIParent.lua:299: in function "UIParentLoadAddOn"
FrameXML\UIParent.lua:373: in function "TimeManager_LoadUI"
FrameXML\UIParent.lua:690: in function <FrameXML\UIParent.lua:657>
Locals:
nil
Anyone checking the comments, please read the new first few lines of the main description, thank you. Yes, Curse is having a hiccup with addons updating this morning (September 26, 2012) but it should be fixed soon, and you will see r217 that I mention above.
Ah, OK, I see what caused that. r216 fast as I can.