Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(12 Kb)
Download
Updated: 11-17-14 09:02 AM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.3)
Warlords of Draenor Pre-Patch (6.0.2)
Siege of Orgrimmar (5.4)
Updated:11-17-14 09:02 AM
Created:08-12-14 12:44 PM
Downloads:833
Favorites:20
MD5:
Categories:Unit Mods, Buff, Debuff, Spell
6.0.3

JamPlates Accessories

Version: 6.0.2.4
by: jeruku [More]

JamPlates Accessories auras are designed to look/feel like the default de/buff frames but instead of simply being for your target it adds them to the nameplates. This allows you to track de/buffs on units other than your target with a simple glance.


Details:
So long as you have moused over a nameplate it will detect any de/buffs it knows you have cast before. Do note that when the nameplate is hidden(i.e. it leaves the field of view/screen) the addon must rescan for either a target or a moused over unit.

  • Adds you and your pets de/buffs to nameplates.
  • Option to toggle PvP state, where a filter of spells may be applied to enemy players only.
  • Timers on the de/buffs along with a spiral animation.
  • Colorizes de/buff borders based on type.
  • /jamplates for options.


Cooldown spirals inspired by zork.

  • 6.0.2.4
    • Clean-up.
    • Fixed variables not saving after the changes from last update.
  • 6.0.2.3
    • Fixed a variable load order issue that I have not noticed for a while.
  • 6.0.2.2
    • Added the filter options UI. Slight unintentional "Easter Egg" with this.
    • Fixed some profile bugs since profile options are new to me.
    • Tidied up the options UI.
    • These are hopefully my final changes, anything after this will be upkeep.
  • 6.0.2.1
    • Fixed the global leaks caused by removal of switches for auras and combo points(removed).
    • Added basic GUI options in the Interface Menu; filter will be added at a later date.
    • Changed how mouse-over is detected, the same method could not be imitated for target changed.
  • 6.0.1.0
    • Fixed a few things that got tossed around when I removed combo points and experimented on things.
    • Cleaned up a few things.
    • Fixed a bug I had missed earlier in development which would result in the creation of extra tables over time.
    • Numeric timers will now be more accurate and now show 1 when 1 second or less remains.
  • 6.0.0.1
    • TOC updated for new patch.
    • Removed Combo Points as they have finally been moved to player and no longer stack on the target.
    • Added support for my personal nameplate addon to improve performance; this is due to how any form of scanning for nameplates works, the scanning lag should not effect you if you are using default nameplates.
  • 5.4.3.6
    • Fixed.
  • 5.4.3.5
    • Fixed a bug introduced in previous cleanup.
  • 5.4.3.4
    • Added a PvP state in which will show target de/buffs.
    • Fixed a minor bug.
    • Cleaned code, there will be more.... always.
    • Mistakes were made.
  • 5.4.3.2
    • Fixed a bug.
    • Cleaned code.
    • Always improving on optimization.
  • 5.4.3.1
    • Added more options.
    • Fixed pet filtering.
    • Cleaned up some code.
  • 5.4.3.0
    • Added more options.
    • Added Combat Log Event Unfiltered scanning.
    • Can filter pet de/buffs.
    • Will memorize de/buffs you cast on the target.
    • Cleaned up the code further.
  • 5.4.2.0
    • Added support for auras.
    • Cleaned up the code.
  • 5.4.1.0
    • Basicly just combo points.
Optional Files (0)


Archived Files (8)
File Name
Version
Size
Author
Date
6.0.2.3
12kB
jeruku
11-16-14 09:48 PM
6.0.2.3
12kB
jeruku
11-13-14 06:46 PM
6.0.2.1
10kB
jeruku
11-04-14 11:26 PM
6.0.1.0
8kB
jeruku
10-24-14 02:09 PM
6.0.0.1
8kB
jeruku
10-15-14 01:46 PM
5.4.3.6
9kB
jeruku
09-21-14 11:54 AM
5.4.3.5
9kB
jeruku
08-27-14 11:31 PM
5.4.3.2
9kB
jeruku
08-24-14 07:18 PM


Post A Reply Comment Options
Unread 11-18-14, 08:37 AM  
jeruku
A Black Drake
 
jeruku's Avatar
AddOn Author - Click to view AddOns

Forum posts: 82
File comments: 25
Uploads: 2
As I did do some work with how things were saved it may have affected an upgrade from one version to the next. Try the following macro to reset your saved variables, it will have an error during the reload but it should remedy the initial error.

Code:
/run JamPlatesAccessoriesDB = nil; JamPlatesAccessoriesCP = nil; ReloadUI();
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
jeruku is offline Report comment to moderator  
Reply With Quote
Unread 11-18-14, 06:05 AM  
BNS
A Kobold Labourer

Forum posts: 0
File comments: 39
Uploads: 0
There is still an error, Version: 6.0.2.4
Code:
1x JamPlates Accessories\options.lua:451: bad argument #1 to 'pairs' (table expected, got nil)
[C]:: in function 'pairs'
JamPlates Accessories\options.lua:451: in function 'CreateOptionsPane'
JamPlates Accessories\core.lua:546: in function 'LoadVariables'
JamPlates Accessories\core.lua:569: in function '?'
JamPlates Accessories\core.lua:91: in function <JamPlates Accessories\core.lua:91>
I do not know why, I do not use the built-in Nameplates, I used pNameplates, with this relationship?(sorry english no good)
BNS is offline Report comment to moderator  
Reply With Quote
Unread 11-15-14, 04:22 AM  
BNS
A Kobold Labourer

Forum posts: 0
File comments: 39
Uploads: 0
Two error has occurred, use the latest version.
Code:
1x JamPlates Accessories\options.lua:447: bad argument #1 to 'pairs' (table expected, got nil)
[C]:: in function 'pairs'
JamPlates Accessories\options.lua:447: in function 'CreateOptionsPane'
JamPlates Accessories\core.lua:568: in function '?'
JamPlates Accessories\core.lua:90: in function <JamPlates Accessories\core.lua:90>
Code:
1x JamPlates Accessories\core.lua:515: table index is nil
JamPlates Accessories\core.lua:515: in function <JamPlates Accessories\core.lua:509
Last edited by BNS : 11-15-14 at 04:29 AM.
BNS is offline Report comment to moderator  
Reply With Quote
Unread 11-04-14, 11:57 AM  
jeruku
A Black Drake
 
jeruku's Avatar
AddOn Author - Click to view AddOns

Forum posts: 82
File comments: 25
Uploads: 2
Aha, I see what you meant zork.

Again, my bad. I had re-used code from my nameplate addon which needs to redraw certain aspects of the frame. This is completely uneeded for the auras and will be changed accordingly.
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
jeruku is offline Report comment to moderator  
Reply With Quote
Unread 11-03-14, 10:09 AM  
jeruku
A Black Drake
 
jeruku's Avatar
AddOn Author - Click to view AddOns

Forum posts: 82
File comments: 25
Uploads: 2
Originally Posted by zork
Hey jeruku. I'm trying to add auras to rNamePlates and am currently studying your code. Really well written. Thanks.

I'm able to do the GUID check of all nameplates in a single onupdate on the worldframe.
I saw that you are running an OnUpdate on every single nameplate. Any specific reason for that?

Btw...why are your aura functions global? I think AddAura etc could be declared locally.

What I have so far the the GUID part.
https://code.google.com/p/rothui/sou...NamePlates.lua

Next the the combat log stuff.
Thank you zork.

I do it on each frames OnUpdate to easily get itself and because it is just injecting code into the giant OnUpdate loop. The traditional method iterates over the same values that WoW's code does, so iterating over the same table values twice did not seem efficient.

The global leak is my bad. I forgot to change it after I removed the boolean's for combo points and auras. This will be fixed in the next update which will also include in-game options.
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
jeruku is offline Report comment to moderator  
Reply With Quote
Unread 11-02-14, 08:31 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3372
Uploads: 89
Hey jeruku. I'm trying to add auras to rNamePlates and am currently studying your code. Really well written. Thanks.

I'm able to do the GUID check of all nameplates in a single onupdate on the worldframe.
I saw that you are running an OnUpdate on every single nameplate. Any specific reason for that?

Btw...why are your aura functions global? I think AddAura etc could be declared locally.

What I have so far the the GUID part.
https://code.google.com/p/rothui/sou...NamePlates.lua

Next the the combat log stuff.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 11-02-14 at 08:49 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 10-03-14, 12:58 PM  
jeruku
A Black Drake
 
jeruku's Avatar
AddOn Author - Click to view AddOns

Forum posts: 82
File comments: 25
Uploads: 2
Originally Posted by b3n9ti
would it be possible to decide that I only wanna see enrage effects that are on a hostile target? (without having to specify them individually?) ;-)

p.s.: does not seem to work with WoD beta yet :-(
Sorry, I do not plan on creating a pre-made list of spells/effects at the moment.

The error in WoD is a result of how functions work since they are changing certain returned values to TRUE/FALSE instead of the current method. I will adjust these when WoD goes live.
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
jeruku is offline Report comment to moderator  
Reply With Quote
Unread 10-01-14, 11:29 AM  
b3n9ti
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 39
Uploads: 1
would it be possible to decide that I only wanna see enrage effects that are on a hostile target? (without having to specify them individually?) ;-)

p.s.: does not seem to work with WoD beta yet :-(

5x JamPlates Accessories\core.lua:608: attempt to compare number with boolean
JamPlates Accessories\core.lua:608: in function `?'
JamPlates Accessories\core.lua:116: in function <JamPlates Accessories\core.lua:116>

Locals:
self = <unnamed> {
0 = <userdata>
COMBAT_LOG_EVENT_UNFILTERED = <function> defined @JamPlates Accessories\core.lua:699
UPDATE_MOUSEOVER_UNIT = <function> defined @JamPlates Accessories\core.lua:616
UNIT_PET = <function> defined @JamPlates Accessories\core.lua:683
PLAYER_LOGOUT = <function> defined @JamPlates Accessories\core.lua:679
ADDON_LOADED = <function> defined @JamPlates Accessories\core.lua:673
PLAYER_TARGET_CHANGED = <function> defined @JamPlates Accessories\core.lua:604
UNIT_AURA = <function> defined @JamPlates Accessories\core.lua:604
}
event = "UNIT_AURA"
Last edited by b3n9ti : 10-02-14 at 05:22 AM.
b3n9ti is online now Report comment to moderator  
Reply With Quote
Unread 09-21-14, 11:59 AM  
jeruku
A Black Drake
 
jeruku's Avatar
AddOn Author - Click to view AddOns

Forum posts: 82
File comments: 25
Uploads: 2
Actually had some time to run around playing with the addon. All I can say is, "It is fixed."

I shall now commence with the dance of my people "The Chicken Dance". Onward to Brewfest!
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
jeruku is offline Report comment to moderator  
Reply With Quote
Unread 08-27-14, 11:29 PM  
jeruku
A Black Drake
 
jeruku's Avatar
AddOn Author - Click to view AddOns

Forum posts: 82
File comments: 25
Uploads: 2
Originally Posted by ramzax
Amazing addon . Would there be a way of showing my debuffs (dots), buffs on the target (like major damage cooldowns) and other debuffs (like cc)?
That was my bad, seems I somehow broke it in an attempt to clean up some code. Switching from PvE to PvP throws me for loops every time. There's a very good reason I chose my signature quote.

What I had changed was working but at the same time it wasn't... which made things confusing so I've reverted it back. That is, the code I cleaned up I mean.
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
Last edited by jeruku : 08-27-14 at 11:53 PM.
jeruku is offline Report comment to moderator  
Reply With Quote
Unread 08-27-14, 03:53 PM  
ramzax
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 7
Uploads: 1
Amazing addon . Would there be a way of showing my debuffs (dots), buffs on the target (like major damage cooldowns) and other debuffs (like cc)?
ramzax is offline Report comment to moderator  
Reply With Quote
Unread 08-27-14, 03:24 AM  
Sylen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 43
Uploads: 3
Your Sir, deserve a heck lot of cookies. Very tasty cookies.
Sylen is offline Report comment to moderator  
Reply With Quote
Unread 08-26-14, 11:31 PM  
jeruku
A Black Drake
 
jeruku's Avatar
AddOn Author - Click to view AddOns

Forum posts: 82
File comments: 25
Uploads: 2
Okay, that should do it.

Made a few mistakes and fixed them as quickly as possible... Should have a few sample spellID's in the "filter" table inside "core.lua". The PvP toggle is enabled by default as it only affects(it should anyway) player units otherwise it uses the default behavior.

PvP is not something I do often or much at all for that matter.. but thanks to an entire regiment of Horde PvPers who decided to take up residency in Goldshire I was able to get some testing in.

The following is incorrect as I simply copy/pasted the previous line plus long de/buffs make testing much easier.
Code:
local filter = {

	[19263] = true, -- hunter: deterrence
	[1459] = true, -- hunter: deterrence
	[21562] = true, -- hunter: deterrence

}
so replace the previous with the following
Code:
local filter = {

	[19263] = true, -- hunter: deterrence
	[1459] = true, -- mage: arcane brilliance
	[21562] = true, -- priest: Power word: fortitude

}
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
Last edited by jeruku : 08-26-14 at 11:32 PM.
jeruku is offline Report comment to moderator  
Reply With Quote
Unread 08-26-14, 09:17 AM  
jeruku
A Black Drake
 
jeruku's Avatar
AddOn Author - Click to view AddOns

Forum posts: 82
File comments: 25
Uploads: 2
Originally Posted by Sylen
How hard would it be to modify the addon so it won't show my Buffs/Debuffs on the nameplate, but instead a whitelist of target buffs (e.g. enemy hunter uses deterrence, deterrence shows up above the nameplate)?
Sorry for the wait. In short it wouldn't be too hard to see buffs cast by individual targets while using filters.

I will upload a variant under the "Other Files" tab of the addon page when I have time.
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
jeruku is offline Report comment to moderator  
Reply With Quote
Unread 08-25-14, 03:14 AM  
Sylen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 43
Uploads: 3
How hard would it be to modify the addon so it won't show my Buffs/Debuffs on the nameplate, but instead a whitelist of target buffs (e.g. enemy hunter uses deterrence, deterrence shows up above the nameplate)?
Sylen is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: