Download
(135Kb)
Download
Updated: 05-06-13 10:23 PM
Pictures
File Info
Updated:05-06-13 10:23 PM
Created:04-30-13 03:51 AM
Downloads:1,878
Favorites:9
MD5:
Categories:Buff, Debuff, Spell, Tank

RiggsBar

Version: 2.0
by: Jelly [More]

RiggsBar is an emulation of the shield tracker that Riggnaros uses and can be seen in many of his videos since Dragon Soul. That I know of, Riggs has never released his user interface as a unit however I often see requests, wondering what his shield tracker is so I set out to create my own that worked like it.

Currently there are no slash commands but there is an in-game configuration through the escape > interface panel.

ToDo:

  • Individual shield toggles
  • Automatic group detection
  • Slash Commands

2.0: Complete rewrite, converting to Ace Libraries

1.32: Moved a function, hopefully to solve the double numbers [0s] issue

1.31: All that stuff that I just said that I was going to do, well I actually did it this time! <3

1.3: Changed from Spell Names to Spell IDs which should solve issues with non-English clients also added a hide command and fixed < 1000 values showing up as .4k rather than 482

1.2: Added short numbers also believe to have fixed an issue where sometimes "0" would be shown behind the shield number

1.1: Added background alpha settings

1.0: Fresh Addon
Post A Reply Comment Options
Unread 06-14-13, 06:48 PM  
DigitalDecayz
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
awww i wanted the whole thing where you can select the shields you want to track
Report comment to moderator  
Reply With Quote
Unread 06-11-13, 09:50 PM  
Jelly
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 40
Uploads: 17
Originally Posted by DigitalDecayz
any update on the new version of the addon?
Pretty much decided that it didn't need one. I was over complicating a rather simple addon.
Report comment to moderator  
Reply With Quote
Unread 05-28-13, 11:43 AM  
DigitalDecayz
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
any update on the new version of the addon?
Report comment to moderator  
Reply With Quote
Unread 05-07-13, 07:55 AM  
Jelly
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 40
Uploads: 17
Originally Posted by zork
Jelly patch 5.2 added a new function called UnitGetTotalAbsorbs(). Maybe that is useful for what you do.

It gets the total absorb for a specific unit. Not sure if you really care about every single absorb infight.
Been using it since the first iteration. Thanks though.
Report comment to moderator  
Reply With Quote
Unread 05-07-13, 01:20 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Jelly patch 5.2 added a new function called UnitGetTotalAbsorbs(). Maybe that is useful for what you do.

http://www.wowpedia.org/API_UnitGetTotalAbsorbs

It gets the total absorb for a specific unit. Not sure if you really care about every single absorb infight.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 05-07-13 at 01:23 AM.
Report comment to moderator  
Reply With Quote
Unread 05-03-13, 09:37 AM  
Jelly
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 40
Uploads: 17
Too lazy to crop it right now but here's what I have so far:

http://i.imgur.com/1IxnDoj.jpg
http://i.imgur.com/QnNfXZE.jpg

Both the fonts and textures pull from SharedMedia and obviously I haven't implemented the check boxes yet.
Report comment to moderator  
Reply With Quote
Unread 05-02-13, 06:07 PM  
Jelly
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 40
Uploads: 17
Originally Posted by semlar
Originally Posted by Jelly
Lua Code:
  1. if UnitClass("player") ~= "Death Knight" then
This doesn't work because the first return value from UnitClass is localized and Tonyleila is using the german client.

You need to use the second value from UnitClass and compare it to "DEATHKNIGHT".

Lua Code:
  1. local _, class = UnitClass('player')
  2. if class == 'DEATHKNIGHT' then
or
Lua Code:
  1. if select(2, UnitClass('player')) == 'DEATHKNIGHT' then
The first one is marginally faster.
Already taken care of in the rewrite.
Report comment to moderator  
Reply With Quote
Unread 05-02-13, 03:40 PM  
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1060
File comments: 187
Uploads: 25
Originally Posted by Jelly
Lua Code:
  1. if UnitClass("player") ~= "Death Knight" then
This doesn't work because the first return value from UnitClass is localized and Tonyleila is using the german client.

You need to use the second value from UnitClass and compare it to "DEATHKNIGHT".

Lua Code:
  1. local _, class = UnitClass('player')
  2. if class == 'DEATHKNIGHT' then
or
Lua Code:
  1. if select(2, UnitClass('player')) == 'DEATHKNIGHT' then
The first one is marginally faster.
Last edited by semlar : 05-02-13 at 03:43 PM.
Report comment to moderator  
Reply With Quote
Unread 05-02-13, 09:03 AM  
Jelly
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 40
Uploads: 17
Originally Posted by Stanzilla
Do you plan to add Warrior Shield Barrier absorb, too?
It's a definite possibility. Along with AMS.
Report comment to moderator  
Reply With Quote
Unread 05-02-13, 12:51 AM  
Stanzilla
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 34
File comments: 146
Uploads: 6
Do you plan to add Warrior Shield Barrier absorb, too?
Report comment to moderator  
Reply With Quote
Unread 05-01-13, 10:29 AM  
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 758
File comments: 2021
Uploads: 37
Originally Posted by Jelly
~= <-- means not equal to
But it shows the monk icon on my DK and if I change it as shown below it works fine
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
Report comment to moderator  
Reply With Quote
Unread 05-01-13, 08:47 AM  
Jelly
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 40
Uploads: 17
~= <-- means not equal to
Report comment to moderator  
Reply With Quote
Unread 05-01-13, 08:29 AM  
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 758
File comments: 2021
Uploads: 37
Originally Posted by Jelly
Lua Code:
  1. if UnitClass("player") ~= "Death Knight" then
  2.         RiggsFrame.bloodshield:SetTexture("Interface/Icons/Ability_Monk_Guard")
  3.     else
  4.         RiggsFrame.bloodshield:SetTexture("Interface/Icons/Spell_DeathKnight_Butcher2")
  5.     end

That's exactly how it is in my code and well, how it's been since I put it in.

yes and its still wrong way around
It says IF Death Knight then SHOW Monk Guard icon!


uard, it's absolutely possible for people who aren't Monks or Death Knights to get guard- the brewmaster statue puts it out and it's a different spellid than the monk's version.
Than why do you replace the monk icon with deathknight icon? Deathknight want to see the monk absorb too than Or can't they have the monk absorb + bloodshild.
So best woud be show bloodshild only for DK show rest for all classes
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
Report comment to moderator  
Reply With Quote
Unread 04-30-13, 06:22 PM  
Jelly
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 40
Uploads: 17
Lua Code:
  1. if UnitClass("player") ~= "Death Knight" then
  2.         RiggsFrame.bloodshield:SetTexture("Interface/Icons/Ability_Monk_Guard")
  3.     else
  4.         RiggsFrame.bloodshield:SetTexture("Interface/Icons/Spell_DeathKnight_Butcher2")
  5.     end

That's exactly how it is in my code and well, how it's been since I put it in.

Re: Guard, it's absolutely possible for people who aren't Monks or Death Knights to get guard- the brewmaster statue puts it out and it's a different spellid than the monk's version.
Report comment to moderator  
Reply With Quote
Unread 04-30-13, 04:12 PM  
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 758
File comments: 2021
Uploads: 37
YES now it shows up deathstrike AND overall absorb

But the deathstrike symbol is not showing up its showing the monk icon :S
This was wrong way around
Code:
	if UnitClass("player") ~= "Death Knight" then
		RiggsFrame.bloodshield:SetTexture("Interface/Icons/Spell_DeathKnight_Butcher2")
	else
		RiggsFrame.bloodshield:SetTexture("Interface/Icons/Ability_Monk_Guard")
	end
And maybe it shoud hide Monk Guard and Bloodshield if you are not a monk and not a DK - I mean this spells can only be on you if you play this class/spec


And this is on your front page read again :P
/riggs hide-- toggles the main frame shown and hidden: /riggs short
EDIT: Now its bugged even more in combat sometimes looks like this on my DK:
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
Last edited by Tonyleila : 04-30-13 at 04:52 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: