Download
(642 Kb)
Download
Updated: 01-12-14 06:18 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Updated:01-12-14 06:18 AM
Created:01-06-10 11:32 AM
Downloads:88,997
Favorites:369
MD5:
Categories:Beta-version AddOns, Buff, Debuff, Spell, DPS, Healers, Tank, Combat Mods
5.4
Tidy Plates Beta  Popular! (More than 5000 hits)
Version: 6.13.Beta3
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.
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.010-Alpha
1MB
06-03-14 09:49 PM
Addon


Archived Files (101)
File Name
Version
Size
Author
Date
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 01-12-10, 05:39 PM  
aovzaphod
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
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>
aovzaphod is offline Report comment to moderator  
Reply With Quote
Unread 01-11-10, 10:19 PM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
Hmm.. I wonder if there was some oddity with the saved variable? I'll have to add something to check that.

Originally posted by Kebinusan
Ok I did a little digging to try and figure out what was going on and I think I figured out the problem, I had an error in bugsack relating to scale, so I relogged and twiddled with the scale on the beta grey theme and that resolved my problem.

As to the threat widget, I didnt realize the non elite change, but I like it thanks.
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Unread 01-11-10, 09:42 PM  
Kebinusan
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 21
Uploads: 1
Ok I did a little digging to try and figure out what was going on and I think I figured out the problem, I had an error in bugsack relating to scale, so I relogged and twiddled with the scale on the beta grey theme and that resolved my problem.

As to the threat widget, I didnt realize the non elite change, but I like it thanks.
Last edited by Kebinusan : 01-11-10 at 09:43 PM.
Kebinusan is offline Report comment to moderator  
Reply With Quote
Unread 01-11-10, 09:04 PM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
Are you using Skinner, or any other addons?

Gonna need help reproducing this error, since I haven't encountered it.

Did you delete the TidyPlates and TidyPlates_BetaGrey (and _StandardGrey, if you had it) folders prior to updating?

Also, you need to activate the threat widget (it's not active, by default) under the interface options menu. Look for the "Beta Grey" sub-category of Tidy Plates.

Also, are you using Tank Mode? The threat widget does not show up for non-elites in Tank Mode (this is on purpose)

Originally posted by Kebinusan
Latest push seems to have introduced a couple of bugs, the mob level often appears outside of the plate. Also the bar color appears initially as an incorrect color. Clear or Red on neutral mobs for example until you mouseover the unit sometimes. Also the threat widgets appear missing.

__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
Last edited by danltiger : 01-11-10 at 09:16 PM.
danltiger is offline Report comment to moderator  
Reply With Quote
Unread 01-11-10, 06:31 PM  
Kebinusan
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 21
Uploads: 1
Latest push seems to have introduced a couple of bugs, the mob level often appears outside of the plate. Also the bar color appears initially as an incorrect color. Clear or Red on neutral mobs for example until you mouseover the unit sometimes. Also the threat widgets appear missing.

Last edited by Kebinusan : 01-11-10 at 06:35 PM.
Kebinusan is offline Report comment to moderator  
Reply With Quote
Unread 01-11-10, 01:43 PM  
smedeley
An Aku'mai Servant
 
smedeley's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 35
Uploads: 1
Originally posted by danltiger
Right now, you can change the ScaleDelegate function in the theme file. I'll put a scale slider into the next update.
Sweet, looking forward to the slider. Thanks for today's update also! Great mod!
smedeley is offline Report comment to moderator  
Reply With Quote
Unread 01-11-10, 07:10 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
Right now, you can change the ScaleDelegate function in the theme file. I'll put a scale slider into the next update.

Originally posted by Zenae
I wondered if you can shrink the plates? I did look through comments but wasn't able to see that.
Thank you in advance
and thanks for a great add!!
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Unread 01-11-10, 12:38 AM  
Zenae
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I wondered if you can shrink the plates? I did look through comments but wasn't able to see that.
Thank you in advance
and thanks for a great add!!
Zenae is offline Report comment to moderator  
Reply With Quote
Unread 01-10-10, 10:25 PM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

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

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.

Originally posted by dariusgemini
Ok... How to explain what I'm asking better...
(BTW, I'm doing this because I LOVE your mod. It's amazing, and if I can help you give it even one slightlyuseful feature, I will be ecstatic!)
I'm going to go over points you've already been kind enough to discuss already to make sure I understand.
(I've spent the last day attempting to learn Lua coding, so I think I've answered some of my own questions.)

1) Name Plates have a reference that you can call methods/functions on. Getting the unitid is not one of them. - (Can't find anything. Looking at your code, it appears that you are just styling them, without ever really knowing anything about an individual plate?)

2) Can you make a call to the UI to get a reference to the target frame, and then get the unitid from there? (Yup. Learned this one. Simple as "target".)

3) If you have a reference to a name plate, even if it is not selected, can you manually update some information on it? Or trigger an update? (Again, I couldn't figure this part out.)

So I'm plugging away. If I start figuring out how this shit works, would you like some assistance? I'm a seasoned Java/javascript coder, so the syntax is pretty easy. It's just learning the Lua/Blizzard APIs that's going to be a problem.

Oh, and on the subject of tab targetting. It doesn't matter how you target. I was just saying that maybe you could render the little threat wheel on each one the payer has previously selected. you can find a way to determine what plate is selected and map that to the target's unitId, that is.

Here's something else I just thought of. Maybe there's a hidden event that occurs when a player clicks on the name plate you could hook into?

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

Forum posts: 0
File comments: 5
Uploads: 0
Originally posted by Kebinusan
Ignore that they are showing up in 5 mans, Im an idiot I guess
Get Deus Vox Encounters(DXE).
Then go through the possible events and disable the ones you don't care about, and change the sound that plays when they cast shadow step to be something you normally don't hear in a boss mod. I use "YOU WILL DIE!"
I also have the screen flash a nasty green color when they are about 5 seconds away from casting it. It works really well.
The only time I've missed an interrupt since I did that was when I had one that got pulled across the room by Army of the Dead. :-/
dariusgemini is offline Report comment to moderator  
Reply With Quote
Unread 01-10-10, 02:39 PM  
dariusgemini
A Kobold Labourer

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

Ok... How to explain what I'm asking better...
(BTW, I'm doing this because I LOVE your mod. It's amazing, and if I can help you give it even one slightlyuseful feature, I will be ecstatic!)
I'm going to go over points you've already been kind enough to discuss already to make sure I understand.
(I've spent the last day attempting to learn Lua coding, so I think I've answered some of my own questions.)

1) Name Plates have a reference that you can call methods/functions on. Getting the unitid is not one of them. - (Can't find anything. Looking at your code, it appears that you are just styling them, without ever really knowing anything about an individual plate?)

2) Can you make a call to the UI to get a reference to the target frame, and then get the unitid from there? (Yup. Learned this one. Simple as "target".)

3) If you have a reference to a name plate, even if it is not selected, can you manually update some information on it? Or trigger an update? (Again, I couldn't figure this part out.)

So I'm plugging away. If I start figuring out how this shit works, would you like some assistance? I'm a seasoned Java/javascript coder, so the syntax is pretty easy. It's just learning the Lua/Blizzard APIs that's going to be a problem.

Oh, and on the subject of tab targetting. It doesn't matter how you target. I was just saying that maybe you could render the little threat wheel on each one the payer has previously selected. you can find a way to determine what plate is selected and map that to the target's unitId, that is.

Here's something else I just thought of. Maybe there's a hidden event that occurs when a player clicks on the name plate you could hook into?

Darius

Originally posted by danltiger
The GUID (global-unitid) I refer to is a unique number that identifies a specific unit in the game world.

The API function:
guid = UnitGUID("unit")

However, the API functions that we can use to gather information ask for a unitid.

status = UnitThreatSituation("unit"[, "otherunit"])

They don't like that global-unitid, sadly. If I've got it all wrong, I'd be quite overjoyed. ;-) It'd make tanking a lot easier.


PS - I do have a problem with tab targeting.. but we'll leave that out of it.. haha ;-)
dariusgemini is offline Report comment to moderator  
Reply With Quote
Unread 01-10-10, 11:21 AM  
Kebinusan
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 21
Uploads: 1
Originally posted by Kebinusan
Does this beta gray frame have cast bars? I was playing with it in TOGC last night but I wasn't seeing cast bars when the adds I was tanking began to cast shadowstrike.
Ignore that they are showing up in 5 mans, Im an idiot I guess
Kebinusan is offline Report comment to moderator  
Reply With Quote
Unread 01-10-10, 11:16 AM  
Kebinusan
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 21
Uploads: 1
Does this beta gray frame have cast bars? I was playing with it in TOGC last night but I wasn't seeing cast bars when the adds I was tanking began to cast shadowstrike.
Kebinusan is offline Report comment to moderator  
Reply With Quote
Unread 01-09-10, 06:22 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

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

The GUID (global-unitid) I refer to is a unique number that identifies a specific unit in the game world.

The API function:
guid = UnitGUID("unit")

However, the API functions that we can use to gather information ask for a unitid.

status = UnitThreatSituation("unit"[, "otherunit"])

They don't like that global-unitid, sadly. If I've got it all wrong, I'd be quite overjoyed. ;-) It'd make tanking a lot easier.


PS - I do have a problem with tab targeting.. but we'll leave that out of it.. haha ;-)


Originally posted by dariusgemini
Ok. Well, can you create a table that has the unitid and plate GUID ( Did some searches on google for Lua GUID and found zip, so I'm not sure how these work. Reference to the name plate?)

Once you have this table, can you :
1) Loop through the unitids that have been registered and then to get the threat associated with that unitid.
2) Update the guid that the unitids are mapped to in your table?

I understand that you would need to tab/click target to get the info in the first place, but most tanks do that anyways when they are tanking add/trash. I know I do.

Sorry to keep bugging you with this.
Last edited by danltiger : 01-09-10 at 06:31 AM.
danltiger is offline Report comment to moderator  
Reply With Quote
Unread 01-09-10, 01:27 AM  
dariusgemini
A Kobold Labourer

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

Ok. Well, can you create a table that has the unitid and plate GUID ( Did some searches on google for Lua GUID and found zip, so I'm not sure how these work. Reference to the name plate?)

Once you have this table, can you :
1) Loop through the unitids that have been registered and then to get the threat associated with that unitid.
2) Update the guid that the unitids are mapped to in your table?

I understand that you would need to tab/click target to get the info in the first place, but most tanks do that anyways when they are tanking add/trash. I know I do.

Sorry to keep bugging you with this.

Originally posted by danltiger
No, you're not crazy; It's quite possible to get a unitid by tabbing through each of them. Of course, that unitid would only last for the duration of the targeting; As soon as you change targets, it's a different unit for your "target" unitid. I'm talking mobs, of course. Party members have their own unitids.

Keep in mind, a unitid is different from a GUID...

http://www.wowwiki.com/UnitId
dariusgemini is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: