TotemRadius
Cataclysm update: I'm playing a lvl 5 Free to Play Shammy, I'm not 100% sure if everything works.
Totem Radius (TR) shows you where your totem's aura has effect on the minimap.
Discussion page: here.
Features
- Track where your totems dropped on the minimap.
- Track other shaman's totems.
- Show a radius ring around the totem of where the totem's aura has effect
- Rings appear semi-transparent when inside, opaque when outside.
- If 2+ shaman drop the same totem and you're inside one, then other totem will dim as well.
Displays rings in the 3D world where your totem's aura has effect. (AVR required)
- Adds totem distance below the totem frames on the player frame.
Known issues
- Talents which increase range or duration not taken into account.
We need translators for Apply translations here
FAQ page here
Credits
- kagaro Helped me get instance & battleground map sizes.
- laincat (Traditional Chinese)
- yuk6196 (Korean)
- poddav (Russian)
- StingerSoft (Russian)
- ckeurk (French)
- Freydis88 (French & German)
- cremor (German)
- yllelder (Spanish)
- otonashimeru (Simplified Chinese)
- Granola from the Baelgun realm for helping me with basic trigonometry.
- belechannas for Totemic Reach, Elemental Reach and Totemic Focus code (range/duration increases)
Donations welcome. There's a donate button here.
Bitcoin address: 1RYB7ihDJXnWHacEJLgkGYdT9tzZsFzd8
Please update this addon! if there is any addons like this one anyone found please link it to me my e-mail is [email protected] please and thank you so much!
Is there a update somewhere?
I get this error:
[code]Date: 2012-11-16 09:58:46<br />ID: 4<br />Error occured in: Global<br />Count: 1<br />Message: ..\AddOns\TotemRadius\core.lua line 316:<br /> attempt to call upvalue 'GetNumPartyMembers' (a nil value)<br />Debug:<br /> (tail call): ?<br /> TotemRadius\core.lua:316:<br /> TotemRadius\core.lua:313<br /> TotemRadius\core.lua:671: ?()<br /> ...der\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147:<br /> ...der\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147<br /> [string "safecall Dispatcher[15]"]:4:<br /> [string "safecall Dispatcher[15]"]:4<br /> [C]: ?<br /> [string "safecall Dispatcher[15]"]:13: ?()<br /> ...der\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: Fire()<br /> ...ace\AddOns\Bagnon\libs\AceEvent-3.0\AceEvent-3.0.lua:52:<br /> ...ace\AddOns\Bagnon\libs\AceEvent-3.0\AceEvent-3.0.lua:51<br />Locals:<br />None<br />AddOns:<br /> Swatter, v5.14.5335 (KowariOnCrutches)<br /> NPCScan, v5.0.0.5<br /> AtlasLootLoader, vv7.03.01<br /> AucAdvanced, v5.14.5335 (KowariOnCrutches)<br /> AucFilterBasic, v5.14.5335 (KowariOnCrutches)<br /> AucFilterOutlier, v5.14.5335.5335(5.14/embedded)<br /> AucMatchUndercut, v5.14.5335.5225(5.14/embedded)<br /> AucScanData, v5.14.5335 (KowariOnCrutches)<br /> AucStatHistogram, v5.14.5335 (KowariOnCrutches)<br /> AucStatiLevel, v5.14.5335 (KowariOnCrutches)<br /> AucStatPurchased, v5.14.5335 (KowariOnCrutches)<br /> AucStatSales, v5.14.5335.5335(5.14/embedded)<br /> AucStatSimple, v5.14.5335 (KowariOnCrutches)<br /> AucStatStdDev, v5.14.5335 (KowariOnCrutches)<br /> AucStatWOWEcon, v5.14.5335.5335(5.14/embedded)<br /> AucUtilAHWindowControl, v5.14.5335.5133(5.14/embedded)<br /> AucUtilAppraiser, v5.14.5335.5335(5.14/embedded)<br /> AucUtilAskPrice, v5.14.5335.5160(5.14/embedded)<br /> AucUtilAutoMagic, v5.14.5335.5335(5.14/embedded)<br /> AucUtilCompactUI, v5.14.5335.5335(5.14/embedded)<br /> AucUtilEasyBuyout, v5.14.5335.5238(5.14/embedded)<br /> AucUtilFixAH, v5.14.5335 (KowariOnCrutches)<br /> AucUtilItemSuggest, v5.14.5335.5335(5.14/embedded)<br /> AucUtilPriceLevel, v5.14.5335.5237(5.14/embedded)<br /> AucUtilScanButton, v5.14.5335.5335(5.14/embedded)<br /> AucUtilScanFinish, v5.14.5335.5153(5.14/embedded)<br /> AucUtilScanProgress, v5.14.5335.4979(5.14/embedded)<br /> AucUtilScanStart, v5.14.5335.5153(5.14/embedded)<br /> AucUtilSearchUI, v5.14.5335.5335(5.14/embedded)<br /> AucUtilSimpleAuction, v5.14.5335.5208(5.14/embedded)<br /> AucUtilVendMarkup, v5.14.5335.4828(5.14/embedded)<br /> Auctionator, v3.0.5<br /> AuctionSold, vv5.0.5<br /> Babylonian, v5.1.DEV.332(/embedded)<br /> BagBrother, v<br /> Bagnon, v5.0.9<br /> BeanCounter, v5.14.5335 (KowariOnCrutches)<br /> Configator, v5.1.DEV.344(/embedded)<br /> DBMCore, v<br /> DebugLib, v5.1.DEV.312(/embedded)<br /> DugisGuideViewerZ, v6.220<br /> ElvUI, v4.62<br /> ElvUISLE, v1.22<br /> Enchantrix, v5.14.5335 (KowariOnCrutches)<br /> EnchantrixBarker, v5.14.5335 (KowariOnCrutches)<br /> Gatherer, v4.0.6<br /> GathererHUD, v4.0.6<br /> Informant, v5.14.5335 (KowariOnCrutches)<br /> LibExtraTip, v5.12.DEV.324(/embedded)<br /> MacroBank, v1.11<br /> Postal, v3.5.0<br /> Recount, v<br /> SilverDragon, vv3.0.1<br /> SlideBar, v5.14.5335 (KowariOnCrutches)<br /> Stubby, v5.14.5335 (KowariOnCrutches)<br /> TidyPlates, v6.7.9 (R548)<br /> TidyPlatesGraphite, v<br /> TidyPlatesGrey, v<br /> TidyPlatesNeon, v<br /> TidyPlatesQuatre, v<br /> TidyPlatesThreatPlates, v6.007<br /> TidyPlatesHub, v<br /> TidyPlatesWidgets, v<br /> TipHelper, v5.12.DEV.315(/embedded)<br /> TomTom, vv50001-1.3.1<br /> TotemRadius, v2.5.0 (r198)<br /> VuhDo, v3.18<br /> VuhDoOptions, v3.18<br /> BlizRuntimeLib_enUS v5.0.5.50001 <us><br /> (ck=9e7)<br />[/code]
It would be nice if instead of shaking the minimap it showed an alert text in the middle of the screen, or maybe both :P
Really nice addon I would love if you updated it!
It apprears to have stopped working in a recent update.
UPDATE:
My error, it is working but I could not see the rings on the default transparency. I increased the setting and now I can see the rings perfectly.
Hope this helps some others.
Do not work for me.
it shows the circles if I'm alone but not when I'm in a group. I tried to set the poles saying "show group" but I still see nothing when I'm in a group. I use carbonite and sexymap.
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\TotemRadius\zoneData.lua line 67:
Cannot find a library instance of "LibMapData-1.0".
Debug:
[C]: ?
[C]: error()
!Swatter\Support\LibStub.lua:23: LibStub()
TotemRadius\zoneData.lua:67: in main chunk
AddOns:
Swatter, v5.12.5184 (QuirkyKiwi)
AckisRecipeList, v2.2.6b
Altoholic, v4.2.001
AtlasLoot, vv6.04.03
AtlasLootCataclysm, vv6.04.03
AtlasLootLoader, vv6.04.03
AucAdvanced, v5.12.5184 (QuirkyKiwi)
AucFilterBasic, v5.12.5184 (QuirkyKiwi)
AucFilterOutlier, v5.12.5184.4828(5.12/embedded)
AucMatchUndercut, v5.12.5184.4828(5.12/embedded)
AucStatHistogram, v5.12.5184 (QuirkyKiwi)
AucStatiLevel, v5.12.5184 (QuirkyKiwi)
AucStatPurchased, v5.12.5184 (QuirkyKiwi)
AucStatSales, v5.12.5184.4838(5.12/embedded)
AucStatSimple, v5.12.5184 (QuirkyKiwi)
AucStatStdDev, v5.12.5184 (QuirkyKiwi)
AucStatWOWEcon, v5.12.5184.4828(5.12/embedded)
AucUtilAHWindowControl, v5.12.5184.5133(5.12/embedded)
AucUtilAppraiser, v5.12.5184.5015(5.12/embedded)
AucUtilAskPrice, v5.12.5184.5162(5.12/embedded)
AucUtilAutoMagic, v5.12.5184.5184(5.12/embedded)
AucUtilCompactUI, v5.12.5184.5016(5.12/embedded)
AucUtilEasyBuyout, v5.12.5184.4897(5.12/embedded)
AucUtilFixAH, v5.12.5184 (QuirkyKiwi)
AucUtilGlypher, v5.12.5184.5061(5.12/embedded)
AucUtilGlypherPost, v5.12.5184.5159(5.12/embedded)
AucUtilItemSuggest, v5.12.5184.5144(5.12/embedded)
AucUtilPriceLevel, v5.12.5184.4861(5.12/embedded)
AucUtilScanButton, v5.12.5184.5159(5.12/embedded)
AucUtilScanFinish, v5.12.5184.5159(5.12/embedded)
AucUtilScanProgress, v5.12.5184.4979(5.12/embedded)
AucUtilScanStart, v5.12.5184.5159(5.12/embedded)
AucUtilSearchUI, v5.12.5184.5184(5.12/embedded)
AucUtilSimpleAuction, v5.12.5184.4993(5.12/embedded)
AucUtilVendMarkup, v5.12.5184.4828(5.12/embedded)
AutoGratzSpamFilter, v
Babylonian, v5.1.DEV.312(/embedded)
BeanCounter, v5.12.5184 (QuirkyKiwi)
Configator, v5.1.DEV.312(/embedded)
CursorCastbar, v
DataStore, v4.2.001
DataStoreAchievements, v4.2.001
DataStoreAgenda, v4.2.001
DataStoreAuctions, v4.2.001
DataStoreCharacters, v4.2.001
DataStoreContainers, v4.2.001
DataStoreCrafts, v4.2.001
DataStoreCurrencies, v4.2.001
DataStoreInventory, v4.2.001
DataStoreMails, v4.2.001
DataStorePets, v4.2.001
DataStoreQuests, v4.2.001
DataStoreReputations, v4.2.001
DataStoreSpells, v4.2.001
DataStoreStats, v4.2.001
DataStoreTalents, v4.2.001
DBMBurningCrusade, v
DBMCore, v
DebugLib, v5.1.DEV.312(/embedded)
HealBot, v4.2.0.0
IgnoreMore, v1.1.1-40100
InspectFix, v2.7
LibExtraTip, v5.12.DEV.311(/embedded)
MicroDeclineDuel, vv1.2
Omen, v3.1.3
Pawn, v1.5.11
PowerAuras, v4.19
RatingBuster, v
Recount, v
Reforgenator, v1.3.9
Scrap, v8.0
SimpleGearReadyCheck, vv4.2.0 b
SlideBar, v5.12.5184 (QuirkyKiwi)
Stubby, v5.12.5184 (QuirkyKiwi)
TidyPlates, v6.3.0 Revision: 284
TidyPlatesGraphite, v
TidyPlatesGrey, v
TidyPlatesNeon, v
TidyPlatesQuatre, v
TidyPlatesHub, v
TipHelper, v5.12.DEV.310(/embedded)
TotemRadius, v2.2.1beta (r174)
BlizRuntimeLib_enUS v4.2.0.40200 <us>
(ck=b47)
<Script file="Ace3\LibMapData-1.0\library.lua"/>
But there are a couple other issues:
1) Talents affecting totem range and duration are not accounted for. I have made a hacked version which uses LibGroupTalents-1.0 and updates the range for Totemic Reach and the duration for Totemic Focus. I have not tested it in a group with another shaman yet (it works properly for my own talents/totems), nor have I dealt with the Elemental Reach talent, since I don't have an Ele spec.
2) A few of the totem ranges/durations have not been updated to current values.
3) Spirit Link Totem isn't included (although it has a pretty dramatic visual and such a short duration that it isn't really much of an issue).
I'll try to fix my ranges/talents, some totems have odd numbers though. What's the range on Healing Stream Totem, Mana Spring Totem and Grounding Totem? WoWHead says 0 yards. =/
I'll add Spirit Link totem now.
In core.lua, at the top (global part of file), add:
---------------
local reachTalentName = GetSpellInfo(86935) -- Totemic Reach
local focusTalentName = GetSpellInfo(16173) -- Totemic Focus
local elementalTalentName = GetSpellInfo(28999) -- Elemental Reach
local GroupTalents = LibStub("LibGroupTalents-1.0")
---------------
then in the core:AddTotem method, replace the following starting around line 300:
---------------
local range = totemInfo[spellID].range or 0
local reach = GroupTalents:UnitHasTalent(caster, reachTalentName)
range = range * (1 + (reach or 0) * 0.15)
-- Searing Totem + Elemental Mastery
if ( spellID == 3599 ) then
local elementalReach = GroupTalents:UnitHasTalent(caster, elementalTalentName)
if (elementalReach == 1) then
range = range + 7
else
if (elementalReach == 2) then
range = range + 15
end
end
end
if precise == false and range > self.spawnDistance then
range = range - self.spawnDistance --We don't know the precise coords of the totem. So we remove 3 yards from the totem's range to make sure we'll be inside it.
end
if not activeTotems[totemGUID] then
--~ Debug("AddTotem", 4, totemName)
local duration = totemInfo[spellID].duration or 5
local focus = GroupTalents:UnitHasTalent(caster, focusTalentName)
duration = duration * (1 + (focus or 0) * 0.20)
local zW, zH = self:GetZoneSize()
---------------
Then add the following two libraries to embeds.xml:
<Include file="Ace3\LibTalentQuery-1.0\lib.xml"/>
<Include file="Ace3\LibGroupTalents-1.0\lib.xml"/>
That's it!
Thanks for all the improvements!
The problem can be avoided with an easy change:
add
local PREFIX = "LibGroupTalents"
in LibGroupTalents-1.0.lua
and replace the variable MAJOR with PREFIX on lines 1420 and 1422 of the same file.
Sorry for not finding it sooner...
How game breaking is the error? should I add an option to disable talent tracking while we wait for a fix?