Download
(282 Kb)
Download
Updated: 04-26-2011 09:14 PM
Pictures
File Info
Updated:04-26-2011 09:14 PM
Created:02-18-2010 02:53 AM
Downloads:7,650
Favorites:109
MD5:
SmartRes2  Popular! (More than 5000 hits)
Version: Release 1.2.6
by: myrroddin, Morgalm
Co-ordinated Party and Raid Wipe Recovery, evolved



Now with cross-realm auto res key and /sr cast command ressing!

Always read the change log!!

New screen shots! Big changes, eh? Just being lazy, but a list of all the changes and feature improvements over the original SmartRes can be found via this link.

=== Features ===
  • An intelligent auto res key. Press the button and start ressing based certain criteria. See the Q & A
  • No more "unknown" or blank target names when you click on a corpse with the cursor to res
  • Random resurrection messages to chat. This can be disabled
  • Highly configurable res bars. Move, change the texture, and more
  • Disables itself during combat, saving resources
  • Detects Revive, Resurrection, Ancestral Spirit, and Redemption, and shows you who is casting on whom
  • Optional support for Rebirth, the Druid in-combat res spell
  • Any character class can use SmartRes2 to see the res bars. However, only ressers have keybindings to cast
  • Uses the Interface... AddOns configuration screen
  • Plugs into any LibDataBroker-1.1 display
  • Smaller, lighter, and more responsive than the original SmartRes
  • Fully compatible with any LibResComm-1.0 using addon or any CTRA res protocol compatible addon
  • Backwards compatible with the original SmartRes and oRA2
  • Optionally inform another resser they are casting a duplicate res spell on a player being ressed or waiting to accept

There's still more! But you have to use SmartRes2 to find out about the other features!!

Official forum thread
Ticket Tracker

=== Questions and Answers ===

Q: How do I get to the options?
A: The slash commands are /sr or /smartres; you can also do /sr cast or /smartres cast for you macro lovers. There is an LDB launcher and you can use the Interface/Addons panel as well.
Q: What do the different coloured bars mean?
A: Green is a non-collision/duplicate cast. Red is a duplicate/collision. Blue is when a target has been ressed, has not yet accepted, and someone tries to res the target again.
Q: Why rewrite the original SmartRes?
A: The original SmartRes has been around a long time. It uses outdated libraries that aren't being patched anymore; the code is a confusing mess; Blizzard introduced some nice APIs that made things easier; Ace3 and libraries that are Ace3 compatible are smaller, more lightweight, and use less CPU and memory; SmartRes had become buggy (wasn't disabling itself in combat, non-ressers couldn't see the res bars, occasionally conflicted with oRA2, and other miscellaneous faults and irritants)

Q: Why SmartRes2, and not a simple macro for ressing?
A: For several reasons, chiefly but not limited to
  • Because macros cannot tell you the name of released (ghost) characters, and SmartRes2 can
  • Macros cannot tell you how long it will take for the res to land on the target, and keep track ticking down
  • SmartRes2 shows you the other out of combat resses being cast by the rest of your Party or Raid
  • SmartRes2 has an auto res key, which when pressed, resses characters not already being ressed, in range, and visable plus resses in the following, intelligent order
  1. Priests
  2. Paladins
  3. Druids and Shamans
  4. other Mana using classes
  5. everybody else

Q: How come the auto res and manual res keys don't do anything for battle resses? They aren't working!
A: There are no keybindings for battle resses, and there never will be. Think of it like this: the main tank dies, but you also have a dead Shadow Priest. If I turned on the keybindings during combat, SmartRes2 would always res the Shadow Priest. It is better to pick your res target during combat. The bars are only there to show you which Druid is casting on which target, that's all.

Q: You said in the Known Issues that the Blizzard events don't accurately return a target, but the original SmartRes does. Um, what?
A: Actually, the original SmartRes fakes it, sometimes with the wrong information. While it is possible to be accurate about your own target, getting other players targets is not; the original SmartRes guessed for other players. SmartRes2 is 100% accurate, because it is only concerned with you, the player. To see other players' casts, they need LibResComm-1.0 or an addon that uses LRC.

Q: How do I get more textures for the bars?
A: SharedMedia and SharedMedia-Blizzard <--- changed **NEW** Fonts!!

Q: What? US English?? But I understand other languages. Can I help?
A: YES!! Go here and help contribute. You even get credit directly in the addon!!

=== Known Issues ===
  • There is a bug in Blizzard's code that sometimes prevents addons from opening straight to their category. Not all users are affected, and there is no fix within the addon itself. However, if you sometimes get SmartRes2 to open properly when typing /sr or /smartres or clicking the LDB launcher, and sometimes it doesn't open properly, you can install this addon which will fix the issue. Do not install this addon unless you are affected by the bug!
  • The UNIT_SPELLCAST_xxx Blizzard events return a caster, but not an accurate target for other players than yourself. If players in your group do not have LibResComm-1.0 or an addon that uses that lib, you will not see their bars. A list of LRC-1.0 compatible addons can be found here.

SmartRes2 is a complete rewrite of SmartRes by Maia, Kyahx, Poull, and Myrroddin. This new version is fully Ace3, supporting new, updated libraries and new Blizzard APIs.
Release 1.2.6
- toc bump

Release 1.2.5
- Nevcairiel (Ace3, Bartender4, wowace site admin) to the rescue!

Release 1.2.4
- Really fixed this time. Honest!

Release 1.2.3
- LibResComm-1.0 v68 had translation errors from wowace. Fixed in v70
- The above caused SmartRes2 to not load LRC1 properly. New package uses v70

Release 1.2.2
- Update all libraries to newest versions
- Remove obsolete code warning LibResComm-1.0 is outdated

Release 1.2.1
- Don't fade invisible bars (ticket #51 nil error)
- Fix table is nil error (removed reference to nonexistent table)

Release 1.20
- Res Bars position now properly saved to the Saved Variables folder instead of layout-local.txt
- Options panes for Res Bars and Chat Output got a massive cleanup. You can now see what you are typing in the Custom and Random messages fields
- Disabling SmartRes2 should not throw nil errors anymore
- Viewing Mass Resurrection (level 25 Guild Perk)
- User configurable setting for maximum displayed bars

Release 1.10
Set configurable maximum displayed bars
Make collision bars flash (yes, you can turn it off)
Removed LibVersionCheck-1.0 and related code (wasn't working the way I wanted)
Some bug fixes and optimizations

Release 1.01
.toc bump

Release 1.00
Rolled esMX into esES locale, which is more complete
Small nerfs to the versioning system to reduce obnoxiousness
Works on Cataclysm Beta!

Beta 2.3
Pre-Cataclysm changes and updates
Added version checking so when Cataclysm hits, I can easily deal with outdated versions. This can be turned off via the Chat Options tab, but I don't recommend it
Translations updated, but still lots of missing phrases

Beta 2.2
Now picks up resurrection casts from people without CTRA/LibResComm-1.0 compatible res monitors
Supports bars for Engineering devices (will never have res buttons for those, sorry)
Warns when LibResComm-1.0 needs updating
You can set the height and width of the bars independently of the scale
Bug fixes

Beta 2.1
No more forcing user to reset profile on updating addon
Random Res Message removal is now a multi-select dropdown
Properly resets a necessary variable on party member number changes
Auto res key and /sr cast command work on cross-realm players *Note, if installing no-lib strip version, you MUST set LibResComm-1.0 to "alpha" for this to work
Removed unnecessary MultiSelect library folder
Slimmed down some code (thanks, Morgalm)
Will not try to res AFK units if they were normally a priority
You can now middle-click the LDB launcher to start the test bars
Some localization / translation updates
Newest version of all library files

Beta 2.02
:OnProfileReset() should call :OnNewProfile() and not :OnProfileChanged()

Beta 2.01
Fixed "Print" bug and added an Easter egg.

Beta 2.0
*whew* just read the changelog.txt file. Suffice to say, random res message add and remove to table, font support, cleaned up a lot of code, did some optimizations, re-arranged some options. You *may* have to reset profile back to default settings or delete the saved variables if upgrading. DEFINITELY delete existing SmartRes2 folder first!!!

Beta 1.05.4
From Torhal: changed upvalue handling, and fixed ticket # 37 nil value error with whisper target

Beta 1.05.3
leveraged the power of Ace3 to reduce code enabling and disabling SmartRes2
changed the default duplicate waiting for accept res bar colour to blue to make it stand out better
removed some useless alpha tags

Beta 1.05.2
fixed res_bars nil value error when bars are not visible (tmartin reported bug from Curse.com)

Beta 1.05.1
re-arrange toc lib listings so AceGUI loads before AceConfig
removed alpha tags for Curse users so new features show up in beta builds

Beta 1.05
Borders added
Localizations updated
Minor code fix for IsCastableSpell()
-- IMPORTANT: discovered that auto res key, /sr cast, /smartres cast will not work on cross-realm players. You must use the manual res key to target their unit frame or corpse. I am looking into possible fixes

Beta 1.04 (Was on Curse, not here, sorry)
Added alpha setting for the res bars

Beta 1.03
fixed issue with texture setting not saved across logouts
deDE update and ruRU updates
added redundancy check for out of range to also check for unit dead (feedback chat)

Beta 1.02
Annoying double chat message bug fixed
zhCN locale updated (thanks, Annahaid)
Miscellaneous other chat related bugs fixed

Beta 1.01
Cleaned up res bars options tab. Added whisper as a chat output type. Added waiting for accept res bar (orange by default). A couple of code optimizations. Split the code for visible bars and collision chat notification so they are independent of each other.

Beta 1.00
Initial public beta
Optional Files (0)


Archived Files (24)
File Name
Version
Size
Author
Date
Release 1.2.5
281kB
myrroddin
02-10-2011 01:55 PM
Release 1.2.4
281kB
myrroddin
02-09-2011 08:48 PM
Release 1.2.3
281kB
myrroddin
02-09-2011 02:20 PM
Release 1.2.2
281kB
myrroddin
02-09-2011 12:15 PM
Release 1.2.1
280kB
myrroddin
12-26-2010 10:20 PM
Release 1.20
280kB
myrroddin
12-10-2010 03:39 AM
Release 1.10
279kB
myrroddin
11-18-2010 08:58 AM
Release 1.01
283kB
myrroddin
10-14-2010 05:01 PM
Release 1.00
282kB
myrroddin
09-26-2010 12:05 AM
Beta 2.3
218kB
myrroddin
09-05-2010 01:31 AM
Beta 2.2
212kB
myrroddin
08-11-2010 02:30 AM
Beta 2.1
205kB
myrroddin
07-13-2010 04:03 AM
Beta 2.02
208kB
myrroddin
06-09-2010 09:25 PM
Beta 2.01
208kB
myrroddin
06-09-2010 08:38 PM
Beta 2.0
207kB
myrroddin
06-03-2010 02:30 AM
Beta 1.05.4
203kB
myrroddin
04-15-2010 03:48 AM
Beta 1.05.3
203kB
myrroddin
04-02-2010 06:20 AM
Beta 1.05.2
203kB
myrroddin
04-01-2010 04:57 AM
Beta 1.05.1
203kB
myrroddin
03-11-2010 04:53 AM
Beta 1.05
203kB
myrroddin
03-10-2010 03:38 AM
Beta 1.03
202kB
myrroddin
02-27-2010 07:36 PM
Beta 1.02
202kB
myrroddin
02-26-2010 01:40 AM
Beta 1.01
202kB
myrroddin
02-25-2010 02:27 AM
Beta 1.00
202kB
myrroddin
02-18-2010 02:53 AM


Post A Reply Comment Options
Old 12-09-2010, 05:45 AM  
myrroddin
A Deviate Faerie Dragon
 
myrroddin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 117
Uploads: 5
Re: Hey

Originally posted by Croebh
It's the guy you were talking to at Southgate when we were waiting in line for Cata! Just thought I'd comment and say the addon is wonderful. Ciao
Thanks, dude! And yes, I remember your real name. Just not using it here.

Wait for the next build. It looks much better and cleaner. Should have it up in a day or two.
myrroddin is offline Report comment to moderator  
Reply With Quote
Old 12-09-2010, 01:48 AM  
Croebh
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Hey

It's the guy you were talking to at Southgate when we were waiting in line for Cata! Just thought I'd comment and say the addon is wonderful. Ciao
Croebh is offline Report comment to moderator  
Reply With Quote
Old 07-29-2010, 03:11 AM  
myrroddin
A Deviate Faerie Dragon
 
myrroddin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 117
Uploads: 5
Re: Re: Re: Bar length

Originally posted by Novadeus
If I use the scale to make the bars a reasonable length, they become very thin and the text is unreadable. I would love to be able to have the bars at maybe 1-2 inches long, and right now they are closer to 3-4 inches. If its on your to do list thats great, and I will look forward to a new release =)

I have a different problem. I set the options to grow the bars upward, but they dont. The first time I run test bars after selecting the option it seems to work, but further tests run them downward, and the bars in game also grow downward. Is there a bug report forum I should use to report this?

thanks!
Yes, the link in the description called tracker is what you want. In the meantime, I will look into the growth direction and try to replicate your issue.
myrroddin is offline Report comment to moderator  
Reply With Quote
Old 07-24-2010, 05:02 PM  
Novadeus
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Re: Re: Bar length

Originally posted by myrroddin
Did you try using the Scale option? I may add user definable length and height at a later point. For now, there is only Scale.
If I use the scale to make the bars a reasonable length, they become very thin and the text is unreadable. I would love to be able to have the bars at maybe 1-2 inches long, and right now they are closer to 3-4 inches. If its on your to do list thats great, and I will look forward to a new release =)

I have a different problem. I set the options to grow the bars upward, but they dont. The first time I run test bars after selecting the option it seems to work, but further tests run them downward, and the bars in game also grow downward. Is there a bug report forum I should use to report this?

thanks!
Novadeus is offline Report comment to moderator  
Reply With Quote
Old 07-22-2010, 04:50 AM  
myrroddin
A Deviate Faerie Dragon
 
myrroddin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 117
Uploads: 5
Re: Bar length

Originally posted by Novadeus
My bars a quite long, and I don't see a way top make them shorter. Am I missing something?
Did you try using the Scale option? I may add user definable length and height at a later point. For now, there is only Scale.
myrroddin is offline Report comment to moderator  
Reply With Quote
Old 07-19-2010, 09:26 PM  
Novadeus
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Bar length

My bars a quite long, and I don't see a way top make them shorter. Am I missing something?
Novadeus is offline Report comment to moderator  
Reply With Quote
Old 06-16-2010, 02:35 AM  
myrroddin
A Deviate Faerie Dragon
 
myrroddin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 117
Uploads: 5
Originally posted by Xarl
I get this Error after i updated

Code:
[2010/06/14 18:40:34-5770-x5]: SmartRes2-Beta 2.02\SmartRes2.lua:808: attempt to get length of field 'randChatTbl' (a nil value)
CallbackHandler-1.0-5:147: in function <...non\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
<string>:"safecall Dispatcher[4]":4: in function <[string "safecall Dispatcher[4]"]:4>
<in C code>: ?
<string>:"safecall Dispatcher[4]":13: in function `?'
CallbackHandler-1.0-5:92: in function `Fire'
LibResComm-1.0-90048:143: in function `?'
LibResComm-1.0-90048:48: in function <...ibs\LibResComm-1.0\LibResComm-1.0\LibResComm-1.0.lua:47>

  ---

Cheers
Reset your profile. Beta 2.02 changed / fixed the way the built in default messages were added to your profile, and is not compatible with the previous saved variables. It can't get the length because "randChatTbl" is empty, hence your problem.

With the fix, new profiles and reset profiles behave the same way, and fill in "randChatTbl" whereas before, if you reset your profile, it would not fill in the data properly.

Now that I've fixed the profiling code, unless something drastic happens to Ace3, nobody should have to go through resetting SmartRes2 again.
myrroddin is offline Report comment to moderator  
Reply With Quote
Old 06-14-2010, 12:13 PM  
Xarl
A Cliff Giant
 
Xarl's Avatar

Forum posts: 72
File comments: 204
Uploads: 0
I get this Error after i updated

Code:
[2010/06/14 18:40:34-5770-x5]: SmartRes2-Beta 2.02\SmartRes2.lua:808: attempt to get length of field 'randChatTbl' (a nil value)
CallbackHandler-1.0-5:147: in function <...non\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
<string>:"safecall Dispatcher[4]":4: in function <[string "safecall Dispatcher[4]"]:4>
<in C code>: ?
<string>:"safecall Dispatcher[4]":13: in function `?'
CallbackHandler-1.0-5:92: in function `Fire'
LibResComm-1.0-90048:143: in function `?'
LibResComm-1.0-90048:48: in function <...ibs\LibResComm-1.0\LibResComm-1.0\LibResComm-1.0.lua:47>

  ---

Cheers
__________________
Xarl is offline Report comment to moderator  
Reply With Quote
Old 06-10-2010, 05:45 PM  
myrroddin
A Deviate Faerie Dragon
 
myrroddin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 117
Uploads: 5
Re: Re: My absence / additional authors

Originally posted by Kupotek
2 updates tonight, what's up?
Fixed a global error on Print() and while I posted that, someone pointed out another that was quick. Unfortunately, I posted the first fix about 2 minutes before I saw the second, so two fast updates in one night.
myrroddin is offline Report comment to moderator  
Reply With Quote
Old 06-09-2010, 10:06 PM  
Kupotek
A Deviate Faerie Dragon
 
Kupotek's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 1060
Uploads: 7
Re: My absence / additional authors

2 updates tonight, what's up?
__________________
KittyUI | My Home on the Web
Kupotek is offline Report comment to moderator  
Reply With Quote
Old 04-13-2010, 04:04 AM  
myrroddin
A Deviate Faerie Dragon
 
myrroddin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 117
Uploads: 5
My absence / additional authors

I am taking an unplanned break from WoW for the foreseeable future; sadly I cannot say when I am returning, other than I am indeed coming back. Personal issues, coupled with real life stuff are just bogging me down.

However, I do not want SmartRes2 left in the dust, especially if Blizzard does something odd that forces an update I am not around to do. Therefore, Morgalm and Torhal have graciously accepted "maintainer" status on this addon.

If you have any issues, bugs, or suggestions, then please use the Ticket Tracker, the link is in the description.
myrroddin is offline Report comment to moderator  
Reply With Quote
Old 04-02-2010, 02:59 AM  
myrroddin
A Deviate Faerie Dragon
 
myrroddin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 117
Uploads: 5
Originally posted by Bullwraith
It looks to me like it (LibResComm-1.0) is not just playing nice cross-realm, but also in a mixed group (some from your own realm and some from another). FWIW
Sometimes it works in mixed group when ressing someone from your realm. Sometimes it does not. When conferring with other addon devs, the response was that LRC-1.0 does not support cross-realm players, as it was written before Blizzard put that feature in; the trouble is that adding would force a major version update. LibResComm-1.1 for example.

It is rather frustrating, actually. Realizing the UnitIds are unique, I am looking at solutions in that direction, rather than by simple Unit, as I have it now.

Unfortunately, due to family issues, I cannot commit the time currently (I do have the time, but also way too much stress) to write a modified SmartRes2 and test. However, I will get to it as soon as possible. There are other features I want to add, such as font control and other things, but I'm on minor bug squashing for the next month or two, as that's all I feel like doing.
myrroddin is offline Report comment to moderator  
Reply With Quote
Old 04-01-2010, 02:13 PM  
Bullwraith
A Kobold Labourer
 
Bullwraith's Avatar

Forum posts: 1
File comments: 5
Uploads: 0
Originally posted by myrroddin
Are they cross realm from you? If so, that is a known issue that really should be resolved in LibResComm-1.0, and not in any addon that uses the Lib.

That said, I am looking at options to get around the problem.
To add to this... Last night I was in a random Heroic with two guild members and two randoms from another realm. One of my guild members died and when I used my auto-res hotkey, instead of automatically rezzing my guild member, I got the symbol on the pointer and had to manually rezz him. I've not had that happen in any situation in which everyone was from the same realm.

It looks to me like it (LibResComm-1.0) is not just playing nice cross-realm, but also in a mixed group (some from your own realm and some from another). FWIW
__________________
Don't cry because you hunt them
Bullwraith is offline Report comment to moderator  
Reply With Quote
Old 03-14-2010, 04:15 AM  
myrroddin
A Deviate Faerie Dragon
 
myrroddin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 117
Uploads: 5
Originally posted by Jerricka
In the latest version when people are dead is says they aren't. Please Fix, thanks.
Are they cross realm from you? If so, that is a known issue that really should be resolved in LibResComm-1.0, and not in any addon that uses the Lib.

That said, I am looking at options to get around the problem.
myrroddin is offline Report comment to moderator  
Reply With Quote
Old 03-13-2010, 06:29 PM  
Jerricka
An Aku'mai Servant
 
Jerricka's Avatar

Forum posts: 30
File comments: 180
Uploads: 0
In the latest version when people are dead is says they aren't. Please Fix, thanks.
Jerricka is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.