Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(9 Kb)
Download
Updated: 09-04-10 05:15 AM
Pictures
File Info
Updated:09-04-10 05:15 AM
Created:10-23-09 10:24 PM
Downloads:12,934
Favorites:214
MD5:
VirtualPlates  Popular! (More than 5000 hits)
Version: 3.3.5.3
by: Saiket [More]
Nameplates are hard to look at. They fill your screen and make an absolute mess when you're fighting lots of mobs. _VirtualPlates gives them depth, so they fit into the game world instead of covering it.
Note: _VirtualPlates no longer works since the Cataclysm pre-release 4.0.1 patch.
Details

This has little configuration, and should work with most other nameplate skinning mods such as Aloft, TidyPlates, and caelNameplates. You might prefer to turn on “Allow Overlapping Unit Nameplates” in Interface Options > Names > Unit Nameplates so nameplates won't bump into each other. The sample screenshots were taken with this new feature enabled.

Options

_VirtualPlates' options can be found in the Interface Options > _VirtualPlates menu.
  • Nameplate Scale Limits:
    • Minimum Scale: Limits how small nameplates can shrink to. Values can range from 0 (meaning disabled) to 1 (meaning plates won't get smaller than their default size). For example, a value of 0.5 would keep plates from shrinking beyond half their original size.
    • Limit maximum scale: When enabled, this prevents nameplates from getting too big when they get close to your camera.
    • Maximum Scale: Similar to the “Minimum Scale” slider, but this value controls how many times larger than the default size a nameplate can grow to.
  • Scale Factor: When nameplates are this many yards from the screen, they'll be normal sized. Larger distances mean larger nameplates.
  • 3.3.5.3:
    • Final release. _VirtualPlates will no longer work after the Cataclysm expansion.
    • Added deDE localization by muhmiauwau from CurseForge.
  • 3.3.5.2:
  • 3.3.5.1: Removed options to adjust scale factors based on camera zoom, since camera info is no longer available to addons.
  • 3.3.0.1:
    • Hack workaround for blacklisted nameplate depths.
    • No longer forces overlapping nameplates feature on.
    • OnUpdate script handlers on plate Visuals now get assigned to the plates directly to preserve their execution order.
  • 3.2.2.5:
    • Fixed issue where addons could get a hold of raw nameplates before _VirtualPlates replaced them.
    • Reworked handling of frame levels. _VirtualPlates shouldn't interfere with the relative frame levels of children any more.
  • 3.2.2.4: Added a Maximum Scale option.
  • 3.2.2.3: Now loads LibCamera-1.0 properly.
  • 3.2.2.2:
    • Added a configuration pane with various options.
    • ScaleFactor can now optionally scale with camera distance.
    • Added a minimum scale option to prevent plates from getting too small at long range.
  • 3.2.2.1: Initial commit.
Optional Files (0)


Archived Files (8)
File Name
Version
Size
Author
Date
3.3.5.2
8kB
Saiket
07-02-10 07:49 PM
3.3.5.1
7kB
Saiket
06-22-10 04:54 PM
3.3.0.1
14kB
Saiket
12-08-09 02:41 PM
3.2.2.5
14kB
Saiket
11-08-09 09:20 PM
3.2.2.4
13kB
Saiket
10-30-09 05:42 PM
3.2.2.3
13kB
Saiket
10-25-09 01:54 AM
3.2.2.2
13kB
Saiket
10-25-09 12:57 AM
3.2.2.1
3kB
Saiket
10-23-09 10:24 PM


Post A Reply Comment Options
Unread 07-03-10, 08:05 AM  
OttoDeFe
A Chromatic Dragonspawn
 
OttoDeFe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 178
File comments: 194
Uploads: 12
Issue seems solved - thank you so much!
__________________
"They say
the pen is mightier than any saber -
any sword -
but if there's a war
I just don't know if a Bic will save ya..."

-- Last Offence
OttoDeFe is offline Report comment to moderator  
Reply With Quote
Unread 07-03-10, 01:08 AM  
Saiket
A Chromatic Dragonspawn
 
Saiket's Avatar
AddOn Author - Click to view AddOns

Forum posts: 152
File comments: 329
Uploads: 21
Originally posted by Cyprias
Mind if I ask what the problem was Saiket? Is there something I can do on my end to help?

/author of PlateBuffs & LibNameplate.
_VirtualPlates uses a child frame bolted onto each original nameplate to act as a replacement, so when the original plate was hidden by WoW, the replacement's OnHide script would fire as expected. The problem was that LibNameplate-1.0 checks Plate:IsShown (Plate being the replacement), and technically the replacement was still "Shown", but not visible. The fix was easy on my end; I just hide the replacement explicitly when the original plate gets hidden now. I'll take the blame for the errors. :P

I do suggest checking plates' OnShow/Hide/Update scripts before assuming they've been overridden though. The reason the error message here looks like that is because LibNameplate would attempt to HookScript every second or so when things broke, causing it to hook its own hook. Each new HookScript is one "<in C code>: ?" line in the stack trace. Took me a while to figure that one out, heheh.
Saiket is offline Report comment to moderator  
Reply With Quote
Unread 07-03-10, 12:40 AM  
Cyprias
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 71
Uploads: 9
Mind if I ask what the problem was Saiket? Is there something I can do on my end to help?

/author of PlateBuffs & LibNameplate.
Cyprias is offline Report comment to moderator  
Reply With Quote
Unread 07-02-10, 07:57 PM  
Saiket
A Chromatic Dragonspawn
 
Saiket's Avatar
AddOn Author - Click to view AddOns

Forum posts: 152
File comments: 329
Uploads: 21
Originally posted by OttoDeFe
Seeing the error below from time to time - just using this and PlateBuffs. I think it may be an interaction between the two, but the error points here, so I figure I'll post here first.

Code:
28x C stack overflow:
<in C code>: ?
*edit*

PlateSpinner I forgot to mention - shows/hides plates based on combat. I did notice that might be an issue as well. Any help/ideas would be great!

**edit**

The showing of the plates when a hostile initiates the combat seems to produce the overflow consistently.

***edit***

It seems to do it on it's own from time to time... I get the same overflow with the other addons disabled.
Thanks for the report. Took me a while to figure this one out, but version 3.3.5.2 should now work with PlateBuffs and LibNameplate-1.0.
Saiket is offline Report comment to moderator  
Reply With Quote
Unread 06-26-10, 09:18 AM  
OttoDeFe
A Chromatic Dragonspawn
 
OttoDeFe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 178
File comments: 194
Uploads: 12
Seeing the error below from time to time - just using this and PlateBuffs. I think it may be an interaction between the two, but the error points here, so I figure I'll post here first.

Code:
28x C stack overflow:
<in C code>: ?
<in C code>: ?
<in C code>: ?
<in C code>: ?
<in C code>: ?
<in C code>: ?
<in C code>: ?
<in C code>: ?
<in C code>: ?
<in C code>: ?
<in C code>: ?
<in C code>: ?
...:
<in C code>: ?
<in C code>: ?
<in C code>: ?
<in C code>: ?
<in C code>: ?
<in C code>: ?
<in C code>: ?
<in C code>: ?
<in C code>: ?
<in C code>: ?

Locals:
(*temporary) = <unnamed> {
 1 = <unnamed> {}
 2 = <unnamed> {}
 3 = <unnamed> {}
 4 = <unnamed> {}
 5 = <unnamed> {}
 6 = <unnamed> {}
 7 = <unnamed> {}
 8 = <unnamed> {}
 9 = <unnamed> {}
 10 = <unnamed> {}
 11 = <unnamed> {}
 12 = <unnamed> {}
 13 = <unnamed> {}
 0 = <userdata>
 OnUpdate = <function> defined =[C]:-1
}
(*temporary) = 0.016000000759959
(*temporary) = <function> defined =[C]:-1
(*temporary) = <unnamed> {
 1 = <unnamed> {}
 2 = <unnamed> {}
 3 = <unnamed> {}
 4 = <unnamed> {}
 5 = <unnamed> {}
 6 = <unnamed> {}
 7 = <unnamed> {}
 8 = <unnamed> {}
 9 = <unnamed> {}
 10 = <unnamed> {}
 11 = <unnamed> {}
 12 = <unnamed> {}
 13 = <unnamed> {}
 0 = <userdata>
 OnUpdate = <function> defined =[C]:-1
}
(*temporary) = 0.016000000759959
 = <function> defined =[C]:-1
 = <function> @ !!!_VirtualPlates\_VirtualPlates.lua:441:

  ---
*edit*

PlateSpinner I forgot to mention - shows/hides plates based on combat. I did notice that might be an issue as well. Any help/ideas would be great!

**edit**

The showing of the plates when a hostile initiates the combat seems to produce the overflow consistently.

***edit***

It seems to do it on it's own from time to time... I get the same overflow with the other addons disabled.
__________________
"They say
the pen is mightier than any saber -
any sword -
but if there's a war
I just don't know if a Bic will save ya..."

-- Last Offence
Last edited by OttoDeFe : 06-27-10 at 09:26 AM.
OttoDeFe is offline Report comment to moderator  
Reply With Quote
Unread 06-23-10, 02:39 AM  
Zergreth
A Fallenroot Satyr
 
Zergreth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 24
File comments: 101
Uploads: 13
Originally posted by Saiket
Don't worry, the new version will work almost exactly the same.
Alrighty
Zergreth is offline Report comment to moderator  
Reply With Quote
Unread 06-22-10, 02:54 PM  
Saiket
A Chromatic Dragonspawn
 
Saiket's Avatar
AddOn Author - Click to view AddOns

Forum posts: 152
File comments: 329
Uploads: 21
Originally posted by Zergreth
As far as I understand, _VirtualPlates will break with the introduction of 3.3.5. Don't have the patch yet, since I'm playing EU, but the patch notes on wowwiki.com say:


You use those vars for _VP, don't you?
Don't worry, the new version will work almost exactly the same.
Saiket is offline Report comment to moderator  
Reply With Quote
Unread 06-22-10, 05:28 AM  
Zergreth
A Fallenroot Satyr
 
Zergreth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 24
File comments: 101
Uploads: 13
As far as I understand, _VirtualPlates will break with the introduction of 3.3.5. Don't have the patch yet, since I'm playing EU, but the patch notes on wowwiki.com say:
Camera-related (Yaw, Pitch and Distance) variables will no longer return values, in an attempt to break the functionality of certain addons used to simulate 3D drawings.
You use those vars for _VP, don't you?
Zergreth is offline Report comment to moderator  
Reply With Quote
Unread 06-21-10, 05:04 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1506
Uploads: 21
Nice! Great idea; I'll see if that works, thanks! :-)

Originally posted by Saiket
I found lots of ways to crash the game when writing _VP and my own nameplate mod, and most of them were caused by re-anchoring/parenting certain textures to my own frame. I don't think there's a good way to fix that though, since it's so hard to test and the crash reports don't have any meaningful info in them.

Just a guess, but the event for being mind-controlled might fire just before nameplates are updated, so we might be able to add a makeshift fix for Mac clients:
Code:
if ( IsMacClient() ) then
	-- Hide nameplates while mind controlled (or feared/on a flightpath)
	local Frame = CreateFrame( "Frame" );
	Frame:SetScript( "OnEvent", function ( self, Event )
		self[ Event ]( self );
	end );
	function Frame:PLAYER_CONTROL_LOST ()
		self.ShowFriends = GetCVar( "nameplateShowFriends" );
		self.ShowEnemies = GetCVar( "nameplateShowEnemies" );
		SetCVar( "nameplateShowFriends", 0 );
		SetCVar( "nameplateShowEnemies", 0 );
	end
	function Frame:PLAYER_CONTROL_GAINED ()
		SetCVar( "nameplateShowFriends", self.ShowFriends or 0 );
		SetCVar( "nameplateShowEnemies", self.ShowEnemies or 0 );
	end
	Frame:RegisterEvent( "PLAYER_CONTROL_GAINED" );
	Frame:RegisterEvent( "PLAYER_CONTROL_LOST" );
end
No idea if it will actually work though.
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Unread 06-19-10, 04:05 PM  
Saiket
A Chromatic Dragonspawn
 
Saiket's Avatar
AddOn Author - Click to view AddOns

Forum posts: 152
File comments: 329
Uploads: 21
Originally posted by danltiger
Heya Sai,

Some Mac users have been experiencing crashes when using Tidy Plates, after getting mind-controlled. This also seems to be happening with VirtualPlates...

http://forums.worldofwarcraft.com/th...742&pageNo=3#0

Just wondering what your thoughts were. Certainly, it's a bug in the client which should be fixed by Blizz, but if there's something we can do...

Later!
I found lots of ways to crash the game when writing _VP and my own nameplate mod, and most of them were caused by re-anchoring/parenting certain textures to my own frame. I don't think there's a good way to fix that though, since it's so hard to test and the crash reports don't have any meaningful info in them.

Just a guess, but the event for being mind-controlled might fire just before nameplates are updated, so we might be able to add a makeshift fix for Mac clients:
Code:
if ( IsMacClient() ) then
	-- Hide nameplates while mind controlled (or feared/on a flightpath)
	local Frame = CreateFrame( "Frame" );
	Frame:SetScript( "OnEvent", function ( self, Event )
		self[ Event ]( self );
	end );
	function Frame:PLAYER_CONTROL_LOST ()
		self.ShowFriends = GetCVar( "nameplateShowFriends" );
		self.ShowEnemies = GetCVar( "nameplateShowEnemies" );
		SetCVar( "nameplateShowFriends", 0 );
		SetCVar( "nameplateShowEnemies", 0 );
	end
	function Frame:PLAYER_CONTROL_GAINED ()
		SetCVar( "nameplateShowFriends", self.ShowFriends or 0 );
		SetCVar( "nameplateShowEnemies", self.ShowEnemies or 0 );
	end
	Frame:RegisterEvent( "PLAYER_CONTROL_GAINED" );
	Frame:RegisterEvent( "PLAYER_CONTROL_LOST" );
end
No idea if it will actually work though.
Saiket is offline Report comment to moderator  
Reply With Quote
Unread 06-19-10, 01:22 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1506
Uploads: 21
Heya Sai,

Some Mac users have been experiencing crashes when using Tidy Plates, after getting mind-controlled. This also seems to be happening with VirtualPlates...

http://forums.worldofwarcraft.com/th...742&pageNo=3#0

Just wondering what your thoughts were. Certainly, it's a bug in the client which should be fixed by Blizz, but if there's something we can do...

Later!
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Unread 05-28-10, 12:02 PM  
Saiket
A Chromatic Dragonspawn
 
Saiket's Avatar
AddOn Author - Click to view AddOns

Forum posts: 152
File comments: 329
Uploads: 21
Re: 3.3.5

Originally posted by Dridzt
I wonder if there is a workaround that will allow this addon to keep working after 3.3.5.

At the moment the removal of access to camera cvars on ptr breaks LibCamera-1.0 and consequentially _VirtualPlates

Collateral damage from the effort to break AVRE I guess.
_VirtualPlates will still work, but the "Change scale factor with camera zoom" and "Scale Factor When Zoomed Out" options will have to be removed. I'll probably add a minimum scale option to make up for losing the other two.
Saiket is offline Report comment to moderator  
Reply With Quote
Unread 05-28-10, 10:37 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1191
File comments: 780
Uploads: 82
3.3.5

I wonder if there is a workaround that will allow this addon to keep working after 3.3.5.

At the moment the removal of access to camera cvars on ptr breaks LibCamera-1.0 and consequentially _VirtualPlates

Collateral damage from the effort to break AVRE I guess.
Last edited by Dridzt : 05-28-10 at 10:37 AM.
Dridzt is offline Report comment to moderator  
Reply With Quote
Unread 04-18-10, 02:03 AM  
xromania™
A Frostmaul Preserver
 
xromania™'s Avatar

Forum posts: 284
File comments: 191
Uploads: 0
with all respect for addons authors im verry frustrated lost 1 hour to find a addon who can RESIZE (vertially/orizontally and to move it little etc) the nameplates and didnt found one, except Aloft but this is bugged for me and for all i think after last patch. Cant belive, one of the most important thing in the game and no addon
__________________
*sry my english
http://eu.battle.net/wow/en/characte...romania/simple
xromania™ is offline Report comment to moderator  
Reply With Quote
Unread 03-27-10, 03:15 PM  
Saiket
A Chromatic Dragonspawn
 
Saiket's Avatar
AddOn Author - Click to view AddOns

Forum posts: 152
File comments: 329
Uploads: 21
Originally posted by Lombra
Hi,
what is that addon in the screenshot with Toshley? I know it says TidyPlates but I can't get it to look like that with the core addon.

Thanks
That used to be the default theme for TidyPlates, but it's evolved into the Grey theme since then.
Saiket is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.