Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(226 Kb)
Download
Updated: 10-15-14 02:24 PM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-15-14 02:24 PM
Created:10-28-08 03:37 PM
Downloads:446,669
Favorites:860
MD5:
6.0.2
Gladius  Popular! (More than 5000 hits)
Version: 4.0.0
by: Proditor, Resike, Rinu
What is Gladius?
Gladius adds enemy unit frames to arenas for easier targeting and focusing. It shows a health bar, a mana bar below the health bar (optional), a cast bar below the mana bar (optional), a class icon to the left side of the health bar (optional) and important buffs and crowd control durations (optional, overlays the class icon). The frame resizes itself to the current bracket (optional).

Gladius uses the 3.0.2 arena unit ids, therefore it'll add units automatically to the frame (byebye targeting macros) and you'll always be able to target/focus the enemies, regardless of if they are added when you're in combat. The cast bars and the buff/debuff timers should be 100% correct.

You can add important buffs and crowd controls in the auralist.lua file. You will have to select a priority for it. If a buff/debuff is already displaying when the spell is cast it'll only show up on the class icon if the priority equals or is higher than the current one displayed.

More features:
Arena enemies targets (optional): displays the class of the arena enemy's current target in a small frame on the health bar to the right.

Trinket status (optional): has a few different display options, but in general it shows if the PvP Trinket is ready for the arena enemy.

Slash commands:
/gladius ui, config, options - displays the configuration screen
/gladius test1-5 - shows a test frame with the chosen amount of test units
/gladius hide - hides the test frame
/gladius trinket - simulates a trinket being used for the first arena target

But.. but.. this is very similar to Proximo and SSAF?
Yes, I simply created this as a learning project for Lua. I actually didn't plan on releasing it but in the end I thought it turned out pretty good and decided to give it a go. I do not expect to start competing with the big boys, but perhaps someone else is interested in using it.

Thanks:
Thanks to Proximo, SSArena Frames and their respective developers for working as both inspirational and informational sources.

Note: If you find any errors or bugs, please report them to me via http://proditor.wowinterface.com/
3.3.5

Auras for Class Icons, now accept spells with spell ids too.

3.3.4

Fixed an issue with Grid style trinket icon's color, when entering into a new arena.

3.3.3

Fixed an issue with Grid style trinket icon's color, when the unit is becomes unstealthed and it's trinket is on cooldown.

3.3.2

Fixed an issue with Grid style trinket icon's color, when entering into a new arena.
Some other smaller fixes.

3.3.1

Fixed an issue with Grid style trinket icon's color, when the unit is becomes unstealthed and it's trinket is on cooldown.
Toc version number fix.


3.3.0

Added different cast bar texture for uninterruptable spells. (Thanks for balciseri.)
Added an option to change the bar texture for uninterruptable spells.
Commented SetTemplates out, since it's no longer used right now.
Dispel module updates.
Highlight module updates.
Mouse over highlight will be properly disabled when you disable the Highlight module.
Converted textures to RLE targa.
Minimalist LSM fix.
Localization fixes.
Some other minor changes.

3.2.9

Fixed an issue with the "Class Icon Important Auras" check button's functionality.
Added an options "Class Icon Spec Icon" to show the specialization icons, instead of the class icon in the Class Icon module.
"Advanced Options" is enabled by default from now.
Some other smaller fixes.
Options module updates.
Localization updates.

3.2.8

Fixed an issue with trinket icon update in test mode.

3.2.7

Fixed an issue which caused too many actions and spammed errors inside arenas.
Updating colors with the color picker won't murder your fps anymore. (Not all of them are fixed yet.)
Fixed an issuw which caused DRTracer "Gloss Color" not to work.
"DRTraceker Gloss" options is now false by default.
"DR Text Color" color picker is removed.
Updated Dispel icons, different specs with no dispel will no longer have a Dispel icon. (Like Shadow Priest.)
Color pickers will no longer generte useless CPU usage while the mouse is not moving on them.
Removed old spec detection functions.
Updated "HealthBar" module.
Adde Monk's class color picker option into the "HealthBar" module.
Some upvalue changes.
Fixed a typo in "Subtlety".
Localization updates.
Test mode updates.

3.2.6

Drastically reduced cpu usage on some cases. (80%)
Module file name updates.
Auras module updates.
Added tooltips for Buffs/Debuffs.
Added cooldown model for Buffs/Debuffs.
Cooldown model can be enabled/disabled/reversed on the Buffs/Debuffs tab.
Buff/Debuff timers can be disabled on the Buffs/Debuffs tab.
Fixed an issue which caused buff/debuff frames to overlap on each other.
Dispel module updates.
Timer module updates.
Dispel module should get properly updated on profile changes.
DR Tracker module should get properly updated on profile changes.
DR Tracker frames will properly hide/show when it's category is disabled/enabled.
Tags module should get properly updated on profile changes.
Removed old spec detection.

3.2.5

DRData module updates.
Fixed an issue which caused excessive memory usage while adjusting the "DR Text Size" slider.
DRData frames now will disapper in test mode, when their timer is up.
From now the main options will show up even when you enter any unknow slash commands.
Renamed Dispell module to Dispel.

3.2.4

DRData library updates.

3.2.3

Aura and spell updates.
Will of the Forsaken and PvP trinket share cooldown timer fix.
DRData library updates.

3.2.2

Performance upgradements.
Added Monk's dispel spell.
Dispel module updates.

3.2.1

Clicks module updates.

3.2.0

Cast Bar module updates.

3.1.9

Auras module updates.

3.1.8

Curse Client latest version mismatch fix.

3.1.7

Curse Client latest version mismatch fix.

3.1.6

Fixed incorrect version number.
Announcement module updates.
Class Icon module updates.
Layout module updates.
Tags module updates.
Minor performance upgradements.

3.1.5

Layout module updates.
Library updates.

3.1.4

Fixed an issue which broke the addon's funcionality with Timer module disabled.
Timer module updates.
Upvalue updates.
Some other smaller fixes.

3.1.3

Fixed a bug which caused frames to not to hide after left the arena.
Fixed a bug with Direction dropdown.
Fixed an issue with "Announcements" module.
Global cleanup.
Some other smaller fixes.

3.1.2

Fixed a bug with Trinket module inside battlegrounds.
Trinket module updates.
Library updates.

3.1.1

Announcements module updates.

3.1.0

Added "Turn Evil" for auras.
Library updates.

3.0.9

Minor fixes.

3.0.8

Fixed a bug which crashed Tags module after you switched profiles.
Test function updates.
Some GUI changes and bugfixes.
German localization updates.
Library updates.
Other minor fixes.
3.0.7

Removed Global Templates.

3.0.6

Updated for 5.4.
Fixed a bug with the Tags module.
Added Monk "Resuscitate" spell to the Announces module.

3.0.5

Fixed a bug with the Auras module.

3.0.4

Fixed a bug with enable/disable Auras module functionality.
Fixed a bug with enable/disable Buffs button's functionality.
Fixed a bug with enable/disable Debuffs button's functionality.
Reduced maxium buffs/debuffs to show to 10.
Aura module improvements.
Localization updates.
Other minor fixes.

3.0.3

Fixed a bug with the Auras module.
Other minor fixes.

3.0.2

Fixed a bug which created invisible but clickable frames outside arenas.
Disabled test button functionality inside arenas.
Fixed a typo which didn't let "Layouts" module to load properly.
xCT and xCT+ support fix.
Library updates.
Some other smaller fixes.
Code cleanup.

3.0.1

Reduced addon size by 30%.
Reduced memory usage.
Reduced CPU usage.
DRTracker fixes.
Healthbar fixes.
Aura updates.
Library updates.
Merged localizations.
Added koKR, zhCN and zhTW localizations.
Added support for xCT and xCT+.
Code cleanup.

3.0.0

Updated for 5.2.
Spell updates.
Library updates.
Minor bug fixes.
Archived Files (24)
File Name
Version
Size
Author
Date
3.3.5
224kB
Proditor
09-27-14 08:09 AM
3.3.4
224kB
Proditor
09-09-14 07:35 PM
3.3.2
224kB
Proditor
08-21-14 03:10 PM
3.3.2
207kB
Proditor
07-14-10 09:08 AM
1.1.0
187kB
Proditor
02-05-10 06:35 AM
1.0.5
181kB
Proditor
12-26-09 04:15 PM
1.0.3
181kB
Proditor
12-16-09 11:27 PM
1.0.2
172kB
Proditor
08-04-09 09:39 PM
1.0.1
169kB
Proditor
07-31-09 10:31 AM
1.0.0
169kB
Proditor
07-29-09 10:04 AM
1.0.0
177kB
Proditor
05-27-09 03:48 PM
r27
177kB
Proditor
05-23-09 05:28 PM
r26
177kB
Proditor
05-22-09 08:43 PM
r25
169kB
Proditor
05-09-09 09:09 PM
r24
168kB
Proditor
04-17-09 08:04 PM
r23
161kB
Proditor
03-19-09 04:32 AM
r22
161kB
Proditor
03-19-09 03:54 AM
r21
159kB
Proditor
03-17-09 08:04 AM
r20
156kB
Proditor
03-13-09 08:13 AM
r19
151kB
Proditor
02-09-09 11:16 PM
r18
140kB
Proditor
01-11-09 12:10 PM
r17
140kB
Proditor
01-09-09 06:39 PM
Beta r16
137kB
Proditor
12-18-08 11:46 AM
Beta r15
137kB
Proditor
12-16-08 11:31 AM


Post A Reply Comment Options
Unread 11-06-08, 10:53 PM  
Maldazzar
A Kobold Labourer

Forum posts: 0
File comments: 154
Uploads: 0
an option to display the pvp trinket instead of the class icon (and ignoring the auralist.lua), would be nice
something like this: (excuse my poor mspaint skills)
http://img205.imageshack.us/img205/7...8203555tc8.jpg
on second thought, a simple "big icon, but on the left" option would probably be easier, and I could manually disable auras

also, 2 small bugs:
#1) when i right click the space between the individual unit bars (i.e. under player1 health bar but above player 2 health bar), it opens up the options menu
-- any way to disable opening the GUI on right-click?

#2) dragging the frame seems a little bit erratic at times, it really doesn't bother me but if you're looking to iron everything out there's something wrong there


and finally, a suggestion:
would it be possible to change the background/opacity of the health bar? i'd rather see a pure black backdrop for missing health than the arena floor behind it.


thanks for a great addon

edit: another small bug- for the "Show border around target" option, the border is a bit too wide if "show class icons" is disabled
Last edited by Maldazzar : 11-06-08 at 10:57 PM.
Maldazzar is offline Report comment to moderator  
Reply With Quote
Unread 11-07-08, 06:15 AM  
ObbleYeah
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 143
File comments: 28
Uploads: 8
Originally posted by Proditor
Glad to hear you're liking it! To be honest I'm not really sure what you're suggesting. Can you perhaps take a screenshot or similar?
http://s.wowinterface.com/preview/pvw19763.png

The buttons with the iceblock icon/hunter icon. Is it possible to include some way of skinning them via a .tga texture in the images folder? Similar to the way Pitbull handles the skinning of it's aura textures :-)
ObbleYeah is offline Report comment to moderator  
Reply With Quote
Unread 11-07-08, 07:01 AM  
Proditor
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 35
Uploads: 0
Originally posted by affix
I haven't downloaded the latest release (not home from work), but is it possible to have a cooldown for the PvP trinket on top of the icon?
For all of the options except Name text and name icon it shows the cooldown through a classical cooldown frame thingy (dno what to call the spiral).

Originally posted by Maldazzar
an option to display the pvp trinket instead of the class icon (and ignoring the auralist.lua), would be nice
something like this: (excuse my poor mspaint skills)
http://img205.imageshack.us/img205/7...8203555tc8.jpg
on second thought, a simple "big icon, but on the left" option would probably be easier, and I could manually disable auras

also, 2 small bugs:
#1) when i right click the space between the individual unit bars (i.e. under player1 health bar but above player 2 health bar), it opens up the options menu
-- any way to disable opening the GUI on right-click?

#2) dragging the frame seems a little bit erratic at times, it really doesn't bother me but if you're looking to iron everything out there's something wrong there


and finally, a suggestion:
would it be possible to change the background/opacity of the health bar? i'd rather see a pure black backdrop for missing health than the arena floor behind it.


thanks for a great addon

edit: another small bug- for the "Show border around target" option, the border is a bit too wide if "show class icons" is disabled
Thank you for the reports and suggestions !

About bug #1:
It's actually intended and there is no option to disable it for now. I added it before the anchor existed and haven't been thinking about removing it. Not sure if I should do that tho, since it doesn't work in combat so it shouldn't get messy. However, if you really want it gone, simply find and remove (lines 139->141 frame.lua):
Code:
self.anchor:SetScript('OnClick', function()
	if (not InCombatLockdown()) then self:ShowOptions() end
end)
About bug #2:
Yeah, I've noticed it, might take a look at and perhaps change the method it's using but it's no priority for now.

About bug #3:
Gonna take a look at that, shouldn't be hard to fix.
Edit.
Fixed in next rev.

About suggestion #1:

Yah, can look into that, shouldn't be hard.

About suggestion #2:

Could add an option to re-color the backgrounds of the health/mana/cast bars but it might take a while. If you really dislike it being transparent, find (line 181 frame.lua):
Code:
healthBar.bg:SetAlpha(0.3)
and replace the number with an apropriate value. The lower value the more transparent. Feel free to post a feature request about this tho so I won't forget it.

Originally posted by ObbleYeah
http://s.wowinterface.com/preview/pvw19763.png

The buttons with the iceblock icon/hunter icon. Is it possible to include some way of skinning them via a .tga texture in the images folder? Similar to the way Pitbull handles the skinning of it's aura textures :-)
It fetches the icon directly from the spell itself so there's nothing fancy there, would take quite a lot of work to be able to change the looks I think and that's nothing I'm planning on doing.
Last edited by Proditor : 11-07-08 at 07:33 AM.
Proditor is offline Report comment to moderator  
Reply With Quote
Unread 11-07-08, 11:32 AM  
Maldazzar
A Kobold Labourer

Forum posts: 0
File comments: 154
Uploads: 0
About bug #1:
It's actually intended and there is no option to disable it for now. I added it before the anchor existed and haven't been thinking about removing it. Not sure if I should do that tho, since it doesn't work in combat so it shouldn't get messy.
The fix works perfectly, thanks. The reason it can get messy when OOC is: as soon as the opposing team shows up on the ArenaFrames, I right-click one to set focus. Since I am not in combat at that point, and not paying terribly close attention to where I click, I had the GUI pop up right as the other team engaged a few times.


About suggestion #1:
Yah, can look into that, shouldn't be hard.
Thank you. Just to reiterate, I underestimated the level of customization the Gladius GUI offers - so I really need is a "Big Icon on the left" option, nothing fancy.

About suggestion #2:
Could add an option to re-color the backgrounds of the health/mana/cast bars but it might take a while.
Your fix sort of works, but as I'm sure you're aware, it merely affects the opacity of the background - of which health/power deficits are a part.
That said, reworking the frame so that bar deficit coloring is independent of the background isn't really worth the effort.

In an ideal world, though, in case you're aiming to please everyone - I'd love to see an option to make the background opacity 0 (as already possible), with bar deficit opacity set to 1.

--

One small bug: In the /gladius test1-5 mode, the health %s are set to various numbers under 100... but the health bars are still completely full

And a suggestion: Could you add an option for text styles?
(For example (L=left, C=center, R=right))
Right now they're set to (L)Name %Health(R)
I'd personally like to have it set to (C)Name
There are other formats I'm sure people will express interest in - perhaps adding DogTag support would be an option.
Personally, all I'd like to see is an option to hide health %s and/or move the name text.

--

Thanks again for this addon, I've gone from Proximo to SSAF to this with no regrets.
Maldazzar is offline Report comment to moderator  
Reply With Quote
Unread 11-07-08, 12:33 PM  
Proditor
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 35
Uploads: 0
Originally posted by Maldazzar
The fix works perfectly, thanks. The reason it can get messy when OOC is: as soon as the opposing team shows up on the ArenaFrames, I right-click one to set focus. Since I am not in combat at that point, and not paying terribly close attention to where I click, I had the GUI pop up right as the other team engaged a few times.
True, I'll either remove it or make it an option in a future rev.

Thank you. Just to reiterate, I underestimated the level of customization the Gladius GUI offers - so I really need is a "Big Icon on the left" option, nothing fancy.
New option will be called "Override class/aura icon" - does this sound like what you want?

Your fix sort of works, but as I'm sure you're aware, it merely affects the opacity of the background - of which health/power deficits are a part.
That said, reworking the frame so that bar deficit coloring is independent of the background isn't really worth the effort.

In an ideal world, though, in case you're aiming to please everyone - I'd love to see an option to make the background opacity 0 (as already possible), with bar deficit opacity set to 1.

--
The Gladius bars are split into two parts, a statusbar and a background. The background is of the same width/height as the statusbar and stay like that regardless of hp. The statusbar changes width (value, actually) depending on the hp percentage. There's no special color or similar for the deficit, the background only simulates that there is. Therefore, making an option to change the color/opacity of the background would equal to changing the color of the deficit. Hope you understand what I am trying to say.

One small bug: In the /gladius test1-5 mode, the health %s are set to various numbers under 100... but the health bars are still completely full
Actually, there is no such bug. But since you're using the fix for the health bar background (assuming you have it set to 1) and the standard color of a texture apparently is white, you won't see the hp deficit for priests, since their class color is white. A solution for this in your case, until I've added an option for the bar background color is this:

Find and replace (frame.lua, around like 181)
Code:
healthBar.bg:SetAlpha(0.3)
With
Code:
healthBar.bg:SetVertexColor(0,0,0,1)
This'll set the background to completely black, arguments for SetVertexColor are:

SetVertexColor(red, green, blue, alpha)

And a suggestion: Could you add an option for text styles?
(For example (L=left, C=center, R=right))
Right now they're set to (L)Name %Health(R)
I'd personally like to have it set to (C)Name
There are other formats I'm sure people will express interest in - perhaps adding DogTag support would be an option.
Personally, all I'd like to see is an option to hide health %s and/or move the name text.

--
Gonna put options for the health bar text on my to-do list and I'm gonna lookup DogTag, however it's not a priority for now. If you want the name text to be centered and not show any health % text do like this:

Find and replace (frame.lua around line 255):
Code:
text:SetPoint("LEFT",5,0)
With:
Code:
text:SetPoint("CENTER")
Find (frame.lua around line 289):
Code:
healthText:SetPoint("RIGHT",-5,0)
Add below:
Code:
healthText:Hide()
Thanks again for this addon, I've gone from Proximo to SSAF to this with no regrets.
Thank you !
Proditor is offline Report comment to moderator  
Reply With Quote
Unread 11-09-08, 12:08 PM  
Maldazzar
A Kobold Labourer

Forum posts: 0
File comments: 154
Uploads: 0
* Added another trinket display option: "Override class/aura icon".
Rather than overriding the class/aura icon, the mod pastes the trinket icon over it (with both showing simultaneously).

Also, the trinket display seems rather erratic, with the trinket randomly showing up mid-arena (before a trinket has been used).

And finally, is there a way to make trinket CD text smaller?

Thanks
Maldazzar is offline Report comment to moderator  
Reply With Quote
Unread 11-09-08, 02:29 PM  
Proditor
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 35
Uploads: 0
Originally posted by Maldazzar
Rather than overriding the class/aura icon, the mod pastes the trinket icon over it (with both showing simultaneously).

Also, the trinket display seems rather erratic, with the trinket randomly showing up mid-arena (before a trinket has been used).

And finally, is there a way to make trinket CD text smaller?

Thanks
My thought was that the trinket was shown at all times on-top of the class icon (thus making it impossible to see the class icon) with no auras activating. When a trinket is used the cooldown-frame shows up and counts down. I haven't added a trinket cd text yet so that must be because you're using a cooldown addon such as OmniCC.

However, it seems to be broken atm so I'm gonna take a look at it.

Edit.
Was your original thought that the trinket icon would only show up over the class icon when a trinket had been used?
Last edited by Proditor : 11-09-08 at 02:41 PM.
Proditor is offline Report comment to moderator  
Reply With Quote
Unread 11-10-08, 04:02 AM  
Maldazzar
A Kobold Labourer

Forum posts: 0
File comments: 154
Uploads: 0
This is the error I've been experiencing periodically:
http://img139.imageshack.us/img139/4...8002859sh7.jpg

The icons seem to mix together, instead of the PvP trinket icon simply overwriting the class icon entirely.
Maldazzar is offline Report comment to moderator  
Reply With Quote
Unread 11-10-08, 06:55 AM  
Proditor
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 35
Uploads: 0
Originally posted by Maldazzar
This is the error I've been experiencing periodically:
http://img139.imageshack.us/img139/4...8002859sh7.jpg

The icons seem to mix together, instead of the PvP trinket icon simply overwriting the class icon entirely.
Should be fixed in r14 which is waiting for approval atm.
Proditor is offline Report comment to moderator  
Reply With Quote
Unread 11-23-08, 10:02 AM  
anund
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
I won't be able to do arena for a while as I'm not lvl 80 yet so I can't test this myself anytime soon:

This mod will show CC/important buff durations of targets, even if they are not the current target or focus target and have not been targeted recently?eg: Say I have a priest focused, the rogue targeted, and the mage I havn't targeted all game cops a blind from the rogue on my team, will I see that blind duration?
anund is offline Report comment to moderator  
Reply With Quote
Unread 11-24-08, 10:52 AM  
Proditor
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 35
Uploads: 0
Originally posted by anund
I won't be able to do arena for a while as I'm not lvl 80 yet so I can't test this myself anytime soon:

This mod will show CC/important buff durations of targets, even if they are not the current target or focus target and have not been targeted recently?eg: Say I have a priest focused, the rogue targeted, and the mage I havn't targeted all game cops a blind from the rogue on my team, will I see that blind duration?
yes
Proditor is offline Report comment to moderator  
Reply With Quote
Unread 12-06-08, 09:36 AM  
Mooky
A Murloc Raider
 
Mooky's Avatar

Forum posts: 6
File comments: 19
Uploads: 0
These are very nice, i'd actully like a Unitframes version for general stuff not just as bg bars. Am getting bored of perl pitbull and the likes, bout time something fresh hit the seen and from the looks off the SS these could be it.
Mooky is offline Report comment to moderator  
Reply With Quote
Unread 12-11-08, 07:19 AM  
Vranx
A Black Drake
 
Vranx's Avatar

Forum posts: 85
File comments: 149
Uploads: 0
I was thinking the same thing as Mooky, these would be nice unit frames outside a BG.
Vranx is offline Report comment to moderator  
Reply With Quote
Unread 12-15-08, 11:30 AM  
abzinthe
A Kobold Labourer

Forum posts: 0
File comments: 38
Uploads: 0
Some things that might be nice for a future revision
  • Ability to change the font.
  • Ability to change the growth direction of the frames.

Very nice addon, good work!
abzinthe is offline Report comment to moderator  
Reply With Quote
Unread 12-17-08, 03:22 AM  
Baerlawl
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Thanks for making Gladius, its the Addon of Choice for "feels the love" PvP Guild (Glutstrum #1 in S4)

It would still be so nice if a DR-Timer would be in, like proxdim (its broken for a while now)
Baerlawl is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: