Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(673 Kb)
Download
Updated: 10-06-14 10:29 PM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Siege of Orgrimmar (5.4)
Updated:10-06-14 10:29 PM
Created:01-06-10 11:32 AM
Downloads:91,164
Favorites:368
MD5:
Categories:Beta-version AddOns, Buff, Debuff, Spell, DPS, Healers, Tank, Combat Mods
6.0.2
Tidy Plates Beta  Popular! (More than 5000 hits)
Version: 6.14.Beta2
by: danltiger [More]
Beta of Tidy Plates 6.12

As promised, the 6.10 Core would return, with further improvements, including "brute force positioning".

( I must thank Kesava for the insight, many moons ago. And, the thread: http://www.wowinterface.com/forums/showthread.php?t=46740 )





I'm not going to bug you by popping up an ad whenever you hit "Download". If you enjoy this addon and want to send a monetary "Thank You", please visit our Pledgie page by clicking on the button, above.
Beta version! Things may get broken or removed.

6.14.Beta2
---------------------------
* Fixed some Odd Mouseover Behavior
* Rearranged and removed some old Hub stuff. Cleaning out functions, removing ancient code, removed items of questionable utility
* Removed Threat Wheel widget from Hub
* Tweaked some names/descriptions
* Separated Hub functions.lua into discrete category files

6.14.Beta1
---------------------------
WoD Changes:
* Fixed Target selection issue; UnitExists() now returns true/false, rather than 1/0
* Fixed Mouseover issue; 6.0 no longer uses the Highlight region to indicate mouseover; Using Name text color change.
* Fixed Elite/Dragon Texture being reshown; Using :SetAlpha(0) rather than nilling the texture.
* Note: The GUID changes made by Blizzard for 6.0 should NOT affect Tidy Plates, since it only uses the GUID as ID, not for deconstruction/forensics.

Framework:
* Hub: Quick Frame Templates now return the created frame twice (ie. assign two references with a single call)

Hub: Health Bar View:
* Removed several of the Status Text choices; These will reappear in a more advanced "Custom Text" category (Working on it...)
* NOTE: The CUSTOM/ADVANCED Status Text function hasn't been written, yet; Thus, it doesn't do anything at the moment...

Hub: Opacity:
* Hub: Opacity: Enemy & Friendly units now have their own independent Spotlight Modes
* Hub: Opacity: Spotlight Modes; Removal of some redundant and underused modes.
* Hub: Opacity: New Checkbox, "Spotlight Raid Marked"
* Hub: Opacity: Modified Checkbox, "Bring Mouseovers to Target Opacity" to "Spotlight Mouseover"
* Hub: Opacity: Modified Checkbox, "Bring Casting Units to Target Opacity" to "Spotlight Casting Units"

Hub:
* Hub: Reaction Color: New Color, "Tapped Units"

Aura Widget:
* Widgets: Aura: Combat Log Event Handler now skips units which are group members, relying on the general Unit event handler for their updates.
* Hub: Buffs & Debuffs: Replaced "Aura Widget Mode" Dropdown with Checkboxes: "Include My Buffs", and "Include My Debuffs".
* Hub: Buffs & Debuffs: The widget will now use a Smart Mode, where it first evaluates the checkboxes, then evaluates the Aura List.
* Hub: Buffs & Debuffs: Added the "Not" prefix to the aura list; This new mode allows you to blacklist auras from "Show My Debuffs" etc.

6.13.Beta3
---------------------------
* Themes: More fixes for text issues.
* Widgets: Fixed the Class Icon widget. Finally. Added class-colored borders to each icon.
* Hub: Added a new checkbox to "Scale"; "Auto-Scale Mini Mobs", which will downscale those tiny guys, ironically making it easier to target.
* Hub: Added a new checkbox to "Unit Filter", "Override Target Scale", which will maintain the filtered scale of Targeted Mobs.
* Core: Added: unit.isMini = boolean. This will eventually replace "unit.platetype" and "unit.isTrivial". Not anytime soon, though.
* Quatre & Neon: Increased the text size by 1pt to reduce specific scaling concerns.


6.13.Beta2
---------------------------
* Removed the "Unit Spotlight" system, for the moment. Don't worry- It will come back to the beta release! I just need to get a solid release done to fix some issues. Thanks for your patience :-)
* Replaced "Accidental Presidency" with "Roboto Condensed" for Quatre.
* Hub: "Use Blizzard font" should work properly again.

6.13.Beta1
---------------------------
- Hub: Major Reorganization and Additions, including (but not limited to):
Reorganization of Health Bar & Headline Categories
Reorganization of Buff & Debuff Category
Seperate Friendly & Enemy color modes (* New *)
Reorganization & Pruning of Bar Color Modes
Removal of Warning Glow mode chooser; "By Threat" (Glow) checkbox is now under the "Threat" category.
Unit Spotlight; New category, allows you to highlight specific mobs by adding the Unit Name to the list. (* New *)
Spell Casting Option: Enable Friendly Castbars. (* New *)
New Font: Replaced "Accidental Presidency" with "Roboto Condensed" in Neon; Looks similar, but contains more complete character sets for other languages.
(In the future, I will be replacing the fonts for the rest of the themes.)

6.12.6
---------------------------
- Widgets: Combo Point: Anticipation "fix"
- Hub: Cached class colors in instances

6.12.5
---------------------------
- Widgets: Unit Cache: Stores non-local units with a " (*)" suffix.
- Hub: Class colors on cached units shoud work properly

6.12.4
---------------------------
- Core: New unit data: unit.rawName, strips the (*) from nameplate names.
- Core: The carrier frame is now globally labeled with a unique frame name.
- Hub: Healer Tracking: Now uses unit.rawName rather than unit.name
- Widgets: Aura Tracker: Now uses unit.rawName to associate on-screen PvP names
- Widgets: Unit Cache: Will now properly filter non-realm units (ex. coalesced or battlegroup)

6.12.2/3
---------------------------
- Revert fix for viewport mod interaction. Needs a bit more external testing, apparently.

6.12.1
---------------------------
- TOC Bump
- Core: OnShowCastbar will now check for unit health before proceeding, hopefully avoiding errors when the Castbar's OnShow handler is called early.
- * Fix for Viewport Mods (specifically, Sunn), particularly, when the actual vertical viewport is decreased.

6.12.0
---------------------------
- Core: Compatibility Mode: Restored alpha-override behavior
- Hub: Warning Glow: Fixed InCombatLockdown() reference

6.12.Beta4
---------------------------
- I may have fixed some bugs. Or maybe that was a dream. Hard to recall whilst under Benadryl's spell.
- Ok, I definitely changed some things, and I'm not getting errors in game. That's a good sign.
- Made some changes to (hopefully) fix 1) debuff tracking oddities, and 2) lua error using health text.

6.12.Beta3
---------------------------
- Added a workaround/fix to the broken Blizzard function, InterfaceOptionsFrame_OpenToCategory. Slash command shortcuts for /hub and /tidyplates will now work properly.
- Added a Compatibility Mode checkbox to the interface panel. This will fall back to older anchoring methods.
- Core: The OnShow handler will skip all data gather on that first cycle; The Alpha data is (still) unreliable, causing GUID association issues.

6.12.Beta2
---------------------------
- Updated 6.12 with the changes made to the castbar during 6.11. (Since 6.12 inherits the 6.10 core, it didn't see the progression)
- Aura Widget: Fixed issue where aura is briefly shown, then hidden. Should be fixed.
- Added a copy of the reference to healthbar and castbar. for Threat Plates Compatibility.

6.12.Beta1
---------------------------
- Reintegration of 6.10 Core, which includes reorganization and rebuilding of the main engine.


6.10 Beta 5
---------------------------
- Combo Points: "Anticipation" fix for non-english regions? someone needs to test this, cuz I'm in an english region.
- Core: Back to hooking the base plate.
- Healertrack: Strsplit fix (thought I fixed that several months ago.. hmmm...)

Beta 4
- no clue. 3/4 asleep while working on this.

Beta 3
- probably a bug fix.

6.10 Beta 2
---------------------------
- Update to 5.3 TOC
- Core: Parenting Tidy Plates Frame to UIParent & Reanchor back to base nameplate. Performance boost.
- Core: Started Refactoring Core (This will happen over the course of WoW 5.3)
- Core: Removed the 'Spell Cast Watcher' component; 5.3 natively adds this function.
Optional Files (1)
File Name
Version
Size
Author
Date
Type
7.011-Alpha
1MB
10-14-14 03:12 AM
Addon


Archived Files (103)
File Name
Version
Size
Author
Date
6.14.Beta1
653kB
danltiger
09-29-14 10:11 PM
6.13.Beta3
642kB
danltiger
01-12-14 06:18 AM
6.13.Beta1
649kB
danltiger
10-21-13 09:45 PM
6.12.0
412kB
danltiger
09-06-13 08:54 PM
6.12 Beta 4
412kB
danltiger
08-31-13 05:21 AM
6.12 Beta 3
386kB
danltiger
08-23-13 04:36 AM
6.12 Beta 2
385kB
danltiger
08-18-13 03:56 PM
6.12 Beta 1
386kB
danltiger
08-15-13 09:41 PM
6.10 Beta6
412kB
danltiger
05-20-13 04:27 AM
6.10 Beta5
413kB
danltiger
05-15-13 03:30 AM
6.10 Beta4
412kB
danltiger
05-13-13 10:33 PM
6.10 Beta3
404kB
danltiger
05-12-13 04:10 AM
6.10 Beta2
478kB
danltiger
05-11-13 04:24 AM
6.9.10 Pre-Rele
424kB
danltiger
04-13-13 05:25 AM
6.7.Beta9 (r520
330kB
danltiger
08-26-12 05:11 AM
6.7.Beta5 (r500
340kB
danltiger
07-16-12 04:36 AM
6.7.Beta4 (r498
330kB
danltiger
07-15-12 05:40 AM
6.7.Beta3 (r493
332kB
danltiger
07-14-12 04:13 AM
6.7.Beta2 (r485
331kB
danltiger
07-05-12 11:09 PM
6.7.Beta1 (r476
329kB
danltiger
07-04-12 05:53 AM
6.6.0.Release (
335kB
danltiger
05-31-12 04:05 AM
6.6.Beta4 (r451
337kB
danltiger
05-07-12 04:07 AM
6.6.Beta3 (r447
333kB
danltiger
03-30-12 04:55 AM
6.6.Beta1 (r440
325kB
danltiger
02-29-12 06:03 AM
6.5.3 (r406)
684kB
danltiger
01-22-12 07:28 AM
6.5.2 (r403)
693kB
danltiger
01-20-12 06:21 AM
6.5.0 Beta (r39
1MB
danltiger
12-30-11 05:47 AM
6.5.0 Beta (r38
703kB
danltiger
12-10-11 11:26 PM
6.4.9 (r379)
703kB
danltiger
12-01-11 04:01 AM
6.4.9 (r373)
656kB
danltiger
11-26-11 09:40 AM
6.4.8 (r363)
636kB
danltiger
11-06-11 12:08 AM
6.4.7 (r358)
638kB
danltiger
11-01-11 09:08 PM
6.4.6 (r355)
624kB
danltiger
10-28-11 02:45 AM
6.4.4 (r348)
664kB
danltiger
10-20-11 04:18 AM
6.4.3 (r344)
679kB
danltiger
10-14-11 05:11 AM
6.4.2 (r340)
674kB
danltiger
10-13-11 05:13 AM
6.4.1 (r338)
674kB
danltiger
10-12-11 04:51 AM
6.4 (r318)
637kB
danltiger
10-04-11 03:34 AM
6.3.7 (r304)
669kB
danltiger
08-25-11 10:09 PM
6.3.7 (r304)
669kB
danltiger
08-15-11 05:14 AM
6.3.6 (r301)
669kB
danltiger
08-14-11 05:53 AM
6.3.4 (R293)
663kB
danltiger
07-15-11 04:17 PM
6.3.3 (R292)
664kB
danltiger
07-14-11 03:51 AM
6.3.2 (R291)
664kB
danltiger
07-13-11 04:57 AM
6.3.0 (R284) Fo
664kB
danltiger
06-17-11 04:26 AM
6.3.0 (R278) Fo
271kB
danltiger
06-15-11 04:19 AM
6.2 (R259)
577kB
danltiger
04-11-11 10:25 PM
6.1.13 (R253)
562kB
danltiger
04-11-11 01:03 PM
6.1.9 (R230)
531kB
danltiger
03-15-11 11:10 PM
6.1.8 (R229)
531kB
danltiger
03-15-11 10:01 PM
6.1.7 (R212)
486kB
danltiger
03-14-11 12:51 AM
6.1.5 (R206)
480kB
danltiger
03-12-11 03:11 AM
6.1.5 (R201)
482kB
danltiger
03-06-11 04:09 AM
6.1 (R176)
462kB
danltiger
02-28-11 05:21 AM
6.1 (R174)
458kB
danltiger
02-27-11 07:31 PM
6.1 (R172)
487kB
danltiger
02-27-11 05:50 AM
6.1 (R165)
467kB
danltiger
02-26-11 07:15 AM
6.1 (R157)
498kB
danltiger
02-25-11 06:05 AM
6.1 (R152)
492kB
danltiger
02-23-11 09:57 PM
6.1 (R144)
487kB
danltiger
02-21-11 02:33 AM
6.1 (R137)
492kB
danltiger
02-20-11 04:25 AM
6.1 (R127)
484kB
danltiger
02-14-11 10:10 PM
6.1 (R117)
439kB
danltiger
02-12-11 04:14 PM
6.1 (R109)
430kB
danltiger
02-06-11 02:04 AM
6.1 (R108)
421kB
danltiger
02-03-11 09:39 AM
6.0.4 (R95)
735kB
danltiger
01-06-11 04:52 AM
6.0.3 (R84)
154kB
danltiger
01-04-11 12:42 PM
6.0.3 (R83)
363kB
danltiger
12-31-10 02:43 PM
6.0.2 (R82)
396kB
danltiger
12-27-10 09:28 PM
6.0.1 (R81)
378kB
danltiger
12-25-10 07:32 AM
6.0 (R80)
381kB
danltiger
12-24-10 06:37 AM
6.0 Beta (r79)
358kB
danltiger
12-20-10 05:53 AM
6.0 Beta (r76)
275kB
danltiger
12-18-10 09:26 AM
6.0 Beta (r74)
269kB
danltiger
12-14-10 08:55 PM
5.15 Beta (r68)
277kB
danltiger
12-05-10 10:19 PM
5.15 Beta (r67)
276kB
danltiger
12-02-10 05:54 AM
5.15 Beta (r66)
276kB
danltiger
11-30-10 10:05 PM
5.15 Beta (r65)
372kB
danltiger
11-30-10 12:18 AM
5.15 Beta (r60)
443kB
danltiger
11-23-10 10:52 PM
5.15 Beta (r58)
444kB
danltiger
11-20-10 10:59 AM
5.14 Beta (r53)
533kB
danltiger
11-08-10 08:36 PM
5.14 Beta (r52)
496kB
danltiger
11-08-10 03:24 PM
5.14 Beta (r49)
477kB
danltiger
11-06-10 12:57 PM
5.14 Beta (r48)
505kB
danltiger
11-03-10 05:16 AM
5.14 Beta (r47)
405kB
danltiger
10-29-10 05:10 AM
5.14 Beta (r46)
405kB
danltiger
10-26-10 08:00 PM
5.14 Beta (r45)
399kB
danltiger
10-24-10 12:04 PM
5.14 Beta (r44)
505kB
danltiger
10-22-10 10:17 PM
5.14 Beta (r43)
420kB
danltiger
10-12-10 04:54 AM
5.14 Beta (r43)
420kB
danltiger
10-10-10 11:17 PM
5.14 Beta (r40)
410kB
danltiger
10-04-10 11:07 PM
5.13.2 (r37)
499kB
danltiger
09-11-10 06:29 AM
5.13.1 r36
480kB
danltiger
09-05-10 02:31 PM
5.13 Beta r35
498kB
danltiger
09-04-10 11:52 PM
5.13 Beta r31
498kB
danltiger
08-30-10 04:17 AM
5.13 Beta r30
488kB
danltiger
08-23-10 05:38 AM
5.13 Beta r28
470kB
danltiger
08-22-10 05:20 AM
5.13 Beta r26
329kB
danltiger
08-20-10 04:32 AM
5.13 Beta r25
322kB
danltiger
08-19-10 04:49 AM
5.13 Beta r24
330kB
danltiger
08-17-10 05:59 PM
5.13 Beta r20
329kB
danltiger
08-13-10 04:46 AM
5.13 Beta r18
329kB
danltiger
08-10-10 05:25 PM
5.13 Beta r15
325kB
danltiger
08-04-10 10:29 PM


Post A Reply Comment Options
Unread 02-19-10, 08:39 PM  
Imithat
A Fallenroot Satyr
 
Imithat's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 176
Uploads: 7
very cool nameplates .. when it works

Primary theme is Grey. When i change the Display Mode in the Grey theme options to Tank, Damage and PVP i got a simple default nameplate and not the cool Tidy Plates . When i change to Default the nameplate works again.

hm :/
Imithat is offline Report comment to moderator  
Reply With Quote
Unread 02-19-10, 07:42 PM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1507
Uploads: 21
No clue. I didn't try it.

Originally posted by Stratosfear
does cleanplate work with 5.10?
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Unread 02-19-10, 07:42 PM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1507
Uploads: 21
Dunno. Gimme more info. Talk to me, Goose.

Originally posted by Phewx2
Hey I changed to Neon-Theme and the plates disappeared
Why?
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Unread 02-19-10, 02:04 PM  
Stratosfear
A Defias Bandit

Forum posts: 2
File comments: 50
Uploads: 0
does cleanplate work with 5.10?
Stratosfear is offline Report comment to moderator  
Reply With Quote
Unread 02-19-10, 10:50 AM  
Phewx2
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 63
Uploads: 2
Hey I changed to Neon-Theme and the plates disappeared
Why?
Phewx2 is offline Report comment to moderator  
Reply With Quote
Unread 02-19-10, 07:46 AM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 311
File comments: 1396
Uploads: 60
* Brain explodes *
suicidalkatt is offline Report comment to moderator  
Reply With Quote
Unread 01-26-10, 04:43 PM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1507
Uploads: 21
Grab the full release; Bug fixes, inside. :-)

I won't update the beta page till I've got something for 5.10

Originally posted by Bornabe
I've got TidyPlates showing sometimes in front of my Unit Frames, or on top of my bottom artwork. Are there different layers it uses, or is it using one of the more forefront layers? Usually not a problem, except when I was healing the other day in a busy busy ICC run, I had a hard time shift-clickin' (Clique) on the party unit frames. Lol, it added a lot of exciting moments for everyone. Made their heart jump a few times, but... we made it. :-D
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Unread 01-26-10, 10:20 AM  
Bornabe
A Flamescale Wyrmkin
 
Bornabe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 285
Uploads: 6
I've got TidyPlates showing sometimes in front of my Unit Frames, or on top of my bottom artwork. Are there different layers it uses, or is it using one of the more forefront layers? Usually not a problem, except when I was healing the other day in a busy busy ICC run, I had a hard time shift-clickin' (Clique) on the party unit frames. Lol, it added a lot of exciting moments for everyone. Made their heart jump a few times, but... we made it. :-D
Bornabe is offline Report comment to moderator  
Reply With Quote
Unread 01-17-10, 12:11 PM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1507
Uploads: 21
Hmm... oddness. I'll look into that. There's several known issues (performance ,especially) , which I need to look into, as well.

Originally posted by aovzaphod
I am a Rogue and I really like the Combo Points Wheel you have on the plates. But I am seeing it now on every mob including my target instead of just the one that I have the actual points on.
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Unread 01-17-10, 09:32 AM  
aovzaphod
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
I am a Rogue and I really like the Combo Points Wheel you have on the plates. But I am seeing it now on every mob including my target instead of just the one that I have the actual points on.
aovzaphod is offline Report comment to moderator  
Reply With Quote
Unread 01-13-10, 06:39 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1507
Uploads: 21
If you're using a macro (or something that can be macro'd) you could do something like this:

Code:
/usetalents [spec:1]2;1 
/equipset [spec1]Spec2Set;Spec1Set 
/tidybeta tank
/stopmacro [spec:2]
/tidybeta dps
Regardless, I'll put it on the list of possible features. Might be something that's a necessary feature down-the-road, when I have more options in the panel.

PS - Do you mind posting your suggestion to the "feature request" page?

Originally posted by Kebinusan
This might be a bit much, but I often find myself switching between a tanking and healing role, it would be nice if if this theme detected or had an option to define which display mode was used depending on my spec.
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
Last edited by danltiger : 01-13-10 at 06:41 AM.
danltiger is offline Report comment to moderator  
Reply With Quote
Unread 01-13-10, 01:59 AM  
Kebinusan
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 21
Uploads: 1
This might be a bit much, but I often find myself switching between a tanking and healing role, it would be nice if if this theme detected or had an option to define which display mode was used depending on my spec.
Kebinusan is offline Report comment to moderator  
Reply With Quote
Unread 01-12-10, 11:45 PM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1507
Uploads: 21
Re: Re: X-ref target frame/name plate?

* Wall of text crits you for 234304573245.
Hahaha! I know, I know, I get carried away..

Thanks for all the info.

I find the biggest obstactle I'm having is the lack of documentation on the API. The language is pretty simple, at least.
I'll futz around with it more when I can.
I find Wowwiki to be a good resource for the API, and http://wowprogramming.com/ But, you're right, there's much to be desired in the documentation from Blizzard. The community has really done a great job, putting together the information. :-)

(Not that I should talk, since I haven't done a changelog in months)

Do you use an IDE to develop with? I've seen some different tools out there for UI development. Any suggestions?

Thanks, bud.
Notepad++ is what I use for development, and a lot of /reload.

:-)
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Unread 01-12-10, 10:49 PM  
dariusgemini
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Re: X-ref target frame/name plate?

Thanks for all the info.
* Wall of text crits you for 234304573245.

I find the biggest obstactle I'm having is the lack of documentation on the API. The language is pretty simple, at least.
I'll futz around with it more when I can.

Do you use an IDE to develop with? I've seen some different tools out there for UI development. Any suggestions?

Thanks, bud.

Originally posted by danltiger
I really appreciate the kind words :-) And, I'll take any help I can get.

1) Here's the thing with nameplates: There's no Blizzard documentation telling us about them. Some clever person, a long time ago, figured out that there were frames being created by the Blizzard client under the WorldFrame object, which happened to be the nameplates. (Not every object under WorldFrame is a nameplate) Each nameplate is A) an invisible clickbox, which targets the unit B) the graphical elements. BlizzUI updates all of that information, as you'd expect. Being a special type of secure frame, we can't hook or script that invisible clickbox, and very little information can be gleaned from it, directly. So, what we do is hook/script the health bar to gain access to events surrounding the plate (Show/Hide/ValueChanged, etc).

Each frame, the Tidy Plates code looks for new nameplates and adds it's extensions. After a plate is created, it may be hidden (and recycled for a totally different unit), or garbage collected. A nameplate may change very often, especially if you're moving around, and many plates are leaving/entering view.

From our perspective, a nameplate is little more than an image; There's text, health amount, a name, level, transparency, aggro, and highlight elements that we can look at to gain some insight about the unit. We can tell when a unit becomes a target, based on the alpha of the plate and the status of the player's target (does it exist?), and we can tell if the plate is being moused over (by looking at the visibility of the highlight region). From my understanding, those are the only two ways of directly referencing a unit to a nameplate ("target" or "mouseover").

2) Unfortunately, you can't ask the plate for a unitid. Targeting a unit or mousing over a plate will allow "target" or "mouseover" to reference that plate, but only during the duration of that mouseover or target. A global-unitid can be gathered from a unit using UnitGUID(unitid) during tab-target or mouseover, which you could store on the nameplate. However, there's no way to use that GUID for API functions.

This is what a GUID looks like: 0x00000000012729FD
This is what a unitid looks like: "target"

An analogue: One is a person's social security number, the other is "the person standing in front of me". There may or may not be a person standing in front of you, and it could be one of many different people.

The GUID IS useful in referring to a unit from the combatlog. It's theoretically possible to parse the log, and push data back to the plate, but that's a ton of work on both the coder and the computer.

3) I have a ForceUpdate() function built into Tidy Plates, which will update all the plates. If you want to push data directly to the plate, there's no built-in a mechanism for that, but you could put one together.

4ish) There's an event when the player changes targets (PLAYER_TARGET_CHANGED), which I use.

That said, don't let me discourage you from trying to find a way around those obstacles! :-) I'm just letting you know how things seem to work (I could be wrong).

Another thing: A lot of the neat things that happen in Tidy Plates go on in the theme files.
dariusgemini is offline Report comment to moderator  
Reply With Quote
Unread 01-12-10, 07:24 PM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1507
Uploads: 21
Wups! That should be TidyPlates:ForceUpdate(etc..)

And, I'll have to edit the ForceUpdate function, too

I'll fix that up, soon

Originally posted by aovzaphod
I keep getting this error. Everything works just fine it appears though.

Code:
Interface\AddOns\TidyPlates_BetaGrey\BetaGrey.lua:53: attempt to call global 'ForceUpdate' (a nil value)
Count: 88

Call Stack:
[C]: in function `ForceUpdate'
Interface\AddOns\TidyPlates_BetaGrey\BetaGrey.lua:53: in function <Interface\AddOns\TidyPlates_BetaGrey\BetaGrey.lua:53>
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
Last edited by danltiger : 01-12-10 at 07:26 PM.
danltiger is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: